only publish x86_64-linux packages when appropriate

This commit is contained in:
Sean Buckley 2021-08-13 00:30:56 -04:00
parent 6d68d9181b
commit b98549f36a

View file

@ -36,12 +36,15 @@
packages = self.lib.forAllSystems (system: packages = self.lib.forAllSystems (system:
with nixpkgs.legacyPackages.${system}; with nixpkgs.legacyPackages.${system};
{ {
binaryninja = callPackage ./pkgs/binary-ninja-personal { };
commander-x16 = callPackage ./pkgs/commander-x16 { }; commander-x16 = callPackage ./pkgs/commander-x16 { };
gef = callPackage ./pkgs/gef { }; gef = callPackage ./pkgs/gef { };
packettracer = callPackage ./pkgs/packettracer { };
weevely = callPackage ./pkgs/weevely { }; weevely = callPackage ./pkgs/weevely { };
} }
// (if system != "x86_64-linux" then { } else
{
binaryninja = callPackage ./pkgs/binary-ninja-personal { };
packettracer = callPackage ./pkgs/packettracer { };
})
); );
apps = self.lib.forAllSystems (system: apps = self.lib.forAllSystems (system: