fix recursion issue

This commit is contained in:
Sean Buckley 2021-11-01 16:02:30 -04:00
parent 7727a75fe4
commit fb446a7250

View file

@ -1,23 +1,17 @@
pkgs: pkgs:
let let
empty = pkgs.runCommand "empty" { } "mkdir $out";
allArchs = x64 = x: if pkgs.system == "x86_64-linux" then x else empty;
in
rec
{ {
binaryninja = x64 (pkgs.callPackage ./binary-ninja-personal { });
commander-x16 = pkgs.callPackage ./commander-x16 { }; commander-x16 = pkgs.callPackage ./commander-x16 { };
gef = pkgs.callPackage ./gef { }; gef = pkgs.callPackage ./gef { };
packettracer = x64 (pkgs.callPackage ./packettracer { });
security-toolbox = x64 (pkgs.callPackage ./security-toolbox { inherit gef webshells weevely; });
SpaceCadetPinball = x64 (pkgs.callPackage ./SpaceCadetPinball { });
stretchy-spaces = pkgs.callPackage ./stretchy-spaces { }; stretchy-spaces = pkgs.callPackage ./stretchy-spaces { };
webshells = pkgs.callPackage ./webshells { }; webshells = pkgs.callPackage ./webshells { };
weevely = pkgs.callPackage ./weevely { }; weevely = pkgs.callPackage ./weevely { };
}; }
x64Lin =
{
binaryninja = pkgs.callPackage ./binary-ninja-personal { };
packettracer = pkgs.callPackage ./packettracer { };
security-toolbox = pkgs.callPackage ./security-toolbox { inherit (allArchs) gef webshells weevely; };
SpaceCadetPinball = pkgs.callPackage ./SpaceCadetPinball { };
};
in
allArchs // (if pkgs.system != "x86_64-linux" then { } else x64Lin)