18 lines
303 B
Nix
18 lines
303 B
Nix
|
let
|
||
|
pkgs = import <nixpkgs> { };
|
||
|
in
|
||
|
pkgs.stdenv.mkDerivation {
|
||
|
name = "fusescript";
|
||
|
|
||
|
buildInputs = [ pkgs.fuse3 pkgs.pkg-config ];
|
||
|
|
||
|
dontStrip = true; # set to true to debug with gdb
|
||
|
|
||
|
src = ./.;
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/bin
|
||
|
cp fusescript $out/bin
|
||
|
'';
|
||
|
}
|