mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
fix recursion issue
This commit is contained in:
parent
7727a75fe4
commit
fb446a7250
1 changed files with 14 additions and 20 deletions
|
@ -1,23 +1,17 @@
|
|||
pkgs:
|
||||
|
||||
let
|
||||
|
||||
allArchs =
|
||||
{
|
||||
commander-x16 = pkgs.callPackage ./commander-x16 { };
|
||||
gef = pkgs.callPackage ./gef { };
|
||||
stretchy-spaces = pkgs.callPackage ./stretchy-spaces { };
|
||||
webshells = pkgs.callPackage ./webshells { };
|
||||
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 { };
|
||||
};
|
||||
|
||||
empty = pkgs.runCommand "empty" { } "mkdir $out";
|
||||
x64 = x: if pkgs.system == "x86_64-linux" then x else empty;
|
||||
in
|
||||
allArchs // (if pkgs.system != "x86_64-linux" then { } else x64Lin)
|
||||
rec
|
||||
{
|
||||
binaryninja = x64 (pkgs.callPackage ./binary-ninja-personal { });
|
||||
commander-x16 = pkgs.callPackage ./commander-x16 { };
|
||||
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 { };
|
||||
webshells = pkgs.callPackage ./webshells { };
|
||||
weevely = pkgs.callPackage ./weevely { };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue