Skip to content

Commit

Permalink
cosmetic fixes to default.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Nov 18, 2024
1 parent 304bf08 commit c063e15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
pkgs ? import <nixpkgs> { },
}:

pkgs.python3.pkgs.buildPythonApplication {
pkgs.python3Packages.buildPythonApplication {
pname = "nix-update";
version = "1.5.2";
src = ./.;
pyproject = true;
buildInputs = [ pkgs.makeWrapper ];
nativeBuildInputs = [ pkgs.python3.pkgs.setuptools ];
nativeCheckInputs = [
pkgs.python3.pkgs.pytest
# technically not test inputs, but we need it for development in PATH
build-system = [ pkgs.python3Packages.setuptools ];
nativeBuildInputs = [
pkgs.nixVersions.stable
pkgs.nix-prefetch-git
];
nativeCheckInputs = [
pkgs.python3Packages.pytest
];
checkPhase = ''
PYTHONPATH= $out/bin/nix-update --help
'';
Expand Down

0 comments on commit c063e15

Please sign in to comment.