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;
|
||||
overlays = [
|
||||
(import ./overlay)
|
||||
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"];
|
||||
};
|
||||
(import ./overlay/piped-overlay.nix {
|
||||
inherit (inputs) piped-flake;
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
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 = [
|
||||
(import ../../overlay)
|
||||
|
||||
#inputs.vaultui.overlays.default
|
||||
#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"];
|
||||
};
|
||||
(import ../../overlay/piped-overlay.nix {
|
||||
inherit (inputs) piped-flake;
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue