templates/bash/nixpkgs/package.nix

18 lines
190 B
Nix

{ stdenv
, bash
}:
stdenv.mkDerivation {
pname = "soe";
version = "1.0";
src = ./.;
buildInputs = [ bash ];
installPhase = ''
mkdir -p $out/bin
cp soe $out/bin
'';
}