Skip to content

Commit

Permalink
fix pkgs.writeReferencesToFile deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
fsagbuya committed Aug 22, 2024
1 parent 508264b commit 4adce9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ with lib;
};
environment.etc = {
"nix/nix.conf".source = pkgs.runCommand "nix.conf" {} ''
extraPaths=$(for i in $(cat ${pkgs.writeReferencesToFile pkgs.runtimeShell}); do if test -d $i; then echo $i; fi; done)
extraPaths=$(for i in $(cat ${pkgs.writeClosure [ pkgs.bash ]}); do if test -d $i; then echo $i; fi; done)
cat > $out << EOF
auto-optimise-store = true
build-users-group = nixbld
Expand Down

0 comments on commit 4adce9e

Please sign in to comment.