flake: allow patches on aarch64-linux too
This commit is contained in:
parent
0dc2406b6a
commit
1c87d059b2
1 changed files with 12 additions and 10 deletions
22
flake.nix
22
flake.nix
|
|
@ -23,17 +23,19 @@
|
|||
let
|
||||
shbPatches =
|
||||
system:
|
||||
nixpkgs.legacyPackages.${system}.lib.optionals (system == "x86_64-linux") [
|
||||
# Get rid of lldap patches when https://github.com/NixOS/nixpkgs/pull/425923 is merged.
|
||||
./patches/lldap.patch
|
||||
./patches/0001-nixos-borgbackup-add-option-to-override-state-direct.patch
|
||||
nixpkgs.legacyPackages.${system}.lib.optionals
|
||||
(system == "x86_64-linux" || system == "aarch64-linux")
|
||||
[
|
||||
# Get rid of lldap patches when https://github.com/NixOS/nixpkgs/pull/425923 is merged.
|
||||
./patches/lldap.patch
|
||||
./patches/0001-nixos-borgbackup-add-option-to-override-state-direct.patch
|
||||
|
||||
# Leaving commented out as an example.
|
||||
# (originPkgs.fetchpatch {
|
||||
# url = "https://github.com/NixOS/nixpkgs/pull/317107.patch";
|
||||
# hash = "sha256-hoLrqV7XtR1hP/m0rV9hjYUBtrSjay0qcPUYlKKuVWk=";
|
||||
# })
|
||||
];
|
||||
# Leaving commented out as an example.
|
||||
# (originPkgs.fetchpatch {
|
||||
# url = "https://github.com/NixOS/nixpkgs/pull/317107.patch";
|
||||
# hash = "sha256-hoLrqV7XtR1hP/m0rV9hjYUBtrSjay0qcPUYlKKuVWk=";
|
||||
# })
|
||||
];
|
||||
|
||||
patchNixpkgs =
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue