add derivation
This commit is contained in:
parent
7ebbb11486
commit
92031da0dd
19
default.nix
Normal file
19
default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit system;
|
||||||
|
name = "binaryninja";
|
||||||
|
src = [ ./personal ];
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
buildInputs = [ xorg.libX11 fontconfig glib xorg.libXrender libGL dbus ];
|
||||||
|
nativeBuildInputs = [ autoPatchelfHook ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
|
||||||
|
cp -r $src/* $out
|
||||||
|
|
||||||
|
ln -s $out/binaryninja $out/bin
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user