sphalerite changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 19.09 now in beta! https://discourse.nixos.org/t/nixos-19-09-feature-freeze/3707 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 19.09 RMs: disasm, sphalerite | https://logs.nix.samueldr.com/nixos-dev
ris has quit [Ping timeout: 245 seconds]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis has quit [Ping timeout: 245 seconds]
michaelpj has quit [Read error: Connection reset by peer]
michaelpj has joined #nixos-dev
rycee has quit [Ping timeout: 252 seconds]
domenkozar[m] has quit [Ping timeout: 252 seconds]
rycee has joined #nixos-dev
domenkozar[m] has joined #nixos-dev
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos-dev
<infinisil> worldofpeace: Would be cool if github had a "These PR's would conflict with yours" feature
<worldofpeace> infinisil: that could maybe work if that information was displayed when you try to open one. and perhaps something similar for issues, where it searches titles similar to yours.
drakonis has joined #nixos-dev
srhb has quit [Quit: ZNC 1.7.4 - https://znc.in]
harrow has quit [Quit: Leaving]
evanjs has quit [Remote host closed the connection]
LnL has quit [Ping timeout: 245 seconds]
srhb has joined #nixos-dev
evanjs has joined #nixos-dev
harrow has joined #nixos-dev
eraserhd has quit [Ping timeout: 245 seconds]
delroth has quit [Ping timeout: 245 seconds]
arianvp has quit [Ping timeout: 245 seconds]
cransom has quit [Ping timeout: 245 seconds]
arianvp has joined #nixos-dev
eraserhd has joined #nixos-dev
LnL has joined #nixos-dev
LnL has joined #nixos-dev
LnL has quit [Changing host]
cransom has joined #nixos-dev
delroth has joined #nixos-dev
rajivr___ has joined #nixos-dev
orivej has joined #nixos-dev
<jtojnar> worldofpeace is not it already there, for issues I mean
das_j has quit [Remote host closed the connection]
das_j has joined #nixos-dev
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-dev
mmlb has quit [Ping timeout: 276 seconds]
mmlb has joined #nixos-dev
MichaelRaskin has quit [Quit: MichaelRaskin]
mmlb has quit [Ping timeout: 276 seconds]
mmlb has joined #nixos-dev
<teto> calling generators.toINI on an attrsOf submodule seems to fail. Any idea to work around that ? any example that does it ?
Cale has joined #nixos-dev
Cale has quit [Ping timeout: 245 seconds]
Cale has joined #nixos-dev
drakonis_ has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos-dev
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.6]
Jackneill has joined #nixos-dev
kcalvinalvin has joined #nixos-dev
asdlkhagsdfa has joined #nixos-dev
asdlkhagsdfa has quit [Remote host closed the connection]
psyanticy has joined #nixos-dev
<kcalvinalvin> Hey guys. Is there a way to set a variable as the output of a bash script?
<kcalvinalvin> I want to declare a variable with the output of `cat /sys/class/dmi/id/product_name`. Is this possible?
<Taneb> kcalvinalvin: that seems an odd thing to do to me. Why do you want this?
<kcalvinalvin> In the cmt.nix module, I have the user declare their Chromebook model to move the right .conf file to /etc/X11/xorg.conf.d/
<kcalvinalvin> the path "/sys/class/dmi/id/product_name" contains the model name so the user doesn't have to set anything
<Profpatsch> teto: cc infinisil
tilpner has joined #nixos-dev
avn has quit [Ping timeout: 265 seconds]
__monty__ has joined #nixos-dev
avn has joined #nixos-dev
avn has quit [Read error: Connection reset by peer]
avn has joined #nixos-dev
<worldofpeace> Jan Tojnar: I think gitlab might have something like that for issues
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos-dev
<infinisil> teto: Why does it fail?
<teto> infinisil: I might have made a mistake, not sure yet https://github.com/rycee/home-manager/pull/812#issuecomment-536492150
<Profpatsch> nbp: btw, is there a good reason why we can’t switch the mozilla rust overlay to builtins.parseTOML?
<nbp> Profpatsch: not everybody uses the latest Nix.
<nbp> Profpatsch: isn't there already branching based on Nix version?
<Profpatsch> But I’m noticing that it pushes up evaluation time for a small rust project (lorri) by about 2 to 5 seconds
<Profpatsch> nbp: Are you okay with a branch like we do for builtins in the stdlib?
<nbp> something like that would be Ok.
<gchristensen> > builtins ? fromTOML
<{^_^}> true
<Profpatsch> nice, let me prepare a PR
<Profpatsch> I can already try it out on lorri, to see whether it breaks anything
<Profpatsch> nbp: One thing I’m always wondering about is why you didn’t just introduce fromTOML back in the day, instead of builtins.split
<nbp> Profpatsch: because I had something in place to make a tokenizer in version 1.11, and worked well-ish
<nbp> Profpatsch: and then others were debatting about adding a generic grammar processing primitive.
<nbp> Profpatsch: Thus, I went the same way … adding primitives to implement more than one language.
<niksnut> nbp: qemu hack?
<Profpatsch> nbp: Nice, it went down from 5.0 secs to 2.7 secs
<Profpatsch> It’s still kinda bad, but the parser definitely added overhead :)
<niksnut> anyway virtio-fs sounds good, but we can't use it until it's in the LTS kernel
<nbp> niksnut: We had a hack for qemu to mount the host file system in the guest file system, IIRC.
<niksnut> I think there is/was a hack for something related to file permissions
<niksnut> 9pfs is provided by qemu
<{^_^}> mozilla/nixpkgs-mozilla#205 (by Profpatsch, 10 seconds ago, open): rust-overlay: use builtins.fromTOML if possible.
__Sander__ has joined #nixos-dev
<tilpner> Is there a better way to find the input hash to an output hash, than querying db.sqlite?
<gchristensen> hrm?
<tilpner> gchristensen: See #nixos, exarkun wants to --delete a fixed-output store path
<gchristensen> why so?
<tilpner> I said that would allow him to retry a fixed-output build
<gchristensen> what about building it again with --check?
<tilpner> That's what I suggested yesterday, and he seemed to have some kind of issue with it
<tilpner> (But I wasn't online to respond, so that might still be viable)
<LnL> yeah, deleting a specific store path is almost always the wrong question
<LnL> not sure what you man by input hash, but nix path-info --json gives a bunch of info
<tilpner> LnL: exarkun has a sha256 value for cargoSha256, but doesn't know the path it builds to
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-dev
__monty__ has quit [Quit: leaving]
orivej has quit [Ping timeout: 265 seconds]
<infinisil> teto: Left a comment
drakonis has joined #nixos-dev
drakonis_ has quit [Remote host closed the connection]
orivej has joined #nixos-dev
drakonis has quit [Quit: WeeChat 2.6]
__Sander__ has quit [Quit: Konversation terminated!]
ericdallo has joined #nixos-dev
drakonis_ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos-dev
ericdallo has quit [Quit: ericdallo]
misuzu has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
ericdallo_ has joined #nixos-dev
MichaelRaskin has joined #nixos-dev
ericdallo_ has quit [Client Quit]
misuzu has joined #nixos-dev
ris has joined #nixos-dev
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos-dev
ixxie has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
drakonis__ has joined #nixos-dev
drakonis_ has quit [Ping timeout: 240 seconds]
* jtojnar uploaded an image: fractal-pasted-image (125KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/kyEfzVuDTYJTuXnnZewAzBun >
<jtojnar> worldofpeace ^
<worldofpeace> what???
<jtojnar> oh, it is still in beta
<worldofpeace> aaah now I see it
<jtojnar> I had it there forever
* worldofpeace uploaded an image: Screenshot from 2019-10-04 16.16.32.png (4KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/JNtrNSXVzWkUmkxThcunriOB >
<worldofpeace> Does this count as "speaking it into existance"?
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos-dev
drakonis__ has quit [Ping timeout: 240 seconds]
drakonis__ has joined #nixos-dev
drakonis has joined #nixos-dev
ixxie has quit [Ping timeout: 276 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-dev
drakonis__ has quit [Quit: Leaving]