gchristensen changed the topic of #nixos-borg to: https://www.patreon.com/ofborg https://monitoring.nix.ci/dashboard/db/ofborg?refresh=10s&orgId=1&from=now-1h&to=now "I get to skip reviewing the PHP code and just wait until it is rewritten in something sane, like POSIX shell. || https://logs.nix.samueldr.com/nixos-borg
orivej has quit [Ping timeout: 245 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos-borg
infinisil has quit [Remote host closed the connection]
infinisil has joined #nixos-borg
infinisil is now known as duh
duh is now known as infinisil
LnL7 is now known as LnL
orivej has joined #nixos-borg
jtojnar has joined #nixos-borg
MichaelRaskin has joined #nixos-borg
jtojnar_ has joined #nixos-borg
jtojnar has quit [Ping timeout: 245 seconds]
n_db has quit [Remote host closed the connection]
jtojnar_ is now known as jtojnar
n_db has joined #nixos-borg
<LnL> gchristensen: naive implementation, but doesn't seem to fail on anything unexpected sofar https://gist.github.com/LnL7/ae4b7eb21066e3e618a53189b28fc81d
<samueldr> lol
<gchristensen> OooooOOOoooooOoo!
<gchristensen> this is amazing!
<LnL> oh euh, or that :D
<samueldr> to shutup shellcheck I always add a preamble of "whatever is in the derivation"
<samueldr> so it should catch use of unbound variables I think
<samueldr> oh, please iterate and make something better!
<LnL> shipit
<samueldr> just sharing that hack I tried
<samueldr> I ran it on the linux derivation, and a couple random ones that looked bashy a bunch, and tortured myself by running it on one of mine and found issues :D
<gchristensen> this is so good
<LnL> one more check that would be good to add is checking if the builder is setup.sh
<LnL> I'm not sure if this is done anywhere in nixpkgs, but in theory you can use another interpreter as the builder
<samueldr> or do we instead want to make it obvious and "fix" it in those cases?
<LnL> yeah wouldn't be a bad idea to discourage using a nonstandard builder in nixpkgs
<LnL> a lot of old expressions still use their own builder, but I don't know of anything that's not bash
jtojnar_ has joined #nixos-borg
jtojnar has quit [Ping timeout: 246 seconds]
jtojnar_ is now known as jtojnar