diff options
Diffstat (limited to 'pkgs')
| -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"; }; |
