Skip to content

Commit

Permalink
Add coreutils and gzip (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashoneyman committed Jul 14, 2023
1 parent af2519a commit 7a4c2f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions app/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
dhall,
dhall-json,
git,
licensee
licensee,
coreutils,
gzip
}: let
package-lock = slimlock.buildPackageLock {src = ../.; omit = ["dev" "peer"];};
spago-lock = purix.buildSpagoLock {
Expand Down Expand Up @@ -65,7 +67,7 @@ in {
'';
postFixup = ''
wrapProgram $out/bin/${name} \
--set PATH ${lib.makeBinPath [ compilers dhall dhall-json licensee git ]}
--set PATH ${lib.makeBinPath [ compilers dhall dhall-json licensee git coreutils gzip ]}
'';
};

Expand Down Expand Up @@ -94,7 +96,7 @@ in {
'';
postFixup = ''
wrapProgram $out/bin/${name} \
--set PATH ${lib.makeBinPath [ compilers dhall dhall-json licensee git ]}
--set PATH ${lib.makeBinPath [ compilers dhall dhall-json licensee git coreutils gzip ]}
'';
};
}
4 changes: 2 additions & 2 deletions scripts/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ makeWrapper, lib, stdenv, purix, slimlock, esbuild, nodejs, writeText, compilers, dhall, dhall-json, licensee, git }:
{ makeWrapper, lib, stdenv, purix, slimlock, esbuild, nodejs, writeText, compilers, dhall, dhall-json, licensee, git, coreutils, gzip }:
let
package-lock = slimlock.buildPackageLock { src = ../.; omit = ["dev" "peer"];};

Expand Down Expand Up @@ -35,7 +35,7 @@ let
'';
postFixup = ''
wrapProgram $out/bin/${name} \
--set PATH ${lib.makeBinPath [ compilers dhall dhall-json licensee git ]}
--set PATH ${lib.makeBinPath [ compilers dhall dhall-json licensee git coreutils gzip ]}
'';
};
in {
Expand Down

0 comments on commit 7a4c2f5

Please sign in to comment.