summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-04 21:05:38 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-05 22:47:43 +0100
commit6332621634c47580a2352185340630b40992d0e6 (patch)
tree0298e942663059ecacc45d1f8eacc64e84d0b963 /pkgs/by-name
parentpkgs/rollup: Actually also parse renames in patches (diff)
downloadnixos-config-6332621634c47580a2352185340630b40992d0e6.zip
pkgs/rollup: Wrap with the required programs
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/ro/rollup/package.unstable.nix13
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";
};