| 25 Nov 2021 |
betaboon | thanks for letting me know. just had to revert to 2.4 earlier today tho, due to https://github.com/NixOS/nix/issues/5616 | 17:52:29 |
| uakci~ joined the room. | 20:41:49 |
| 26 Nov 2021 |
| pinpox joined the room. | 16:09:00 |
| 27 Nov 2021 |
| Rev. CornWallace III (novus ordo seclorum) joined the room. | 02:51:37 |
| 28 Nov 2021 |
| brendanzab joined the room. | 04:54:23 |
| 29 Nov 2021 |
artemist 🏳️⚧️ | Is there a way to determine if you're in a nix shell with the new flakes `nix shell` command? | 05:12:51 |
artemist 🏳️⚧️ | The old one had $IN_NIX_SHELL | 05:13:14 |
tomberek | artemist 🏳️⚧️: some discussion: https://github.com/NixOS/nix/issues/3862 | 05:23:10 |
cdepillabout | In reply to @artemist:artem.ist Is there a way to determine if you're in a nix shell with the new flakes `nix shell` command? I've been using this workaround, and it seems to work well: https://github.com/NixOS/nix/issues/3862#issuecomment-707320241. I haven't seen any weird false-positives or anything. | 05:36:38 |
artemist 🏳️⚧️ | I'll try that. I used to get some weird things in the PATH because of alacritty but that seems fixed now | 05:37:35 |
| 30 Nov 2021 |
figsoda |  Download image.png | 01:14:15 |
figsoda | I have a fish function to do stuff like this | 01:14:22 |
figsoda | function w
if set -q with_pkgs
set with_pkgs ", $with_pkgs"
end
set -lx with_pkgs "$argv$with_pkgs"
IN_NIX_SHELL=impure name="with: $with_pkgs" \
${config.nix.package}/bin/nix shell nixpkgs#$argv
end
| 01:15:43 |
figsoda | * function w
if set -q with_pkgs
set with_pkgs ", $with_pkgs"
end
set -lx with_pkgs "$argv$with_pkgs"
IN_NIX_SHELL=impure name="with: $with_pkgs" \
${config.nix.package}/bin/nix shell nixpkgs#$argv
end
| 01:16:07 |
| 3 Dec 2021 |
| Patryk Gronkiewicz joined the room. | 12:59:12 |
| cafkafk changed their display name from cafkafk to Cina. | 14:41:28 |
| cafkafk changed their display name from Cina to cafkafk. | 14:41:40 |
| Sven Heyll joined the room. | 18:19:36 |
Sven Heyll | Hi there :) I just have a quick question, is there a way to "keep" a broken nix build ? | 18:20:34 |
Sven Heyll | * Hi there :) I just have a quick question, is there a way to "keep" a broken nix build ? As was possible before using the -K flag IIRC? | 18:20:59 |
moritz.hedtke | In reply to @teevorian:matrix.org Hi there :) I just have a quick question, is there a way to "keep" a broken nix build ? As was possible before using the -K flag IIRC? --keep-failed afaik | 22:21:42 |
| 4 Dec 2021 |
| Jan Tojnar joined the room. | 05:36:49 |
| 5 Dec 2021 |
andi- | So, how do I write a flake that doesn't rebuild all the packages that have their source in the same repo (root) whenever I change a whitespace in my flake.nix? Is filterSource compatible/supported with flakes? | 02:28:40 |
andi- | Why is nix eval --raw .#checks.x86_64-linux.my-build not giving me a drv path but a build result instead? Not passing --raw yields in fetchurl complaining about a meta parameter... | 02:45:59 |
tomberek | I’ve been trying to improve the filterSource,path,etc stuff. I’ve lost track of exactly where we are. Can you try on latest? Another approach is to use an “external flake” where the flake is acting on a remote input source code. This is another way to cut the impact of white space. | 03:14:35 |
balsoft | In reply to @andi:kack.it Why is nix eval --raw .#checks.x86_64-linux.my-build not giving me a drv path but a build result instead? Not passing --raw yields in fetchurl complaining about a meta parameter... You want to do nix eval --raw .#checks.x86_64-linux.my-build.drvPath (or maybe even nix show-derivation .#checks.x86_64-linux.my-build ?) | 09:03:57 |
andi- | But how is that different from `nox build` then? | 10:19:55 |
balsoft | In reply to @andi:kack.it But how is that different from `nox build` then? nix eval doesnt' build the path | 10:41:21 |
balsoft | And, well, it can evaluate arbitrary stuff and not just derivations | 10:41:35 |
balsoft | Redacted or Malformed Event | 11:56:32 |