<aaronjanse>
I wanna see a tool like that but with specializations for languages
<aaronjanse>
Where it has support for that stuff for rust/python/etc
jpo has quit [Remote host closed the connection]
jpo has joined #nixos-dev
cole-h has quit [Ping timeout: 240 seconds]
srk has joined #nixos-dev
rajivr has joined #nixos-dev
AlwaysLivid has quit [Ping timeout: 240 seconds]
jonringer has quit [Ping timeout: 258 seconds]
cptchaos83 has quit [Ping timeout: 240 seconds]
cptchaos83 has joined #nixos-dev
arcnmx has joined #nixos-dev
<hexa->
eval pewpew on master
<hexa->
anonymous function at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/pkgs/development/tools/continuous-integration/github-runner/default.nix:1:1 called without required argument 'kerberos', at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-2/lib/customisation.nix:69:16
<hexa->
it's the HEAD :)
<hexa->
zimbatm[m]: ^
__monty__ has joined #nixos-dev
<hexa->
i'm off for lunch \o
FRidh has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
<siraben>
"error: the lock file /private/tmp/nix-build-passerine-0.9.1.drv-0/source/Cargo.lock needs to be updated but --frozen was passed to prevent this" but the cargo.lock file has like nothing?
<rmcgibbo[m]>
Looks like r-rmcgibbo had some downtime last "night" (well, ~12 hrs) because apparently I'm not very good at running infrastructure, but he's back up now.
pinpox has joined #nixos-dev
jonringer has joined #nixos-dev
stigo has joined #nixos-dev
cole-h has quit [Ping timeout: 252 seconds]
pie_ has quit [*.net *.split]
aszlig has quit [*.net *.split]
Cale has quit [*.net *.split]
appservicebot5 has quit [*.net *.split]
edef has quit [*.net *.split]
WilliButz has quit [*.net *.split]
kaptin has quit [*.net *.split]
JasonO has quit [*.net *.split]
puck has quit [*.net *.split]
nbp has quit [*.net *.split]
niksnut has quit [*.net *.split]
aszlig has joined #nixos-dev
pie_ has joined #nixos-dev
niksnut has joined #nixos-dev
nbp has joined #nixos-dev
puck has joined #nixos-dev
JasonO has joined #nixos-dev
kaptin has joined #nixos-dev
appservicebot5 has joined #nixos-dev
WilliButz has joined #nixos-dev
Cale has joined #nixos-dev
edef has joined #nixos-dev
rajivr has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-dev
FRidh has quit [Quit: Konversation terminated!]
pmy has quit [Ping timeout: 260 seconds]
pmy has joined #nixos-dev
orivej has quit [Ping timeout: 260 seconds]
<pie_>
is it possible to move comments to another issue
<arianvp>
ok; but since when did nix start accepting those? and how do I make my tooling generate them?
<arianvp>
(I got asked by the bot to review the PR; but when I nix-prefetch-url the hting myself I get a different hash format)
<sterni>
arianvp: they are supported in current stable nix, not sure what version exactly, but only via the experimental interface
<samueldr>
arianvp: with 2.2
<samueldr>
>> Nix now supports SRI hashes, allowing the hash algorithm and hash to be specified in a single string. For example, you can write:
<samueldr>
>> nix hash-file and nix hash-path now print hashes in SRI format by default. They also use SHA-256 by default instead of SHA-512 because that's what we use most of the time in Nixpkgs.
<sterni>
arianvp: nix to-sri in stable nix, nix hash to-sri in nixUnstable
<samueldr>
from the Nix 2.2 release notes
<samueldr>
(but yes, knowing it's SRI helps finding the docs ;))
<arianvp>
is there a plan to then rename the `sha256` argument to just "hash" ?
<arianvp>
given the hash itself is no self-describing
<samueldr>
I guess now is: will the Nixpkgs machinery follow suit?
<samueldr>
now the question is*
<arianvp>
hmm but the odd thing is... Usually how I find new hashes is I change the hash to something invalid and let the nix error message tell me
<arianvp>
but the nix error message doesn't use the SRI-hash
<samueldr>
and you're right
<arianvp>
so this is super confusing to be honest
<arianvp>
as a package maintainer
<hexa->
only the first time :p
<arianvp>
ah after that it will show the SRI?
<samueldr>
well, it's just a bit more friction
<samueldr>
I don't know
<samueldr>
but yeah, just a bit more friction is grating in the long run
<hexa->
we regularly switch between sri and non-sri hashes, depending on who does the update
<sterni>
I think you can already pass hash instead of sha256 in most places
<arianvp>
hexa-: yeh like it'd be ok with it if we make it like a policy to only go with SRI hashes. but I'd totally accidentally switch back. which doesnt sound very productive
<sterni>
yeah that's fine
<qyliss>
I don't think there's anything wrong with switching back
<sterni>
I mean there is no stable user interface for that yet
<hexa->
given that most of the day I just `nixpkgs-update` I don't care much
<qyliss>
eventually everybody will be on a version of Nix that generates them by default, and at that point we'll only use SRI hashes
<qyliss>
in the meantime, what does it matter?
<hexa->
yeah, its nice to know we'll have a point in time where we'll have hash agility
<arianvp>
mostly OCD. and yeh hash agility is nice
<qyliss>
what do you mean by that? don't we already?
<hexa->
does sha256 except other hashes?
<qyliss>
does it matter? you can use sha512 etc instead
<hexa->
oh sure, I regularly do that with firefox *derp*
<hexa->
but specifying the hash is alot nicer
<qyliss>
yeah it is nicer
srk has quit [Ping timeout: 250 seconds]
__monty__ has quit [Quit: leaving]
<lukegb>
I sometimes add the sha256: prefix to the non-SRI hash as well, if I'm copying-and-pasting from the Nix output
<lukegb>
like I don't really care what the format is as long as it's what the stable nix CLI tool gives me :P
<pie_>
they do though? 0.o <arianvp> but the nix error message doesn't use the SRI-hash
<pie_>
ok maybe they dont
<pie_>
but the prefetch tools ive been using did i think
<pie_>
_something_ has been using them xp
<sterni>
nix stable doesn't nixUnstable does
jonringer has quit [Ping timeout: 258 seconds]
supersandro2000 is now known as Guest28069
Guest28069 has quit [Killed (card.freenode.net (Nickname regained by services))]
supersandro2000 has joined #nixos-dev
cole-h has joined #nixos-dev
justanotheruser has quit [Ping timeout: 258 seconds]