Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python310Packages.google-auth: remove pyopenssl #180082

Closed
wants to merge 200 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
8986441
go-modules/packages: Run unit tests under subdirs
bdd May 1, 2022
17672c8
gucci: Disable integration tests.
bdd May 1, 2022
1b748f0
skeema: Disable tests requiring network & fix deps
bdd May 1, 2022
7f2ef31
mmake: Disable non-localhost network access tests
bdd May 1, 2022
032f261
delve: Fix tests on Linux, disable tests on Darwin
bdd May 1, 2022
aee4df7
go-mtpfs: Disable tests req'ing USB attached devs
bdd May 1, 2022
a3205db
gitbatch: Fix tests requiring .git & writable HOME
bdd May 1, 2022
9d09650
kompose: Fix test dependencies
bdd May 1, 2022
7fd7490
stdenv: force gmp to rebuild in stage4 of the bootstrap
Apr 20, 2022
122b693
stdenv: cause makeStaticLibraries usage to agree with usage spec
Apr 19, 2022
23ea8b3
stdenv: label the ephemeral coreutils-stage4 package
Apr 20, 2022
a9e0d86
Update pkgs/stdenv/linux/default.nix
Apr 20, 2022
0263018
stdenv: add -stageX markers to gmp, mpfr, libmpc, and isl
Apr 27, 2022
1b2929c
gnupg: 2.3.4 -> 2.3.6
stigtsp Jun 6, 2022
61beb33
Revert "perlPackages: add default meta.mainProgram (#176398)"
malob Jun 7, 2022
399732b
buildPerlPackage: don't mess with `pname` and phase out use of `name`
malob Jun 7, 2022
d276229
ell: 0.50 -> 0.51
amaxine Jun 17, 2022
518f3ea
iwd: 1.27 -> 1.28
amaxine Jun 17, 2022
98d9955
iproute: 5.17.0 -> 5.18.0
trofi Jun 19, 2022
148eea3
re2: 2022-04-01 -> 2022-06-01
trofi Jun 19, 2022
30bfac6
texinfo: fix build references when cross-compiling
lopsided98 Jun 20, 2022
350e8ad
gpm: fix texinfo dependency platform when cross-compiling
lopsided98 Jun 20, 2022
033cfac
cmake: reformat expression
AndersonTorres Jun 21, 2022
131a97e
gnu-efi: pull fix pending upstream inclusion for parallel build failures
trofi Jun 22, 2022
d6f12ab
cmake: use a list of suitable uiToolkits instead of Boolean values
AndersonTorres Jun 21, 2022
02155ca
cmake: rename patches
AndersonTorres Jun 23, 2022
cd39674
cmake: add myself as maintainer
AndersonTorres Jun 21, 2022
d867d91
cmake: use callPackage instead of libsForQt5.callPackage
AndersonTorres Jun 21, 2022
fc881d3
cmake: 3.22.3 -> 3.23.2
AndersonTorres Jun 21, 2022
f59fcef
luarocks: explicitly set 'configurePlatforms = [ ];'
trofi Jun 23, 2022
f8d1cad
python310Packages.urllib3: correct propagatedBuildInputs
SuperSandro2000 Jun 23, 2022
fe72f92
Merge pull request #176792 from malob/fix-buildPerlPackages-pname
SuperSandro2000 Jun 23, 2022
9d27127
Merge staging-next into staging
github-actions[bot] Jun 23, 2022
43059a0
Merge pull request #178646 from trofi/parallel-gnu-efi
lovesegfault Jun 23, 2022
78fa690
Merge pull request #178352 from lopsided98/texinfo-build-ref
lovesegfault Jun 23, 2022
dafd60f
Merge pull request #178211 from trofi/update-iproute2
lovesegfault Jun 23, 2022
2de812c
Merge pull request #178206 from AndersonTorres/cmake
lovesegfault Jun 23, 2022
6b59ae1
Merge staging-next into staging
github-actions[bot] Jun 23, 2022
b6a3ccf
python3Packages.sqlalchemy: 1.4.37 -> 1.4.38
mweinelt Jun 23, 2022
2999d01
nss_latest: 3.79 -> 3.80
ajs124 Jun 23, 2022
7832ede
Merge staging-next into staging
github-actions[bot] Jun 24, 2022
4e03320
grpc: 1.46.3 -> 1.47.0
marsam Jun 24, 2022
53898d0
python310Packages.grpcio-tools: 1.46.3 -> 1.47.0
marsam Jun 24, 2022
04bc892
python310Packages.grpcio-status: 1.46.3 -> 1.47.0
marsam Jun 24, 2022
6df8849
Merge staging-next into staging
github-actions[bot] Jun 24, 2022
badbca8
python310Packages.babel: 2.10.1 -> 2.10.3
SuperSandro2000 Jun 23, 2022
f932345
python310Packages.certifi: 2022.05.18.1 -> 2022.06.15
SuperSandro2000 Jun 23, 2022
add6a3b
Merge staging-next into staging
github-actions[bot] Jun 24, 2022
04be37d
cacert: 3.77 -> 3.80
ajs124 Jun 24, 2022
29cb8d0
Merge pull request #178215 from trofi/update-re2
trofi Jun 24, 2022
e37594e
Merge pull request #178785 from mweinelt/python3-sqlalchemy-1.4.38
marsam Jun 24, 2022
9546e4c
Merge pull request #178700 from SuperSandro2000/urllib3
SuperSandro2000 Jun 24, 2022
ae72071
Merge staging-next into staging
github-actions[bot] Jun 24, 2022
beff393
python3Packages.sqlalchemy: 1.4.38 -> 1.4.39
mweinelt Jun 24, 2022
c848d57
Merge pull request #178889 from mweinelt/python3-sqlalchemy-1.4.39
marsam Jun 24, 2022
25c7844
Merge staging-next into staging
github-actions[bot] Jun 25, 2022
ed1037c
Merge staging-next into staging
github-actions[bot] Jun 25, 2022
4f1156a
Merge staging-next into staging
github-actions[bot] Jun 25, 2022
20f3160
ninja: disable line-clearing with TERM=dumb
milahu Jun 25, 2022
8505960
Merge pull request #178012 from maxeaubrey/ell_0.51_iwd_1.28
amaxine Jun 25, 2022
b9c428d
Merge staging-next into staging
github-actions[bot] Jun 25, 2022
9dd9e70
Merge pull request #179027 from milahu/patch-24
SuperSandro2000 Jun 25, 2022
0eac24a
m4: build offline documentation
May 9, 2022
e9d95b5
texinfo4: use recent config.guess script
Jun 17, 2022
fb3951c
Revert "texinfo4: use recent config.guess script"
Jun 17, 2022
6cc6b90
Revert "m4: build offline documentation"
Jun 17, 2022
7d5108c
sqlite: 3.38.5 -> 3.39.0
zowoq Jun 25, 2022
c9afe80
coreutils: reintroduce patch disabling SEEK_HOLE in cp for darwin x86_64
risicle Jun 25, 2022
2eed194
Merge staging-next into staging
github-actions[bot] Jun 26, 2022
6905fbb
Merge staging-next into staging
github-actions[bot] Jun 26, 2022
e838f7e
python310Packages.pytest-mock: 3.7.0 -> 3.8.1
dotlambda Jun 26, 2022
6b4ec35
Merge staging-next into staging
github-actions[bot] Jun 26, 2022
fe5d77f
liburing: 2.1 -> 2.2
thoughtpolice Jun 25, 2022
93343d6
Merge staging-next into staging
github-actions[bot] Jun 26, 2022
daa5698
python310Packages.pycares: 4.1.2 -> 4.2.0
SuperSandro2000 Jun 26, 2022
a0fb778
Merge pull request #179215 from SuperSandro2000/python310Packages.pyc…
SuperSandro2000 Jun 26, 2022
b7a8f5a
Merge pull request #179160 from dotlambda/pytest-mock-3.8.1
SuperSandro2000 Jun 26, 2022
c364b66
Merge staging-next into staging
github-actions[bot] Jun 27, 2022
fc949ce
Merge remote-tracking branch 'upstream/master' into HEAD
Mic92 Jun 27, 2022
8260ea3
Merge pull request #179293 from Mic92/merge-master
Mic92 Jun 27, 2022
31b1f37
autoconf-archive: 2021.02.19 -> 2022.02.11
r-ryantm Feb 15, 2022
0191c1b
Merge staging-next into staging
github-actions[bot] Jun 27, 2022
81f7f2d
Merge staging-next into staging
github-actions[bot] Jun 27, 2022
b6141fb
libaom: 3.3.0 -> 3.4.0
dali99 Jun 19, 2022
bfffecf
Merge pull request #178862 from helsinki-systems/upd/cacert
mweinelt Jun 27, 2022
54a65b5
cmake: Fix darwin-specific remove-systemconfiguration-dep patch
r-ryantm Jun 27, 2022
fb76309
python310Packages.urllib3: remove pyopenssl as it is no longer recomm…
dbarrosop Jun 27, 2022
aede202
Merge staging-next into staging
github-actions[bot] Jun 27, 2022
2a722b7
Merge remote-tracking branch 'origin/staging-next' into staging
mweinelt Jun 27, 2022
71260be
doxygen: 1.9.3 -> 1.9.4
r-ryantm May 25, 2022
5abffc8
python310Packages.pycryptodome: 3.14.1 -> 3.15.0
fabaff Jun 27, 2022
a2a2713
Merge master into staging-next
github-actions[bot] Jun 28, 2022
bb8ff38
Merge staging-next into staging
github-actions[bot] Jun 28, 2022
d795dc4
Merge master into staging-next
github-actions[bot] Jun 28, 2022
54ae4bd
Merge staging-next into staging
github-actions[bot] Jun 28, 2022
4f8a04f
Merge pull request #173702 from bdd/go-checkFlags
Mic92 Jun 28, 2022
9a40b19
python3Packages.cython: 0.29.28 -> 0.29.30
cpcloud Jun 5, 2022
36f8479
Merge master into staging-next
github-actions[bot] Jun 28, 2022
009d5bf
Merge staging-next into staging
github-actions[bot] Jun 28, 2022
479c304
Merge pull request #176417 from cpcloud/bump-cython
SuperSandro2000 Jun 28, 2022
365831b
pcre2: fix gitea websearch crashing when searching for a plain string
SuperSandro2000 Jun 28, 2022
2610551
python3Packages.pythran: 0.9.12 -> 0.11.0, clean up a bit
K900 Jun 28, 2022
44c9bff
Merge master into staging-next
github-actions[bot] Jun 28, 2022
474cd82
Merge staging-next into staging
github-actions[bot] Jun 28, 2022
611edec
python310Packages.jsonschema: 4.6.0 -> 4.6.1
SuperSandro2000 Jun 28, 2022
d97e911
python310Packages.pycares: 4.2.0 -> 4.2.1
SuperSandro2000 Jun 28, 2022
71ad813
Merge remote-tracking branch 'origin/master' into staging-next
mweinelt Jun 28, 2022
64d95b0
Merge remote-tracking branch 'origin/staging-next' into staging
mweinelt Jun 28, 2022
58d8ce7
Merge master into staging-next
github-actions[bot] Jun 29, 2022
68da255
Merge staging-next into staging
github-actions[bot] Jun 29, 2022
58eb7f7
Merge pull request #179159 from dbarrosop/python-updates
SuperSandro2000 Jun 29, 2022
33ca33b
Revert "sphinx_offline: init"
SuperSandro2000 Jun 29, 2022
4650f24
Revert "ghc: Work around broken pyopenssl on aarch64-darwin"
SuperSandro2000 Jun 29, 2022
919e04f
asciidoc: 9.1.0 -> 10.2.0
dotlambda Jun 26, 2022
601d9db
asciidoc: get rid of `? null`
dotlambda Jun 27, 2022
19be303
Merge master into staging-next
github-actions[bot] Jun 29, 2022
ec0f3ed
Merge staging-next into staging
github-actions[bot] Jun 29, 2022
3f88d51
gcc10: 10.3.0 -> 10.4.0
vcunat Jun 29, 2022
6ed6f0c
Merge master into staging-next
github-actions[bot] Jun 29, 2022
f9f65f0
Merge staging-next into staging
github-actions[bot] Jun 29, 2022
fa3f2e3
Merge pull request #179506 from SuperSandro2000/pyopenssl-ghc
SuperSandro2000 Jun 29, 2022
e1919b2
pkgsMusl.iptables: fix build with upstream patch
alyssais Jun 29, 2022
30392f6
Merge pull request #179570 from alyssais/iptables-musl
SuperSandro2000 Jun 29, 2022
c51b11b
python310Packages.requests: 2.28.0 -> 2.28.1
SuperSandro2000 Jun 29, 2022
df0bbd3
Merge pull request #179421 from K900/bump-pythran
SuperSandro2000 Jun 29, 2022
2b2922c
Merge master into staging-next
github-actions[bot] Jun 29, 2022
40e2668
Merge staging-next into staging
github-actions[bot] Jun 29, 2022
51619a5
libwebp: 1.2.1 -> 1.2.2
ajs124 Jun 29, 2022
77454bd
libjxl: fix build with asciidoc wrapped in shell script
dotlambda Jun 28, 2022
14024fe
Merge master into staging-next
github-actions[bot] Jun 30, 2022
965570c
Merge staging-next into staging
github-actions[bot] Jun 30, 2022
2fcdf54
Merge pull request #169378 from amjoseph-nixpkgs/stdenv-makeStaticLib…
Mindavi Jun 30, 2022
c9c7eb8
Merge master into staging-next
github-actions[bot] Jun 30, 2022
458d91e
Merge staging-next into staging
github-actions[bot] Jun 30, 2022
f031daf
libv4l: fix build for non-glibc platforms
alyssais Jun 29, 2022
9ffc727
Merge master into staging-next
github-actions[bot] Jun 30, 2022
b23c3d5
Merge staging-next into staging
github-actions[bot] Jun 30, 2022
dcbdbb9
Merge pull request #179254 from dotlambda/asciidoc-10.2.0
SuperSandro2000 Jun 30, 2022
77e6eda
python310Packages.setuptools-scm: fix cross compile of dependents
squalus Jun 30, 2022
e4e7d22
Merge master into staging-next
github-actions[bot] Jun 30, 2022
49270f7
Merge staging-next into staging
github-actions[bot] Jun 30, 2022
a1edc2f
alsa-lib: 1.2.6.1 -> 1.2.7.1
dotlambda Jun 26, 2022
6e621ea
alsa-plugins: 1.2.6 -> 1.2.7.1
dotlambda Jun 26, 2022
92370d9
alsa-ucm-conf: 1.2.6.3 -> 1.2.7.1
dotlambda Jun 26, 2022
2ccd4bb
Merge master into staging-next
github-actions[bot] Jul 1, 2022
d5a880f
Merge staging-next into staging
github-actions[bot] Jul 1, 2022
039a68c
Merge master into staging-next
github-actions[bot] Jul 1, 2022
f6b27da
Merge staging-next into staging
github-actions[bot] Jul 1, 2022
1a96397
libsepol: enable parallel building
alyssais Jun 28, 2022
86c7c09
haskell.compiler.ghc865Binary: add powerpc64le bootstrap
Jul 1, 2022
faaf0a9
Merge master into staging-next
github-actions[bot] Jul 1, 2022
1385a15
Merge staging-next into staging
github-actions[bot] Jul 1, 2022
5811ea7
Merge pull request #179468 from alyssais/libsepol-parallel
mweinelt Jul 1, 2022
88738c7
libsoup_3: 3.0.6 -> 3.0.7
r-ryantm Jul 1, 2022
c99ba0c
glib: 2.72.2 -> 2.72.3
r-ryantm Jul 1, 2022
8890d83
Merge pull request #179728 from squalus/setuptools-scm-cross-staging-2
SuperSandro2000 Jul 1, 2022
0eaa7de
Merge pull request #179101 from qowoz/sqlite
SuperSandro2000 Jul 1, 2022
0e9dd6b
libopenmpt: 0.6.3 -> 0.6.4
r-ryantm Jun 13, 2022
a720bc4
buildRubyGem: fix bundix cross
Artturin Jun 1, 2022
6b8ce2a
buildRubyGem: inherit libobjc from darwin
Artturin Jun 2, 2022
4090c10
Merge pull request #178689 from trofi/configurePlatform-luarocks
7c6f434c Jul 1, 2022
52e229f
Merge master into staging-next
github-actions[bot] Jul 1, 2022
7907ea3
Merge staging-next into staging
github-actions[bot] Jul 1, 2022
2afeca8
Merge pull request #179595 from SuperSandro2000/python310Packages.req…
SuperSandro2000 Jul 1, 2022
394c952
Merge pull request #179476 from SuperSandro2000/python310Packages.jso…
SuperSandro2000 Jul 1, 2022
378c023
Merge pull request #179479 from SuperSandro2000/python310Packages.pyc…
SuperSandro2000 Jul 1, 2022
6f47468
Merge pull request #178779 from SuperSandro2000/python310Packages.babel
SuperSandro2000 Jul 1, 2022
c990bd6
Merge pull request #179444 from SuperSandro2000/fix-gitea-commit-search
SuperSandro2000 Jul 1, 2022
68ad68a
Merge pull request #178778 from SuperSandro2000/python310Packages.cer…
SuperSandro2000 Jul 1, 2022
abcd500
Merge #179109: coreutils: reintroduce patch disabling SEEK_HOLE
vcunat Jul 1, 2022
97be985
Merge #179534: gcc10: 10.3.0 -> 10.4.0 (into staging)
vcunat Jul 1, 2022
fb30e16
Merge branch 'staging' into staging-next
vcunat Jul 1, 2022
1961d0a
Merge master into staging-next
github-actions[bot] Jul 2, 2022
4ac46f5
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
ce577b8
Merge pull request #175871 from Artturin/fixcross1
marsam Jul 2, 2022
f507277
Merge master into staging-next
github-actions[bot] Jul 2, 2022
6f8facd
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
8004d0e
rustc: 1.61.0 -> 1.62.0
alyssais Jun 30, 2022
cc49d57
Merge master into staging-next
github-actions[bot] Jul 2, 2022
8517eca
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
aab2ab5
Merge #167671: cmake: Fix a darwin-specific patch
vcunat Jul 2, 2022
239c4e7
Merge master into staging-next
github-actions[bot] Jul 2, 2022
bcbc4d0
Merge staging-next into staging
github-actions[bot] Jul 2, 2022
dc5bdd6
Revert "stdenv: label the ephemeral coreutils-stage4 package"
Jul 2, 2022
5d9e711
Merge master into staging-next
github-actions[bot] Jul 3, 2022
d16c33e
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
e8200e2
Merge pull request #178906 from marsam/update-grpc
marsam Jul 3, 2022
3d0e70a
gnupg: Add patch for CVE-2022-34903
stigtsp Jul 3, 2022
f42d2ff
Merge #176598: gnupg: 2.3.4 -> 2.3.6, patch CVE-2022-34903
vcunat Jul 3, 2022
bd3785f
Merge master into staging-next
github-actions[bot] Jul 3, 2022
335d99d
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
1b94ad9
Merge pull request #179961 from amjoseph-nixpkgs/pr/revert/label-core…
Mindavi Jul 3, 2022
00b3f42
Merge master into staging-next
github-actions[bot] Jul 3, 2022
9d5f237
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
73ead11
Merge pull request #179574 from helsinki-systems/upd/libwebp
ajs124 Jul 3, 2022
fc65c5c
Merge master into staging-next
github-actions[bot] Jul 3, 2022
116e8e9
Merge staging-next into staging
github-actions[bot] Jul 3, 2022
a653bba
Merge master into staging-next
github-actions[bot] Jul 4, 2022
d0d975c
Merge staging-next into staging
github-actions[bot] Jul 4, 2022
de839d3
google-auth: Remove pyopenssl
azuwis Jul 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions doc/languages-frameworks/perl.section.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Perl {#sec-language-perl}

## Running perl programs on the shell {#ssec-perl-running}
## Running Perl programs on the shell {#ssec-perl-running}

When executing a Perl script, it is possible you get an error such as `./myscript.pl: bad interpreter: /usr/bin/perl: no such file or directory`. This happens when the script expects Perl to be installed at `/usr/bin/perl`, which is not the case when using Perl from nixpkgs. You can fix the script by changing the first line to:

Expand Down Expand Up @@ -35,15 +35,16 @@ Perl packages from CPAN are defined in [pkgs/top-level/perl-packages.nix](https:

```nix
ClassC3 = buildPerlPackage rec {
name = "Class-C3-0.21";
pname = "Class-C3";
version = "0.21";
src = fetchurl {
url = "mirror://cpan/authors/id/F/FL/FLORA/${name}.tar.gz";
url = "mirror://cpan/authors/id/F/FL/FLORA/${pname}-${version}.tar.gz";
sha256 = "1bl8z095y4js66pwxnm7s853pi9czala4sqc743fdlnk27kq94gz";
};
};
```

Note the use of `mirror://cpan/`, and the `${name}` in the URL definition to ensure that the name attribute is consistent with the source that we’re actually downloading. Perl packages are made available in `all-packages.nix` through the variable `perlPackages`. For instance, if you have a package that needs `ClassC3`, you would typically write
Note the use of `mirror://cpan/`, and the `pname` and `version` in the URL definition to ensure that the `pname` attribute is consistent with the source that we’re actually downloading. Perl packages are made available in `all-packages.nix` through the variable `perlPackages`. For instance, if you have a package that needs `ClassC3`, you would typically write

```nix
foo = import ../path/to/foo.nix {
Expand Down Expand Up @@ -72,10 +73,11 @@ So what does `buildPerlPackage` do? It does the following:
{ buildPerlPackage, fetchurl, db }:

buildPerlPackage rec {
name = "BerkeleyDB-0.36";
pname = "BerkeleyDB";
version = "0.36";

src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
url = "mirror://cpan/authors/id/P/PM/PMQS/${pname}-${version}.tar.gz";
sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1";
};

Expand All @@ -90,9 +92,10 @@ Dependencies on other Perl packages can be specified in the `buildInputs` and `p

```nix
ClassC3Componentised = buildPerlPackage rec {
name = "Class-C3-Componentised-1.0004";
pname = "Class-C3-Componentised";
version = "1.0004";
src = fetchurl {
url = "mirror://cpan/authors/id/A/AS/ASH/${name}.tar.gz";
url = "mirror://cpan/authors/id/A/AS/ASH/${pname}-${version}.tar.gz";
sha256 = "0xql73jkcdbq4q9m0b0rnca6nrlvf5hyzy8is0crdk65bynvs8q1";
};
propagatedBuildInputs = [
Expand All @@ -111,7 +114,7 @@ ImageExifTool = buildPerlPackage {
version = "11.50";

src = fetchurl {
url = "https://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.50.tar.gz";
url = "https://www.sno.phy.queensu.ca/~phil/exiftool/${pname}-${version}.tar.gz";
sha256 = "0d8v48y94z8maxkmw1rv7v9m0jg2dc8xbp581njb6yhr7abwqdv3";
};

Expand Down Expand Up @@ -139,9 +142,10 @@ This program takes a Perl module name, looks it up on CPAN, fetches and unpacks
```ShellSession
$ nix-generate-from-cpan XML::Simple
XMLSimple = buildPerlPackage rec {
name = "XML-Simple-2.22";
pname = "XML-Simple";
version = "2.22";
src = fetchurl {
url = "mirror://cpan/authors/id/G/GR/GRANTM/${name}.tar.gz";
url = "mirror://cpan/authors/id/G/GR/GRANTM/XML-Simple-2.22.tar.gz";
sha256 = "b9450ef22ea9644ae5d6ada086dc4300fa105be050a2030ebd4efd28c198eb49";
};
propagatedBuildInputs = [ XMLNamespaceSupport XMLSAX XMLSAXExpat ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/kompose/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kompose }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kompose, git }:

buildGoModule rec {
pname = "kompose";
Expand All @@ -13,7 +13,7 @@ buildGoModule rec {

vendorSha256 = "sha256-OR5U2PnebO0a+lwU09Dveh0Yxk91cmSRorTxQIO5lHc=";

nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [ installShellFiles git ];

ldflags = [ "-s" "-w" ];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, git }:

buildGoModule rec {
pname = "gitbatch";
Expand All @@ -15,7 +15,15 @@ buildGoModule rec {

ldflags = [ "-s" "-w" ];

checkFlags = [ "-short" ];
nativeBuildInputs = [
git # required by unit tests
];

preCheck = ''
HOME=$(mktemp -d)
# Disable tests requiring network access to gitlab.com
buildFlagsArray+=("-run" "[^(Test(Run|Start|(Fetch|Pull)With(Go|)Git))]")
'';

meta = with lib; {
description = "Running git UI commands";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/misc/cacert/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let
blocklist = writeText "cacert-blocklist.txt" (lib.concatStringsSep "\n" blacklist);
extraCertificatesBundle = writeText "cacert-extra-certificates-bundle.crt" (lib.concatStringsSep "\n\n" extraCertificateStrings);

srcVersion = "3.77";
srcVersion = "3.80";
version = if nssOverride != null then nssOverride.version else srcVersion;
meta = with lib; {
homepage = "https://curl.haxx.se/docs/caextract.html";
Expand All @@ -35,7 +35,7 @@ let

src = if nssOverride != null then nssOverride.src else fetchurl {
url = "mirror://mozilla/security/nss/releases/NSS_${lib.replaceStrings ["."] ["_"] version}_RTM/src/nss-${version}.tar.gz";
sha256 = "1pfy33b51914sivqyaxdwfd930hzb77gm07z4f57hnyk5xddypl2";
sha256 = "sha256-wL8f0sfimmsCswliK6r8RD7skMiTS7FV2ku5iYh4S2o=";
};

dontBuild = true;
Expand Down
8 changes: 3 additions & 5 deletions pkgs/development/compilers/gcc/10/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ with lib;
with builtins;

let majorVersion = "10";
version = "${majorVersion}.3.0";
version = "${majorVersion}.4.0";

inherit (stdenv) buildPlatform hostPlatform targetPlatform;

patches = [ ./gcc10-asan-glibc-2.34.patch ]
patches = [ ]
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ../no-sys-dirs.patch
++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch
Expand All @@ -73,8 +73,6 @@ let majorVersion = "10";
# Obtain latest patch with ../update-mcfgthread-patches.sh
++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch

++ [ ../libsanitizer-no-cyclades.patch ]

++ optional (buildPlatform.system == "aarch64-darwin" && targetPlatform != buildPlatform) (fetchpatch {
url = "https://raw.githubusercontent.com/richard-vd/musl-cross-make/5e9e87f06fc3220e102c29d3413fbbffa456fcd6/patches/gcc-${version}/0008-darwin-aarch64-self-host-driver.patch";
sha256 = "sha256-XtykrPd5h/tsnjY1wGjzSOJ+AyyNLsfnjuOZ5Ryq9vA=";
Expand All @@ -95,7 +93,7 @@ stdenv.mkDerivation ({

src = fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
sha256 = "0i6378ig6h397zkhd7m4ccwjx5alvzrf2hm27p1pzwjhlv0h9x34";
sha256 = "1wg4xdizkksmwi66mvv2v4pk3ja8x64m7v9gzhykzd3wrmdpsaf9";
};

inherit patches;
Expand Down
70 changes: 0 additions & 70 deletions pkgs/development/compilers/gcc/10/gcc10-asan-glibc-2.34.patch

This file was deleted.

9 changes: 7 additions & 2 deletions pkgs/development/compilers/ghc/8.6.5-binary.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ assert stdenv.targetPlatform == stdenv.hostPlatform;
let
useLLVM = !stdenv.targetPlatform.isx86;

useNcurses6 = stdenv.hostPlatform.system == "x86_64-linux";
useNcurses6 = stdenv.hostPlatform.system == "x86_64-linux"
|| (with stdenv.hostPlatform; isPower64 && isLittleEndian);

ourNcurses = if useNcurses6 then ncurses6 else ncurses5;

Expand Down Expand Up @@ -73,6 +74,10 @@ stdenv.mkDerivation rec {
url = "${downloadsUrl}/${version}/ghc-${version}-x86_64-apple-darwin.tar.xz";
sha256 = "0s9188vhhgf23q3rjarwhbr524z6h2qga5xaaa2pma03sfqvvhfz";
};
powerpc64le-linux = {
url = "https://downloads.haskell.org/~ghc/${version}/ghc-${version}-powerpc64le-fedora29-linux.tar.xz";
sha256 = "sha256-tWSsJdPVrCiqDyIKzpBt5DaXb3b6j951tCya584kWs4=";
};
}.${stdenv.hostPlatform.system}
or (throw "cannot bootstrap GHC on this platform"));

Expand Down Expand Up @@ -211,7 +216,7 @@ stdenv.mkDerivation rec {

meta = rec {
license = lib.licenses.bsd3;
platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin"];
platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "powerpc64le-linux" ];
# build segfaults, use ghc8102Binary which has proper musl support instead
broken = stdenv.hostPlatform.isMusl;
maintainers = with lib.maintainers; [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
} @ args:

import ./default.nix {
rustcVersion = "1.61.0";
rustcSha256 = "1vfs05hkf9ilk19b2vahqn8l6k17pl9nc1ky9kgspaascx8l62xd";
rustcVersion = "1.62.0";
rustcSha256 = "09y06qmh7ihi9kgimpp3h4nj3cmgc1zypqyaba10dlk4kf07h23x";

llvmSharedForBuild = pkgsBuildBuild.llvmPackages_14.libllvm.override { enableSharedLibraries = true; };
llvmSharedForHost = pkgsBuildHost.llvmPackages_14.libllvm.override { enableSharedLibraries = true; };
Expand All @@ -37,25 +37,25 @@ import ./default.nix {

# Note: the version MUST be one version prior to the version we're
# building
bootstrapVersion = "1.60.0";
bootstrapVersion = "1.61.0";

# fetch hashes by running `print-hashes.sh ${bootstrapVersion}`
bootstrapHashes = {
i686-unknown-linux-gnu = "2a635269dc9ad8f7bbdf168cdf120e1ec803d36adc832c0804f38e0acc3e2357";
x86_64-unknown-linux-gnu = "b8a4c3959367d053825e31f90a5eb86418eb0d80cacda52bfa80b078e18150d5";
x86_64-unknown-linux-musl = "f0feefcb1985c5c894ad9b0f44e6f09900b31c0eb5f49827da9f37d332a63894";
arm-unknown-linux-gnueabihf = "161b2b97d4512080350cc6656b0765ebae870335e86c2896bed08b32c66fbdf4";
armv7-unknown-linux-gnueabihf = "f2d76e9458949675bab8fcae44f600d30d91f62bf93c127b6b1fe3130e67d5d9";
aarch64-unknown-linux-gnu = "99c419c2f35d4324446481c39402c7baecd7a8baed7edca9f8d6bbd33c05550c";
aarch64-unknown-linux-musl = "fe7e9bad8beea84973f7ffa39879929de4ac8afad872650fb0af6b068f05faa6";
x86_64-apple-darwin = "0b10dc45cddc4d2355e38cac86d71a504327cb41d41d702d4050b9847ad4258c";
aarch64-apple-darwin = "b532672c278c25683ca63d78e82bae829eea1a32308e844954fb66cfe34ad222";
powerpc64le-unknown-linux-gnu = "80125e90285b214c2b1f56ab86a09c8509aa17aec9d7127960a86a7008e8f7de";
riscv64gc-unknown-linux-gnu = "9cc7c6804bcbbecb9c35232035fc488dbcc8487606cc6be3da553cc446bf0fcd";
mips64el-unknown-linux-gnuabi64 = "d413681c22511259f7cd15414a00050cf151d46ac0f9282e765faeb86688deac";
i686-unknown-linux-gnu = "b15eb0ad44b7253e0b5b1a8cd285feb10e9fb0402840dba9a13112c3349a4b39";
x86_64-unknown-linux-gnu = "066b324239d30787ce64142d7e04912f2e1850c07db3b2354d8654e02ff8b23a";
x86_64-unknown-linux-musl = "0904f6b769ae28c259e0e25a41e99290a4ae2a36bca63ae153790b2ebbc427bf";
arm-unknown-linux-gnueabihf = "cc32705cd1b583aaac74e6663f71392131dc0355a0f484cb56f0378b71ea7ebc";
armv7-unknown-linux-gnueabihf = "2782ec75ea4abb402513e2e57becc6c14e67b492d57228cddedef6db0853b165";
aarch64-unknown-linux-gnu = "261cd47bc3c98c9f97b601d1ad2a7d9b33c9ea63c9a351119c2f6d4e82f5d436";
aarch64-unknown-linux-musl = "feb79985cb161a10b252236852df8db3bf3593c78905b84c7e94cd4454327e47";
x86_64-apple-darwin = "d851f1a473926a5d8f111ed08002047a5dc4ad944a5b7f8d5d2f1f266b51e66a";
aarch64-apple-darwin = "2dbafd13d007543aada47179fa273f9a3865f27e0a07bd69be61801232a0819e";
powerpc64le-unknown-linux-gnu = "6d5cd579b68a2adc20384406c69a92beaaf4941056e126ff0ed1ec2f3a4e721f";
riscv64gc-unknown-linux-gnu = "3d0f3b1a8522e09fffdf920a061794ac3107410eb1fe8f5d62a7aae3c6dcb81e";
mips64el-unknown-linux-gnuabi64 = "6ed5b6492e68f45488108abd06dbcd4b89c46cdbd4715331bb11e88f18500815";
};

selectRustPackage = pkgs: pkgs.rust_1_61;
selectRustPackage = pkgs: pkgs.rust_1_62;

rustcPatches = [
];
Expand Down
20 changes: 15 additions & 5 deletions pkgs/development/go-modules/generic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,22 @@ let
exclude+='\)'

buildGoDir() {
local d; local cmd;
cmd="$1"
d="$2"
local cmd="$1" dir="$2"

. $TMPDIR/buildFlagsArray

declare -a flags
flags+=($buildFlags "''${buildFlagsArray[@]}")
flags+=(''${tags:+-tags=${lib.concatStringsSep "," tags}})
flags+=(''${ldflags:+-ldflags="$ldflags"})
flags+=("-v" "-p" "$NIX_BUILD_CORES")

if [ "$cmd" = "test" ]; then
flags+=($checkFlags)
fi

local OUT
if ! OUT="$(go $cmd $buildFlags "''${buildFlagsArray[@]}" ''${tags:+-tags=${lib.concatStringsSep "," tags}} ''${ldflags:+-ldflags="$ldflags"} -v -p $NIX_BUILD_CORES $d 2>&1)"; then
if ! OUT="$(go $cmd "''${flags[@]}" $dir 2>&1)"; then
if ! echo "$OUT" | grep -qE '(no( buildable| non-test)?|build constraints exclude all) Go (source )?files'; then
echo "$OUT" >&2
return 1
Expand Down Expand Up @@ -241,7 +251,7 @@ let
runHook preCheck

for pkg in $(getGoDirs test); do
buildGoDir test $checkFlags "$pkg"
buildGoDir test "$pkg"
done

runHook postCheck
Expand Down
20 changes: 15 additions & 5 deletions pkgs/development/go-packages/generic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,22 @@ let
exclude+='\)'

buildGoDir() {
local d; local cmd;
cmd="$1"
d="$2"
local cmd="$1" dir="$2"

. $TMPDIR/buildFlagsArray

declare -a flags
flags+=($buildFlags "''${buildFlagsArray[@]}")
flags+=(''${tags:+-tags=${lib.concatStringsSep "," tags}})
flags+=(''${ldflags:+-ldflags="$ldflags"})
flags+=("-v" "-p" "$NIX_BUILD_CORES")

if [ "$cmd" = "test" ]; then
flags+=($checkFlags)
fi

local OUT
if ! OUT="$(go $cmd $buildFlags "''${buildFlagsArray[@]}" ''${tags:+-tags=${lib.concatStringsSep "," tags}} ''${ldflags:+-ldflags="$ldflags"} -v -p $NIX_BUILD_CORES $d 2>&1)"; then
if ! OUT="$(go $cmd "''${flags[@]}" $dir 2>&1)"; then
if ! echo "$OUT" | grep -qE '(no( buildable| non-test)?|build constraints exclude all) Go (source )?files'; then
echo "$OUT" >&2
return 1
Expand Down Expand Up @@ -225,7 +235,7 @@ let
runHook preCheck

for pkg in $(getGoDirs test); do
buildGoDir test $checkFlags "$pkg"
buildGoDir test "$pkg"
done

runHook postCheck
Expand Down
Loading