From 0cd689a3c68d79ec177e5cc1259386064db9979b Mon Sep 17 00:00:00 2001 From: depsterr Date: Sat, 5 Oct 2024 15:08:00 +0200 Subject: [PATCH] add pash to user env --- home-manager/applications.nix | 1 + pkgs/cpypsk.nix | 2 +- pkgs/pash.nix | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home-manager/applications.nix b/home-manager/applications.nix index 653e281..9b87c09 100644 --- a/home-manager/applications.nix +++ b/home-manager/applications.nix @@ -78,5 +78,6 @@ extra.renoise extra.nixprof extra.protonmail-desktop + extra.pash ]; } diff --git a/pkgs/cpypsk.nix b/pkgs/cpypsk.nix index fbc4ffd..1682509 100644 --- a/pkgs/cpypsk.nix +++ b/pkgs/cpypsk.nix @@ -9,5 +9,5 @@ pkgs.writeScript "cpypsk" '' n="''${f#$D/}" n="''${n%.gpg}" printf '%s\n' "$n" - done | ${pkgs.rofi}/bin/rofi -dmenu | xargs ${pash} copy + done | ${pkgs.rofi}/bin/rofi -dmenu | xargs ${pash}/bin/pash copy '' diff --git a/pkgs/pash.nix b/pkgs/pash.nix index aff3a45..cdc0943 100644 --- a/pkgs/pash.nix +++ b/pkgs/pash.nix @@ -9,6 +9,7 @@ pkgs.stdenv.mkDerivation { }; phases = [ "installPhase" ]; installPhase = '' - install -Dm755 $src/pash $out + mkdir -p $out/bin + install -Dm755 $src/pash $out/bin/pash ''; }