nix: splice the package properly (#234)

Use callPackage on the wrapper as well. Fixes #232.

That change also breaks the public interface a bit to keep things
simple.
This commit is contained in:
Jonas Chevalier 2025-05-22 10:52:50 +02:00 committed by GitHub
parent 64ca98a15b
commit 94f1c8d9c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 34 additions and 37 deletions

View file

@ -61,9 +61,7 @@ let
};
# Pass the wrapped system-manager binary down
# TODO: Use nixpkgs version by default.
inherit (import ../packages.nix { inherit pkgs; })
system-manager
;
system-manager = pkgs.callPackage ../package.nix { };
};
};