Commit Graph

61 Commits

Author SHA1 Message Date
Gytis Ivaskevicius
724fbc3c84
ci: update and speed up CI 2023-10-02 23:26:27 +03:00
Gytis Ivaskevicius
170d7a3c78
Merge pull request #137 from andrevmatos/fix_nixpkgs_config
fix passing nixpkgs.config if nixpkgs.pkgs.config is present
2023-10-02 23:00:55 +03:00
André Vitor de Lima Matos
671cad9ada
fix passing nixpkgs.config if nixpkgs.pkgs.config is present
Fix gytis-ivaskevicius/flake-utils-plus#136, caused by NixOS/nixpkgs#257458
2023-10-02 13:54:47 -03:00
Maksymilian Jodłowski
7a8d789d4d 🐛 Check all attributes for devshell legacyPackages 2023-05-13 19:45:06 +02:00
sohalt
6b42722b28 typos 2022-06-21 17:17:36 +02:00
Ben Buscarino
c79610d9d2 Formatting 2022-05-13 12:59:08 -04:00
Ben Buscarino
062bc257bd Hacky fix for darwin 2022-04-29 00:37:11 -04:00
Gytis Ivaskevicius
f35583bea0 Fix Same condition as previous if expression #109 2022-03-14 13:24:47 +02:00
Gytis Ivaskevicius
baf73049d1 Fix #105 generateNixPathFromInputs should use a dir entry instead of per-flake entries 2022-03-14 13:20:20 +02:00
Gytis Ivaskevicius
1c8926cd26 Fix #106 generateNixPathFromInputs == true && linkInputs == false should be an error 2022-03-14 13:02:40 +02:00
Gytis Ivaskevicius
6c76c06f9d Remove ca-references as per #112 2022-03-14 12:34:30 +02: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
be1be083af Fix deprecation warning 2021-12-13 10:43:48 +02:00
GTrunSec
949f7028b1
remove ca-references on nix2.5pre 2021-11-20 11:33:59 -08:00
Gytis Ivaskevicius
9651c19f89 Add 'fake-system' to 'fakePkgs' 2021-11-06 16:01:04 +02:00
Gytis Ivaskevicius
9d743bef39 Add a couple of extra checks to exportOverlays function 2021-11-06 15:29:27 +02:00
Gytis Ivaskevicius
8cd9fd963f Remove outputsBuilder from base attributeset 2021-09-07 16:04:03 +03:00
Gytis Ivaskevicius
08d7921714 Remove deprecated code 2021-09-05 22:45:27 +03:00
Gytis Ivaskevicius
b4848f55c7 Fix typo 2021-09-05 18:31:47 +03:00
Gytis Ivaskevicius
8a307b869c Add NIX_PATH and linkInputs option 2021-09-05 17:40:36 +03:00
Gytis Ivaskevicius
cb44a3f0e8 Update channels selection filter logic 2021-09-04 20:14:39 -05:00
Gytis Ivaskevicius
e1eddbd4b1 Update channels selection filter logic 2021-09-04 20:14:39 -05:00
Gytis Ivaskevicius
ecfd19c7b9 Tweak repl implementation 2021-09-04 20:14:39 -05:00
David Arnold
51a82925db
fix: reverse rakeLeaves implementation for exportModules
exportModules was intended to receive a list of paths-to-modules or
modules as arguments.

`rakeLeaves` is usually called before passing the resulting modules
to this function, flattened (digga's `flattenTree`) and stripped of
their name (`builtins.attrValues`) given by `rakeLeaves`.

`rakeLeaves` holds path types for its leaves.
2021-07-23 15:25:52 -05:00
David Arnold
ea46e02fb8
fix: exportModules can be a function or attrs
check first, since the path check implementation (builtins.pathExists)
expects a string coercible (function is not!)


fixes: #85
2021-07-20 18:59:59 -05:00
Mihai Fufezan
0f7b21670b
rename export{Overlays,Packages} 2021-07-21 00:12:09 +03:00
Mihai Fufezan
22256e8560
fix formatting 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
f53affea95 flake.nix: change functions to new names 2021-07-19 01:02:22 +03:00
Mihai Fufezan
1675f4605f move functions to lib/internal-functions.nix 2021-07-19 01:02:22 +03:00
David Arnold
5c6ee69f69 imp: make output dynamic according to outputsBuilder
towards #79
2021-07-14 13:45:44 -05:00
Gytis Ivaskevicius
c94a68e3cb Fix formatting 2021-07-09 17:47:54 +03:00
Gytis Ivaskevicius
f0cbd4d782 Use extra-experimental-features instead of experimental-features 2021-07-09 17:44:49 +03:00
Gytis Ivaskevicius
0a8e4005a3 Add mkDefault to extra-options 2021-07-03 17:59:47 +03:00
Gytis Ivaskevicius
438316a7b7 Add loadFlake function 2021-06-25 08:39:15 +03:00
Gytis Ivaskevicius
5cf2e3efb1 71: Fix repl reproducability 2021-06-25 08:19:04 +03:00
Gytis Ivaskevicius
490c38a486 Allow repl open even if flake was not found 2021-06-25 08:15:33 +03:00
Gytis Ivaskevicius
91cad97a01 Fix repl paths checking 2021-06-20 15:47:05 +03:00
Gytis Ivaskevicius
68983c1db8 Make 'self' flake to always exist as part of the registry 2021-06-20 15:46:39 +03:00
Gytis Ivaskevicius
b87458d530 Make repl find system flake path more dynamically 2021-06-20 15:33:24 +03:00
Gytis Ivaskevicius
f60eb469be Seperate repl overlay and implement help menu 2021-06-20 15:17:25 +03:00
David Arnold
785e6f13b8
fixup! modulesFromList: infer names from paths or modules's _file attr 2021-06-19 13:53:13 -05:00
David Arnold
e9cfad74a7 modulesFromList: infer names from paths or modules's _file attr 2021-06-15 12:03:16 -05:00
David Arnold
cfe0181cbb Revert "modulesFromList: allow for import customization"
This reverts commit 8d8f9d734d.

We need an alternative implementation that uses already imported
module's metadata to infer the name.
2021-06-15 12:03:16 -05:00
Pacman99
247c99f20e systemFlake: set __dontExport for fupOverlay 2021-06-01 12:51:10 -07:00
Pacman99
10096872a0 don't append overlays manually when passing pkgs
overlays get appended by nixpkgs module
2021-06-01 08:23:05 -05:00
David Arnold
7f2371107b
fixup 2021-05-31 12:44:53 -05:00
David Arnold
9e93efb4c7 fix: naming 2021-05-31 12:21:55 -05:00
David Arnold
4ee8645273 fix/style: pull used builtins in scope
That's how we do it.
2021-05-31 12:21:55 -05:00
David Arnold
ae2bb108a6 fix: if domain is not set, pass a default only to remain overridable. 2021-05-31 12:21:55 -05:00