Commit Graph

19 Commits

Author SHA1 Message Date
Ben Siraphob
872973d7d1 pkgs/servers: stdenv.lib -> lib 2021-01-15 14:24:03 +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
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer
49455d7bae treewide: replace utillinux refs of {u,}mount
umount and mount are now provided top-level
2018-03-27 18:17:46 -05:00
Matthew Justin Bauer
80aec24b92 Update default.nix 2018-03-27 18:17:45 -05:00
Matthew Bauer
4a9fddc598 unixtools: cleanup 2018-03-27 18:17:45 -05: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
Bjørn Forsman
ed0f2641cb apcupsd: unbreak build
Fix build since commit 093cc00cdd
("cc-wrapper: Always export environment variables for binutils").

The apcupsd build system uses "$(STRIP)" as flags for the "install"
program. Now that $STRIP is the path to the strip binary, we cannot pass
that to "install". Fixes this:

  ...
  COPY  multimon.cgi => /nix/store/...-apcupsd-3.14.14/libexec/cgi-bin
/nix/store/...-coreutils-8.27/bin/install: cannot stat 'strip': No such file or directory
2017-08-15 22:11:14 +02:00
derchris
6786773389 apcupsd: 3.14.13 -> 3.14.14 2016-10-17 15:47:39 +02:00
Lengyel Balázs
c3d9e90f0e Updated apcupsd to version 3.14.13 2015-06-08 09:03:30 +02:00
Bjørn Forsman
1d896c47c9 apcupsd: add missing assert 2014-04-13 20:29:33 +02:00
Bjørn Forsman
694eb12f5f apcupsd: bump 3.14.11 -> 3.14.12 (latest stable)
Release notes:
http://sourceforge.net/p/apcupsd/svn/HEAD/tree/tags/Release-3_14_12/ReleaseNotes
2014-04-13 20:29:33 +02:00
Bjørn Forsman
8bc5ee71e3 apcupsd: update 3.14.10 -> .11 (stable) 2014-02-13 22:52:29 +01:00
Bjørn Forsman
28ac782583 Some description fixes
There are many more packages to fix, this is just a start.

Rules:
 * Don't repeat the package name (not always that easy...)
 * Start with capital letter
 * Don't end with full stop
 * Don't start with "The ..." or "A ..."

I've also added descriptions to some packages and rewritten others.
2013-10-05 19:36:23 +02:00
Bjørn Forsman
480f27b218 apcupsd: use /run/nologin (instead of /etc/nologin) to prevent logins
This is what systemd uses, see "man systemd-user-sessions.service".
2013-07-21 20:58:26 +02:00
Bjørn Forsman
1d59e54ebc apcupsd: fix hostname command patching
The source has HOSTNAME=`hostname` (capture output of hostname command)
but currently it is replaced with HOSTNAME="/path/to/hostname" (which is
just a plain string). Fix it by substituting with
HOSTNAME=`/path/to/hostname`.
2013-07-20 21:44:01 +02:00
Bjørn Forsman
dcd3dad3d9 apcupsd: fix download url 2013-07-17 21:10:56 +02:00
Bjørn Forsman
074898e0db apcupsd: new package
apcupsd is a daemon for controlling APC UPSes.
2013-07-17 20:22:59 +02:00