Skip to content

Commit

Permalink
Move poetryOverrides to outputs.lib
Browse files Browse the repository at this point in the history
This prevents the flake check warning about unknown outputs, using lib is a
community convention for misc outputs.
  • Loading branch information
hcallahan-lowrisc committed Jan 4, 2024
1 parent 02faef3 commit ff6d1ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
...
} @ inputs: let
no_system_outputs = {
poetryOverrides = import ./poetryOverrides.nix;
lib.poetryOverrides = import ./lib/poetryOverrides.nix;
};

all_system_outputs = flake-utils.lib.eachDefaultSystem (system: let
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkgs/python_ot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
...
}: let
poetry2nix = inputs.poetry2nix.lib.mkPoetry2Nix {inherit pkgs;};
poetryOverrides = inputs.self.poetryOverrides {inherit pkgs;};
poetryOverrides = inputs.self.lib.poetryOverrides {inherit pkgs;};
in
poetry2nix.mkPoetryEnv {
projectDir = ./.;
Expand Down

0 comments on commit ff6d1ff

Please sign in to comment.