!SgYlXivkogarTVcnZO:nixos.org

Flakes

105 Members
Nix Flakes33 Servers

Load older messages


SenderMessageTime
20 Oct 2021
@lourkeur:nixos.devlourkeur (Nix OwO) changed their profile picture.13:09:21
@Las:matrix.orgLas When doing nix build something I get Invalid operation 43 on a multi-user aarch64-linux install. Does anyone have any idea as to why this happens? It doesn't happen if I use root. 15:14:37
@Las:matrix.orgLas Same thing for nix path-info. 15:14:57
@Las:matrix.orgLas * Same thing for nix path-info. 15:15:01
@Las:matrix.orgLasThe building itself succeeds, it only fails at the very end.15:15:10
@Las:matrix.orgLasNevermind, I found my issue, somehow systemd is running an older executable, even though the executable specified is a very new one.15:18:23
@Las:matrix.orgLas * Nevermind, I found my issue, somehow the systemd is running an older executable, even though the executable specified is a very new one.15:18:33
@Las:matrix.orgLas * Nevermind, I found my issue, somehow systemd is running an older executable, even though the executable specified is a very new one.15:18:39
@Las:matrix.orgLasAnd it's fixed after a reboot.15:19:39
@Las:matrix.orgLas * And it's fixed after a reboot.15:19:42
@phaer:matrix.orgphaer joined the room.21:03:41
21 Oct 2021
@balsoft:balsoft.rubalsoft set a profile picture.13:42:13
22 Oct 2021
@meccine:matrix.orgmeccine left the room.01:49:53
@tyberius_prime:matrix.orgTyberiusPrimehey guys, does a ?rev=XYZ on a path:/flake input not actually check out the correct XYZ into the store?!08:19:31
@tyberius_prime:matrix.orgTyberiusPrime(apparently not. And you can't even do 'git checkout XYZ', because it's pushing .git into the store and that will obviously have changed so you get a nice little narHash mismatch)08:20:08
@tyberius_prime:matrix.orgTyberiusPrimeI presume github:// boils down to a tarball of the rev...08:23:41
@tyberius_prime:matrix.orgTyberiusPrimefor posterity: using an absolute path does work as you'd expect it to.09:33:48
@jez:petrichor.meJez (he/him) TyberiusPrime: you mean like https://github.com/NixOS/nixpkgs/tree/nixos-21.05? 09:46:05
@tyberius_prime:matrix.orgTyberiusPrimeI mean like `myflake.url = "/home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256";'09:50:40
@tyberius_prime:matrix.orgTyberiusPrime as opposed to myflake.url = "path://home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256"; 09:50:58
@tyberius_prime:matrix.orgTyberiusPrime * I mean like myflake.url = "/home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256"; 09:51:07
@tyberius_prime:matrix.orgTyberiusPrime(plus minus a / on "path:/")09:51:40
@deeunderscore:feneas.orgDee pretty sure you need to do git+file:// explictly, otherwise it won't guess it's a Git repo by itself 10:55:46
@balsoft:balsoft.rubalsoft
In reply to @tyberius_prime:matrix.org
hey guys, does a ?rev=XYZ on a path:/flake input not actually check out the correct XYZ into the store?!
path:/flake doesn't do any git stuff
12:09:21
@balsoft:balsoft.rubalsoft
In reply to @deeunderscore:feneas.org
pretty sure you need to do git+file:// explictly, otherwise it won't guess it's a Git repo by itself
I think it actually should guess it's a git repo
12:09:35
@balsoft:balsoft.rubalsoftBut maybe I'm wrong12:09:40
@balsoft:balsoft.rubalsoft Anyways, if it doesn't guess it's a git repo, it should fail when it encounters ?rev=, right? 12:09:59
@balsoft:balsoft.rubalsoft
In reply to @tyberius_prime:matrix.org
(apparently not. And you can't even do 'git checkout XYZ', because it's pushing .git into the store and that will obviously have changed so you get a nice little narHash mismatch)
Wait, I don't think it should be putting .git in the nix store in git+file mode, so it's probably not guessing correctly indeed
12:10:53
@balsoft:balsoft.rubalsoftAh, wait, what?12:11:16
@balsoft:balsoft.rubalsoft
In reply to @tyberius_prime:matrix.org
as opposed to myflake.url = "path://home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256";
Yeah this is definitely not going to work... It should probably fail when it encounters ?path though
12:11:43

There are no newer messages yet.


Back to Room List