Commit graph

18 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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
755db0b689
treewide: installTargets is a list 2019-12-31 00:25:26 +01: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
Ryan Mulligan
4ef48a5569 fcron: 3.2.1 -> 3.3.0
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcrontab -h` got 0 exit code
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcrontab --help` got 0 exit code
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcrontab help` got 0 exit code
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcronsighup -h` got 0 exit code
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcronsighup --help` got 0 exit code
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcronsighup help` got 0 exit code
- ran `/nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0/bin/fcrondyn -V` and found version 3.3.0
- found 3.3.0 with grep in /nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0
- found 3.3.0 in filename of file in /nix/store/dmh101f0pbqggvjywh5dfgmi1i8sh3ic-fcron-3.3.0
2018-02-25 21:21:55 -08:00
Jörg Thalheim
82fda65c8a
fcron: add missing meta.platforms 2017-03-05 23:41:42 +01:00
Jörg Thalheim
947815f59f
fcron: 3.1.2 -> 3.2.1
fixes #23320 #23413
2017-03-05 22:41:11 +01:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Moritz Ulrich
65e5dd8f99 Fcron: Disable checks for root{name,group} and others.
This fixes building fcron. It was complaining it couldn't check root's
user name and the suggested flag (--with-rootname) didn't do anything.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-08-27 22:22:57 +02:00
Domen Kožar
e0819b1e26 fcron: 3.0.4 -> 3.1.2 2013-08-23 15:06:07 +02:00
Eelco Dolstra
4bf5b0d36b * Fix some more "args: with args".
svn path=/nixpkgs/trunk/; revision=22828
2010-07-30 14:47:23 +00:00
Marc Weber
79536f8240 fix fcron: don't check for /var/setuid-wrappers/sendmail
svn path=/nixpkgs/trunk/; revision=13435
2008-11-26 14:38:16 +00:00
Michael Raskin
044c4dfe9f Fix shebang in more scripts...
svn path=/nixpkgs/trunk/; revision=13393
2008-11-24 22:36:39 +00:00
Marc Weber
6fb6ecff1e fix fcron: don't try to create /etc/fcron.{allow,deny,conf}
svn path=/nixpkgs/trunk/; revision=13391
2008-11-24 22:30:58 +00:00
Marc Weber
26212b62c7 (last) fcron fix for now because the service works as expected
svn path=/nixpkgs/trunk/; revision=13368
2008-11-22 16:57:31 +00:00
Marc Weber
eb0f06a162 default locations for fcron config settings (don't use store path)
svn path=/nixpkgs/trunk/; revision=13366
2008-11-21 23:53:31 +00:00
Marc Weber
b9173d8755 added fcron
svn path=/nixpkgs/trunk/; revision=13192
2008-11-04 21:40:39 +00:00