diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-05 22:25:33 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-05 22:25:33 +0200 |
commit | 9be00a1b0eaa19d3784c3abb823f3e2ebe80f716 (patch) | |
tree | e5c257478b7ac4ca7bcfd2be0c057631fd6f5e3a /pkgs/larbs-scripts/dmenuunicode.nix | |
parent | f1055110d259c36d7c3a968db3c5120341553a6c (diff) | |
download | pnpkgs-9be00a1b0eaa19d3784c3abb823f3e2ebe80f716.tar.gz pnpkgs-9be00a1b0eaa19d3784c3abb823f3e2ebe80f716.zip |
Update larbs-scripts
Diffstat (limited to 'pkgs/larbs-scripts/dmenuunicode.nix')
-rw-r--r-- | pkgs/larbs-scripts/dmenuunicode.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/larbs-scripts/dmenuunicode.nix b/pkgs/larbs-scripts/dmenuunicode.nix new file mode 100644 index 0000000..29070cf --- /dev/null +++ b/pkgs/larbs-scripts/dmenuunicode.nix @@ -0,0 +1,20 @@ +{ stdenv, callPackage }: +let + voidrice = callPackage ../voidrice.nix { }; + dmenu = callPackage ../dmenu { }; +in +stdenv.mkDerivation { + name = "dmenuunicode"; + + src = voidrice; + + installPhase = '' + mkdir -p $out/bin + mkdir -p $out/share + cp .local/share/larbs/emoji $out/share + + sed -i "s:~/.local/share/larbs/emoji:$out/share/emoji:" .local/bin/dmenuunicode + sed -i "s:dmenu:${dmenu}/bin/dmenu:g" .local/bin/dmenuunicode + cp .local/bin/dmenuunicode $out/bin + ''; +} |