Commit graph

140 commits

Author SHA1 Message Date
Jörg Thalheim
c0af3f63f5
Merge pull request #47 from nix-community/travis
ci: make travis output less verbose
2018-07-21 15:21:09 +01:00
Jörg Thalheim
2290918707 ci: make travis output less verbose 2018-07-21 15:12:09 +01:00
Jörg Thalheim
36dd399d0d nur/update.py: fix build when repositories are not available 2018-07-21 15:04:48 +01:00
Jörg Thalheim
d5f571e305 README.md: grammar nit 2018-07-21 14:36:16 +01:00
Travis CI
4a2c035163 automatic update 2018-07-21 10:56:11 +00:00
Jörg Thalheim
b55398d22f remove incorrect nixos module example 2018-07-21 11:31:14 +01:00
Travis CI
d62dd88e21 automatic update 2018-07-21 08:56:49 +00:00
Travis CI
2251294062 automatic update 2018-07-21 08:11:28 +00:00
Travis CI
f42d5f397e automatic update 2018-07-20 23:02:27 +00:00
Travis CI
38bd3bb33e automatic update 2018-07-20 20:33:36 +00:00
Travis CI
f8e3e44e2a automatic update 2018-07-20 20:02:12 +00:00
Travis CI
b173063400 automatic update 2018-07-20 18:36:30 +00:00
Silvan Mosberger
0dffdf2263
Merge pull request #27 from Infinisil/modules
NixOS module support: Separate NUR nixpkgs from repos nixpkgs, avoid callPackages
2018-07-20 20:23:41 +02:00
Silvan Mosberger
993df1d627
Update docs
- changes for new style of invoking NUR (passing pkgs argument)
- Using fetchTarball instead of fetchGit for speed
- Add more sections to readme
2018-07-20 04:36:21 +02:00
Silvan Mosberger
270aa18898
Update python script for new syntax 2018-07-20 04:36:21 +02:00
Silvan Mosberger
ee65c7afd6
Separate NUR nixpkgs from repos nixpkgs, avoid callPackages
This is essential to get modules in NUR to work. By taking a separate
argument for NUR's nixpkgs (for fetchgit, fetchzip and lib), we don't
need to evaluate the nixpkgs used for repos.

This also implies that you won't be able to `callPackage` NUR anymore,
and instead you'll have to use `import (builtins.fetchGit ".../NUR") {
inherit pkgs; }` instead. Doing this also prevents the evaluation of
pkgs. In case of NixOS, this pkgs depends on your whole config, which is
the source of the recursion. Evaluating this at the last possible moment
is key.

This also means that you won't be able to take package arguments in a
repo definition, you instead get just `pkgs`, also to avoid evaluation
of it.

An error will be thrown when pkgs was required for evaluation but wasn't
passed to the NUR import

The old callPackage syntax will still be supported albeit with a warning

Also repos receive a lib argument,
Using this lib instead of pkgs.lib makes it possible to define library
functions that use other library functions without depending on pkgs ->
should prevent some infinite recursion cases for NixOS module usage.
2018-07-20 04:36:18 +02:00
Travis CI
7e170737b7 automatic update 2018-07-19 23:02:07 +00:00
Travis CI
222f6ffcaa automatic update 2018-07-19 12:03:06 +00:00
Travis CI
a4ee264426 automatic update 2018-07-19 11:43:40 +00:00
Jörg Thalheim
af217ae3cc
Merge pull request #44 from tilpner/submodules
Default attr.type to null
2018-07-19 10:52:46 +01:00
tilpner
d307bacb48
Default attr.type to null 2018-07-19 11:47:12 +02:00
Travis CI
2dabb25707 automatic update 2018-07-18 23:34:00 +00:00
Jörg Thalheim
eee0fcf87b
Merge pull request #41 from mpickering/add-mpickering
Add submodule attribute to mpickering
2018-07-19 00:32:22 +01:00
Jörg Thalheim
be7f846cd8
add nur/format-manifest.py reminder
quick workaround for #42
2018-07-18 23:06:45 +01:00
Matthew Pickering
ca0ff16009 Add submodule attribute to mpickering 2018-07-18 17:42:42 +00:00
Travis CI
3a6a6f4da7 automatic update 2018-07-18 09:49:28 +00:00
Travis CI
5c741375c0 automatic update 2018-07-17 23:04:39 +00:00
Travis CI
8ff5506477 automatic update 2018-07-17 19:41:54 +00:00
Travis CI
c6a51f6bcb automatic update 2018-07-17 19:30:38 +00:00
Jörg Thalheim
414d6ae80f
Merge pull request #39 from tilpner/master
repos: add 'tilpner' repo
2018-07-17 20:16:21 +01:00
tilpner
00625d9550
repos: add 'tilpner' repo 2018-07-17 20:12:35 +02:00
Travis CI
669c376322 automatic update 2018-07-17 14:32:45 +00:00
Travis CI
f084c8b30f automatic update 2018-07-16 20:01:18 +00:00
Jörg Thalheim
ce268cce26
Merge pull request #38 from dtzWill/master
add 'dtz' repo
2018-07-16 13:44:26 -04:00
Will Dietz
fc9196c194 repos: add "dtz" repo 2018-07-16 11:38:19 -05:00
Jörg Thalheim
f536c2087c
Merge pull request #37 from nix-community/cleanup
improve gitlab support
2018-07-16 11:09:30 -04:00
Jörg Thalheim
126df71d94 improve gitlab support 2018-07-16 11:06:08 -04:00
Travis CI
0f6757df0a automatic update 2018-07-16 13:00:58 +00:00
Travis CI
69622eb2ac automatic update 2018-07-16 12:39:15 +00:00
Travis CI
f2ba96874b automatic update 2018-07-16 11:52:26 +00:00
Travis CI
1d483602b9 automatic update 2018-07-16 11:41:48 +00:00
Travis CI
e64a551798 automatic update 2018-07-16 11:34:51 +00:00
Jörg Thalheim
50ce060a9d
Merge pull request #36 from nix-community/cleanup
make scripts names more consistent
2018-07-15 13:50:45 -04:00
Jörg Thalheim
04d8a06b24 make scripts names more consistent 2018-07-15 13:48:51 -04:00
Travis CI
bc973e25f9 automatic update 2018-07-15 16:33:02 +00:00
Jörg Thalheim
e58ccdc2dc document how to use nur-update 2018-07-15 10:58:23 -04:00
Travis CI
4ff2dd39ab automatic update 2018-07-15 14:31:20 +00:00
Jörg Thalheim
73e9be1371 travis: fix condition for exporting ssh keys 2018-07-15 10:23:58 -04:00
Jörg Thalheim
9af9706268 travis: also export ssh key for api triggered rebuilds 2018-07-15 10:17:12 -04:00
Jörg Thalheim
00124ab1c8 travis: fix condition when to update repository 2018-07-15 10:10:36 -04:00