about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/new_ds.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/larbs-scripts/new_ds.nix')
-rw-r--r--pkgs/larbs-scripts/new_ds.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/pkgs/larbs-scripts/new_ds.nix b/pkgs/larbs-scripts/new_ds.nix
deleted file mode 100644
index 4ab6377..0000000
--- a/pkgs/larbs-scripts/new_ds.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ callPackage, lib, buildEnv }:
-let
-  mapCase = options:
-  builtins.concatStringsSep "\n"
-  (builtins.map
-  (option: "\t\"${option}\") ${builtins.getAttr option options} ;;")
-  (builtins.attrNames options));
-
-in
-
-lib.makeOverridable (
-  { moreOptions ? {} }:
-  let
-    voidrice = callPackage ../voidrice.nix { };
-    dmenu = callPackage ../dmenu { };
-  in
-  buildEnv {
-    name = "displayselect";
-
-    paths = [
-      dmenu
-    ];
-
-    postBuild = ''
-      echo '${mapCase moreOptions}' > $out/bin/test
-      cp ${voidrice}/.local/bin/displayselect $out/bin
-    '';
-
-  })