Commit Graph

33 Commits

Author SHA1 Message Date
Felix Buehler
ed3e73f08c xfstests: replace name with pname&version 2021-08-02 11:42:46 +02: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
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Daniel Schaefer
08dab35cd4 xfstests: 2018-04-11 -> 2019-09-08 2019-09-13 17:40:16 +02:00
Jörg Thalheim
dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer
161414063f treewide: use killall 2018-06-27 16:47:21 -04:00
Jörg Thalheim
e5e8a85555 xfstests: 2017-07-16 -> 2018-04-11 2018-04-21 11:53:08 +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
Tuomas Tynkkynen
d2f45babe3 xfstests: Use keyutils 2017-07-28 16:24:59 +03:00
Tuomas Tynkkynen
62cd492c82 xfstests: Use the newly added quota package 2017-07-25 17:29:21 +03:00
Tuomas Tynkkynen
dd248fad87 xfstests: 2017-03-26 -> 2017-07-16 2017-07-25 17:29:21 +03:00
Tuomas Tynkkynen
b65dc619f0 xfstests: Fixes 2017-04-01 19:50:09 +03:00
Tuomas Tynkkynen
097373e691 xfstests: Fix homepage 2017-04-01 19:43:05 +03:00
Tuomas Tynkkynen
ba360f90f9 xfstests: Enable parallel build 2017-04-01 19:42:41 +03:00
Tuomas Tynkkynen
197bbe0e1b xfstests: 2016-08-26 -> 2017-03-26 2017-04-01 19:42:01 +03:00
Jörg Thalheim
13ed7e6631
xfstests: set correct echo binary 2017-03-07 11:04:59 +01:00
Tuomas Tynkkynen
bb18d73323 xfstests: 2016-08-06 -> 2016-08-26
Fixes build.
2016-09-01 21:03:27 +03:00
Tuomas Tynkkynen
85d7d9d254 xfstests: Autodetect what to link in the wrapper 2016-09-01 21:03:27 +03:00
Robin Gloster
b7787d932e Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-12 09:46:53 +00:00
Tuomas Tynkkynen
ab8b78f6a3 xfstests: 2016-01-11 -> 2016-08-06 2016-08-11 00:50:16 +03:00
Tuomas Tynkkynen
0da53ba08c xfstests: Remove 'su' from PATH
This needs to be coming from the setuid wrapper to work correctly.
2016-08-11 00:50:16 +03:00
Robin Gloster
8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Franz Pletz
f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Alexander Ried
5c295a4925 libcap: Replace occurences of libcap_progs with libcap.out 2016-05-03 19:52:53 +02:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Nikolay Amiantov
8b7ebaffeb replace makeSearchPath tree-wise to take care of possible multiple outputs 2016-04-13 22:09:41 +03:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
00c53f31c2 xfstests: turn off format hardening 2016-02-20 21:58:30 +00:00
Tuomas Tynkkynen
7a81d47023 xfstests: init at 2016-01-11 2016-01-12 21:57:22 +02:00