Age | Commit message (Collapse) | Author | Files | Lines |
|
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
| xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
|
|
|
|
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
|
|
|
|
Without the change build fails on -fno-common toolchains like upstream
gcc-10 as:
$ nix build -L --impure --expr 'with import ./. {}; gqview.overrideAttrs (oa: { NIX_CFLAGS_COMPILE = (["-fno-common"] ++ [oa.NIX_CFLAGS_COMPILE or ""]); })'
...
ld: pan-view.o:/build/gqview-2.1.5/src/bar_exif.h:27:
multiple definition of `bar_exif_key_list'; bar_exif.o:/build/gqview-2.1.5/src/bar_exif.h:27: first defined here
|
|
|
|
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
|
|
Only acts on one-line dependency lists.
|
|
|
|
|
|
|
|
Build-tested on x86_64 Linux & Mac.
|
|
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
|
|
|
|
svn path=/nixpkgs/trunk/; revision=10417
|
|
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done
svn path=/nixpkgs/trunk/; revision=9198
|
|
svn path=/nixpkgs/trunk/; revision=7529
|
|
svn path=/nixpkgs/trunk/; revision=6705
|
|
svn path=/nixpkgs/trunk/; revision=4623
|
|
svn path=/nixpkgs/trunk/; revision=4088
|
|
svn path=/nixpkgs/trunk/; revision=3660
|
|
svn path=/nixpkgs/trunk/; revision=2527
|
|
svn path=/nixpkgs/trunk/; revision=2432
|
|
gazillion different servers. Resurrected some 25 missing files.
svn path=/nixpkgs/trunk/; revision=2237
|
|
svn path=/nixpkgs/trunk/; revision=1975
|
|
svn path=/nixpkgs/trunk/; revision=1466
|
|
svn path=/nixpkgs/trunk/; revision=1068
|
|
builders is dropping steadily.
svn path=/nixpkgs/trunk/; revision=900
|
|
* Make builders unexecutable by removing the hash-bang line and
execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
`mkDerivation'. These transformations were all done automatically,
so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.
svn path=/nixpkgs/trunk/; revision=874
|
|
broke.
svn path=/nixpkgs/trunk/; revision=870
|
|
svn path=/nixpkgs/trunk/; revision=744
|
|
svn path=/nixpkgs/trunk/; revision=511
|