add piped overlay to use fixed nixpkgs from piped-flake
This commit is contained in:
parent
a2f9742062
commit
6d868bf64e
18
outputs.nix
18
outputs.nix
|
@ -22,22 +22,8 @@ in
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = [
|
overlays = [
|
||||||
(import ./overlay)
|
(import ./overlay)
|
||||||
inputs.piped-flake.overlays.default
|
(import ./overlay/piped-overlay.nix {
|
||||||
(_prev: final: {
|
inherit (inputs) piped-flake;
|
||||||
piped-backend-deps =
|
|
||||||
final.piped-backend-deps.overrideAttrs
|
|
||||||
{
|
|
||||||
# Won't build due to this; added a native-arm64 to all builders on arm64
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/255780
|
|
||||||
requiredSystemFeatures = ["native-arm64"];
|
|
||||||
};
|
|
||||||
piped-backend =
|
|
||||||
final.piped-backend.overrideAttrs
|
|
||||||
{
|
|
||||||
# Won't build due to this; added a native-arm64 to all builders on arm64
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/255780
|
|
||||||
requiredSystemFeatures = ["native-arm64"];
|
|
||||||
};
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
21
overlay/piped-overlay.nix
Normal file
21
overlay/piped-overlay.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{piped-flake}: (prev: final: let
|
||||||
|
system = final.system;
|
||||||
|
in {
|
||||||
|
# Won't build due to this; added a native-arm64 to all builders on arm64
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/255780
|
||||||
|
piped-backend =
|
||||||
|
(piped-flake.packages.${system}.piped-backend.override (prev: {
|
||||||
|
piped-backend-deps = prev.piped-backend-deps.overrideAttrs {
|
||||||
|
requiredSystemFeatures =
|
||||||
|
if system == "aarch64-linux"
|
||||||
|
then ["native-arm64"]
|
||||||
|
else [];
|
||||||
|
};
|
||||||
|
}))
|
||||||
|
.overrideAttrs {
|
||||||
|
requiredSystemFeatures =
|
||||||
|
if system == "aarch64-linux"
|
||||||
|
then ["native-arm64"]
|
||||||
|
else [];
|
||||||
|
};
|
||||||
|
})
|
|
@ -27,26 +27,8 @@ in {
|
||||||
};
|
};
|
||||||
overlays = [
|
overlays = [
|
||||||
(import ../../overlay)
|
(import ../../overlay)
|
||||||
|
(import ../../overlay/piped-overlay.nix {
|
||||||
#inputs.vaultui.overlays.default
|
inherit (inputs) piped-flake;
|
||||||
#inputs.musicutil.overlays.default
|
|
||||||
inputs.piped-flake.overlays.default
|
|
||||||
|
|
||||||
(_prev: final: {
|
|
||||||
piped-backend-deps =
|
|
||||||
final.piped-backend-deps.overrideAttrs
|
|
||||||
{
|
|
||||||
# Won't build due to this; added a native-arm64 to all builders on arm64
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/255780
|
|
||||||
requiredSystemFeatures = ["native-arm64"];
|
|
||||||
};
|
|
||||||
piped-backend =
|
|
||||||
final.piped-backend.overrideAttrs
|
|
||||||
{
|
|
||||||
# Won't build due to this; added a native-arm64 to all builders on arm64
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/255780
|
|
||||||
requiredSystemFeatures = ["native-arm64"];
|
|
||||||
};
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue