diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-08-21 22:09:29 +0200 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-08-21 22:09:29 +0200 |
commit | 27514d58573ce1f844af4ea60afa72c7f58f1cd7 (patch) | |
tree | 4b16c31f73cb72435d03d5e105261143f8ca135f /Referencing a nix flake.md | |
parent | 22675cd8dc75d8b8d4b0f818f5b093efbc364802 (diff) |
Diffstat (limited to 'Referencing a nix flake.md')
-rw-r--r-- | Referencing a nix flake.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Referencing a nix flake.md b/Referencing a nix flake.md new file mode 100644 index 0000000..cf2dec9 --- /dev/null +++ b/Referencing a nix flake.md @@ -0,0 +1,12 @@ +[Documentation](https://nix.dev/manual/nix/2.28/command-ref/new-cli/nix3-flake#flake-references) + +--- + +If no `attrpath` then `default` is tried. + +`github:Owner/repo#attrpath` +`git+https://github.com/NixOS/patchelf?ref=master&rev=f34751b88bd07d7f44f5cd3200fb4122bf916c7e` + +can also reference flakes by just a filesystem path, ie: +`/home/jras/nixos#hieradata`. + |