Fetch diff instead of patch
This commit is contained in:
parent
be65024a99
commit
2b5a0d6a20
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
name = "fetchpatch";
|
||||
category = "general commands";
|
||||
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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue