mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
fix: import upstream (lovesegfault's) changes to hosts structure
This commit is contained in:
parent
c5a5cf14ba
commit
7ff57aa6e4
9 changed files with 148 additions and 54 deletions
13
flake.nix
13
flake.nix
|
@ -59,11 +59,14 @@
|
|||
checks = import ./nix/checks.nix inputs localSystem;
|
||||
devShells.default = import ./nix/dev-shell.nix inputs localSystem;
|
||||
|
||||
legacyPackages =
|
||||
{
|
||||
default = self.packages.${localSystem}.all;
|
||||
}
|
||||
// (import ./nix/host-drvs.nix inputs localSystem);
|
||||
packages = let
|
||||
hostDrvs = import ./nix/host-drvs.nix inputs localSystem;
|
||||
default =
|
||||
if builtins.hasAttr "${localSystem}" hostDrvs
|
||||
then {default = self.packages.${localSystem}.${localSystem};}
|
||||
else {};
|
||||
in
|
||||
hostDrvs // default;
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit localSystem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue