9 lines
210 B
Nix
9 lines
210 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";
|
|
}
|