| 22 Oct 2021 |
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 |
| NixOS Moderation Bot changed their profile picture. | 02:23:42 |
| NixOS Moderation Bot changed their profile picture. | 02:33:12 |
Las | Does anyone know what the equivalent of nix-env --set is with nix profile? | 10:08:25 |
Las | I want to use nix profile for setting my system profile, but obviously nix profile install isn't the solution here. | 10:08:50 |
tomberek | nix profile remove '.*' ; nix profile install ? :) | 13:07:03 |
tomberek | almost, but it will make an extra generation | 13:07:18 |
lovesegfault | I'm getting rate limited when doing nix flake update, is there any way to provide it my GH token? | 17:40:54 |
| cafkafk removed their profile picture. | 18:58:46 |