| 28 Aug 2021 |
sterni | right yeah | 12:57:22 |
Alyssa Ross | not sure what else | 13:03:22 |
toonn | Fwiw the macOS stdenv already relies on Python, I believe. | 13:08:52 |
toonn | Not from stage 0 though. | 13:09:07 |
tomberek | Is there any interest in a shebang compatible with flakes? I'm cleaning up a patch/PR that allows the familiar usage:
#!/usr/bin/env nix
#! nix shell nixpkgs#bash nixpkgs#hello
#! nix --command bash
hello
| 18:01:27 |
Las | There is interest. I remember someone in #nix:nixos.org asking for that feature. | 20:13:54 |
Las | But I'm not sure it has to be part of Nix itself. | 20:14:09 |
tomberek | I've got this so far. Basic implementation and a test. https://github.com/tomberek/nix/commit/e8231c5236583c39d6060dc0819d8dea0a8305ed | 20:37:17 |
| 29 Aug 2021 |
manveru | i really wish the crystal formatter wouldn't insist on changing #! to # ! after the first line... | 08:40:28 |
abathur | oof | 14:40:39 |
| 31 Aug 2021 |
Robert Hensing (roberth) | I keep getting this wrong nix flake lock update --update-input | 12:16:46 |
Robert Hensing (roberth) | is it just me or should this be a proper noun-verb command of its own? | 12:17:19 |
Las | Robert Hensing (roberth): I often incorrectly use nix flake update ... | 12:22:38 |
Las | It doesn't make much sense honestly | 12:22:42 |
Robert Hensing (roberth) | flake lock feels more noun-noun than noun-verb, although it's technically both | 12:23:47 |
Robert Hensing (roberth) | nix flake update <inputName> would make most sense to me | 12:24:10 |
Robert Hensing (roberth) | could be multiple input names as well | 12:24:37 |
Las | The odd thing is you can put --update-input on anything | 12:25:10 |
Robert Hensing (roberth) | heh, ok | 12:25:32 |
Robert Hensing (roberth) | makes sense for --override-input, but update should be a separate action | 12:26:04 |
Robert Hensing (roberth) | also update --override-input is meaningless or misleading | 12:28:17 |
Robert Hensing (roberth) | nix flake update should be nix registry update? I think? | 12:29:59 |
Robert Hensing (roberth) | anyway, this is probably going nowhere and I need to get work done, ttyl | 12:30:20 |
| 1 Sep 2021 |
niksnut | In reply to @roberthensing:matrix.org
nix flake update should be nix registry update? I think? No, nix flake update updates the flake lock file, it doesn't have anything to do with the registry. | 16:37:46 |
Robert Hensing (roberth) | then I don't know what should have been modified when I used it. Nothing changed. | 16:38:46 |
niksnut | Maybe there was nothing to update? | 16:39:35 |
Robert Hensing (roberth) | or maybe it cached the thing I wanted to update | 16:40:13 |
niksnut | it implies --tarball-ttl 0 so it shouldn't cache anything | 16:42:02 |
Robert Hensing (roberth) | hmm. That applies to git caching as well right? | 16:42:28 |
Robert Hensing (roberth) | it was github anyway, so that's a tarball | 16:42:43 |