1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-06 04:23:14 +00:00
Commit graph

56 commits

Author SHA1 Message Date
rnhmjoj 61b7cab481
treewide: use perl.withPackages when possible
Since 03eaa48 added perl.withPackages, there is a canonical way to
create a perl interpreter from a list of libraries, for use in script
shebangs or generic build inputs. This method is declarative (what we
are doing is clear), produces short shebangs[1] and needs not to wrap
existing scripts.

Unfortunately there are a few exceptions that I've found:

  1. Scripts that are calling perl with the -T switch. This makes perl
  ignore PERL5LIB, which is what perl.withPackages is using to inform
  the interpreter of the library paths.

  2. Perl packages that depends on libraries in their own path. This
  is not possible because perl.withPackages works at build time. The
  workaround is to add `-I $out/${perl.libPrefix}` to the shebang.

In all other cases I propose to switch to perl.withPackages.

[1]: https://lwn.net/Articles/779997/
2021-03-31 21:35:37 +02:00
R. RyanTM e72c037e52 dpkg: 1.20.5 -> 1.20.7.1 2021-01-19 13:04:33 +00: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
Sirio Balmelli 5a29435e2e
dpkg: 1.20.0 -> 1.20.5
Fixes broken Darwin build in 1.20.0

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-07-20 13:47:11 +02:00
R. RyanTM 5454317570 dpkg: 1.19.7 -> 1.20.0 2020-03-10 18:56:46 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
John Ericson 852d81d607
Merge pull request #63698 from tobim/overrideCC-buildPackages
Fix misuses of overrideCC
2019-06-23 18:19:18 -04:00
Tobias Mayer 79d72ccd3c dpkg: fix cross compilation 2019-06-23 17:07:38 +02:00
R. RyanTM 1dc837c8cb dpkg: 1.19.6 -> 1.19.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dpkg/versions
2019-06-17 15:29:06 +02:00
R. RyanTM a750496f56 dpkg: 1.19.5 -> 1.19.6 (#58667)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dpkg/versions
2019-04-07 23:42:47 +02:00
R. RyanTM 0770264fdf dpkg: 1.19.4 -> 1.19.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dpkg/versions
2019-03-01 18:24:57 -08:00
R. RyanTM 1eb59f30e5 dpkg: 1.19.2 -> 1.19.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/dpkg/versions
2019-01-28 14:21:23 -08:00
R. RyanTM 23661254e4 dpkg: 1.19.0.5 -> 1.19.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/dpkg/versions
2018-10-16 00:06:07 -07:00
Frederik Rietdijk 27f6f9409b
Merge pull request #33967 from yegortimoshenko/20180117.050213/mornfall
maintainers: remove mornfall from packages
2018-01-18 11:27:31 +01:00
adisbladis 43d1a38b8d
dpkg: 1.19.0.4 -> 1.19.0.5 2018-01-18 02:24:23 +08:00
Yegor Timoshenko 506c89c30a maintainers: remove mornfall from packages 2018-01-17 05:17:33 +00:00
Tobias Geerinckx-Rice 0f84673f3d
Remove nckx as a maintainer for all packages
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
adisbladis b972139a59 dpkg: 1.18.24 -> 1.19.0.4 (#30854)
* dpkg: 1.18.24 -> 1.19.0.4

* dpkg: just use one substituteInPlace call
2017-10-28 10:07:43 +01:00
Rickard Nilsson 3c136e5fa4 dpkg: 1.18.18 -> 1.18.24
Fixes CVE-2017-8283
2017-08-14 14:00:12 +02:00
mimadrid 09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Franz Pletz 2a7707cf5c
dpkg: 1.18.15 -> 1.18.18 2017-01-26 03:52:48 +01:00
Tobias Geerinckx-Rice 2034ffdc07
dpkg: 1.18.14 -> 1.18.15 2016-11-16 13:20:32 +01:00
Tobias Geerinckx-Rice 8ef3eaeb4e
dpkg: remove commented old postPatch
This was supposed to be removed in 7f71b89454
since it doesn't appear to be needed any longer.
2016-11-14 05:32:22 +01:00
Tobias Geerinckx-Rice 7f71b89454
dpkg: 1.18.10 -> 1.18.14 2016-11-14 01:45:49 +01:00
Benjamin Staffin 2e88851c61 dpkg: Fix the build on Darwin
There are still some bugs and quirks, but this gets dpkg building at
least, and some parts of it are useful.
2016-09-05 01:14:36 -04:00
Tobias Geerinckx-Rice 80cae1f055
dpkg: 1.18.9 -> 1.18.10 2016-08-04 00:25:20 +02:00
Tobias Geerinckx-Rice ce5c51b406
dpkg: 1.18.8 -> 1.18.9 2016-07-06 19:42:45 +02:00
Tobias Geerinckx-Rice 12c055240d
dpkg: 1.18.7 -> 1.18.8 2016-07-06 15:56:33 +02:00
Tobias Geerinckx-Rice 2cf6c67d15
dpkg: 1.18.6 -> 1.18.7 2016-05-14 16:01:33 +02:00
Tobias Geerinckx-Rice e58cd82e87
dpkg: 1.18.5 -> 1.18.6 2016-05-05 02:16:56 +02:00
Tobias Geerinckx-Rice 6b6463dbd2
dpkg: 1.18.4 -> 1.18.5 2016-05-03 02:01:12 +02:00
Tobias Geerinckx-Rice 99c4f143d9 debian-devscripts: rename from deprecated debian_devscripts 2016-03-24 20:24:00 +01:00
Tobias Geerinckx-Rice 9fb8020e4e Add version attribute where maintainers |= nckx
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00
Tobias Geerinckx-Rice 33e2c9c29a dpkg: 1.18.2 -> 1.18.4 2016-01-19 02:04:18 +01:00
Tobias Geerinckx-Rice 2798b02ad0 Convert some *Flags from strings to lists 2015-11-26 23:45:31 +01:00
Tobias Geerinckx-Rice 80a882e6cc dpkg: 1.18.1 -> 1.18.2 2015-08-31 17:17:33 +02:00
Tobias Geerinckx-Rice 4e5e44140b dpkg, x2goclient: fix evaluation
Bed time.
2015-06-17 23:25:09 +02:00
Tobias Geerinckx-Rice 98b2d7b727 Separate nativeBuildInputs where maintainers |= nckx 2015-06-17 22:21:32 +02:00
Tobias Geerinckx-Rice cf8ea81fe4 dpkg 1.18.0 -> 1.18.1 2015-06-01 04:04:33 +02:00
Tobias Geerinckx-Rice 3c6d34a5d9 dpkg 1.17.25 -> 1.18.0 2015-05-30 21:09:25 +02:00
Tobias Geerinckx-Rice 158e1cfdd0 Don't use "with licenses;" for single licences
And don't use square brackets on such lines.
2015-05-28 19:20:29 +02:00
Tobias Geerinckx-Rice 55edae18f0 dpkg 1.16.9 -> 1.17.25 2015-04-20 04:09:50 +02:00
Pascal Wittmann 8d67b9a240 transformed meta.maintainers of some packages into lists 2014-09-13 13:52:02 +02:00
Petr Rockai 4124bb9ff5 Adopt more packages. 2014-01-28 18:11:00 +01:00
Eelco Dolstra 6751fac418 dpkg: Fix caching of architecture name
Our deb-closure script would causes zillions of invocations of "dpkg
--print-architecture", which is rather slow.
2012-12-04 19:54:44 +01:00
Eelco Dolstra a668efbae2 dpkg: Update to 1.16.9 and fix the Perl-based tools 2012-11-08 16:31:08 +01:00
Michael Raskin 749cc2bf1e Adding Debian devscripts. Mostly for uscan.
I plan to later use uscan for simplifying package updates in some
NixPkgs packages. I have no code for that now.

I added Perl packages File::DesktopEntry and File::BaseDir in a slightly
hascky way because one part of the installation system replaced PREFIX=
with --prefix= and the other complained that it doesn't know what to do
with --prefix=. I checked that a script using File::DesktopEntry works,
and I don't know enough Perl to rewrite buildPerlPackage and hope that
my change is an improvement.

I removed trnaslated manpages because it uses po4a which has some more
Debian-specific dependencies of its own.
2012-10-07 18:02:46 +04:00
Eelco Dolstra 1b5f7622b7 * dpkg updated to 1.4.29.
svn path=/nixpkgs/trunk/; revision=22292
2010-06-16 11:50:06 +00:00
Eelco Dolstra aee659e1e2 * Fix various broken URLs / mirrors.
* Updated tcpdump, ImageMagick, lsof.

svn path=/nixpkgs/trunk/; revision=19847
2010-02-05 22:00:51 +00:00