Skip to content

Commit

Permalink
core.lock: Add missing coreutils dependency...
Browse files Browse the repository at this point in the history
otherwise we implictly assume realpath to already
be in $PATH which isn't always the case, i.e. on older
macOS releases.
  • Loading branch information
phaer authored and DavHau committed Apr 15, 2024
1 parent d3f8dbf commit c5cfd41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dream2nix/core/lock/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ in {
### Executing auto generated refresh script
currDir="$(realpath .)"
currDir="$(${config.deps.coreutils}/bin/realpath .)"
${generatedRefreshScript}/bin/refresh
cd "$currDir"
Expand All @@ -221,7 +221,7 @@ in {

deps = {nixpkgs, ...}:
l.mapAttrs (_: l.mkOverride 1004) {
inherit (nixpkgs) bash nix writeScriptBin;
inherit (nixpkgs) bash coreutils nix writeScriptBin;
inherit (nixpkgs.writers) writePython3 writePython3Bin;
};
};
Expand Down

0 comments on commit c5cfd41

Please sign in to comment.