Some checks failed
/ build-host (map[host:beefcake]) (push) Successful in 52s
/ build-host (map[host:dragon]) (push) Successful in 1m20s
/ build-host (map[host:flipflop]) (push) Successful in 1m11s
/ build-host (map[host:foxtrot]) (push) Successful in 1m20s
/ build-host (map[host:rascal]) (push) Successful in 35s
/ build-host (map[host:router]) (push) Successful in 41s
/ build-host (map[host:steamdeck]) (push) Successful in 1m14s
/ build-devshell (push) Successful in 19s
/ flake-check (push) Failing after 4m18s
34 lines
866 B
Nix
34 lines
866 B
Nix
{ self, ... }@inputs:
|
|
let
|
|
forSelfOverlay =
|
|
if builtins.hasAttr "overlays" self && builtins.hasAttr "forSelf" self.overlays then
|
|
self.overlays.forSelf
|
|
else
|
|
(_: p: p);
|
|
in
|
|
rec {
|
|
inherit forSelfOverlay;
|
|
systems = [
|
|
"aarch64-linux"
|
|
"aarch64-darwin"
|
|
"x86_64-darwin"
|
|
"x86_64-linux"
|
|
];
|
|
forSystems = nixpkgs: nixpkgs.lib.genAttrs systems;
|
|
pkgsFor = nixpkgs: system: (import nixpkgs { inherit system; }).extend forSelfOverlay;
|
|
genPkgs = nixpkgs: func: (forSystems nixpkgs (system: func (pkgsFor nixpkgs system)));
|
|
|
|
conditionalOutOfStoreSymlink =
|
|
config: outOfStoreSymlink: relPath:
|
|
if config.lyte.useOutOfStoreSymlinks.enable then
|
|
config.lib.file.mkOutOfStoreSymlink outOfStoreSymlink
|
|
else
|
|
relPath;
|
|
|
|
inherit (import ./host.nix inputs)
|
|
host
|
|
stableHost
|
|
steamdeckHost
|
|
baseHost
|
|
;
|
|
}
|