feat: allow for own patches
This commit is contained in:
parent
063a049ffc
commit
e06a9a061e
|
@ -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
|
- `wayland/` configuration for wayland windowmanagers and basic utilities
|
||||||
- `xorg/` configuration for xorg windowmanagers and basic utilities
|
- `xorg/` configuration for xorg windowmanagers and basic utilities
|
||||||
- `root` minimal configuration for root
|
- `root` minimal configuration for root
|
||||||
|
' `patches` patche to be applied to nixpkgs before the system is built
|
||||||
|
|
|
@ -6,12 +6,12 @@ if [ ! -f flake.nix ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p patches
|
mkdir -p patches/PR
|
||||||
echo "Removing old patches"
|
echo "Removing old patches"
|
||||||
rm patches/*.diff
|
rm patches/PR/*.diff
|
||||||
for t in "${PRS[@]}"; do
|
for t in "${PRS[@]}"; do
|
||||||
echo "Fetching PR #$t"
|
echo "Fetching PR #$t"
|
||||||
url="https://github.com/NixOS/nixpkgs/pull/$t"
|
url="https://github.com/NixOS/nixpkgs/pull/$t"
|
||||||
echo "$url"
|
echo "$url"
|
||||||
wcurl "$url.diff" --curl-options "--output-dir patches"
|
wcurl "$url.diff" --curl-options "--output-dir patches/PR"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue