Commit graph

26 commits

Author SHA1 Message Date
Ben Siraphob
e245ae3c3a pkgs/shells: stdenv.lib -> lib 2021-01-15 14:24:03 +07: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
Martin Weinelt
9ac42658f9 dash: add patch to prevent code execution when noexec is set
Dashs noexec flag `-n` did not work as documented, which could result in
code being inadvertently executed.
2020-11-23 11:57:29 -08:00
R. RyanTM
6d614fd28c dash: 0.5.11.1 -> 0.5.11.2 2020-09-22 18:35:08 +00:00
John Ericson
a47d059689 dash: Fix cross build 2020-09-02 16:16:49 -04:00
Adrian Gierakowski
3020abe5b5 dash: fix compilation on darwin
it has been broken since: adbace3c21
2020-07-21 11:14:06 +01:00
R. RyanTM
0eb7b32d77 dash: 0.5.11 -> 0.5.11.1 2020-07-08 23:50:58 +00:00
R. RyanTM
6e746a6e2c dash: 0.5.10.2 -> 0.5.11 2020-06-09 11:06:04 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Markus Kowalewski
a6b854c9a2
dash: add licenses 2018-11-15 00:13:52 +01:00
R. RyanTM
cdd0d9944a dash: 0.5.10.1 -> 0.5.10.2
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/dash/versions.

These checks were done:

- built on NixOS
- /nix/store/shdckmx580jc9c283dxlnl47gfj5lykc-dash-0.5.10.2/bin/dash passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- directory tree listing: https://gist.github.com/f099316518721d966018e207da80b59f
- du listing: https://gist.github.com/943c0fa7050582ee37c58883869edf64
2018-05-21 09:17:45 +00:00
R. RyanTM
00ddd6a8ae dash: 0.5.10 -> 0.5.10.1 (#40677)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/dash/versions.

These checks were done:

- built on NixOS
- /nix/store/xdfhswm4pr989ad5582dphj02nlhd09g-dash-0.5.10.1/bin/dash passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- directory tree listing: https://gist.github.com/c7533f80b4151e29fb67f31acbea016b
- du listing: https://gist.github.com/455f25b553fefbc281441c80772198d1
2018-05-17 23:08:28 +02:00
R. RyanTM
95e317bf54 dash: 0.5.9.1 -> 0.5.10
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/dash/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- directory tree listing: https://gist.github.com/ac71c74097484baeb4301fc8048b372d
2018-05-07 04:32:20 -07:00
Joachim Fasting
b9e404def4
dash: 0.5.8 -> 0.5.9.1
Contains mostly fixes as far as I can tell.
2017-07-13 23:03:40 +02:00
Robin Gloster
1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Tuomas Tynkkynen
16d48b8280 Re-enable bunch of packages on Darwin
Prior to 1bf5ded193 these contained
`hydraPlatforms = platforms.linux`, which was apparently misleading.
2016-08-03 00:55:42 +03:00
Tuomas Tynkkynen
1bf5ded193 treewide: Lots of meta.hydraPlatforms -> meta.platforms
In all of these files, there is no meta.platforms but only
meta.hydraPlatforms, which doesn't seem to have any purpose except being
inconsistent.
2016-08-02 21:17:44 +03:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
zimbatm
b5dad466d5 dash: add shellPath passthru 2016-06-12 18:57:29 +01: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
f6d3b7a2ae switch hardening flags 2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad Use a hardened stdenv by default 2016-01-30 16:36:57 +00:00
Mateusz Kowalczyk
bed76a5c89 dash: update from 0.5.7 to 0.5.8 2014-09-30 10:29:50 +01:00
Peter Simons
df80be16d2 dash: enable Hydra builds on Linux 2013-12-21 00:05:38 +01:00
Nixpkgs Monitor
0abf7e6224 dash: update from 0.5.6 to 0.5.7 2013-12-18 18:18:24 +02:00
Eelco Dolstra
d1ae973761 * Added dash.
svn path=/nixpkgs/trunk/; revision=22088
2010-06-01 17:05:29 +00:00