1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
{ stdenv }: stdenv.mkDerivation { pname = "i3-commands"; version = "0.0.1"; srcs = builtins.path { name = "scripts"; path = ./scripts/.; }; installPhase = '' runHook preInstall mkdir -p $out/bin install -D -m 755 ./* $out/bin runHook postInstall ''; }