don’t use pkgs.callPackage

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-11 13:57:31 +01:00
parent 2ded704cac
commit 6b1156875e
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 5 additions and 5 deletions

View file

@ -31,7 +31,7 @@
};
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 = {

View file

@ -1,8 +1,8 @@
{ stdenvNoCC, python3, python3Packages, inputs }: rec {
clean-s3-cache-env = python3.buildEnv.override {
extraLibs = with python3Packages; [ boto3 ];
{ pkgs, inputs }: rec {
clean-s3-cache-env = pkgs.python3.buildEnv.override {
extraLibs = with pkgs.python3Packages; [ boto3 ];
};
clean-s3-cache = stdenvNoCC.mkDerivation {
clean-s3-cache = pkgs.stdenvNoCC.mkDerivation {
pname = "clean-s3-cache";
version = inputs.clean-s3-cache.lastModifiedDate;
srcs = inputs.clean-s3-cache;