Skip to content

Commit ceb6c57

Browse files
reo101MartinNikov
authored andcommitted
fix(aztec): add executable permission(s)
1 parent 20128c9 commit ceb6c57

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
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: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,26 @@
5353
];
5454
};
5555

56-
packages =
57-
{
58-
lido-withdrawals-automation = pkgs.callPackage ./lido-withdrawals-automation { };
59-
pyroscope = pkgs.callPackage ./pyroscope { };
60-
random-alerts = pkgs.callPackage ./random-alerts { };
61-
}
62-
// optionalAttrs (system == "x86_64-linux" || system == "aarch64-darwin") {
63-
secret = import ./secret { inherit inputs' pkgs; };
64-
aztec = pkgs.callPackage ./aztec { };
65-
}
66-
// optionalAttrs isLinux {
67-
folder-size-metrics = pkgs.callPackage ./folder-size-metrics { };
68-
}
69-
// optionalAttrs (system == "x86_64-linux") {
70-
mcl = pkgs.callPackage ./mcl {
71-
buildDubPackage = inputs'.dlang-nix.legacyPackages.buildDubPackage.override {
72-
dCompiler = inputs'.dlang-nix.packages."ldc-binary-1_38_0";
73-
};
74-
inherit (legacyPackages.inputs.nixpkgs) cachix nix nix-eval-jobs;
56+
packages = {
57+
lido-withdrawals-automation = pkgs.callPackage ./lido-withdrawals-automation { };
58+
pyroscope = pkgs.callPackage ./pyroscope { };
59+
random-alerts = pkgs.callPackage ./random-alerts { };
60+
}
61+
// optionalAttrs (system == "x86_64-linux" || system == "aarch64-darwin") {
62+
secret = import ./secret { inherit inputs' pkgs; };
63+
aztec = pkgs.callPackage ./aztec { };
64+
65+
}
66+
// optionalAttrs isLinux {
67+
folder-size-metrics = pkgs.callPackage ./folder-size-metrics { };
68+
}
69+
// optionalAttrs (system == "x86_64-linux") {
70+
mcl = pkgs.callPackage ./mcl {
71+
buildDubPackage = inputs'.dlang-nix.legacyPackages.buildDubPackage.override {
72+
dCompiler = inputs'.dlang-nix.packages."ldc-binary-1_38_0";
7573
};
74+
inherit (legacyPackages.inputs.nixpkgs) cachix nix nix-eval-jobs;
7675
};
76+
};
7777
};
7878
}

0 commit comments

Comments
 (0)