| 20 Oct 2021 |
Las | Nevermind, I found my issue, somehow the systemd is running an older executable, even though the executable specified is new. | 15:18:23 |
Las | * 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 | * 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 | And it's fixed after a restart. | 15:19:39 |
Las | * And it's fixed after a reboot. | 15:19:42 |
| phaer joined the room. | 21:03:41 |
| 21 Oct 2021 |
| balsoft set a profile picture. | 13:42:13 |
| 22 Oct 2021 |
| meccine left the room. | 01:49:53 |
TyberiusPrime | hey guys, does a ?rev=XYZ on a path:/flake input not actually check out the correct XYZ into the store?! | 08:19:31 |
TyberiusPrime | (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 |
TyberiusPrime | I presume github:// boils down to a tarball of the rev... | 08:23:41 |
TyberiusPrime | for posterity: using an absolute path does work as you'd expect it to. | 09:33:48 |
Jez (he/him) 🌦️ | TyberiusPrime: you mean like https://github.com/NixOS/nixpkgs/tree/nixos-21.05? | 09:46:05 |
TyberiusPrime | I mean like `myflake.url = "/home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256";' | 09:50:40 |
TyberiusPrime | as opposed to myflake.url = "path://home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256"; | 09:50:58 |
TyberiusPrime | * I mean like myflake.url = "/home/TyberiusPrime/ThisIsWhereTheFlakeLives?rev=sha256"; | 09:51:07 |
TyberiusPrime | (plus minus a / on "path:/") | 09:51:40 |
Dee | 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 | 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 | 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 | But maybe I'm wrong | 12:09:40 |
balsoft | Anyways, if it doesn't guess it's a git repo, it should fail when it encounters ?rev=, right? | 12:09:59 |
balsoft | 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 | Ah, wait, what? | 12:11:16 |
balsoft | 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 joined the room. | 12:18:18 |
| 24 Oct 2021 |
| mkroehnert joined the room. | 21:40:30 |
| 26 Oct 2021 |
| @grahamc:nixos.orgchanged room power levels. | 01:15:54 |
| NixOS Moderation Bot changed their display name from mjolnir to NixOS Moderation Bot. | 02:00:10 |
| NixOS Moderation Bot set a profile picture. | 02:00:28 |