diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-04 21:05:38 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-11-05 22:47:43 +0100 |
| commit | 6332621634c47580a2352185340630b40992d0e6 (patch) | |
| tree | 0298e942663059ecacc45d1f8eacc64e84d0b963 | |
| parent | pkgs/rollup: Actually also parse renames in patches (diff) | |
| download | nixos-config-6332621634c47580a2352185340630b40992d0e6.zip | |
pkgs/rollup: Wrap with the required programs
| -rw-r--r-- | pkgs/by-name/ro/rollup/package.unstable.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/by-name/ro/rollup/package.unstable.nix b/pkgs/by-name/ro/rollup/package.unstable.nix index 6c052965..eabb701a 100644 --- a/pkgs/by-name/ro/rollup/package.unstable.nix +++ b/pkgs/by-name/ro/rollup/package.unstable.nix @@ -9,19 +9,30 @@ # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. { rustPlatform, + lib, + git, + patchutils, + makeWrapper, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rollup"; version = "0.1.0"; buildInputs = []; - nativeBuildInputs = []; + nativeBuildInputs = [ + makeWrapper + ]; src = ./.; cargoLock = { lockFile = ./Cargo.lock; }; + postInstall = '' + wrapProgram $out/bin/rollup \ + --set PATH ${lib.makeBinPath [git patchutils]} + ''; + meta = { mainProgram = "rollup"; }; |
