3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

14 commits

Author SHA1 Message Date
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
Vladimír Čunát 753a2371d3
makeself: add which to inputs
I've been unable to reproduce the problem that repeatedly manifests
on Hydra, but this change is cheap.  Close #89343 (thanks).
2020-08-15 14:05:28 +02:00
Keshav Kini 3f00b95282 makeself: 2.4.0 -> 2.4.2
Upstream now provides a Makefile that builds a self-extracting installer and
also has a test target.  We don't need the self-extracting installer, but we
might as well build it anyway as an additional test.
2020-04-27 16:56:41 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +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
Keshav Kini eb84586cad makeself: backport megastep/makeself#142
Currently, a self-extracting archive created by makeself will fail to
properly execute on NixOS because the boilerplate Bash code it uses to
clean up the temporary directory it extracted its contents into
assumes that the `rm` command is installed at `/bin/rm`, which is not
the case on NixOS.

This commit, a backport of a pull request I made to the upstream
repository at megastep/makeself#142, fixes the issue by causing the
boilerplate code to call `rm` without specifying an absolute path,
which allows the version of `rm` from one's current Nix environment to
be used instead.
2018-10-03 10:31:58 -07:00
R. RyanTM 1bb22952ce makeself: 2.3.1 -> 2.4.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/makeself/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/5j88qgnbbry87m8164s0a9agvz92z36q-makeself-2.4.0/bin/makeself -v’ and found version 2.4.0
- ran ‘/nix/store/5j88qgnbbry87m8164s0a9agvz92z36q-makeself-2.4.0/bin/makeself --version’ and found version 2.4.0
- found 2.4.0 with grep in /nix/store/5j88qgnbbry87m8164s0a9agvz92z36q-makeself-2.4.0
- directory tree listing: https://gist.github.com/5a4661783df3d9d6558c8f6670385b79
2018-05-03 16:27:24 +02:00
jammerful 25ea55046d makeself: 2.2.0 -> 2.3.1 2017-10-23 19:22:01 -04:00
Matthew Bauer a221ff5569 makeself: header wasn't being patched correctly 2016-06-14 19:17:29 +00:00
Dan Peebles 1eab39cdce makeself: fix patch to find the makeself header properly 2016-05-04 16:39:24 +00:00
Bjørn Forsman 3a060bbcc6 Add missing 's' in remaining meta.maintainer(s) attrs 2014-07-22 23:49:21 +02:00
Wout Mertens ea4207f7a3 makeself: bump to 2.2.0 2014-06-30 16:10:04 +02:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
David Guibert 5ba7793e33 new makeself: 2.1.5
svn path=/nixpkgs/trunk/; revision=25743
2011-02-01 23:24:13 +00:00