!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

890 Members
179 Servers

Load older messages


SenderMessageTime
20 Oct 2021
@Las:matrix.orgLasNevermind, I found my issue, somehow the systemd is running an older executable, even though the executable specified is new.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 restart.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
23 Oct 2021
@enzime:nixos.devEnzime joined the room.12:18:18
24 Oct 2021
@mkroehnert:matrix.orgmkroehnert joined the room.21:40:30
26 Oct 2021
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:15:54
@mjolnir:nixos.orgNixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot.02:00:10
@mjolnir:nixos.orgNixOS Moderation Bot set a profile picture.02:00:28

Show newer messages


Back to Room ListRoom Version: 6