Skip to content

Commit

Permalink
Merge pull request #210 from input-output-hk/darwin
Browse files Browse the repository at this point in the history
imp: darwin compat
  • Loading branch information
johnalotoski committed May 23, 2023
2 parents 91c14ae + 7a2d480 commit 944fcca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/vault-bin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
};
x86_64-darwin = fetchurl {
url = "${base}/vault_${version}_darwin_amd64.zip";
sha256 = "sha256-UDwMC+Bf01EWzNFcrpcOF/IZOzGx70s8mRVvGrKNhYk=";
sha256 = "sha256-DGeTtaUVbclr5FUXdPOhCH5vavsH4UH0AIjqDZPXGDs=";
};
aarch64-linux = fetchurl {
url = "${base}/vault_${version}_linux_arm64.zip";
Expand All @@ -48,7 +48,7 @@ in
mv vault $out/bin
wrapProgram $out/bin/vault \
--set PATH ${lib.makeBinPath [gawk glibc]}
--set PATH ${lib.makeBinPath ([gawk] ++ (lib.optional (stdenv.hostPlatform.system == "x86_64-linux") glibc))}
'';

meta = with lib; {
Expand Down

0 comments on commit 944fcca

Please sign in to comment.