diff options
Diffstat (limited to 'DOCUMENTATION.md')
-rw-r--r-- | DOCUMENTATION.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 50eeca4..6c68680 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md | |||
@@ -255,3 +255,21 @@ Nextcloud | |||
255 | ``` | 255 | ``` |
256 | - Issues : | 256 | - Issues : |
257 | https://docs.nextcloud.com/server/16/admin_manual/maintenance/manual_upgrade.html | 257 | https://docs.nextcloud.com/server/16/admin_manual/maintenance/manual_upgrade.html |
258 | |||
259 | Flakes | ||
260 | ------ | ||
261 | |||
262 | Due to a bug in nix build, flakes that refer to relative path (input | ||
263 | type "path") don't work when called via an url (nix build git+ssh://some-url). | ||
264 | Relative paths (except in "flakes/private") should be renamed to | ||
265 | git+https urls ideally. E.g.: | ||
266 | ``` | ||
267 | inputs.libspf2 = { | ||
268 | - path = "../libspf2"; | ||
269 | - type = "path"; | ||
270 | + url = "https://git.immae.eu/perso/Immae/Config/Nix.git"; | ||
271 | + type = "git"; | ||
272 | + dir = "flakes/libspf2"; | ||
273 | }; | ||
274 | ``` | ||
275 | |||