!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

895 Members
180 Servers

Load older messages


SenderMessageTime
28 Oct 2021
@colemickens:matrix.orgcolemickens ๐Ÿณ๏ธโ€๐ŸŒˆ * yay for capriciously designed vanity "uris" that were designed primarily with a single platform in mind!01:15:23
@tomberek:matrix.orgtomberekwhat! wow! that should probably be noted somewhere: https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake.html#examples maybe01:34:21
@colemickens:matrix.orgcolemickens ๐Ÿณ๏ธโ€๐ŸŒˆ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 nix01:40:48
@colemickens:matrix.orgcolemickens ๐Ÿณ๏ธโ€๐ŸŒˆ(if there aren't weird layering problems that would arise)01:40:58
@tomberek:matrix.orgtomberekright here: https://github.com/NixOS/nix/tree/master/src/libfetchers01:42:16
@tomberek:matrix.orgtomberekOne 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:matrix.orgtomberekThere was some work on experimenting with other fetchers: https://github.com/target/nix-fetchers01:46:32
@sudoreboot:matrix.orgHrafn 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:balsoft.rubalsoft
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:balsoft.rubalsoftNice10:10:04
@mjolnir:nixos.orgNixOS Moderation Bot banned @blaggacao:matrix.orgDavid Arnold (blaggacao) (<no reason supplied>).20:05:03
29 Oct 2021
@teutat3s:pub.solarteutat3s joined the room.10:40:37
1 Nov 2021
@dariof4:matrix.orgdariof4 joined the room.19:40:44
2 Nov 2021
@sudoreboot:matrix.orgHrafn Blรณรฐbรณk changed their profile picture.06:12:21
@oliver:matrix.nrp-nautilus.iooliver joined the room.19:23:25
@tristan:nerdsin.spacetristan changed their profile picture.22:52:46
5 Nov 2021
@ulli:hrnz.liulli joined the room.16:53:17
6 Nov 2021
@ultranix:matrix.orgultranix joined the room.03:17:27
@ultranix:matrix.orgultranixis there a multi language project example using nix flakes?03:17:49
@test:boba.bestTseb joined the room.09:17:15
7 Nov 2021
@kshlm:matrix.orgkshlm joined the room.03:01:37
@mkg20001:mkg20001.iomkg20001 joined the room.10:55:16
8 Nov 2021
@yuu:matrix.orgyuu joined the room.01:07:50
@j0xaf:matrix.orgj0xaf set a profile picture.10:13:24
@lyle:menteeth.usIslandUsurper 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:petrichor.meJez (he/him) ๐ŸŒฆ๏ธ changed their display name from Jez (he/him) to Jez (he/him) ๐ŸŒฆ๏ธ.17:11:33
9 Nov 2021
@nurelin:matrix.orgnurelin set a profile picture.16:05:02
@lovesegfault:matrix.orglovesegfault

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:matrix.orglovesegfault When I try I get error: relative path '../' points outside of its parent's store path '/nix/store/yd4jpnk2l1axgmzzc3qbzdgryd2gdxsf-source' 18:38:01
@lovesegfault:matrix.orglovesegfault cc. Robert Hensing (roberth) who seems to have done some work on relpaths in flakes 18:38:11

There are no newer messages yet.


Back to Room ListRoom Version: 6