Commit Graph

52 Commits

Author SHA1 Message Date
R. Ryantm
f3d9f4623d hello: 2.12 -> 2.12.1 2022-07-31 15:01:33 +00:00
Robert Hensing
0e00acafe9 stdenv.mkDerivation: public -> finalPackage 2022-05-02 08:49:33 +02:00
Robert Hensing
f066dddaa5 hello: Make pname overridable without breaking src.url 2022-05-02 08:49:32 +02:00
Robert Hensing
d629ba27d9 Use finalAttrs instead of self for mkDerivation "overlay" 2022-05-02 08:49:31 +02:00
Robert Hensing
6d7efb3a16 stdenv.mkDerivation: Make self more overlay-like; use self.public
`self` is now arguments, like `super`. The final package is in
`self.public`.
2022-05-02 08:49:31 +02:00
Robert Hensing
40ab3b8738 hello: Use callPackage for test 2022-05-02 08:49:30 +02:00
Robert Hensing
2afc03a084 hello: Define a passthru test via new mkDerivation self arg 2022-05-02 08:49:30 +02:00
Artturin
250ef1ff39 testers.testVersion: move from trivial-builders.nix
we will have more testers in the future so they should have their own
location

putting 'testers' in args will also make it simpler to use multiple testers
2022-04-22 16:22:40 +03:00
Artturin
52a744b7f8 testers.testEqualDerivation: move from build-support/test-equal-derivation.nix 2022-04-20 15:44:40 +03:00
zowoq
6958276347 Revert "Revert "hello: 2.10 -> 2.12" (#158328)"
This reverts commit 598c791f2c.
2022-02-08 08:54:18 +10:00
zowoq
598c791f2c
Revert "hello: 2.10 -> 2.12" (#158328)
This reverts commit 3e4412db9c.

broke `stdenvBootstrapTools.x86_64-darwin.test`, blocking nixpkgs-unstable
2022-02-06 03:00:34 -05:00
Sergei Trofimovich
3e4412db9c
hello: 2.10 -> 2.12 (#156591) 2022-02-02 00:27:00 -05:00
Robert Hensing
0edf0fd220 hello: Test independence of environment.noXlibs 2022-01-08 15:18:57 +01:00
Arnout Engelen
b68130fd2c
test-utilities: version test
Extract 'version test' to a reusable test utility as discussed in
https://github.com/NixOS/nixpkgs/pull/119636#issuecomment-826137021 and
2021-05-07 09:53:35 +02: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
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
Michael Raskin
76e2a96475
Changelog meta entry (#60371)
meta.changelog: enable, document, add for GNU Hello
2019-05-10 16:55:29 +00:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Jan Malakhovski
ee1550b763 hello-unfree: init at 1.0 (#41763)
Also add `version` attribute to GNU `hello` while we are at it.
2018-06-09 22:14:36 +02:00
Dmitry Kalinkin
3dd6350420
doc: use "with stdenv.lib" in meta 2018-05-22 13:25:09 -04:00
Michael Raskin
bd8cd3eaed Revert switching hello to fetchipfs, re: #18296 2017-11-13 17:45:16 +01:00
Vladimír Čunát
f6655ba128
bootstrap tools test: fixup after d71833ee36 2017-11-11 21:41:42 +01:00
knupfer
d71833ee36 fetchipfs: init
Fixes #18296
2017-11-04 23:01:27 +01:00
Vladimír Čunát
ee23909dc6 hello: doCheck = true; again
Close #17573.
2016-08-07 17:17:34 +02:00
Eelco Dolstra
645441c207 hello/ex-2 -> hello 2015-09-22 20:23:23 +02:00
Eelco Dolstra
2a28bc6691 separateDebugInfo: Assert Linux
Also remove some unintended setting of separateDebugInfo.
2015-09-22 20:21:10 +02:00
Eelco Dolstra
ec5b66eb4a Enable separate debug info
You can now pass

  separateDebugInfo = true;

to mkDerivation. This causes debug info to be separated from ELF
binaries and stored in the "debug" output. The advantage is that it
enables installing lean binaries, while still having the ability to
make sense of core dumps, etc.
2015-09-17 15:56:33 +02:00
Pascal Wittmann
26939eee79 Remove unreferenced files
This commit removes files that are not referenced in nixpkgs anymore. I
have created this list by finding potential candidates using

  find nixpkgs/pkgs -type d -links 2 | parallel -N 1 'out=`grep -L {}  top-level/all-packages.nix`;  test -n "$out" && echo  {}'

and have then searched for those candidates with grep in whole nixpkgs.
2015-08-13 18:29:49 +02:00
Ludovic Courtès
41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Eelco Dolstra
b205cdc8d6 hello: Update to 2.10 2014-11-16 22:41:38 +01:00
Domen Kožar
e3319eb73d doc: modernize meta attributes documentation 2014-07-27 13:54:37 +02:00
Nixpkgs Monitor
a49d2ee8b5 hello: update from 2.8 to 2.9 2013-12-15 13:05:36 +02:00
Shea Levy
57e1ad943e hello: Update to 2.8 2012-07-09 04:06:36 -04:00
Eelco Dolstra
2bf7aa7040 * Remove dummy line that got committed accidentally.
svn path=/nixpkgs/trunk/; revision=27218
2011-05-11 11:06:57 +00:00
Shea Levy
6cfe0b0a9e Important version bump
svn path=/nixpkgs/trunk/; revision=26657
2011-04-01 14:57:36 +00:00
Eelco Dolstra
009bfb702d * Sync with the trunk.
svn path=/nixpkgs/branches/cve-2010-3856/; revision=24921
2010-11-29 16:03:36 +00:00
Ludovic Courtès
714937bfa3 GNU Hello 2.6.
svn path=/nixpkgs/trunk/; revision=21707
2010-05-10 14:30:39 +00:00
Eelco Dolstra
b0376d16a2 * Updated GNU hello to 2.5. This also gets rid of the unintentional
"hello-2.3x26" commit.

svn path=/nixpkgs/trunk/; revision=19877
2010-02-09 10:41:39 +00:00
Eelco Dolstra
631ea03875 * Fix / disable some packages that give evaluation errors in Hydra.
svn path=/nixpkgs/trunk/; revision=19833
2010-02-05 14:13:25 +00:00
Eelco Dolstra
d97069da1a * Quick start section.
* Updated some packages that are referenced in that section.

svn path=/nixpkgs/trunk/; revision=12139
2008-06-17 14:19:59 +00:00
Yury G. Kudryashov
81aac8d84d meta.homepage added to several packages
svn path=/nixpkgs/trunk/; revision=10417
2008-01-30 19:49:42 +00:00
Eelco Dolstra
544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
6006d61835 * Added a bunch of descriptions.
svn path=/nixpkgs/trunk/; revision=6705
2006-10-11 16:45:55 +00:00
Eelco Dolstra
82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra
454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Eelco Dolstra
a44af44555 * Example 2.
svn path=/nixpkgs/trunk/; revision=1703
2004-11-05 20:54:19 +00:00
Eelco Dolstra
90fc1d314c * Sync example with manual.
svn path=/nixpkgs/trunk/; revision=1687
2004-11-04 20:19:42 +00:00