Commit Graph

49 Commits

Author SHA1 Message Date
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +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
Lucas Ransan
68a4db3446 syslinux: fix build on gcc10 2020-12-28 08:43:33 +01:00
ajs124
57568628be syslinux: make reproducible 2020-07-02 08:42:54 +02:00
124
82dfd10035
syslinux: fix #86846: build on i686
vcunat tried tests.boot.biosCdrom.i686-linux - after small local
modification to make that attribute even exist.  Installed file list
also looks fine in comparison with state before the breaking change;
hopefully it will work just fine.
2020-05-05 10:25:44 +02:00
ajs124
a09878c205 syslinux: fix UEFI support 2020-05-03 02:18:46 +02:00
Maximilian Bosch
401e07d419
Merge pull request #84551 from gnprice/pr-stripDebugList
treewide: Fix types of stripDebugList attrs (and fix doc)
2020-04-14 15:54:52 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Greg Price
7547cf9dfc treewide: Fix up stripDebugList attrs to be lists.
The documentation says this should be a list, and it already is in
about half the expressions that set it.

The difference doesn't matter at present, because these values are all
space-free literals.  But it will in a future with __structuredAttrs .

(The similar attr stripAllList has no users in the nixpkgs tree, so
there's nothing to do to fix any of those up.)
2020-04-06 21:26:52 -07:00
Luka Blaskovic
13555cb1ce syslinux: 2015-11-09 -> 2019-02-07 2020-01-19 14:51:50 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Vladimír Čunát
bce12effa7
syslinux: fix build with new binutils
Also fix the URL of the other patch.
2019-02-19 12:05:51 +01:00
Vladimír Čunát
555912067f
Revert "syslinux: 2015-11-09 -> 2019-02-07"
This reverts commit 0b49d5dd68 #55500.
I'm sorry, I'm unable to fix the build quickly in other way than
atop the older version.  Certainly feel free to improve the approach.
2019-02-19 12:04:43 +01:00
Samuel Dionne-Riel
0b49d5dd68 syslinux: 2015-11-09 -> 2019-02-07 2019-02-09 23:21:14 -05:00
Samuel Dionne-Riel
13b0c17932 syslinux: Adds @samueldr as maintainer 2019-02-09 23:21:14 -05:00
Jan Malakhovski
c74e59511d syslinux: make tests run, but disable 2018-08-11 09:35:32 +00:00
Tuomas Tynkkynen
26432f3e53 syslinux: Slim down closure size 2018-05-25 01:55:51 +03:00
Tuomas Tynkkynen
f567d0a5a6 syslinux: Only works on x86
https://hydra.nixos.org/build/60930963
2017-09-13 15:17:45 +03:00
Thomas Tuegel
bec5797290
syslinux: fix invalid use of substituteInPlace
substituteInPlace was invoked with multiple targets on the command line, which
is not supported.
2017-07-21 16:51:53 -05:00
Vladimír Čunát
8bfa9f528c
syslinux: fixup build via a Debian patch
It stopped working probably since binutils update.
2017-03-13 15:40:43 +01:00
Robin Gloster
5978109194 syslinux: disable fortify hardening 2016-04-03 12:51:54 +00: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
d8f3d2ede1 syslinux: turn off stackprotector/pic hardening 2016-02-12 01:41:52 +00:00
Jakob Gillich
985bd0808e syslinux: fix missing mtools dependency
closes #11472
2015-12-09 03:17:08 +01:00
William A. Kennington III
6e18a33183 syslinux: 6.03 -> 2015-11-09 2015-11-14 12:38:56 -08:00
William A. Kennington III
6602f49495 Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""
This reverts commit 741bf840da.

This reverts the fallout from reverting the major changes.
2015-11-14 12:32:51 -08:00
Tuomas Tynkkynen
f08693d042 syslinux: Disable parallel building
Unfortunately I lost the exact failure, but it was something starting
with 'No rule to make target: ...', which suggests missing dependencies
between generated source files.
2015-10-26 09:23:28 +01:00
Eelco Dolstra
013cf1b4f2 syslinux: Strip static libraries
This prevents a retained dependency on gcc.
2015-10-14 14:29:54 +02:00
William A. Kennington III
06e146b2ce syslinux: Fix failed loading on gcc5 2015-07-06 17:49:07 -07:00
Vladimír Čunát
66ae2a5322 Revert "syslinux: disable parallel building"
The change fixed nothing. I'm sorry, I confused the platforms when testing.
The actual problem was fixed by peti.
This reverts commit e682e8018c.
2014-11-05 13:24:01 +01:00
Evgeny Egorochkin
ab59ef2c52 syslinux: update from 6.02 to 6.03 2014-11-03 12:58:07 +02:00
Vladimír Čunát
e682e8018c syslinux: disable parallel building
It started breaking on master and staging,
e.g. http://hydra.nixos.org/build/16663521 .

Related: #3007.
2014-11-03 10:32:05 +01:00
William A. Kennington III
aac54c6699 syslinux: Update 4.07 -> 6.02 2014-06-24 16:10:13 -05:00
Nixpkgs Monitor
47c5b16643 syslinux: update from 4.06 to 4.07 2013-12-31 05:44:11 +02:00
Eelco Dolstra
25a875195d syslinux: Update to 4.06 and fix build
http://hydra.nixos.org/build/3890519
2013-01-28 17:19:02 +01:00
Karn Kallio
ea8b116d63 Advance syslinux version to 4.03.
Also fix hardcoded /usr/bin/perl.

svn path=/nixpkgs/trunk/; revision=25878
2011-02-10 01:14:13 +00:00
Eelco Dolstra
492d64e168 * Syslinux updated to 4.02.
svn path=/nixpkgs/trunk/; revision=23017
2010-08-06 22:27:28 +00:00
Eelco Dolstra
d39fd2a578 * Rewrite all the kernel.org URLs to mirror://kernel/.
svn path=/nixpkgs/trunk/; revision=9202
2007-08-27 13:59:40 +00:00
Eelco Dolstra
3c7950278d * Fix URL.
svn path=/nixpkgs/trunk/; revision=9075
2007-08-09 00:06:51 +00:00
Eelco Dolstra
f6ef342dbc * Syslinux 3.35.
svn path=/nixpkgs/trunk/; revision=7874
2007-02-07 14:15:12 +00:00
Eelco Dolstra
c219e77af7 * Syslinux updated to 3.31.
* Some uber-ugly hacks to get it to build on x86_64 with a non-32-bit
  enabled GCC.

svn path=/nixpkgs/trunk/; revision=7756
2007-01-22 19:14:50 +00:00
Eelco Dolstra
5782390a5d * Fix some URLs.
svn path=/nixpkgs/trunk/; revision=6714
2006-10-12 15:09:27 +00:00
Armijn Hemel
b5f16b3541 whoops, don't forget a default.nix...
svn path=/nixpkgs/trunk/; revision=6299
2006-08-28 21:55:35 +00:00
Armijn Hemel
e142de356a 3.20 needs different patch
svn path=/nixpkgs/trunk/; revision=6298
2006-08-28 21:53:39 +00:00
Armijn Hemel
0af8111262 download location has changed
svn path=/nixpkgs/trunk/; revision=6293
2006-08-28 13:22:40 +00:00
Armijn Hemel
3be153c62c new version of syslinux, 3.10 already fixed gcc 4 fixes...
svn path=/nixpkgs/trunk/; revision=5503
2006-06-23 15:09:14 +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
6fab88924c use generic builder instead
svn path=/nixpkgs/trunk/; revision=3479
2005-07-31 11:24:26 +00:00
Armijn Hemel
6ea30e97e5 add builder and expression for syslinux. "make install" still barfs, needs patching...
svn path=/nixpkgs/trunk/; revision=3430
2005-07-25 16:58:57 +00:00