From 2b5a0d6a207f9192bad37e6ed3c898b92c9a2ab2 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 16 May 2023 22:31:57 +0200 Subject: [PATCH] Fetch diff instead of patch --- shells/nixos-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/nixos-config.nix b/shells/nixos-config.nix index bbf0ce81..0b0e176c 100644 --- a/shells/nixos-config.nix +++ b/shells/nixos-config.nix @@ -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 = [