Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add default.nix and shell.nix with flake-compat

Akshay ea2e2349 a1886854

+12 -22
+6
default.nix
··· 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
-17
flake.lock
··· 1 1 { 2 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 3 "import-cargo": { 20 4 "locked": { 21 5 "lastModified": 1594305518, ··· 65 49 }, 66 50 "root": { 67 51 "inputs": { 68 - "flake-compat": "flake-compat", 69 52 "import-cargo": "import-cargo", 70 53 "mozillapkgs": "mozillapkgs", 71 54 "nixpkgs": "nixpkgs"
-5
flake.nix
··· 8 8 flake = false; 9 9 }; 10 10 11 - flake-compat = { 12 - url = "github:edolstra/flake-compat"; 13 - flake = false; 14 - }; 15 - 16 11 import-cargo.url = github:edolstra/import-cargo; 17 12 18 13 };
+6
shell.nix
··· 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