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
3 years ago
Nathan van Doorn
9369f74fb2
grub2: use python3 by default
...
It should work fine with either 2 or 3 (I'm pretty sure Arch uses 3, for example), and we should be aiming to move away from python 2 wherever possible
4 years ago
Jan Tojnar
e89e2edc73
libusb-compat-0_1: rename from libusb
4 years ago
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
4 years ago
Benno Fünfstück
98bb71f41b
grub2: simplify gnulib usage
4 years ago
Andreas Wiese
8ba94a8fe8
grub2: 2.04-rc1 -> 2.04 ( #67622 )
5 years ago
volth
35d68ef143
treewide: remove redundant quotes
5 years ago
volth
c814d72b51
treewide: name -> pname
5 years ago
volth
df4d0fab2f
grub: 2.02 -> 2.04-rc1
5 years ago
Vladimír Čunát
61ef8f0b42
grub2: patch to work with updated binutils
...
This blocked some EFI stuff and consequently the channels.
I would fetchpatch, but their cgit server won't work on this commit.
5 years ago
rnhmjoj
bcf54ce5bb
treewide: use ${stdenv.shell} instead of /bin/sh where possible
6 years ago
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
...
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277
This removes now also paxutils from stdenv.
6 years ago
Markus Kowalewski
aed8699993
grub: add patch for XFS sparse inode feature
...
xfsprogs-4.16 introduced an new on disk format feature
that is not recognized properly by grub. This patch
allows grub to access XFS filesystem created with
xfsprogs >= 4.16.
This upstream patch can be removed for grub-2.03.
6 years ago
c0bw3b
0498ccd076
Treewide: use HTTPS on GNU domains
...
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
6 years ago
John Ericson
2c2f1e37d4
reewide: Purge all uses `stdenv.system` and top-level `system`
...
It is deprecated and will be removed after 18.09.
6 years ago
volth
52f53c69ce
pkgs/*: remove unreferenced function arguments
6 years ago
Matthew Bauer
76999cc40e
treewide: remove aliases in nixpkgs
...
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.
Misc...
- qtikz: use libsForQt5.callPackage
This ensures we get the right poppler.
- rewrites:
docbook5_xsl -> docbook_xsl_ns
docbook_xml_xslt -> docbook_xsl
diffpdf: fixup
6 years ago
Symphorien Gibol
3e09239882
grub2: compile grub-mount as well
...
It is a dependency of os-prober >= 1.75
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860833#23
6 years ago
Will Dietz
e78900213b
grub2: extend platforms to include all linux
...
This works (and is needed) on musl-based linux too!
6 years ago
Vladimír Čunát
ae9a49a77d
grub2: pkgconfig to fix finding freetype
6 years ago
Franz Pletz
3317c71c5c
grub2: 2.x-2015-11-16 -> 2.02
...
Fixes #24451 .
7 years ago
Thomas Tuegel
5265d551a9
grub2: unset CPP
...
Commit 093cc00cdd
sets the environment variable
`CPP' by default, but this intereferes with dependency calculation.
7 years ago
Michał Pałka
55208cc2e1
pvgrub_image: add package
...
Add a package containing a pvgrub image for xen generated from grub2
7 years ago
Tuomas Tynkkynen
a9a706770a
grub2: Make EFI grub work on aarch64
7 years ago
Tuomas Tynkkynen
be2a2db0f1
grub2: Workaround flex bug
...
I think the flex update in 6bded45883
causes this failure, presumably due to upstream breakage:
````
gcc -DHAVE_CONFIG_H -I. -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub_script.yy.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/lib/libgcrypt-grub/src/ -I./grub-core/lib/minilzo -I./grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wcast-align -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -Werror -fno-builtin -Wno-undef -c -o libgrubmods_a-grub_script.yy.o `test -f 'grub_script.yy.c' || echo './'`grub_script.yy.c
./grub-core/script/yylex.l:34:0: error: "yyalloc" redefined [-Werror]
#define yyalloc(size, scanner) (grub_malloc((size)))
^
grub_script.yy.c:104:0: note: this is the location of the previous definition
^
./grub-core/script/yylex.l:35:0: error: "yyfree" redefined [-Werror]
#define yyfree(ptr, scanner) (grub_free((ptr)))
^
grub_script.yy.c:108:0: note: this is the location of the previous definition
^
./grub-core/script/yylex.l:36:0: error: "yyrealloc" redefined [-Werror]
#define yyrealloc(ptr, size, scanner) (grub_realloc((ptr), (size)))
^
grub_script.yy.c:106:0: note: this is the location of the previous definition
^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:7540: libgrubmods_a-grub_script.yy.o] Error 1
````
Work around it for now.
8 years ago
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
8 years ago
Robin Gloster
f6d3b7a2ae
switch hardening flags
9 years ago
Franz Pletz
954e9903ad
Use a hardened stdenv by default
9 years ago
William A. Kennington III
349e50734e
grub2: 2015-10-13 -> 2015-11-16
9 years ago
Tuomas Tynkkynen
464350aa01
grub2: Patch out GCC reference from modinfo.sh
9 years ago
William A. Kennington III
82792959b4
grub2: 2015-07-27 -> 2015-10-13
9 years ago
William A. Kennington III
f2d3b5ead9
grub2: 2015-07-05 -> 2015-07-27
9 years ago
William A. Kennington III
48f44bfa69
grub2: 2015-05-14 -> 2015-07-05
9 years ago
William A. Kennington III
484a7be844
grub2: 2015-04-24 -> 2015-05-14
9 years ago
Edward Tjörnhammar
b9b8e3acba
{grub2,ceph,libs3,socket_wrapper,nss_wrapper}.src: use mirrors, https and fetchFromSavannah to enable better availability for proxied users
9 years ago
William A. Kennington III
4463bad2dd
grub: Update from 2015-2-21 -> 2015-04-24
9 years ago
William A. Kennington III
e91d788b7c
grub2: Another grub bump
9 years ago
William A. Kennington III
8e62c497ca
grub2: Update git revision
9 years ago
William A. Kennington III
c8a4ecd91d
grub: Doesn't support building bios and efi simultaneously
9 years ago
William A. Kennington III
ef80d73e6a
grub: Enable zfs and efi by default since it's cheap to support
9 years ago
William A. Kennington III
15cf03a8ee
Build userspace packages using the userspace zfs
9 years ago
Thomas Strobel
3767370866
Add target parameter to grub installation chain
10 years ago
Eelco Dolstra
1acfbca7df
grub2: Fix building against Glibc 2.20
...
http://hydra.nixos.org/build/16563301
10 years ago
William A. Kennington III
88d270f62e
grub2: Add localizations
10 years ago
William A. Kennington III
c369c4afbd
grub2: Fix zfs support
10 years ago
William A. Kennington III
36614ff3e2
Revert "Revert "Merge pull request #2449 from wkennington/master.grub""
...
This reverts commit 94205f5f21
.
Conflicts:
nixos/modules/system/boot/loader/grub/install-grub.pl
10 years ago
Michael Raskin
94205f5f21
Revert "Merge pull request #2449 from wkennington/master.grub"
...
This reverts commit 469f22d717
, reversing
changes made to 0078bc5d8f
.
Conflicts:
nixos/modules/installer/tools/nixos-generate-config.pl
nixos/modules/system/boot/loader/grub/install-grub.pl
nixos/release.nix
nixos/tests/installer.nix
I tried to keep apparently-safe code in conflicts.
10 years ago
William A. Kennington III
0fdbc44411
grub: Fix typo
10 years ago
William A. Kennington III
dd18e67cfb
grub: Cleanup efi support
10 years ago
William A. Kennington III
2ea1433b77
grub: Fetch from alpha.gnu.org instead of git
10 years ago