1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{ stdenv, lib }: stdenv.mkDerivation { pname = "i3-commands"; version = "0.0.1"; srcs = lib.cleanSourceWith { src = ./scripts; filter = path: type: baseNameOf path != "rofi-passmenu"; }; installPhase = '' runHook preInstall mkdir -p $out/bin install -D -m 755 ./* $out/bin runHook postInstall ''; }