diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-25 22:56:45 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-25 22:56:45 +0200 |
| commit | c25fe81c63aa7087410619a2ae980e536cb65bcd (patch) | |
| tree | ddfb23d5e372ee674302687604e2fb19ac1f92ab | |
| parent | modules/fish/keybindings/insert: Also make the editor accessible from insert ... (diff) | |
| download | nixos-config-c25fe81c63aa7087410619a2ae980e536cb65bcd.zip | |
pkgs/fish-patched: Don't override `postPatch`
This phase is actually _really_ important for the fish package, as it
includes the code, so that fish sources the global env variables.
| -rw-r--r-- | pkgs/by-name/fi/fish-patched/package.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/by-name/fi/fish-patched/package.nix b/pkgs/by-name/fi/fish-patched/package.nix index 9d4bac75..cb45af99 100644 --- a/pkgs/by-name/fi/fish-patched/package.nix +++ b/pkgs/by-name/fi/fish-patched/package.nix @@ -1,7 +1,6 @@ { fish, rustPlatform, - lib, }: let loadedRustPlatform = { inherit (rustPlatform) cargoSetupHook; @@ -20,10 +19,12 @@ in }).overrideAttrs (prev: { pname = "${prev.pname}-patched"; - postPatch = '' - rm Cargo.lock - cat ${./Cargo.lock} > Cargo.lock - ''; + postPatch = + (prev.postPatch or "") + + '' + rm Cargo.lock + cat ${./Cargo.lock} > Cargo.lock + ''; doCheck = false; |
