Skip to content

Commit becc9e5

Browse files
reo101MartinNikov
authored andcommitted
fix(aztec): add executable permission(s)
1 parent a4c2dbf commit becc9e5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/aztec/default.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ stdenv.mkDerivation {
2828
})
2929
];
3030
sourceRoot = ".";
31-
unpackCmd = "cp $curSrc $(basename $(stripHash $curSrc))";
31+
unpackCmd = ''
32+
curTrg=$(basename $(stripHash $curSrc))
33+
cp $curSrc $curTrg
34+
chmod +x $curTrg
35+
'';
3236
installPhase = ''
3337
mkdir -p $out/bin
3438
cp -r * .* $out/bin/

packages/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
// optionalAttrs (system == "x86_64-linux" || system == "aarch64-darwin") {
6262
secret = import ./secret { inherit inputs' pkgs; };
6363
aztec = pkgs.callPackage ./aztec { };
64+
6465
}
6566
// optionalAttrs isLinux {
6667
folder-size-metrics = pkgs.callPackage ./folder-size-metrics { };

0 commit comments

Comments
 (0)