Add devShell to flake

This commit is contained in:
Christian
2023-09-20 18:23:04 +02:00
parent ba85575211
commit a25873d518

View File

@@ -17,6 +17,12 @@
(super: self: { config-archive = super.callPackage ./lib/pkgs/config-archive.nix { }; })
];
};
forAllSystems = function:
nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-darwin"
] (system: function nixpkgs.legacyPackages.${system});
in
{
@@ -30,5 +36,11 @@
];
};
};
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
buildInputs = [ pkgs.nixos-rebuild ];
};
});
};
}
}