!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

890 Members
179 Servers

Load older messages


SenderMessageTime
13 Oct 2021
@balsoft:balsoft.rubalsoft Or do it like github:TyberiusPrime/anysnake2/eef5fbe 12:26:00
@tyberius_prime:matrix.orgTyberiusPrimeI need the rev.12:26:08
@balsoft:balsoft.rubalsoftYeah but you only need the first few chars12:26:18
@tyberius_prime:matrix.orgTyberiusPrimethis will be 'read config. If config says to use a different version, respawn as nix shell <correct version here>'12:26:24
@balsoft:balsoft.rubalsoftAnd you can pass revs and branches as the last part of the URI12:26:29
@balsoft:balsoft.rubalsoft(unless the branch name contains slashes or other weird stuff, then you need to use URI query syntax and uriencode it)12:27:01
@tyberius_prime:matrix.orgTyberiusPrime
In reply to @balsoft:balsoft.ru
Yeah but you only need the first few chars
that way lies madness. I don't even want to know what happens on an eventual collision)
12:27:15
@tyberius_prime:matrix.orgTyberiusPrimehm "nix shell "git+https://github.com/TyberiusPrime/anysnake2?rev=eef5fbe89f685981b7ebf63f695c6c7f42d00892" fetching Git repository 'https://github.com/TyberiusPrime/anysnake2'fatal: couldn't find remote ref refs/heads/master"12:30:52
@tyberius_prime:matrix.orgTyberiusPrimeis it telling me that it can't handle the default branch being called 'main'12:31:04
@tyberius_prime:matrix.orgTyberiusPrime?12:31:05
@balsoft:balsoft.rubalsoftIt can12:31:12
@balsoft:balsoft.rubalsoft nix shell " git+https://github.com/TyberiusPrime/anysnake2?ref=main&rev=eef5fbe89f685981b7ebf63f695c6c7f42d00892" 12:31:40
@balsoft:balsoft.rubalsoftOh, actually12:31:49
@balsoft:balsoft.rubalsoft
In reply to @tyberius_prime:matrix.org
hm "nix shell "git+https://github.com/TyberiusPrime/anysnake2?rev=eef5fbe89f685981b7ebf63f695c6c7f42d00892"

fetching Git repository 'https://github.com/TyberiusPrime/anysnake2'fatal: couldn't find remote ref refs/heads/master"
On recent nix that should just work
12:31:59
@balsoft:balsoft.rubalsoft
$ nix shell " git+https://github.com/TyberiusPrime/anysnake2?rev=eef5fbe89f685981b7ebf63f695c6c7f42d00892" 
[1/0/2 built] building anysnake2-deps-0.1.0 (buildPhase):    Compiling walkdir v2.3.2
12:32:14
@balsoft:balsoft.rubalsoft nix (Nix) 2.5pre20211008_4c17ebe 12:32:29
@tyberius_prime:matrix.orgTyberiusPrimeguess I'm on 3.0pre20200829_f15651312:32:36
@balsoft:balsoft.rubalsoft That's really old 12:32:43
@balsoft:balsoft.rubalsoftYeah over a year old12:32:49
@tyberius_prime:matrix.orgTyberiusPrimewell, it's supposed to be a very recent 'nixUnstable'... hm12:34:07
@tyberius_prime:matrix.orgTyberiusPrimefro mnixpkgs-unstable12:34:18
@jez:petrichor.meJez (he/him) 🌦️What other VCS's does nix flakes allow? I've used it with git and mercurial so far 18:55:17
@Las:matrix.orgLasNone I think.20:37:23
@Las:matrix.orgLasIt will still work with other VCSes but not as well.20:37:30
16 Oct 2021
@colemickens:matrix.orgcolemickens 🏳️‍🌈dude, please tell me I'm confused.23:00:58
@colemickens:matrix.orgcolemickens 🏳️‍🌈 is nix run ... -c command really not a thing anyore" 23:01:07
@colemickens:matrix.orgcolemickens 🏳️‍🌈 * is nix run ... -c command really not a thing anymore? 23:01:10
@deeunderscore:feneas.orgDee I think it's always been nix shell … -c command 23:06:37
@colemickens:matrix.orgcolemickens 🏳️‍🌈-_-23:07:13
@deeunderscore:feneas.orgDeeyeah, it's kind of... unintuitive23:07:37

Show newer messages


Back to Room ListRoom Version: 6