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
90fc1d314c
* Sync example with manual.
...
svn path=/nixpkgs/trunk/; revision=1687
2004-11-04 20:19:42 +00:00
Eelco Dolstra
12ae5363ea
* Remove trivial builders.
...
* Make builders unexecutable by removing the hash-bang line and
execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
`mkDerivation'. These transformations were all done automatically,
so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.
svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra
256aec2e56
* Added GNU hello.
...
svn path=/nixpkgs/trunk/; revision=555
2003-11-27 12:09:22 +00:00