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