nur/pkgs/example-package/default.nix
2018-07-16 14:54:24 +02:00

10 lines
211 B
Nix

{ stdenv }:
stdenv.mkDerivation rec {
name = "example-package-${version}";
version = "1.0";
src = ./.;
buildPhase = "echo echo Hello World > example";
installPhase = "install -Dm755 example $out";
}