Skip to content

Commit

Permalink
fix: deprecated flake output warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Aug 8, 2022
1 parent abda43b commit a0796cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
13 changes: 4 additions & 9 deletions flake.nix
Expand Up @@ -153,13 +153,9 @@
rec {
inherit legacyPackages;

packages.bitte = unstablePackages.callPackage ./cli/package.nix {inherit toolchain;};
defaultPackage = packages.bitte;

devShell = unstablePackages.mkShell {
buildInputs = with unstablePackages; [
hello
];
packages = rec {
bitte = unstablePackages.callPackage ./cli/package.nix {inherit toolchain;};
default = bitte;
};
}
// tullia.fromSimple system {
Expand All @@ -169,10 +165,9 @@
// {
inherit lib;
# eta reduce not possibe since flake check validates for "final" / "prev"
overlay = nixpkgs.lib.composeManyExtensions overlays;
overlays.default = nixpkgs.lib.composeManyExtensions overlays;
profiles = lib.mkModules ./profiles;
nixosModules = lib.mkModules ./modules;
nixosModule.imports = builtins.attrValues self.nixosModules;
devshellModule = import ./devshellModule.nix;
}
// mkChecks defaultSystems [
Expand Down
2 changes: 1 addition & 1 deletion lib/mk-bitte-stack.nix
Expand Up @@ -31,7 +31,7 @@ assert lib.asserts.assertMsg (pkgs == null) (lib.warn ''
Please pass mkBitteStack { overlays } instead.
'' "Gotta do that now. Sorry, my friend."); let
overlays' = overlays ++ [bitte.overlay];
overlays' = overlays ++ [bitte.overlays.default];
pkgs = import nixpkgs {
overlays = overlays';
system = "x86_64-linux";
Expand Down
2 changes: 1 addition & 1 deletion lib/mk-system.nix
Expand Up @@ -20,7 +20,7 @@
[
./mk-system/constants-module.nix
./mk-system/show-warnings-and-assertions-module.nix
bitte.nixosModule
{ imports = builtins.attrValues bitte.nixosModules; }
specializationModule
]
++ modules;
Expand Down

0 comments on commit a0796cf

Please sign in to comment.