| 28 Oct 2021 |
colemickens ๐ณ๏ธโ๐ | * yay for capriciously designed vanity "uris" that were designed primarily with a single platform in mind! | 01:15:23 |
tomberek | what! wow! that should probably be noted somewhere: https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html#examples maybe | 01:34:21 |
colemickens ๐ณ๏ธโ๐ | are the fetchers implemented in just nix? it would be cool to see them pulled out and maybe used instead of flake refs and it being built into nix | 01:40:48 |
colemickens ๐ณ๏ธโ๐ | (if there aren't weird layering problems that would arise) | 01:40:58 |
tomberek | right here: https://github.com/NixOS/nix/tree/master/src/libfetchers | 01:42:16 |
tomberek | One benefit of that instead of the nixpkgs fetchers (https://github.com/NixOS/nixpkgs/tree/master/pkgs/build-support/fetchgit) is that one can more easily utilize credentials and have fewer FODs. | 01:45:42 |
tomberek | There was some work on experimenting with other fetchers: https://github.com/target/nix-fetchers | 01:46:32 |
Hrafn Blรณรฐbรณk | In reply to @enzime:nixos.dev
$ nix flake check "gitlab:veloren/dev%2Fveloren?ref=yusdacra/chore/nix"
[99.1/0.0 MiB DL] downloading 'https://gitlab.com/api/v4/projects/veloren%2Fdev%2Fveloren/repository/archive.tar.gz?sha=dd059588771b7e261e9596f1e4eb121acf5e91a3'
Heh, neat trick. Thanks everyone for figuring it out! | 10:08:35 |
balsoft | In reply to @colemickens:matrix.org Can you url-encode the slash in the repo name? Wow, didn't think of that one | 10:09:59 |
balsoft | Nice | 10:10:04 |
| NixOS Moderation Bot banned David Arnold (blaggacao) (<no reason supplied>). | 20:05:03 |
| 29 Oct 2021 |
| teutat3s joined the room. | 10:40:37 |
| 1 Nov 2021 |
| dariof4 joined the room. | 19:40:44 |
| 2 Nov 2021 |
| Hrafn Blรณรฐbรณk changed their profile picture. | 06:12:21 |
| oliver joined the room. | 19:23:25 |
| tristan changed their profile picture. | 22:52:46 |
| 5 Nov 2021 |
| ulli joined the room. | 16:53:17 |
| 6 Nov 2021 |
| ultranix joined the room. | 03:17:27 |
ultranix | is there a multi language project example using nix flakes? | 03:17:49 |
| Tseb joined the room. | 09:17:15 |
| 7 Nov 2021 |
| kshlm joined the room. | 03:01:37 |
| mkg20001 joined the room. | 10:55:16 |
| 8 Nov 2021 |
| yuu joined the room. | 01:07:50 |
| j0xaf set a profile picture. | 10:13:24 |
IslandUsurper | ultranix, flakes don't particularly care what's in the derivation, so why are you looking for that specifically? Any multi-language project should be pretty easy to convert to flakes. | 15:21:16 |
| Jez (he/him) ๐ฆ๏ธ changed their display name from Jez (he/him) to Jez (he/him) ๐ฆ๏ธ. | 17:11:33 |
| 9 Nov 2021 |
| nurelin set a profile picture. | 16:05:02 |
lovesegfault | Is it possible to have a structure like this with flakes:
foo
โโโ bar
โย ย โโโ flake.nix
โโโ baz
โย ย โโโ flake.nix
โโโ flake.nix
Where bar and baz's flakes use a lib attr exposed by the flake.nix in the parent foo dir?
| 18:37:35 |
lovesegfault | When I try I get error: relative path '../' points outside of its parent's store path '/nix/store/yd4jpnk2l1axgmzzc3qbzdgryd2gdxsf-source' | 18:38:01 |
lovesegfault | cc. Robert Hensing (roberth) who seems to have done some work on relpaths in flakes | 18:38:11 |