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 Jul 3, 2024
1 parent 3b9933a commit 3bb10a7
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 3bb10a7

Please sign in to comment.