nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenvNoCC,
3 sigtool,
4 cctools,
5}:
6
7let
8 stdenv = stdenvNoCC;
9in
10
11stdenv.mkDerivation {
12 name = "signing-utils";
13
14 dontUnpack = true;
15 dontConfigure = true;
16 dontBuild = true;
17
18 installPhase = ''
19 substituteAll ${./utils.sh} $out
20 '';
21
22 # Substituted variables
23 env = {
24 inherit sigtool;
25 codesignAllocate = "${cctools}/bin/${cctools.targetPrefix}codesign_allocate";
26 };
27}