nix/pkgs/django-tailwind: fix build

This commit is contained in:
Luke Granger-Brown 2022-12-04 04:24:37 +00:00
parent 494935849b
commit 883920c7d3
2 changed files with 3 additions and 13 deletions

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, django, poetry, cookiecutter }: { lib, buildPythonPackage, fetchPypi, django, poetry-core, cookiecutter }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-tailwind"; pname = "django-tailwind";
@ -14,7 +14,7 @@ buildPythonPackage rec {
--replace 'cookiecutter = "^1.7.2"' 'cookiecutter = ">=1.7.2"' --replace 'cookiecutter = "^1.7.2"' 'cookiecutter = ">=1.7.2"'
''; '';
nativeBuildInputs = [ poetry ]; nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ django cookiecutter ]; propagatedBuildInputs = [ django cookiecutter ];
format = "pyproject"; format = "pyproject";

View file

@ -36,21 +36,11 @@ let
rev = "e0fe990b478a66178a58c69cf53daec0478ca6f9"; rev = "e0fe990b478a66178a58c69cf53daec0478ca6f9";
sha256 = "sha256:0qjyfmw5v7s6ynjns4a61vlyj9cghj7vbpgrp9147ngb1f8krz2c"; sha256 = "sha256:0qjyfmw5v7s6ynjns4a61vlyj9cghj7vbpgrp9147ngb1f8krz2c";
}; };
nixpkgsOldSrc = nixpkgs.fetchFromGitHub {
owner = "nixos";
repo = "nixpkgs";
rev = "ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90";
sha256 = "0dq22dagzk76x2ws4dz88w018i6byamd6rnzqizx68bzimg6g7xn";
};
nixpkgsOld = import "${nixpkgsOldSrc}" {
inherit system;
config = nixpkgsConfig;
};
tvlDepot = import ./tvl { nixpkgsBisectPath = ./nixpkgs; inherit nixpkgsConfig; }; tvlDepot = import ./tvl { nixpkgsBisectPath = ./nixpkgs; inherit nixpkgsConfig; };
in in
rec { rec {
inherit nixpkgsConfig nixpkgs nixpkgsOld; inherit nixpkgsConfig nixpkgs;
nixos = import ./nixpkgs/nixos; nixos = import ./nixpkgs/nixos;
nixeval = import ./nixpkgs/nixos/lib/eval-config.nix; nixeval = import ./nixpkgs/nixos/lib/eval-config.nix;
buildGo = buildGo =