ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

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

pin flake nixpkgs by default (#309)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

authored by

marshmallow
autofix-ci[bot]
and committed by
GitHub
f21cd9bf 2d02a99e

+8 -1
+2
CHANGELOG.md
··· 31 31 - Data integrity of keys have been greatly improved 32 32 - Unknown SSH keys will be immediately rejected unless `--ssh-accept-host` is passed. 33 33 - Logging was improved. 34 + - `config.nixpkgs.flake.source` is now set by default if `meta.nixpkgs` ends 35 + with `-source` at priority 1000 (default). 34 36 35 37 ### Documented 36 38
+6 -1
runtime/evaluate.nix
··· 47 47 else 48 48 builtins.abort "makeHive called without meta.nixpkgs specified."; 49 49 50 + isFlake = resolvedNixpkgs.lib.hasSuffix "-source" resolvedNixpkgs.path; 51 + 50 52 evaluateNode = 51 53 name: 52 54 let ··· 58 60 59 61 mergedHive.defaults 60 62 mergedHive.${name} 61 - ]; 63 + ] 64 + ++ (resolvedNixpkgs.lib.optional isFlake { 65 + config.nixpkgs.flake.source = resolvedNixpkgs.lib.mkDefault resolvedNixpkgs.path; 66 + }); 62 67 system = null; 63 68 specialArgs = { 64 69 inherit name nodes;