Commit Graph

14 Commits

Author SHA1 Message Date
figsoda
0d6cac9f5a pkgs/tools/system: remove dead code 2023-07-25 12:12:44 -04:00
Dmitry Bogatov
f538c07f2e
datefudge: work correctly even if GNU date is not in PATH (#94045)
* datefudge: work correctly even if GNU date is not in PATH

Examples in manual assumes advanced features from date(1) like "last
Friday", which only available in GNU coreutils version of date(1)
utility. Without this patch, most examples from datefudge(1) manual will
fail in busybox environment, which is confusing.

* Apply suggestions from code review

* Update pkgs/tools/system/datefudge/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-01 21:15:50 +01: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
Michiel Leenaars
aedccac4e8 datefudge: use tag instead of manual rev 2020-07-27 00:31:07 +02:00
Michiel Leenaars
785b541ed6 datefudge: 1.23 -> 1.24 2020-07-27 00:15:38 +02:00
Maximilian Bosch
7193603c5f
datefudge: fix build w/glibc-2.31
https://hydra.nixos.org/build/122874972
2020-06-29 14:41:42 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Michiel Leenaars
14bb6f07df datefudge: 1.22 -> 1.23 2019-09-10 10:00:11 +02:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +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
Jan Malakhovski
1e7516a31c datefudge: fix src
Debian's anonscm is dead, they use a Gitlab instance now.
2018-11-17 10:16:32 +00:00
Michiel Leenaars
0c6afc94bc datefudge: 1.21 => 1.22 2017-10-27 22:22:33 +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
Michiel Leenaars
b250898855 datefudge: init at 1.2.1 2016-08-09 14:58:16 +02:00