diff --git a/STRUCTURE.md b/STRUCTURE.md index 8f8b309..12ac835 100644 --- a/STRUCTURE.md +++ b/STRUCTURE.md @@ -32,3 +32,4 @@ This file contains a small overview over the contents and structure of this repo - `wayland/` configuration for wayland windowmanagers and basic utilities - `xorg/` configuration for xorg windowmanagers and basic utilities - `root` minimal configuration for root +' `patches` patche to be applied to nixpkgs before the system is built diff --git a/pkgs/scripts/fetch-prs.sh b/pkgs/scripts/fetch-prs.sh index a3d091b..9cae1f6 100755 --- a/pkgs/scripts/fetch-prs.sh +++ b/pkgs/scripts/fetch-prs.sh @@ -6,12 +6,12 @@ if [ ! -f flake.nix ]; then exit 1 fi -mkdir -p patches +mkdir -p patches/PR echo "Removing old patches" -rm patches/*.diff +rm patches/PR/*.diff for t in "${PRS[@]}"; do echo "Fetching PR #$t" url="https://github.com/NixOS/nixpkgs/pull/$t" echo "$url" - wcurl "$url.diff" --curl-options "--output-dir patches" + wcurl "$url.diff" --curl-options "--output-dir patches/PR" done