Lints and suggestions for the Nix programming language
1
fork

Configure Feed

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

flake: avoid ifd (#70)

authored by

figsoda and committed by
GitHub
ec55198a f0267dfb

+2 -36
-21
flake.lock
··· 21 21 "type": "github" 22 22 } 23 23 }, 24 - "gitignore": { 25 - "inputs": { 26 - "nixpkgs": [ 27 - "nixpkgs" 28 - ] 29 - }, 30 - "locked": { 31 - "lastModified": 1635165013, 32 - "narHash": "sha256-o/BdVjNwcB6jOmzZjOH703BesSkkS5O7ej3xhyO8hAY=", 33 - "owner": "hercules-ci", 34 - "repo": "gitignore.nix", 35 - "rev": "5b9e0ff9d3b551234b4f3eb3983744fa354b17f1", 36 - "type": "github" 37 - }, 38 - "original": { 39 - "owner": "hercules-ci", 40 - "repo": "gitignore.nix", 41 - "type": "github" 42 - } 43 - }, 44 24 "nixpkgs": { 45 25 "locked": { 46 26 "lastModified": 1645013224, ··· 60 40 "root": { 61 41 "inputs": { 62 42 "fenix": "fenix", 63 - "gitignore": "gitignore", 64 43 "nixpkgs": "nixpkgs" 65 44 } 66 45 },
+2 -15
flake.nix
··· 8 8 inputs.nixpkgs.follows = "nixpkgs"; 9 9 }; 10 10 11 - gitignore = { 12 - url = "github:hercules-ci/gitignore.nix"; 13 - inputs.nixpkgs.follows = "nixpkgs"; 14 - }; 15 - 16 11 }; 17 12 18 13 outputs = 19 14 { self 20 15 , nixpkgs 21 16 , fenix 22 - , gitignore 23 17 }: 24 18 let 25 - inherit (gitignore.lib) gitignoreSource; 26 - 27 19 supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 28 20 forAllSystems = nixpkgs.lib.genAttrs supportedSystems; 29 21 nixpkgsFor = forAllSystems (system: ··· 32 24 overlays = [ self.overlays.default ]; 33 25 }); 34 26 35 - chanspec = { 36 - date = "2022-02-06"; 37 - channel = "nightly"; 38 - sha256 = "oKkTWopCDx4tphzTtRn+zDDtvmIZrL/H44tV2ruSfDw="; # set zeros after modifying channel or date 39 - }; 40 - rustChannel = p: (fenix.overlay p p).fenix.toolchainOf chanspec; 27 + rustChannel = p: (fenix.overlay p p).fenix.complete; 41 28 42 29 in 43 30 { ··· 59 46 src = self; 60 47 cargoLock.lockFile = ./Cargo.lock; 61 48 62 - buildFeatures = "json"; 49 + buildFeatures = [ "json" ]; 63 50 64 51 meta = with lib; { 65 52 description = "Lints and suggestions for the Nix programming language";