Commit Graph

73 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
arcnmx
a6a8bdf09c nfs-utils: optional LDAP support 2024-09-15 12:19:55 -07:00
Vladimír Čunát
d199bfdf09
nfs-utils: 2.6.4 -> 2.7.1
The previous version wouldn't build anymore, maybe after kerberos update
https://hydra.nixos.org/build/270621926/nixlog/1/tail
2024-08-30 08:16:14 +02:00
Ashish SHUKLA
191d8a30c5 nfs-utils: 2.6.2 -> 2.6.4 2024-07-05 08:02:11 +02:00
Ashish SHUKLA
f0553fb299 nfs-utils: enable ldap support 2024-07-05 08:02:11 +02:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Yureka
6ff09ebe04
pkgsMusl.nfs-utils: fix build (#203275)
This patch does not apply and is no longer needed.
alpine removed it here: https://git.alpinelinux.org/aports/commit/main/nfs-utils?id=165dd080660bea8a4cefb71b68fc1110732f8006
2022-11-27 19:11:44 +01:00
ajs124
356ea489af nfs-utils: 2.5.1 -> 2.6.2 2022-08-17 00:59:48 +02:00
Sandro Jäckel
dcb501f993
kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Atemu
b991ae0e28 nfs-utils: pass native rpcsvc-proto to configureFlag
It was passing in the targetPlatform's rpcgen binary which exec format errors of
course

Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
2020-12-13 07:57:18 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Maximilian Bosch
0efbea1da8
nfs-utils: 2.4.1 -> 2.5.1, fix build w/glibc-2.32 2020-09-12 23:04:46 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Silvan Mosberger
848ed261f5
nfs-utils: Add enablePython argument
If turned off, all binaries that need python are excluded

With the argument disabled, this reduces closure size from 219.5M to
160.3M
2020-04-02 21:42:59 +02:00
Jörg Thalheim
e71bd33878
nfs-utils: link nfs tests 2019-12-13 11:24:48 +00:00
Kai Wohlfahrt
7b8388302d nfs-utils: build svcgssd
Necessary for nfs server with kerberos auth
2019-12-12 12:23:30 +00:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
Averell Dalton
366db82268 nfs-utils: 2.3.4 -> 2.4.1 2019-08-30 04:17:23 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Ben Wolsieffer
a0dcccc67a nfs-utils: fix cross compilation 2019-07-22 19:09:57 -04:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Nikolay Amiantov
63ac0fa94d nfs-utils: use upstream patch to fix i686 build 2019-06-06 21:26:18 +03:00
Nikolay Amiantov
7e6756af41 nfs-utils: fix format strings in nfsdcld 2019-06-06 16:00:48 +03:00
Nikolay Amiantov
af28dd0c71 nfs-utils: 2.3.3 -> 2.3.4 2019-06-04 01:36:27 +03:00
Frederik Rietdijk
7eb8a04945 nfs-utils: add python3 to buildInputs
This will rewrite the shebang of `nfsiostat`.
2018-10-21 08:42:43 +02:00
Eelco Dolstra
8beb1e26e0 nfs-utils: Get rid of runtime dependency on kerberos.dev 2018-10-11 21:18:20 +02:00
Eelco Dolstra
c40ba6355e Revert "nfs-utils: Reduce closure size from 269 to 135 MiB"
This reverts commit 642b68cfcc.
2018-10-08 23:02:51 +02:00
Eelco Dolstra
642b68cfcc nfs-utils: Reduce closure size from 269 to 135 MiB 2018-10-08 22:56:23 +02:00
R. RyanTM
9390a261dd nfs-utils: 2.3.2 -> 2.3.3 (#46989)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/nfs-utils/versions
2018-09-26 15:36:31 +02:00
Matthew Bauer
1427c50cea nfs-utils: properly strip system-generators
nfs-utils had a dependency on gcc through
etc/systemd/system-generators/*-server-generator. It was not stripped
correctly because it’s not in an expected path. This adds it to the
strip list.
2018-09-24 15:07:26 -05:00
Uli Baum
037d27ed00 nfs-utils: simplify code using placeholders 2018-08-30 20:11:40 +02:00
Uli Baum
c62bb34f7a nfs-utils: 2.1.1 -> 2.3.2, integrate libnfsidmap
- switch source to kernel.org
- libnfsidmap 2.3.2 is built from the nfs-utils source,
  put it in nfs-utils.lib
- split outputs
- adapt sssd, the only other package using libnfsidmap
2018-08-30 19:55:54 +02:00
Will Dietz
3e1f698acd nfs-utils: patch to fix w/musl 2018-04-24 18:29:36 -05:00
Vladimír Čunát
9b54a00160
Merge #29785: curl: enable kerberos 2017-12-19 15:18:24 +01:00
Vladimír Čunát
13e6a5c561
kerberos: split headers into $dev 2017-12-19 15:18:01 +01:00
Vladimír Čunát
c2b9ab578d
nfs-utils: fixup includes with glibc-2.26 2017-11-08 10:27:39 +01:00
Ruben Maher
98a2316166 nfs-utils: set /etc/krb5.keytab as default path for rpc-gssd
Currently the `rpc-gssd.service` has a `ConditionPathExists` clause that can
never be met, because it's looking for stateful data inside `/nix/store`.

`auth-rpcgss-module.service` also only starts if this file exists.

Fixes NixOS/nixpkgs#29509.
2017-09-20 15:36:26 +01:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
0xABAB
b89a5b2210 nfs-utils: Replace reference to /bin/true 2017-07-06 20:43:22 +02:00
Vladimír Čunát
10f9fb63f1
nfs-utils: fixup setuid/setgid build problems, hopefully 2017-06-08 20:43:04 +02:00
Nikolay Amiantov
58d6b40893 nfs-utils: 1.3.3 -> 2.1.1
Use upstream systemd units, add kerberos support.
2017-02-01 19:47:33 +03:00
Vladimír Čunát
ae74c356d9 Merge recent 'staging' into closure-size
Let's get rid of those merge conflicts.
2016-02-03 16:57:19 +01:00
Tobias Geerinckx-Rice
32f4fb1ef5 nfs-utils: 1.3.2 -> 1.3.3
A very noisy change log is available for download at:
http://sourceforge.net/projects/nfs/files/nfs-utils/1.3.3/1.3.3-Changelog/download
2016-01-27 01:16:21 +01:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Tuomas Tynkkynen
4f928f3550 nfs-utils: 1.2.5 -> 1.3.2, potentially fixes CVE-2013-1923 2015-07-20 12:20:42 +03:00
Vladimír Čunát
3b9ef2c71b fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
2015-05-05 11:52:08 +02:00
Luca Bruno
915075ca0e Revert "nfs-utils: update from 1.2.5 to 1.3.1"
This reverts commit bde3fe2335.
2015-02-16 13:59:34 +01:00
Luca Bruno
8b666652a5 Revert "nfs-utils: Build and update for 1.3.2"
This reverts commit a4ef29c499.
2015-02-16 13:59:34 +01:00