don’t use pkgs.callPackage
This commit is contained in:
parent
2ded704cac
commit
6b1156875e
2 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = pkgs.lib.lists.foldl (a: b: a // b) { } [
|
packages = pkgs.lib.lists.foldl (a: b: a // b) { } [
|
||||||
(pkgs.callPackage ./scripts/clean-s3-cache.nix { inherit inputs; })
|
(import ./scripts/clean-s3-cache.nix { inherit pkgs inputs; })
|
||||||
];
|
];
|
||||||
|
|
||||||
hydraJobs = {
|
hydraJobs = {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ stdenvNoCC, python3, python3Packages, inputs }: rec {
|
{ pkgs, inputs }: rec {
|
||||||
clean-s3-cache-env = python3.buildEnv.override {
|
clean-s3-cache-env = pkgs.python3.buildEnv.override {
|
||||||
extraLibs = with python3Packages; [ boto3 ];
|
extraLibs = with pkgs.python3Packages; [ boto3 ];
|
||||||
};
|
};
|
||||||
clean-s3-cache = stdenvNoCC.mkDerivation {
|
clean-s3-cache = pkgs.stdenvNoCC.mkDerivation {
|
||||||
pname = "clean-s3-cache";
|
pname = "clean-s3-cache";
|
||||||
version = inputs.clean-s3-cache.lastModifiedDate;
|
version = inputs.clean-s3-cache.lastModifiedDate;
|
||||||
srcs = inputs.clean-s3-cache;
|
srcs = inputs.clean-s3-cache;
|
||||||
|
|
Reference in a new issue