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