Skip to content

Commit

Permalink
nixos-rebuild-ng: use python3Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Nov 20, 2024
1 parent 3e939fb commit 8ab3cf9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/by-name/ni/nixos-rebuild-ng/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@
nix,
nixos-rebuild,
python3,
python3Packages,
runCommand,
withNgSuffix ? true,
}:
python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "nixos-rebuild-ng";
version = "0.0.0";
src = ./src;
pyproject = true;

build-system = with python3.pkgs; [
build-system = with python3Packages; [
setuptools
];

dependencies = with python3.pkgs; [
dependencies = with python3Packages; [
tabulate
];

Expand Down Expand Up @@ -54,7 +55,7 @@ python3.pkgs.buildPythonApplication rec {
mv $out/bin/nixos-rebuild $out/bin/nixos-rebuild-ng
'';

nativeCheckInputs = with python3.pkgs; [
nativeCheckInputs = with python3Packages; [
pytestCheckHook
];

Expand Down

0 comments on commit 8ab3cf9

Please sign in to comment.