about summary refs log tree commit diff
path: root/pkgs/example-package/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/example-package/default.nix')
-rw-r--r--pkgs/example-package/default.nix10
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";
+}
+