Commit Graph

21 Commits

Author SHA1 Message Date
Felix Buehler
540499bf10 os-specific/linux: replace name with pname&version 2021-08-29 11:28:34 +02: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
c3c2e67221
drbd: fix build w/glibc-2.30
Decided to not bump to a later version as they decided to split the repo
which would've made change way more complicated.
2020-01-23 00:21:22 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Nick Spinale
d22575e075 drbd: fix cross-compilation 2019-09-15 15:36:31 +02:00
Markus Kowalewski
c1ed60e64c
drdb: add license 2018-08-30 00:19:08 +02:00
John Ericson
db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
Matthew Bauer
143978a477 treewide: remove platform assertions
linux: readd assertion
2018-05-03 13:09:20 -05:00
Vladimír Čunát
bb87d2c81a
drbd: fix evaluation after #30872 2017-11-04 10:20:39 +01:00
Victor Berger
72b9aad4a2 drbd: Fix incorrect substitution in derivation
Prior to this, the build failed as the generated udev rules file
refers to a non-existing file, due to an incorrect substitution.
2017-06-05 16:20:56 +02:00
Benno Fünfstück
8c0074dd9f drbd: fix output file location (#23541)
drbd was installing files into $out/nix/store/... due to the usage of DESTDIR
(setting both DESTDIR + prefix to $out will cause files to be installed into $out/$out/...)
2017-03-20 22:25:10 +01:00
Vladimír Čunát
d039c87984 Merge branch 'master' into closure-size 2016-02-14 08:33:51 +01:00
Robin Gloster
d2d9b7a7bc drbd: set DESTDIR 2016-02-01 18:11:36 +01:00
Vladimír Čunát
b44d846990 udev: complete rework
- systemd puts all into one output now (except for man),
  because I wasn't able to fix all systemd/udev refernces
  for NixOS to work well
- libudev is now by default *copied* into another path,
  which is what most packages will use as build input :-)
- pkgs.udev = [ libudev.out libudev.dev ]; because there are too many
  references that just put `udev` into build inputs (to rewrite them all),
  also this made "${udev}/foo" fail at *evaluation* time
  so it's easier to catch and change to something more specific
2015-10-04 10:03:53 +02:00
Vladimír Čunát
b7c3c25218 fix ${udev} references (and a few others) 2015-05-05 11:52:08 +02:00
Jan Malakhovski
9f9959599f drbd: hash changed 2015-04-20 15:59:13 +00:00
William A. Kennington III
5c8029e0a1 Upgrade drbd from 8.4.0 -> 8.4.4 2013-11-28 00:52:12 -06:00
Eelco Dolstra
d0c3f05c13 * Apply a patch to propagate the --force flag in the legacy drbdadm to
drbdsetup.  Otherwise "drbdadm primary --force" won't work as
  expected (the kernel will say "State change failed: Need access to
  UpToDate data").

svn path=/nixpkgs/trunk/; revision=30195
2011-11-02 18:54:49 +00:00
Eelco Dolstra
2d2ee447fb * Build the legacy tools.
svn path=/nixpkgs/trunk/; revision=30194
2011-11-02 17:13:38 +00:00
Eelco Dolstra
aa98c7dc02 * Added drbd.
svn path=/nixpkgs/trunk/; revision=30163
2011-11-01 15:21:31 +00:00