]> rtime.felk.cvut.cz Git - sojka/sterm.git/commitdiff
Add Nix expression
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 13 Oct 2020 12:41:23 +0000 (14:41 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 13 Oct 2020 12:41:23 +0000 (14:41 +0200)
default.nix [new file with mode: 0644]

diff --git a/default.nix b/default.nix
new file mode 100644 (file)
index 0000000..381c79b
--- /dev/null
@@ -0,0 +1,10 @@
+{
+  nixpkgs ? <nixpkgs>,
+  pkgs ? import nixpkgs {}
+}:
+with pkgs;
+stdenv.mkDerivation {
+  name = "sterm";
+  src = builtins.fetchGit { url = ./.; };
+  installPhase = "make install PREFIX=$out";
+}