mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
move binaryninja to separate package
This commit is contained in:
parent
d74ba82a72
commit
9f7475fd7e
3 changed files with 8 additions and 4 deletions
|
@ -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 { };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
(
|
(
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue