Fetch diff instead of patch

This commit is contained in:
Charlotte Van Petegem 2023-05-16 22:31:57 +02:00
parent be65024a99
commit 2b5a0d6a20
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -11,7 +11,7 @@
name = "fetchpatch"; name = "fetchpatch";
category = "general commands"; category = "general commands";
help = "Fetch a patch from a nixpkgs PR by its ID"; help = "Fetch a patch from a nixpkgs PR by its ID";
command = "curl -L https://github.com/NixOS/nixpkgs/pull/$1.patch -o $PRJ_ROOT/patches/$1.patch"; command = "curl -L https://github.com/NixOS/nixpkgs/pull/$1.diff -o $PRJ_ROOT/patches/$1.patch";
} }
]; ];
packages = [ packages = [