blob: 11f066c5f8b6a251f57acd5e45aa1b3ad3976c95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
'';
}
|