Commit Graph

20 Commits

Author SHA1 Message Date
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
Andrew Fontaine
98bb827799
runit: Add Darwin Compatibility
Not much modification is required to build and run runit on MacOS, all
that was needed was to follow runit's instructions [0] with some
guidance from homebrew's formula. [1]

0: http://smarden.org/runit/install.html
1: https://github.com/Homebrew/homebrew-core/blob/1cf1e61/Formula/runit.rb
2020-06-01 17:11:51 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Rickard Nilsson
225e412edb Remove myself as maintainer of some packages. 2019-08-20 15:24:01 +02: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
Ben Gamari
6971c503af runit: Enable cross-compilation 2018-05-03 17:06:00 -04:00
Daiderd Jordan
713ff855e0
runit: mark linux only
/cc ZHF #36454
2018-03-25 15:03:05 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Jörg Thalheim
712d26d437 runit: disable uid check during install 2017-07-01 19:00:07 +01:00
Joachim Fasting
5a04a30653
runit: replace hardcoded /sbin/runit with in-store runit binary
runit-init calls the runit executable as /sbin/runit, which
obviously fails for us.

This should improve support for using runit as an init replacement.
2017-04-23 11:00:55 +02:00
Joachim Fasting
160b9ab43f
runit: explain what static actually does 2017-04-23 11:00:53 +02:00
Joachim Fasting
525b250052
runit: optionally build static runit{,-init}
May be useful in initrd along with statically linked busybox.
2016-08-29 04:08:38 +02:00
Joachim Fasting
ac193edd2d
runit: support building with clangStdenv 2016-08-27 11:49:26 +02:00
Joachim Fasting
84f73f1e2e
runit: refactor, add man output 2016-08-26 18:12:41 +02:00
michael bishop
85b87796ae
runit: fix closure size 2016-06-03 06:46:54 -03:00
Nikolay Amiantov
7a37ac15b3 runit: fix build 2016-04-30 05:32:28 +03:00
Eelco Dolstra
61cca2cadf meta.homePage -> homepage 2015-04-20 14:20:03 +02:00
Rickard Nilsson
6960149b03 New package: runit 2.1.2 2014-10-15 13:08:22 +02:00