Commit graph

48 commits

Author SHA1 Message Date
Felix Buehler
051fcdbe8b tools/{security/system}: replace name with pname&version 2021-07-27 17:54:21 +02:00
github-actions[bot]
cd9df16806
Merge staging-next into staging 2021-02-17 06:14:55 +00:00
Ingo Blechschmidt
4e54c31de0 pciutils: use database from hwinfo which is easier to update 2021-02-16 23:15:02 +01:00
Sandro Jäckel
90da3103d9
pcieutils: remove darwin from inputs 2021-02-15 00:05:32 +01:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +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
John Ericson
f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Ryan Burns
00bf15f23c pciutils: fix build on darwin
Add IOKit to macOS prereqs, and patch Makefile to use $CC
2020-09-24 02:09:20 -07:00
Vladimír Čunát
82aeab778f
pciutils: support static compilation
Close PR  (thanks).  This "static style" was discussed on:
https://github.com/NixOS/nixpkgs/pull/96223#issuecomment-681204478
2020-09-01 08:49:22 +02:00
R. RyanTM
31a301a1d6 pciutils: 3.6.4 -> 3.7.0 2020-06-10 20:20:53 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
9ca9776d68 pciutils: 3.6.2 -> 3.6.4 2020-01-27 13:15:09 +00:00
Robin Gloster
65712df184
treewide: installTargets is a list 2019-12-31 00:17:42 +01:00
Vladimír Čunát
8831f7a048
pciutils: fix the comment with DB date
It was repeatedly getting outdated,
and now pciutils is getting updated fairly often.
2018-08-17 21:24:16 +02:00
R. RyanTM
3b6b8fc67e pciutils: 3.6.1 -> 3.6.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/pciutils/versions.
2018-08-16 20:24:21 -07:00
Frederik Rietdijk
099c13da1b Merge staging-next into master ()
* substitute(): --subst-var was silently coercing to "" if the variable does not exist.

* libffi: simplify using `checkInputs`

* pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix

* utillinux: 2.32 -> 2.32.1

https://lkml.org/lkml/2018/7/16/532

* busybox: 1.29.0 -> 1.29.1

* bind: 9.12.1-P2 -> 9.12.2

https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html

* curl: 7.60.0 -> 7.61.0

* gvfs: make tests run, but disable

* ilmbase: disable tests on i686. Spooky!

* mdds: fix tests

* git: disable checks as tests are run in installcheck

* ruby: disable tests

* libcommuni: disable checks as tests are run in installcheck

* librdf: make tests run, but disable

* neon, neon_0_29: make tests run, but disable

* pciutils: 3.6.0 -> 3.6.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pciutils/versions.

* mesa: more include fixes

mostly from void-linux (thanks!)

* npth: 1.5 -> 1.6

minor bump

* boost167: Add lockfree next_prior patch

* stdenv: cleanup darwin bootstrapping

Also gets rid of the full python and some of it's dependencies in the
stdenv build closure.

* Revert "pciutils: use standardized equivalent for canonicalize_file_name"

This reverts commit f8db20fb3a.
Patching should no longer be needed with 3.6.1.

* binutils-wrapper: Try to avoid adding unnecessary -L flags

(cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9)
Signed-off-by: Domen Kožar <domen@dev.si>

* libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.

* "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook

* python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes 

When `py.test` was run with a folder as argument, it would not only
search for tests in that folder, but also create a .pytest-cache folder.
Not only is this state we don't want, but it was also causing
collisions.

* parity-ui: fix after merge

* python.pkgs.pytest-flake8: disable test, fix build

* Revert "meson: 0.46.1 -> 0.47.0"

