diff --git a/default.nix b/default.nix deleted file mode 100644 index 8d145ff0..00000000 --- a/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -let - flake = import ./flake-compat.nix {}; -in - flake.defaultNix diff --git a/flake-compat.nix b/flake-compat.nix deleted file mode 100644 index a16be684..00000000 --- a/flake-compat.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - system ? builtins.currentSystem, - flakeLockPath ? ./flake.lock, - src ? ./., -}: let - lock = builtins.fromJSON (builtins.readFile flakeLockPath); - inherit (lock.nodes.flake-compat.locked) owner repo rev narHash; - - flake-compat = fetchTarball { - url = "https://github.com/${owner}/${repo}/archive/${rev}.tar.gz"; - sha256 = narHash; - }; -in - import flake-compat { - inherit system src; - } diff --git a/flake.lock b/flake.lock index 3b0b1c8c..e1687d25 100644 --- a/flake.lock +++ b/flake.lock @@ -20,21 +20,6 @@ "type": "github" } }, - "flake-compat": { - "locked": { - "lastModified": 1746162366, - "narHash": "sha256-5SSSZ/oQkwfcAz/o/6TlejlVGqeK08wyREBQ5qFFPhM=", - "owner": "nix-community", - "repo": "flake-compat", - "rev": "0f158086a2ecdbb138cd0429410e44994f1b7e4b", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "flake-compat", - "type": "github" - } - }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -147,7 +132,6 @@ "root": { "inputs": { "devshell": "devshell", - "flake-compat": "flake-compat", "flake-parts": "flake-parts", "flake-utils": "flake-utils", "foundry-nix": "foundry-nix", diff --git a/flake.nix b/flake.nix index 5c41e836..0a42ca34 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,6 @@ url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - flake-compat.url = "github:nix-community/flake-compat"; }; outputs = inputs @ { diff --git a/shell.nix b/shell.nix deleted file mode 100644 index b1484554..00000000 --- a/shell.nix +++ /dev/null @@ -1,4 +0,0 @@ -let - flake = import ./flake-compat.nix {}; -in - flake.shellNix