diff options
-rw-r--r-- | default.nix | 6 | ||||
-rw-r--r-- | flake.lock | 17 | ||||
-rw-r--r-- | flake.nix | 5 | ||||
-rw-r--r-- | shell.nix | 6 |
4 files changed, 12 insertions, 22 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..d4c7ec2 --- /dev/null +++ b/default.nix | |||
@@ -0,0 +1,6 @@ | |||
1 | # The `default.nix` in flake-compat reads `flake.nix` and `flake.lock` from `src` and | ||
2 | # returns an attribute set of the shape `{ defaultNix, shellNix }` | ||
3 | |||
4 | (import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { | ||
5 | src = ./.; | ||
6 | }).defaultNix | ||
@@ -1,21 +1,5 @@ | |||
1 | { | 1 | { |
2 | "nodes": { | 2 | "nodes": { |
3 | "flake-compat": { | ||
4 | "flake": false, | ||
5 | "locked": { | ||
6 | "lastModified": 1627913399, | ||
7 | "narHash": "sha256-hY8g6H2KFL8ownSiFeMOjwPC8P0ueXpCVEbxgda3pko=", | ||
8 | "owner": "edolstra", | ||
9 | "repo": "flake-compat", | ||
10 | "rev": "12c64ca55c1014cdc1b16ed5a804aa8576601ff2", | ||
11 | "type": "github" | ||
12 | }, | ||
13 | "original": { | ||
14 | "owner": "edolstra", | ||
15 | "repo": "flake-compat", | ||
16 | "type": "github" | ||
17 | } | ||
18 | }, | ||
19 | "import-cargo": { | 3 | "import-cargo": { |
20 | "locked": { | 4 | "locked": { |
21 | "lastModified": 1594305518, | 5 | "lastModified": 1594305518, |
@@ -65,7 +49,6 @@ | |||
65 | }, | 49 | }, |
66 | "root": { | 50 | "root": { |
67 | "inputs": { | 51 | "inputs": { |
68 | "flake-compat": "flake-compat", | ||
69 | "import-cargo": "import-cargo", | 52 | "import-cargo": "import-cargo", |
70 | "mozillapkgs": "mozillapkgs", | 53 | "mozillapkgs": "mozillapkgs", |
71 | "nixpkgs": "nixpkgs" | 54 | "nixpkgs": "nixpkgs" |
@@ -8,11 +8,6 @@ | |||
8 | flake = false; | 8 | flake = false; |
9 | }; | 9 | }; |
10 | 10 | ||
11 | flake-compat = { | ||
12 | url = "github:edolstra/flake-compat"; | ||
13 | flake = false; | ||
14 | }; | ||
15 | |||
16 | import-cargo.url = github:edolstra/import-cargo; | 11 | import-cargo.url = github:edolstra/import-cargo; |
17 | 12 | ||
18 | }; | 13 | }; |
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9e96703 --- /dev/null +++ b/shell.nix | |||
@@ -0,0 +1,6 @@ | |||
1 | # The `default.nix` in flake-compat reads `flake.nix` and `flake.lock` from `src` and | ||
2 | # returns an attribute set of the shape `{ defaultNix, shellNix }` | ||
3 | |||
4 | (import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { | ||
5 | src = ./.; | ||
6 | }).shellNix | ||