Merge pull request #245385 from figsoda/admin

This commit is contained in:
figsoda 2023-07-26 23:15:02 -04:00 committed by GitHub
commit a42c0debf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 17 additions and 21 deletions

View file

@ -8,7 +8,7 @@
let
py = python3.override {
packageOverrides = self: super: {
pyyaml = super.pyyaml.overridePythonAttrs (oldAttrs: rec {
pyyaml = super.pyyaml.overridePythonAttrs rec {
version = "5.4.1";
src = fetchFromGitHub {
owner = "yaml";
@ -21,7 +21,7 @@ let
PYTHONPATH="tests/lib3:$PYTHONPATH" ${self.python.interpreter} -m test_all
runHook postCheck
'';
});
};
};
self = py;
};

View file

@ -14,7 +14,7 @@ let
# put packages that needs to be overridden in the py package scope
py = import ./python-packages.nix {
inherit stdenv lib src version python3 fetchPypi;
inherit stdenv src version python3 fetchPypi;
};
in
py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {

View file

@ -1,4 +1,4 @@
{ stdenv, python3, fetchPypi, lib, src, version }:
{ stdenv, python3, fetchPypi, src, version }:
let
buildAzureCliPackage = with py.pkgs; buildPythonPackage;

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "credhub-cli";

View file

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib, stdenv }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cw";

View file

@ -3,7 +3,7 @@
let
python = python3.override {
packageOverrides = self: super: {
pyparsing = super.pyparsing.overridePythonAttrs (oldAttrs: rec {
pyparsing = super.pyparsing.overridePythonAttrs rec {
version = "2.4.7";
src = fetchFromGitHub {
owner = "pyparsing";
@ -14,7 +14,7 @@ let
nativeBuildInputs = [
super.setuptools
];
});
};
};
};
in

View file

@ -1,12 +1,10 @@
{ stdenv
, lib
, google-cloud-sdk
{ lib
, stdenv
, system
, snapshotPath
, autoPatchelfHook
, python3
, libxcrypt-legacy
, ...
}:
let
@ -143,7 +141,7 @@ let
{
url = src;
inherit sha256;
}) ;
});
dontUnpack = true;
installPhase = ''
mkdir -p $out/google-cloud-sdk/.install

View file

@ -7,7 +7,7 @@
# 3) used by `google-cloud-sdk` only on GCE guests
#
{ stdenv, lib, fetchurl, makeWrapper, nixosTests, python, openssl, jq, callPackage, with-gce ? false }:
{ stdenv, lib, fetchurl, makeWrapper, python, openssl, jq, callPackage, with-gce ? false }:
let
pythonEnv = python.withPackages (p: with p; [

View file

@ -1,4 +1,4 @@
{ lib, google-cloud-sdk, callPackage, runCommand, components }:
{ lib, google-cloud-sdk, runCommand, components }:
comps_:

View file

@ -1,7 +1,6 @@
{ stdenv
{ lib
, buildGoModule
, fetchFromGitHub
, lib
, testers
, kics
}:

View file

@ -1,4 +1,4 @@
{ lib, fetchpatch, fetchzip, yarn2nix-moretea, nodejs_18, jq, dos2unix }:
{ lib, fetchzip, yarn2nix-moretea, nodejs_18, dos2unix }:
yarn2nix-moretea.mkYarnPackage {
version = "1.1.6";

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
version = "1.7.16";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "syft";

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, xorg
, xkeyboard_config
, zlib