Ben Buscarino
0e0cc7b28d
Fix tests
2022-05-13 12:52:06 -04:00
Gytis Ivaskevicius
7bf16bd123
Merge pull request #110 from Pacman99/genPkgOverlay
...
Add function, genPkgOverlay, to create an overlay for an input's package
2022-03-14 12:29:15 +02:00
Michael Hoang
2d31573e5c
Export autoGenFromInputs
module for nix-darwin
...
I recently realized that there's little difference between NixOS,
nix-darwin and home-manager's module systems, so modules should work
across them as long as the options are implemented.
2022-01-31 13:10:43 +11:00
Parthiv Seetharaman
58d28eafeb
Add function, genPkgOverlay, to create an overlay for an input's package
2022-01-13 17:33:51 -08:00
Gytis Ivaskevicius
024c6561be
Remove few deprecated function renames
2021-09-05 22:51:20 +03:00
Gytis Ivaskevicius
bcdf6968cf
Remove repl path attribute since it is deprecated
2021-09-05 22:45:28 +03:00
Gytis Ivaskevicius
08d7921714
Remove deprecated code
2021-09-05 22:45:27 +03:00
Gytis Ivaskevicius
d095b5d963
Fix missing channel.shortRev when executing tests locally
2021-09-05 18:26:53 +03:00
Gytis Ivaskevicius
8a307b869c
Add NIX_PATH and linkInputs option
2021-09-05 17:40:36 +03:00
Gytis Ivaskevicius
a79a0b86e5
Fix modulesFromList deprecation
2021-08-13 14:59:45 +03:00
Mihai Fufezan
0f7b21670b
rename export{Overlays,Packages}
2021-07-21 00:12:09 +03:00
Mihai Fufezan
d5cd10dfb2
properly call internal lib
2021-07-21 00:12:02 +03:00
Mihai Fufezan
a9c80ba18a
flake.nix: move internal-functions to own attrset
2021-07-19 15:09:49 +03:00
Mihai Fufezan
f53affea95
flake.nix: change functions to new names
2021-07-19 01:02:22 +03:00
Gytis Ivaskevicius
f60eb469be
Seperate repl overlay and implement help menu
2021-06-20 15:17:25 +03:00
Gytis Ivaskevicius
12917cba31
#63 : Replace saneFlakeDefaults with nix.generateRegistryFromInputs option
2021-05-23 18:25:52 +03:00
Gytis Ivaskevicius
19dc794280
Rename lib to src
2021-05-23 14:27:33 +03:00
Gytis Ivaskevicius
f4d05364b8
Work on tests and restructoring ( #54 )
...
* Add tests/derivation-outputs
* Remove cases covered by tests
* Add channel patching test cases
* Remove patching code leftovers as part of the example
* Remove Summer CI
* Add tests/overlays-flow
* Fix devshell root path
* Fix overlays tests
* Cleanup tests
* Work on hosts config test
* Add rm-locks command
* Add validation for host options inheritance
* Evaluate builder
* Add examples/minimal-multichannel
* Add examples/home-manager+nur+neovim
* Add examples/exporters
* Remove examples/fully-featured
* Remove devshell.toml
* Moving files around
* Fix rm-locks command and add exporters build
* Improve devshell
2021-05-15 16:47:15 +03:00
Pacman99
8eb7f92067
export mergeAny in public lib
2021-04-27 09:08:40 -05:00
David Arnold
b608376888
add simple devshell & align dev and ci environment
2021-04-26 07:08:55 -05:00
Gytis Ivaskevicius
83c604e72e
Fix few issues + clenaup
2021-04-18 08:58:47 +03:00
David Arnold
a8023769f2
add: lib.builders.packagesFromOverlaysBuiderConstructer
...
Constructor, that with the help of channels dependency constructs a
packagesFromOverlaysBuilder that outputs all packages defined
in overlays that do not break flake checks.
Good for sharing binary cached packages. Any package that would
break nix flake check (e.g. because it is marked as broken) cannot
be shared via this mechanism, and the alternative via overlays has to be
used.
2021-04-16 13:48:34 -05:00
David Arnold
a02bd4ff6d
add: lib.exporter.overlaysFromChanelsExporter
...
overlaysFromChanelsExporter generates a flat namsepaced overlay
attribute set that exports every overlay key from every channel
individually.
Good for users that want to pull in individual overlays and evaluate
them with their own dependencies.
2021-04-16 13:48:34 -05:00
David Arnold
25deb8a4b0
ref: move lib.modulesFromList -> lib.exporter.modulesFromListExporter
...
This prepares for adding additional exporters and builders in following
commits.
The implementation of modulesFromList is no changed in any way.
2021-04-16 13:48:34 -05:00
Gytis Ivaskevicius
60c2c8e33d
Cleanup
2021-04-14 20:48:02 +03:00
Gytis Ivaskevicius
5f3255723a
Improve documentation
2021-03-28 22:35:11 +03:00
Gytis Ivaskevicius
c47674a1e7
Enforce extra argument 'inputs' and cleanup codebase
2021-03-28 22:35:11 +03:00
Gytis Ivaskevicius
2d13bfdf0b
Add replApp
2021-03-28 22:35:11 +03:00
Gytis Ivaskevicius
638a49c2c3
Remove deprecated functions
2021-03-28 22:35:11 +03:00
Gytis Ivaskevicius
97ed9fbb48
Remove 'modulesFromDir' function
2021-03-21 12:06:54 +02:00
Gytis Ivaskevicius
48eb917bb3
Improve documentation
2021-03-21 11:41:29 +02:00
Gytis Ivaskevicius
c247220156
Remove Darwin code since implementation will need to be different
2021-03-21 11:13:09 +02:00
Gytis Ivaskevicius
62780b5b65
Add nixosModules.saneFlakeDefaults
2021-03-21 10:34:06 +02:00
Gytis Ivaskevicius
b96bd1a806
Add and functions
2021-03-19 23:18:27 +02:00
Gytis Ivaskevicius
d1ee0e5bff
Add supportedSystems option and inherit
2021-03-15 20:25:27 +02:00
Gytis Ivaskevicius
330244529e
Add flake-utils
2021-03-14 14:26:29 +02:00
Gytis Ivaskevicius
e2d0f38c28
Add ca-references
2021-03-14 12:45:47 +02:00
Gytis Ivaskevicius
f28c31b661
Initial commit
2021-03-13 15:39:03 +02:00