Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
OatmealDome committed Dec 18, 2024
1 parent 96a1285 commit a1495ce
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@

outputs = { self, nixpkgs, flake-utils, poetry2nix }: {
overlay = nixpkgs.lib.composeManyExtensions [
poetry2nix.overlays.default
(final: prev: {
central = prev.poetry2nix.mkPoetryApplication {
projectDir = ./.;
overrides = prev.poetry2nix.defaultPoetryOverrides.extend (self: super: {
pypeul = super.pypeul.overridePythonAttrs (old: { buildInputs = (old.buildInputs or []) ++ [ super.poetry-core ]; });
});
};
})
# Manually override wheel package to 0.45.1 until the change lands in nixos-24.11
# https://github.com/NixOS/nixpkgs/pull/361930
(self: super: rec {
Expand All @@ -24,15 +33,6 @@
};
};
})
poetry2nix.overlays.default
(final: prev: {
central = prev.poetry2nix.mkPoetryApplication {
projectDir = ./.;
overrides = prev.poetry2nix.defaultPoetryOverrides.extend (self: super: {
pypeul = super.pypeul.overridePythonAttrs (old: { buildInputs = (old.buildInputs or []) ++ [ super.poetry-core ]; });
});
};
})
];
} // (flake-utils.lib.eachDefaultSystem (system:
let
Expand Down

0 comments on commit a1495ce

Please # to comment.