Commit graph

171 commits

Author SHA1 Message Date
Jörg Thalheim
97ff96075b move repoSource to external file 2018-08-04 17:58:11 +01:00
Jörg Thalheim
daf52a4080 README.md: update roadmap 2018-08-04 17:24:54 +01:00
Jörg Thalheim
805b8884ca README.md: link to repository template
cc @fgaz
2018-08-04 17:07:22 +01:00
Travis CI
5735f03119 automatic update 2018-08-03 23:10:23 +00:00
Travis CI
d6ff87d0a1 automatic update 2018-08-03 21:23:41 +00:00
Jörg Thalheim
2c68a8eca4
Merge pull request #55 from peel/master
repos: adds peel repo
2018-08-03 20:47:31 +01:00
Piotr Limanowski
c80fcf56a5
repos: adds peel repo 2018-08-03 21:38:57 +02:00
Travis CI
eac2d0849e automatic update 2018-08-03 18:55:27 +00:00
Travis CI
18b37d8fa1 automatic update 2018-08-02 23:09:52 +00:00
Travis CI
ddf56172fd automatic update 2018-08-01 23:09:49 +00:00
Travis CI
17afe58f39 automatic update 2018-07-31 23:09:51 +00:00
Travis CI
3315ded858 automatic update 2018-07-30 23:09:16 +00:00
Travis CI
75ac80904c automatic update 2018-07-30 07:55:56 +00:00
Travis CI
1fee1562ec automatic update 2018-07-29 18:30:54 +00:00
Travis CI
cd6f122771 automatic update 2018-07-28 23:08:13 +00:00
Travis CI
00b671ff39 automatic update 2018-07-27 20:03:06 +00:00
Travis CI
88d6d7065e automatic update 2018-07-27 12:44:14 +00:00
Travis CI
5fdbe25abe automatic update 2018-07-27 11:22:27 +00:00
Travis CI
02fdd6f71d automatic update 2018-07-27 09:56:19 +00:00
Jörg Thalheim
383e919f95
Merge pull request #54 from Izorkin/master
repos: add izorkin repo
2018-07-27 10:39:26 +01:00
Izorkin
0b455c9034 repos: add izorkin repo 2018-07-26 15:20:57 +03:00
Travis CI
ffd7ea658a automatic update 2018-07-24 23:04:38 +00:00
Travis CI
d4b8f3a0b6 automatic update 2018-07-24 16:59:59 +00:00
Travis CI
8e68545ad1 automatic update 2018-07-22 23:03:53 +00:00
Travis CI
27c8ed113a automatic update 2018-07-22 16:19:08 +00:00
Jörg Thalheim
ac2e04376f
Merge pull request #50 from tilpner/module-docs
Define modules as paths to functions, not functions
2018-07-22 12:52:05 +01:00
Travis CI
6d16cfa106 automatic update 2018-07-22 10:48:20 +00:00
Travis CI
d195602750 automatic update 2018-07-22 03:28:27 +00:00
Travis CI
295b1e3c02 automatic update 2018-07-21 18:33:33 +00:00
Travis CI
bf8cd984cf automatic update 2018-07-21 16:50:37 +00:00
tilpner
84adcfe5a8
Define modules as paths to functions, not functions
This is to avoid conflicts when imported from multiple locations.

Example: Module nur.repos.foo.modules.bar defines an option.
If nur.repos.foo.modules.bar is a function, importing it from
multiple places will result in defining the option multiple times,
which the module system doesn't support.

If it instead is a path, there won't be a conflict, the option
will only be defined once.
2018-07-21 18:11:09 +02:00
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