!CXcIPzDZqFYqqXTaXa:matrix.org

nix-init

64 Members
https://github.com/nix-community/nix-init21 Servers

Load older messages


SenderMessageTime
29 Apr 2023
@charlycoste:matrix.org@charlycoste:matrix.org joined the room.17:30:06
30 Apr 2023
@imlostlmao:matrix.org@imlostlmao:matrix.org joined the room.10:30:51
3 May 2023
@raitobezarius:matrix.orgraitobezarius FWIW figsoda I resumed work on buildxyz 23:01:01
@figsoda:matrix.orgfigsoda
In reply to @raitobezarius:matrix.org
FWIW figsoda I resumed work on buildxyz
cool, I'll take a look at the code base in a couple days
23:02:29
@raitobezarius:matrix.orgraitobezariusit's very ugly23:02:33
@raitobezarius:matrix.orgraitobezariusRight now, what I really want is to explore the extended Python dependency graphs enriched by implicit dependencies (e.g. native dependencies and cross-language dependencies)23:03:00
@raitobezarius:matrix.orgraitobezariusSo I will be a bit researchy about it23:03:04
@raitobezarius:matrix.orgraitobezariusBut I am pushing for a proper error enum, etc. to prepare to expose certain functionalities as crate23:03:15
@raitobezarius:matrix.orgraitobezariusand I'm doing performance improvements23:03:19
@raitobezarius:matrix.orgraitobezariusAnd the exploration work will help to build "seed databases" depending on the language / build system23:03:38
@raitobezarius:matrix.orgraitobezariusfor example: https://github.com/RaitoBezarius/buildxyz/blob/main/examples/python/cryptography.toml23:04:37
5 May 2023
@kranzes:matrix.org@kranzes:matrix.org
[kranzes@pongo ~/test]$ nix run nixpkgs#nix-init
Enter output path (defaults to current directory)
❯ awdawdawd
Enter url
❯
Error: Interrupted
[kranzes@pongo ~/test]$ ls
awdawdawd
18:41:04
@kranzes:matrix.org@kranzes:matrix.org figsoda It writes an empty file even if you Ctrl+C 18:41:25
@kranzes:matrix.org@kranzes:matrix.orgCan you make this atomic so it only writes the file if nix-init exits with code 0?18:42:10
@kranzes:matrix.org@kranzes:matrix.orgDoes that sound like a good behavior?18:42:20
@figsoda:matrix.orgfigsoda
In reply to @kranzes:matrix.org
figsoda It writes an empty file even if you Ctrl+C
It does, I wanted to open the file early on so it doesn't run into permission issues after you've answered all the questions
18:42:56
@figsoda:matrix.orgfigsodaI'm not sure how that would be possible without creating the file, maybe it should just check for permissions and not open the file until it is ready to write?18:43:31
@kranzes:matrix.org@kranzes:matrix.orgI accidentally create empty files many time because in my head I first enter the URL instead of path18:43:35
@kranzes:matrix.org@kranzes:matrix.orgI do this by accident all the time18:44:26
@kranzes:matrix.org@kranzes:matrix.org
Enter output path (defaults to current directory)
❯ https://github.com/nix-community/nix-init
Enter url
❯

Error: Interrupted
[kranzes@pongo ~/test]$ ls
https:
[kranzes@pongo ~/test]$ tree
.
└── https:
    └── github.com
        └── nix-community
            └── nix-init

3 directories, 1 file
[kranzes@pongo ~/test]
18:44:30
@figsoda:matrix.orgfigsodaoh yeah that's maybe not the best hehavior18:44:57
@kranzes:matrix.org@kranzes:matrix.orgI mean ideally, I should stop making this stupid mistake18:54:31
@kranzes:matrix.org@kranzes:matrix.orgbut I still do it idk lol18:54:39
@kranzes:matrix.org@kranzes:matrix.orgI find it to make more sense to have URL as the first question18:55:00
@kranzes:matrix.org@kranzes:matrix.orgthen all the others18:55:03
@kranzes:matrix.org@kranzes:matrix.organd output path at the end18:55:08
@kranzes:matrix.org@kranzes:matrix.orgso the last question18:55:10
@kranzes:matrix.org@kranzes:matrix.orgThat logically sits best with me18:55:29
@figsoda:matrix.orgfigsodafeel free to drop a comment here: https://github.com/nix-community/nix-init/issues/7219:04:46
@figsoda:matrix.orgfigsodaI'm looking for suggestions like this, and also stuff like configuration19:05:29

Show newer messages


Back to Room ListRoom Version: 10