Commit Graph

36 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Randy Eckenrode
eeab6f4355
cracklib: fix build on Darwin 2024-07-26 20:52:02 -04:00
Sergei Trofimovich
5ce49c845e cracklib: 2.9.11 -> 2.10.0
Changes: https://github.com/cracklib/cracklib/releases/tag/v2.10.0
2024-07-15 22:16:57 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Janik H.
42ba9eb214
cracklib: change wordlists prameter to lists for compatiblity with wordlists package 2023-10-29 18:52:21 +01:00
Sergei Trofimovich
aa6dafe3d6 cracklib: 2.9.8 -> 2.9.11
Changes:
https://github.com/cracklib/cracklib/releases/tag/v2.9.9
https://github.com/cracklib/cracklib/releases/tag/v2.9.10
https://github.com/cracklib/cracklib/releases/tag/v2.9.11
2023-09-12 08:32:21 +01:00
Sergei Trofimovich
bf8f325a11 cracklib: 2.9.7 -> 2.9.8
Changes: https://github.com/cracklib/cracklib/compare/v2.9.7...v2.9.8
2023-02-11 08:26:31 +00:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Matthew Bauer
e520d6af29
Merge pull request #84415 from matthewbauer/mb-cross-fixes-april2020
Cross compilation fixes [april 2020]
2020-04-13 16:48:38 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer
0f41c1582f cracklib: only use local binaries on native build 2020-04-06 16:36:21 -04:00
Ben Wolsieffer
aa2468f4a1 cracklib: fix cross build 2019-04-18 08:40:54 +02:00
Will Dietz
66dae3b1f0 cracklib: add wordlist from upstream, generate default dict with it 2019-03-03 23:52:00 -06:00
Will Dietz
8867dfd016 cracklib: build default dictionary, run test 2019-03-03 23:52:00 -06:00
Will Dietz
a3eccfd5b0 cracklib: 2.9.6 -> 2.9.7
https://github.com/cracklib/cracklib/releases/tag/v2.9.7

I haven't looked into the details but notes mention:

> apply patch to fix CVE-2016-6318 Stack-based buffer overflow when parsing large GECOS field
> fix a buffer overflow processing long words
2019-03-03 23:52:00 -06:00
Markus Kowalewski
2c2d02fce5
cracklib: add license 2018-08-15 20:53:07 +02:00
Matthew Bauer
ed2a9cf65f treewide: remove libintl hacks 2018-03-22 16:50:11 -05:00
Stéphane Jourdois
50783998a2 cracklib: 2.9.4 -> 2.9.6 2015-11-11 13:44:07 +01:00
William A. Kennington III
60d6eb7a9a cracklib: 2.9.2 -> 2.9.4 2015-04-28 21:12:34 -07:00
William A. Kennington III
3935b43992 cracklib: 2.9.1 -> 2.9.2 2015-04-07 13:32:35 -07:00
Nixpkgs Monitor
2d22254e87 cracklib: update from 2.8.16 to 2.9.1 2013-12-18 18:18:23 +02:00
Jason "Don" O'Conal
3b54af72b1 cracklib: fix build on darwin
* add libintlOrEmpty to build inputs
2013-07-03 22:03:47 +10:00
Eelco Dolstra
5553546c21 Remove a bunch of unreferenced files
Plus a small number of obsolete packages (like old versions of qemu).
2012-11-29 13:43:37 +01:00
Eelco Dolstra
6f2b3f46cc * PAM updated to 1.1.1. Also build with libxcrypt support.
* Cracklib updated.  Removed the dictionary as it should be moved into
  a separate package.

svn path=/nixpkgs/trunk/; revision=22105
2010-06-02 17:31:20 +00:00
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Eelco Dolstra
bd124ec21a * Various PAM updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14109
2009-02-18 11:40:32 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Armijn Hemel
dbe9e15939 update to 2.8.12
svn path=/nixpkgs/trunk/; revision=10012
2007-12-31 19:28:26 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Armijn Hemel
5092df8999 * cracklib 2.8.9
* commit 5555!

svn path=/nixpkgs/trunk/; revision=5555
2006-07-01 14:49:35 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Armijn Hemel
3c079ce798 don't forget the builder, d'oh!
svn path=/nixpkgs/trunk/; revision=4129
2005-10-25 17:15:55 +00:00
Armijn Hemel
0b6462aee7 also add cracklib dictionairies
svn path=/nixpkgs/trunk/; revision=4128
2005-10-25 17:13:56 +00:00
Armijn Hemel
d4057ee594 add cracklib
svn path=/nixpkgs/trunk/; revision=4127
2005-10-25 13:54:52 +00:00