Skip to content

Commit

Permalink
Updated flake per NixOS/nix#5532
Browse files Browse the repository at this point in the history
`nix flake check` no longer returns warnings.
  • Loading branch information
brndnmtthws committed Mar 8, 2024
1 parent 998f7ff commit bd144ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@
system: let
pkgs = import nixpkgs {
inherit system;
overlays = [self.overlay];
overlays = [self.overlays.default];
};
in
with pkgs; rec
{
packages = flake-utils.lib.flattenTree {
conky = conky;
default = conky;
};

defaultPackage = packages.conky;
apps.conky = flake-utils.lib.mkApp {drv = packages.conky;};
defaultApp = apps.conky;
apps.default = apps.conky;
devShells.default = mkShell {
buildInputs =
packages.conky.buildInputs
Expand All @@ -47,7 +47,7 @@
}
)
// {
overlay = final: prev: {
overlays.default = final: prev: {
conky = with final;
stdenv.mkDerivation rec {
name = "conky";
Expand Down

0 comments on commit bd144ef

Please sign in to comment.