From a1495ce2434cae927bb0df007da6086f9084e66d Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Wed, 18 Dec 2024 18:50:30 -0500 Subject: [PATCH] reorder --- flake.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index fc39f9f..3c431d4 100644 --- a/flake.nix +++ b/flake.nix @@ -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 { @@ -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