core.lock: Add missing coreutils dependency...

otherwise we implictly assume realpath to already
be in $PATH which isn't always the case, i.e. on older
macOS releases.
This commit is contained in:
phaer 2024-04-15 09:31:39 +02:00 committed by DavHau
parent d3f8dbfc79
commit c5cfd416ab

View File

@ -205,7 +205,7 @@ in {
### Executing auto generated refresh script ### Executing auto generated refresh script
currDir="$(realpath .)" currDir="$(${config.deps.coreutils}/bin/realpath .)"
${generatedRefreshScript}/bin/refresh ${generatedRefreshScript}/bin/refresh
cd "$currDir" cd "$currDir"
@ -221,7 +221,7 @@ in {
deps = {nixpkgs, ...}: deps = {nixpkgs, ...}:
l.mapAttrs (_: l.mkOverride 1004) { l.mapAttrs (_: l.mkOverride 1004) {
inherit (nixpkgs) bash nix writeScriptBin; inherit (nixpkgs) bash coreutils nix writeScriptBin;
inherit (nixpkgs.writers) writePython3 writePython3Bin; inherit (nixpkgs.writers) writePython3 writePython3Bin;
}; };
}; };