With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes .

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8f7b6cd4ebed3718e5078a0f43cb55d)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 15:04:48 +01:00
Will Dietz
f8db20fb3a pciutils: use standardized equivalent for canonicalize_file_name
Fixes w/musl.
2018-07-09 15:30:56 -05:00
Eelco Dolstra
92609ec9ae
pciutils: 3.5.6 -> 3.6.0 2018-07-09 13:12:59 +02:00
Benjamin Staffin
e385ca7ede
pciutils: build with dns query support
This enables `lspci -q` to look up unknown PCI IDs via DNS queries
without needing the `update-pciids` script that the derivation doesn't
include.
2018-05-19 17:51:51 -04:00
Ben Wolsieffer
259b9ff6b0 pciutils: enable cross compilation 2018-01-28 18:47:22 -05:00
Tuomas Tynkkynen
28ea0a5259 pciutils: 3.5.5 -> 3.5.6 2017-11-19 19:14:25 +02:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Vladimír Čunát
2ab67778d6
pciutils: 3.5.4 -> 3.5.5 2017-07-15 11:28:56 +02:00
Vladimír Čunát
0062dd2f14
pciutils: 3.5.2 -> 3.5.4
The patch was integrated upstream.
2017-04-01 13:27:20 +02:00
Vladimír Čunát
1960fb5275
pciutils: 3.5.1 -> 3.5.2 2016-12-03 11:07:49 +01:00
Vladimír Čunát
ceda8cb203
pciutils: fixup finding modules to libkmod's way
Fixes .
2016-11-24 16:50:56 +01:00
Eelco Dolstra
64f22ddd64 pciutils: 3.4.1 -> 3.5.1 2016-05-22 23:05:25 +02:00
Vladimír Čunát
36e7b376eb pciutils: minor update 3.4.0 -> 3.4.1 2016-01-07 00:17:59 +01:00
Vladimír Čunát
80a9e5a183 pciutils: feature+bugfix update 3.3.1 -> 3.4.0 2015-09-20 08:26:29 +02:00
William A. Kennington III
074c4a7f78 Merge remote-tracking branch 'upstream/master' into staging 2015-05-07 01:44:49 -07:00
William A. Kennington III
00d108e4f5 pciutils: 3.3.0 -> 3.3.1 2015-05-04 23:27:52 -07:00
Vladimír Čunát
9de9669496 pciutils: maintenance + PCI IDs update 2015-04-18 07:24:18 +02:00
Vladimír Čunát
28abe40149 pciutils: update, extend meta, maintain 2014-11-10 20:17:35 +01:00
Vladimír Čunát
d9f1ed063b pciutils: minor update to today's version 2013-11-10 21:02:48 +01:00
Eelco Dolstra
3ae18ebcad pciutils: Update PCI IDs 2013-10-14 12:47:04 +02:00
Vladimír Čunát
52ed09d210 pciutils: update
This breaks udev145 due to enabling compression again,
but I rather think we should remove udev145 (not used anywhere).
2013-07-06 11:54:16 +02:00
Eelco Dolstra
acba9240cd nixos.org/tarballs -> tarballs.nixos.org
It's currently the same machine, but tarballs.nixos.org should become
an S3/CloudFront site eventually.
2013-06-25 14:12:16 +02:00
Eelco Dolstra
46b05945e0 pciutils: Update to 3.1.10
Also update the pci.ids database.
2012-09-28 23:20:59 -04:00
Eelco Dolstra
2f6c7cd3dd * Latest pciutils and usbutils, along with the latest PCI and USB IDs.
svn path=/nixpkgs/branches/x-updates/; revision=22687
2010-07-21 12:01:57 +00:00
Eelco Dolstra
604d42d560 * pciutils: updated the pci.ids database. Don't compress it anymore
because the latest udev wants an uncompressed version.

svn path=/nixpkgs/trunk/; revision=16679
2009-08-11 20:44:35 +00:00
Eelco Dolstra
29daeec109 * pciutils: build a shared libpci.
* pciutils: updated to the latest pci.ids.

svn path=/nixpkgs/trunk/; revision=14490
2009-03-10 12:25:45 +00:00
Eelco Dolstra
562345e595 * pciutils updated to 3.0.0. Also latest pci.ids.
svn path=/nixpkgs/trunk/; revision=12773
2008-08-30 09:56:21 +00:00
Eelco Dolstra
8215b6c953 * pciutils 2.2.8, with the latest pci.ids.
svn path=/nixpkgs/trunk/; revision=10218
2008-01-18 14:39:24 +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
Armijn Hemel
605ddb67d7 2.2.4 -> 2.2.5
svn path=/nixpkgs/trunk/; revision=8688
2007-05-14 10:52:00 +00:00
Eelco Dolstra
a106e7a1d7 * Use the latest pci.ids.
svn path=/nixpkgs/trunk/; revision=8047
2007-02-26 12:07:46 +00:00
Eelco Dolstra
b8057ff11a * Latest pciutils.
svn path=/nixpkgs/trunk/; revision=7914
2007-02-19 20:18:20 +00:00