move binaryninja to separate package

This commit is contained in:
Sean Buckley 2021-06-10 15:51:04 -04:00
parent d74ba82a72
commit 9f7475fd7e
3 changed files with 8 additions and 4 deletions

View file

@ -2,12 +2,18 @@
inputs.nixpkgs.url = "nixpkgs/nixos-21.05"; inputs.nixpkgs.url = "nixpkgs/nixos-21.05";
inputs.unstable.url = "nixpkgs/nixos-unstable"; inputs.unstable.url = "nixpkgs/nixos-unstable";
outputs = { self, ... }@inputs: outputs = { self, nixpkgs, ... }@inputs:
{ {
nixosModule = { ... }: { imports = [ ./. ]; }; nixosModule = { ... }: { imports = [ ./. ]; };
nixosConfigurations = self.lib.getHosts inputs ./hosts; nixosConfigurations = self.lib.getHosts inputs ./hosts;
lib.getHosts = import lib/hosts.nix; lib.getHosts = import lib/hosts.nix;
packages."x86_64-linux" =
with (import nixpkgs { system = "x86_64-linux"; });
{
binaryninja = callPackage ./pkgs/binary-ninja-personal { };
};
}; };
} }

View file

@ -27,8 +27,6 @@ in
iptables-nftables-compat iptables-nftables-compat
dhcpdump dhcpdump
(callPackage ../pkgs/binary-ninja-personal { })
(writeShellScriptBin "searchsploit" '' (writeShellScriptBin "searchsploit" ''
set -e set -e
( (

View file

@ -33,7 +33,7 @@
, zlib , zlib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "binary-ninja-personal"; pname = "binaryninja";
version = "2.3.2660"; version = "2.3.2660";
src = requireFile { src = requireFile {