about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/old/dmenumount.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/larbs-scripts/old/dmenumount.nix')
-rw-r--r--pkgs/larbs-scripts/old/dmenumount.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/larbs-scripts/old/dmenumount.nix b/pkgs/larbs-scripts/old/dmenumount.nix
new file mode 100644
index 0000000..11f066c
--- /dev/null
+++ b/pkgs/larbs-scripts/old/dmenumount.nix
@@ -0,0 +1,17 @@
+{ stdenv, callPackage, libnotify }:
+let
+  voidrice = callPackage ../voidrice.nix { };
+  dmenu = callPackage ../dmenu { };
+in
+stdenv.mkDerivation {
+  name = "dmenumount";
+
+  src = voidrice;
+
+  installPhase = ''
+    mkdir -p $out/bin
+
+    sed -i "s:dmenu:${dmenu}/bin/dmenu:g" .local/bin/dmenumount
+    cp .local/bin/dmenumount $out/bin
+  '';
+}