diff options
Diffstat (limited to 'pkgs/example-package/default.nix')
| -rw-r--r-- | pkgs/example-package/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/example-package/default.nix b/pkgs/example-package/default.nix new file mode 100644 index 0000000..41e22df --- /dev/null +++ b/pkgs/example-package/default.nix @@ -0,0 +1,9 @@ +{ stdenv }: + +stdenv.mkDerivation rec { + name = "example-package-${version}"; + version = "1.0"; + src = ./.; + buildPhase = "echo echo Hello World > example"; + installPhase = "install -Dm755 example $out"; +} |
