sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
carlosdagos has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #60258 → acme.sh: use iproute on linux and netstat elsewhere → https://git.io/fjsXi
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjGOD
ddellacosta has quit [Ping timeout: 245 seconds]
<tdeo> what's the best way of using mkDerivation without a source?
<tdeo> i basically just have a buildPhase and 3 named sources in a `let..in`
<samueldr> three named sources?
<tdeo> i'm using `/var/empty` as a src but that seems like a bad idea
<infinisil> tdeo: unpackPhase = ":"
<tdeo> https://hahay.es/M8RbZ this is what i mean by "three named sources"
<tdeo> infinisil: thanks
<samueldr> there's srcs that exists also
<clever> tdeo: runCommand also works
<samueldr> and yeah ^ if you end up not benefiting from mkDerivation's automatisms
<tdeo> i'll check that out
<aanderse> so @erikarvstedt has posted a way to make services which depend on systemd.tmpfiles.rules fail
<aanderse> this is not good for me :(
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjGO7
winem_ has joined #nixos
<tdeo> oh, runCommand is pretty nice
Qubasa has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #60043 → libsForQt5.qca-qt5: 2.1.3 -> 2.2.1 → https://git.io/fj3lN
<{^_^}> [nixpkgs] @dtzWill pushed 7 commits to master: https://git.io/fjGO5
NickSeagull has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #60329 → awesome: refactor LUA_PATH env var and don't expose it at runtime → https://git.io/fjGk9
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjGOd
<{^_^}> [nixpkgs] @dtzWill merged pull request #60344 → dbeaver: 6.0.2 -> 6.0.3 → https://git.io/fjGq8
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjGOb
<{^_^}> [nixpkgs] @matthewbauer opened pull request #60349 → check-meta: use system tuple in platforms → https://git.io/fjGON
ferriswheel has quit [Ping timeout: 245 seconds]
mexisme has quit [Ping timeout: 250 seconds]
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @aanderse merged pull request #60224 → openjdk11: Update source hashes for aarch64 → https://git.io/fjszC
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjGOA
[Leary] has joined #nixos
oida has quit [Remote host closed the connection]
oida has joined #nixos
mmlb3 has joined #nixos
Lears has quit [Ping timeout: 245 seconds]
mmlb has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #60162 → jellyfin: 10.3.0 -> 10.3.1 → https://git.io/fjsUl
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjGOh
<infinisil> aanderse: Ah darn :/
<infinisil> I feel like this should be handled by containers tbh
<infinisil> Like they should also do the tmpfiles things
<infinisil> thing*
<aanderse> infinisil: ok. i need to dig into the code and find out why his example has an issue, and why *all* the tests i ran did not :\
<aanderse> oh, wait... you think this is just an issue with containers
<aanderse> ?
<{^_^}> [nixpkgs] @dtzWill merged pull request #60293 → accountsservice: 0.6.54 -> 0.6.55 → https://git.io/fjsbz
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjG3f
tboston_ has joined #nixos
ris has quit [Ping timeout: 260 seconds]
buffet_ has joined #nixos
o1lo01ol1o has joined #nixos
buffet has quit [Ping timeout: 246 seconds]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #60160 → dico: 2.7 -> 2.9 → https://git.io/fjsUc
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjG3J
tboston_ has quit [Ping timeout: 250 seconds]
gagbo has quit [Ping timeout: 268 seconds]
gagbo has joined #nixos
mconstant has joined #nixos
silver has quit [Read error: Connection reset by peer]
<tdeo> anyone around to review #58859? been a while without hearing anything
<{^_^}> https://github.com/NixOS/nixpkgs/pull/58859 (by tadeokondrak, 3 weeks ago, open): vapoursynth: split python module out
Jetien has joined #nixos
<tdeo> (specifically wondering whether having a package in pythonPackages have binaries over just having one output with a duplicated pythonPackage)
winem_ has quit [Ping timeout: 240 seconds]
<infinisil> aanderse: It seems like it, I mean they apparently don't honor systemd.tmpfiles
<aanderse> infinisil: well i hope i can dig into it at some point soon...
jmeredith has quit [Quit: Connection closed for inactivity]
Jetien has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
LogicAside has joined #nixos
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tmaekawa has joined #nixos
o1lo01ol1o has joined #nixos
bgamari has quit [Ping timeout: 276 seconds]
bgamari has joined #nixos
n0qqe has joined #nixos
noqqe has quit [Ping timeout: 245 seconds]
n0qqe is now known as noqqe
gagbo has quit [Ping timeout: 258 seconds]
tboston_ has joined #nixos
neeasade has joined #nixos
<neeasade> how can I print the path to the nix-store of a package?
cdepillabout has quit [Quit: Leaving]
<tdeo> nix-build '<nixpkgs>' -A name
<bb010g> Rust packages are supposed to be reproducible, right? Having the following `nix-store -r --check` error on `ixllckxdlq1yrwilyf98jnbb0977qpi9-rust_ucd-util-0.1.3.drv` (output `p82sga8cw6m57k73zp5vfgvgzjh9ir9g-rust_ucd-util-0.1.3`): https://wank.party/a2Qt.html (diffoscope HTML output)
Qubasa has quit [Ping timeout: 255 seconds]
Qubasa has joined #nixos
<neeasade> tdeo: when I run that, I just get a failure because there is no default.nix in my current dir
<neeasade> tdeo: my bad, typo -- thank you!!!!
tboston_ has quit [Ping timeout: 250 seconds]
<bb010g> This looks like a major compiler config / versioning thing, not normal order shuffling or random string nondet
o1lo01ol1o has quit [Remote host closed the connection]
<bb010g> neeasade: something handy I found on Zsh related to that is `nix-store -qd =jq(:P)` (or whatever your command in PATH is), =cmd filename expansion gives the path of the command, :P history colon modifier chases symlinks to get to its initial store path, and -qd (--query --deriver) gives the derivation that produced it
<bb010g> you can then chain that into fun stuff like `nix-store -r "$(nix-store -qb src "$(…)")"` to get the path to the source archive/folder for anything on your path
<neeasade> I'll have to try that out, thank you --- I'm using the above for a hack where I'm putting libGL in my ld_library_path for a thing
o1lo01ol1o has joined #nixos
sysreq has quit [Quit: sysreq]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #60351 → cockroachdb: 2.1.5 -> 2.1.6 → https://git.io/fjG3B
o1lo01ol1o has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 258 seconds]
shibboleth has quit [Quit: shibboleth]
<mabel> I'm trying to get hydra to work in a docker container. what do I need to do in order to make it work?
jmeredith has joined #nixos
<mabel> I'm worried in particular because I want the rpaths to be /nix/store/... in the resulting cache like normal, but the container itself is built with nix so there's already stuff in /nix/store
pie_ has joined #nixos
init_6 has joined #nixos
tmaekawa has quit [Ping timeout: 245 seconds]
tboston_ has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
<pie_> something in my alacritty config broke on upgrading (?) to 19.03 and now its giving me an error
<pie_> did anyone else run into this
<pie_> its probably an easy fix with the config file
<samueldr> what kind of error?
<samueldr> red bar at the bottom?
<samueldr> I had some to fix yes
exarkun has quit [Ping timeout: 246 seconds]
alex```1 has joined #nixos
slyfox has quit [Ping timeout: 244 seconds]
alex``` has quit [Ping timeout: 255 seconds]
<pie_> yeah, i just needed to fix some options apparently.
ardumont has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
slyfox has joined #nixos
Ralith_ has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
acarrico has joined #nixos
fresheyeball has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
kleisli has quit [Ping timeout: 246 seconds]
softinio has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<pie_> damn, updated, at least some things crash in wine now
tboston_ has joined #nixos
nD5Xjz has joined #nixos
softinio has quit [Remote host closed the connection]
stepcut has quit [Ping timeout: 245 seconds]
tboston_ has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
pie_ has quit [Ping timeout: 258 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
stepcut has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
iqubic has joined #nixos
<iqubic> I have returned to IRC
kleisli has joined #nixos
softinio has joined #nixos
ardumont has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60352 → font-manager: "0.7.5" -> actual 0.7.5 → https://git.io/fjG35
nD5Xjz has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60353 → python3Packages.PyChromecast: 3.2.0 -> 3.2.1 → https://git.io/fjG3d
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #60354 → cargo-expand: 0.4.11 -> 0.4.12 → https://git.io/fjG3F
ardumont has joined #nixos
<iqubic> Why is Pulse Audio so darn confusing to use?
<iqubic> Like I want to take two sources and combine together,
<iqubic> I have this audio recording program, but it only lets me select one PA source. I want this program to record both my microphone and the audio coming from Firefox.
<{^_^}> [nixpkgs] @dtzWill merged pull request #60192 → electron_5: init at 5.0.0 → https://git.io/fjssu
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjG3b
<gchristensen> you want a loopback
Jetien has joined #nixos
Jetien has quit [Ping timeout: 246 seconds]
tboston_ has joined #nixos
Ralith_ has joined #nixos
<iqubic> gchristensen: How does that help me here?
o1lo01ol1o has quit [Remote host closed the connection]
<iqubic> Oh, wait... That's literally exactly what I want. Thanks.
<gchristensen> yep
tboston_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #60050 → kproperty,kreport,kexi: 3.1.0 -> 3.2.0 → https://git.io/fj38l
<{^_^}> [nixpkgs] @dtzWill pushed 5 commits to master: https://git.io/fjGsJ
<{^_^}> [nixpkgs] @dtzWill merged pull request #60046 → skrooge: 2.18.0 -> 2.19.1 → https://git.io/fj38I
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjGsT
lsyoyom has quit [Quit: WeeChat 2.4]
alex```1 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #60318 → mate.{marco,mate-session-manager,mate-system-monitor}: 1.22.0 -> 1.22.1 → https://git.io/fjGJn
<{^_^}> [nixpkgs] @romildo pushed 4 commits to master: https://git.io/fjGsY
rooke has joined #nixos
tboston_ has joined #nixos
<rooke> I just installed nix on my linux box to explore a bit. nix-shell is behaving really strangley, when I try to delete character it moves the cursor forward and shows no visual feedback of having deleted the character. Was curious if anyone had any idea where to look for what may be causing this?
tboston_ has quit [Ping timeout: 258 seconds]
o1lo01ol1o has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
<ivan> rooke: which terminal emulator?
<gchristensen> sounds like your termcap is mucked up somehow, as a quick fix try: export TERM=vt100
<rooke> ivan: urxvt
<gchristensen> I need to head to bed, so I'll leave it with ivan :)
<rooke> that export fixed it
<ivan> yeah, like I know anything about terminals
<ivan> I finally figured out exactly when lose almost all of my zsh history: nix-shell startup/exit (how does this even make sense given that nix-shell uses bash?)
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<ivan> oh, it inherits HISTFILE=, ugh
<jasom> I'm using buildFHSUserEnv with nix-shell and noticed that I end up losing all of my groups in the shell; in particular I need the video group. How do I do this?
<dtz> ivan: yeah, I set my HISTFILE to something zsh-specific and am careful to not export it (so subprocesses don't get it)
<ivan> dtz: any idea why this would happen when I don't `export` HISTFILE in zshrc?
<dtz> at least twice our global zsh init files were changed to do this incorrectly, but i'm not sure if that was ever on a release branch
<ivan> do I need to unexport it
<dtz> first let's check if that's indeed your problem ;). try.... `typeset -p HISTFILE`
nD5Xjz has quit [Ping timeout: 246 seconds]
<dtz> if it says 'typeset HISTFILE=....' then you're good, if 'export HISTFILE=...' then bad O:)
softinio has quit [Remote host closed the connection]
<ivan> # typeset -p HISTFILE
<ivan> export HISTFILE=/home/at/.config/zsh/history
<jasom> more googling tells me that it's not possible to get supplementary groups in a user namespace, so I'll use docker instead.
acarrico has quit [Ping timeout: 246 seconds]
<clever> jasom: thats likely also why nix doesnt use the kvm group on /dev/kvm, but rather, 777
<dtz> ivan: okay so yeah it's being export'd and that'll cause the problem... check your various zsh init files, maybe even just.. 'grep HISTFILE /etc/z* ~/.z*' as a loose quick check.
<gchristensen> doesn't docker also use user namespaces?
<ivan> dtz: I checked nixpkgs and my configuration and they seem good
<clever> gchristensen: docker has root though, so it can create a duplicate of /dev/ nodes, and chown/chgrp them from the containers namespace
<ivan> dtz: bizarre stuff, I'll try to track it down
<gchristensen> ah
<clever> gchristensen: oh, and nix-daemon could do the same, lol
<dtz> well can try sifting through `zsh -v` or so, but okay at least you have a thing to chase down now :)
<clever> crw-rw-rw- 1 root kvm 10, 232 Apr 12 08:32 /dev/kvm
<clever> the 10 and 232, are the major and minor numbers for the char device
<ivan> thanks for the typeset -p
<clever> mknod (with root) can re-create that anywhere (as long as its not mounted with nodev)
<clever> you can then freely chown/chmod the copy, and it will keep the perms, independantly of the other copies
<colemickens> TIL
<clever> and the whole point of nodev, is that i could create a 777 sda on my usb stick
<clever> then i can just auto-mount it on your PC, and write to it :P
<clever> auto-mouting with nodev,noexec blocks such attacks
rauno has quit [Ping timeout: 240 seconds]
<gchristensen> same of cours ewith other exciting things like suid
<gchristensen> (wasn't I going to bed?) good night
<clever> gchristensen: same, lol
<clever> to both of those :P
<clever> android also mounts even its internal /data with such options, despite only trusted things having root on it
nD5Xjz has joined #nixos
tboston_ has joined #nixos
tboston_ has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
hio has joined #nixos
endformationage has quit [Ping timeout: 258 seconds]
numinit has joined #nixos
numinit has joined #nixos
numinit has quit [Changing host]
numinit has joined #nixos
<numinit> hey folks, trying to use androidenv. Say I'd like to add files to the file imported here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/mobile/androidenv/compose-android-packages.nix#L32
<numinit> is there a way to override an import used in a function's closure without modifying the actual imported file in nixpkgs?
<numinit> (I know that I could just copy the entirety of the androidenv tree...)
<numinit> basically, that generated `packages.nix` is missing the NDK version I want
<clever> numinit: scopedImport is another way to do what you want
<clever> basically, scopedImport { import = myfunc; } ./path-to-file.nix
<clever> that will replace what `import` does within the imported file
<numinit> ./path-to-file.nix likely being `<nixpkgs>/development/.../androidenv` ?
<clever> you can then pass the function it returns to callPackage to provide it the args it originally wanted
<clever> yeah
<numinit> nice, clever trick
<clever> then you just need to modify the import function to both recurse/spread-like-a-virus (when importing, it should use scopedImport moar!), and also to detect the filename in question, and import the "wrong" thing
Glider_IRC__ has quit [Ping timeout: 258 seconds]
kleisli has quit [Remote host closed the connection]
softinio has joined #nixos
kleisli has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
nD5Xjz has quit [Ping timeout: 258 seconds]
<numinit> hmm, what's the idiomatic way to do "path ends in"
<numinit> path to string and builtins.match?
<numinit> eh, baseNameOf, probably
tboston_ has joined #nixos
Shouou has quit [Ping timeout: 258 seconds]
softinio has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
fusion809 has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
nD5Xjz has quit [Ping timeout: 246 seconds]
Jetien has joined #nixos
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "all-packages.nix: Don't recurse into 'tests'", fix eval release.nix »: https://git.io/fjGsz
Jetien has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #60332 → Revert "nixos/switch-to-configuration: Never stop system.slice" → https://git.io/fjGIW
<{^_^}> [nixpkgs] @FRidh pushed commit from @primeos to master « Revert "nixos/switch-to-configuration: Never stop system.slice" »: https://git.io/fjGs2
<{^_^}> [nixpkgs] @dtzWill closed pull request #60353 → python3Packages.PyChromecast: 3.2.0 -> 3.2.1 → https://git.io/fjG3d
<{^_^}> [nixpkgs] @FRidh merged pull request #60314 → oraclejdk8cpu: 8u201 -> 8u211, oracledjdk8psu: 8u202 -> 8u212 → https://git.io/fjGfC
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjGsa
<{^_^}> [nixpkgs] @dtzWill merged pull request #59752 → dedup: init at 1.0 → https://git.io/fjYVr
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjGsr
nD5Xjz has quit [Ping timeout: 250 seconds]
sheeldotme has joined #nixos
nD5Xjz has joined #nixos
<ivan> can anyone on master please confirm this isn't just me https://github.com/NixOS/nixpkgs/issues/60355
<{^_^}> #60355 (by ivan, 1 minute ago, open): zsh HISTFILE is exported when it should not be
<ivan> if you use zsh just `typeset -p HISTFILE` and see if it says export
wfranzini has quit [Remote host closed the connection]
FRidh has joined #nixos
wfranzini has joined #nixos
tboston_ has joined #nixos
pi_ has quit [Quit: WeeChat 1.6]
jasonk000[m] has joined #nixos
<jasonk000[m]> or just continuing on with arch as-is
sheeldotme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo1 has joined #nixos
<ivan> jasonk000[m]: what kind of isolation do you mean?
tboston_ has quit [Ping timeout: 245 seconds]
<simpson> jasonk000[m]: If you can only use Nix if your entire team will also use Nix, then Nix might not be the right choice for your situation.
jasongrossman has joined #nixos
bpye has joined #nixos
bpye has quit [Changing host]
bpye has joined #nixos
bpye has quit [Changing host]
<jasonk000[m]> ivan: for example , i was doing work on bpftrace recently, using llvm + clang
<jasonk000[m]> this was only for a short period
<jasonk000[m]> and i feel like over time i end up with tons of stuff on my system
<jasonk000[m]> @simps
<simpson> Sure. This is an understandable concern.
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
<jasonk000[m]> simpson: it's not an issue if i have nix on mine, i don't expect everyone to use nix, but to use nix for managing dev environment i am guessing i should be sharing the nix pkg config
<jasonk000[m]> and then have all the team use nix
<jasonk000[m]> i'm not sure it makes much sense if the rest of the team is working on a repo and using something different
<jasonk000[m]> i do like the ideas behind nix
<simpson> Nix is a giant step. It can be hard to move an entire team at once. You'll need to get everybody to experience Nix and be comfortable with it first.
pi1 has joined #nixos
<jasonk000[m]> why would i do that compared to "build with a dockerfile"
pi1 has quit [Client Quit]
<simpson> I don't know. But those things aren't exclusive; `FROM nixos/nix` is a thing that can be done in Dockerfiles.
<jasonk000[m]> .. reading ..
nD5Xjz has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
<Gopal[m]> @infinisil:matrix.org: could you tell what am I doing wrong here: https://gitlab.com/psyozu/system/blob/alpha/common/common.nix
<Gopal[m]> tilpner: but I have not overriden or redefined the mkDefault options anywhere else
<Gopal[m]> in that case, the options set with mkDefault should work, right?
revtintin has joined #nixos
nD5Xjz has quit [Ping timeout: 276 seconds]
nD5Xjz has joined #nixos
ctp has quit [Ping timeout: 268 seconds]
<jasonk000[m]> hmm, thanks simpson , i might keep looking
<numinit> getting "value is a path while a set was expected" for some reason - docs on scopedImport are pretty nonexistent AFAICT?
<numinit> it seems like I'm using it right in my nix repl
ctp has joined #nixos
jasom has quit [Ping timeout: 250 seconds]
nD5Xjz has quit [Ping timeout: 245 seconds]
jasom has joined #nixos
<numinit> never done viral recursive scopedImport stuff before... this is out of my normal Nix fare...
tboston_ has joined #nixos
manveru has quit [Ping timeout: 268 seconds]
manveru has joined #nixos
nD5Xjz has joined #nixos
<numinit> heh, well, import takes a single argument, for one
tboston_ has quit [Ping timeout: 258 seconds]
ricekrispie2 has joined #nixos
ricekrispie has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
nD5Xjz_ has joined #nixos
tg has quit [Ping timeout: 245 seconds]
puck has quit [Remote host closed the connection]
puck has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
tg has joined #nixos
init_6 has quit [Ping timeout: 258 seconds]
<Gopal[m]> also, how would I go about disabling or masking systemd units?
diamondbond_ has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
diamondbond_ has quit [Max SendQ exceeded]
monsieurp has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
mkoenig has quit [Ping timeout: 246 seconds]
diamondbond_ has quit [Max SendQ exceeded]
diamondbond has quit [Ping timeout: 246 seconds]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<Gopal[m]> <Gopal[m] "also, how would I go about disab"> .
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
<kalbasit> is it possible to collect garbage from a particular gc root?
mexisme has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
nD5Xjz_ has quit [Ping timeout: 258 seconds]
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
mkoenig has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
cdepillabout has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
nD5Xjz has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<srhb> kalbasit: "from" ? Save the path to what it's pointing to, remove the root, nix-store --delete the path
callahad has quit [Ping timeout: 268 seconds]
diamondbond_ has joined #nixos
callahad has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<srhb> kalbasit: More generally, you usually keep roots around to everything you _do_ want to keep, and then just garbage collect normally.
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<kalbasit> srhb: I'm looking to automatically run the garbage collector to collect only the garbage generated by previous generations of the project setup. But for about 100 developers, so I don't want to collect garbage globally
diamondbond_ has joined #nixos
<srhb> kalbasit: I think the right approach is still to keep roots around to everything you do want to keep. Otherwise you're basically reimplementing the entire gc root system. If that's what you want, maybe look at how Hydra does (essentially...) the same thing.
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
nD5Xjz has quit [Ping timeout: 258 seconds]
<kalbasit> srhb: so any time I make a change to the monorepo setup, I generate a new root under .direnv/root-hash (the hash is just sha256 of the contents of shell.nix and related files)
diamondbond_ has quit [Max SendQ exceeded]
nD5Xjz has joined #nixos
<kalbasit> so the idea is to automatically collect old environments once every 10 days
<kalbasit> as it changes a lot
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<srhb> kalbasit: Why not just automate gc freeing when you're low on space?
diamondbond_ has joined #nixos
<srhb> The problem with trying to do targeted gc is that you have to make active decisions on how far down the tree you want to attempt to collect.
<srhb> It's not impossible, but it's not easily practical either.
<kalbasit> I see what you mena
<kalbasit> mean *
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
<kalbasit> alright then, I'll provide documentation for now until I figure out a better way to do it.
<kalbasit> srhb: thx!
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
linarcx has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
Jetien has joined #nixos
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
<numinit> why might using <nixpkgs> not work when a relative path to a local nixpkgs clone does?
diamondbond_ has quit [Max SendQ exceeded]
<numinit> (my NIX_PATH is correct)
npmccallum has quit [Ping timeout: 250 seconds]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @FRidh merged pull request #59811 → python: provide hasCxxDistutils attribute for pythonPackages.numpy → https://git.io/fjYxC
<{^_^}> [nixpkgs] @FRidh pushed commit from @veprbl to staging « python: provide hasCxxDistutils attribute for pythonPackages.numpy »: https://git.io/fjGGp
Jetien has quit [Ping timeout: 258 seconds]
diamondbond_ has joined #nixos
tboston_ has joined #nixos
<numinit> if I un-hardcode the `<nixpkgs>` it seems to work
<numinit> or, rather, hardcode it to a local nixpkgs clone
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @FRidh merged pull request #56907 → python: make it possible to disable the python setup-hook → https://git.io/fhxhV
<{^_^}> [nixpkgs] @FRidh pushed commit from @LnL7 to staging « python: make it possible to disable the python setup-hook »: https://git.io/fjGGj
diamondbond_ has joined #nixos
<tilpner> numinit: What is your NIX_PATH, and how are you using this file?
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
diamondbond_ has quit [Max SendQ exceeded]
diamondbond_ has joined #nixos
kleisli has quit [Ping timeout: 258 seconds]
tboston_ has quit [Ping timeout: 255 seconds]
<numinit> Ah, it's a snippet of a larger file I've tried to factor out to figure out how to use scopedImport to override an import in androidenv.
diamondbond_ has quit [Max SendQ exceeded]
<numinit> And like: `nix-eval '(import ./example.nix).x {}'`
<{^_^}> [nixpkgs] @FRidh merged pull request #57009 → Generate python3 docs → https://git.io/fhpwI
<{^_^}> [nixpkgs] @FRidh pushed commit from @booxter to master « Generate python3 docs »: https://git.io/fjGZJ
diamondbond_ has joined #nixos
<tilpner> numinit: What is the NIX_PATH?
<tilpner> <nixpkgs>/development/mobile/androidenv looks wrong
<tilpner> It should probably be <nixpkgs/development/mobile/androidenv>
diamondbond_ has quit [Max SendQ exceeded]
<numinit> Oh. Derp
oida has quit [Ping timeout: 256 seconds]
<numinit> facepalm
<numinit> thank you
diamondbond_ has joined #nixos
diamondbond_ has quit [Remote host closed the connection]
<tilpner> Gopal[m]: Use nixos-option to debug the value of options
cdepillabout has quit [Remote host closed the connection]
<Gopal[m]> <iddt "ajs124: and is there a way to lo"> man configuration.nix
linarcx has quit [Ping timeout: 250 seconds]
oida has joined #nixos
zupo has joined #nixos
linarcx has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #60356 → qgrep: init at 1.1 → https://git.io/fjGZq
<{^_^}> [nixpkgs] @teto merged pull request #60294 → xlayoutdisplay: 1.0.2 -> 1.1.0 → https://git.io/fjsb2
<{^_^}> [nixpkgs] @teto pushed 3 commits to master: https://git.io/fjGZm
m0rphism has joined #nixos
ricekrispie has joined #nixos
ricekrispie2 has quit [Ping timeout: 244 seconds]
linarcx has quit [Ping timeout: 246 seconds]
diamondbond has joined #nixos
diamondbond has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @teto merged pull request #60340 → fix lua53Packages.lua → https://git.io/fjGt3
<{^_^}> [nixpkgs] @teto pushed 2 commits to master: https://git.io/fjGZG
linarcx has joined #nixos
<numinit> thanks both clever and tilpner, got things working :-)
<numinit> appreciate the help
rauno has joined #nixos
<numinit> in case anyone wants a generic "override import" recipe: https://gist.github.com/numinit/3c1c07f9d5c7200611b8d97cdf700226
<numinit> that effectively replaces anything in `<nixpkgs/pkgs/development/mobile/androidenv>` that tries to import `packages.nix` with a different copy
<numinit> then uses callPackage to instantiate it
<tilpner> That is horrible (I like it)
<numinit> yep, it's pretty awful
<tilpner> I'm not sure it's correct though
<numinit> I'm not sure it is either
<tilpner> The Nix example (tests/lang/eval-okay-import.nix) also overrides builtins and scopedImport, not just import
<numinit> ha, yeah, I guess that's why I could continue using builtins
<numinit> might have to move that function up a closure to get all of them
orivej has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
ixxie has joined #nixos
tboston_ has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jasongrossman has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @LinArcX opened pull request #60359 → monaco: init at unstable-2012-06-03 → https://git.io/fjGZo
nD5Xjz_ has quit [Ping timeout: 258 seconds]
ambro718 has joined #nixos
nD5Xjz has joined #nixos
amfl_ has joined #nixos
shabius has joined #nixos
amfl has quit [Ping timeout: 255 seconds]
scma has joined #nixos
noqqe has quit [Quit: WeeChat 1.9.1]
shabius_ has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 246 seconds]
linarcx has quit [Quit: WeeChat 2.4]
abc has joined #nixos
scma has quit [Ping timeout: 256 seconds]
linarcx has joined #nixos
abc has left #nixos ["Good Bye"]
linarcx has quit [Client Quit]
fendor has joined #nixos
kaliumxyz has quit [Ping timeout: 258 seconds]
<JaakkoLuttinen[m> Is it possible to have multiple desktop environments set up so that I can choose between, for instance, KDE and i3 during log in time?
<symphorien> this is what happens if you enable several ones at a time
<{^_^}> [nixpkgs] @ahiaao opened pull request #60360 → Added missing dependency needed for testing flent → https://git.io/fjGZQ
linarcx has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #60309 → documize-module: refactor and add more options → https://git.io/fjGvG
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjGZF
linarcx has quit [Client Quit]
linarcx has joined #nixos
ricekrispie2 has joined #nixos
ricekrispie has quit [Ping timeout: 244 seconds]
linarcx has quit [Client Quit]
Ariakenom has joined #nixos
amfl_ is now known as amfl
linarcx has joined #nixos
__monty__ has joined #nixos
Jetien has joined #nixos
Jetien has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @cdepillabout opened pull request #60362 → xmobar: Add xmobar toplevel (backport to 19.03) → https://git.io/fjGnk
alex```1 has joined #nixos
<AlexRice[m]> ,locate xeyes
<{^_^}> Found in packages: xlibs.xeyes
<JaakkoLuttinen[m> How can I create files so that they end up under /run/current-system/sw/etc/xdg/ (defined by $XDG_CONFIG_DIRS)?
<JaakkoLuttinen[m> I mean in package derivation
<JaakkoLuttinen[m> Should I just write files to `$out/etc/xdg`?
<symphorien> yes
<JaakkoLuttinen[m> perfect, thanks!
jmeredith has quit [Quit: Connection closed for inactivity]
ixxie has quit [Ping timeout: 258 seconds]
<symphorien> (technically you also need /etc/xdg to be in environment.pathsToLink but it seems to be the default)
anpryl has joined #nixos
civodul has joined #nixos
orivej has joined #nixos
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60352 → font-manager: "0.7.5" -> actual 0.7.5 → https://git.io/fjG35
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjGnc
bifunc2 has joined #nixos
<bifunc2> hi
<bifunc2> did anyone get the "hello_builder" example working on macos mojave? https://nixos.org/nixos/nix-pills/generic-builders.html
<bifunc2> search for this "works for darwin by using this modified version of hello.nix" on the site
<bifunc2> there's nothing there :S
ardumont has quit [Ping timeout: 246 seconds]
thc202 has joined #nixos
<JaakkoLuttinen[m> How can I easily just copy a file `./foo/bar` to store under `/etc/xdg/john/doe`? I tried `copyPathToStore` but that doesn't allow me to set the store path and filename..
woffs has joined #nixos
<FRidh> runCommand
tboston_ has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 250 seconds]
tboston_ has joined #nixos
orivej has joined #nixos
rprije has quit [Ping timeout: 250 seconds]
anpryl has quit [Ping timeout: 255 seconds]
ixxie has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #60363 → taskell: 1.3.2 -> 1.4.0 → https://git.io/fjGnw
Qubasa has quit [Ping timeout: 246 seconds]
Qubasa has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #60356 → qgrep: init at 1.1 → https://git.io/fjGZq
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjGn6
ardumont has joined #nixos
<symphorien> JaakkoLuttinen[m: in configuration.nix, environment.etc."xdg/john/doe".source = ./foo/bar; I think
NickSeagull has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @dywedir opened pull request #60364 → zola: 0.6.0 -> 0.7.0 → https://git.io/fjGn9
tboston_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ambrop72 opened pull request #60365 → buildEnv: Don't warn about collisions if contents match when ignoreCollisions=true. → https://git.io/fjGnA
Rovanion has quit [Ping timeout: 255 seconds]
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rooke has quit [Ping timeout: 246 seconds]
xorAxAx has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @juaningan opened pull request #60366 → pythonPackages.pysonos: init at 0.0.11 → https://git.io/fjGnp
ambro718 has quit [Quit: Konversation terminated!]
linarcx has joined #nixos
xorAxAx has joined #nixos
ambro718 has joined #nixos
Rovanion has joined #nixos
silver has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #60367 → wireshark: init at 0.9.8-a8faf36 & trace-cmd: 2.6 -> 2.8-a8faf36 → https://git.io/fjGcq
diamondbond has joined #nixos
diamondbond has quit [Remote host closed the connection]
Anton-Latukha has joined #nixos
zupo has joined #nixos
ardumont has quit [Ping timeout: 250 seconds]
tboston_ has joined #nixos
<yorick> 111300 store paths deleted, 155545.73 MiB freed neat
ardumont has joined #nixos
ris has joined #nixos
<sphalerite> can I get nixops to build the system configurations on the target machines?
tboston_ has quit [Ping timeout: 246 seconds]
Jetien has joined #nixos
linarcx has quit [Ping timeout: 258 seconds]
linarcx has joined #nixos
Jetien has quit [Ping timeout: 250 seconds]
LogicAside has quit [Ping timeout: 246 seconds]
NickSeagull has joined #nixos
<clever> sphalerite: mac source machine?
buffet_ is now known as buffet
<sphalerite> clever: no, x86_64 source machine and aarch64-linux target machine which I don't want to use as a remote builder
<clever> sphalerite: ah, the mac logic may still work-ish, https://github.com/NixOS/nixops/issues/984
<{^_^}> nixops#984 (by cleverca22, 39 weeks ago, open): update the automatic build slave functions under darwin
<clever> there is code to detect if you are on a mac, and auto-configure build slaves, just for nixops, to use the target
<clever> but its broken by multi-user nix
<sphalerite> eeeeeeh
<{^_^}> [nixpkgs] @timokau opened pull request #60368 → R: add timokau as a maintainer → https://git.io/fjGcV
<sphalerite> I guess I'll write my own small and simple replacement for nixops :p
<clever> the above issue, is to fix it via --option builders or something else
dansho has joined #nixos
ixxie has quit [Remote host closed the connection]
<clever> updated the issue so it can fix your issue in the future
<{^_^}> [nixpkgs] @peti merged pull request #60368 → R: add timokau as a maintainer → https://git.io/fjGcV
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjGcr
LogicAside has joined #nixos
jhrcek has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
Glider_IRC has joined #nixos
<{^_^}> [rfcs] @7c6f434c opened pull request #45 → A small RFC on deprecating URL syntax → https://git.io/fjGcF
jhrcek has quit [Remote host closed the connection]
linarcx1 has joined #nixos
ardumont has quit [Ping timeout: 250 seconds]
wfranzini has quit [Remote host closed the connection]
fendor_ has quit [Remote host closed the connection]
wfranzini has joined #nixos
tboston_ has joined #nixos
fendor_ has joined #nixos
ggpeti has joined #nixos
init_6 has joined #nixos
linarcx1 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tilpner closed pull request #52063 → [WIP] pythonPackages.pymdown-extensions: init at 6.0 → https://git.io/fpFA0
linarcx1 has joined #nixos
pie_ has joined #nixos
<bifunc2> did anyone get the "hello_builder" example working on macos mojave? https://nixos.org/nixos/nix-pills/generic-builders.html
<bifunc2> search for this "works for darwin by using this modified version of hello.nix" on the site
<bifunc2> there's nothing there :S
mexisme has quit [Ping timeout: 246 seconds]
xkapastel has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
linarcx1 has quit [Ping timeout: 246 seconds]
tboston_ has quit [Ping timeout: 250 seconds]
linarcx1 has joined #nixos
<NickHu> Does anyone know how to get to the system config from nix repl? Like in https://www.reddit.com/r/NixOS/comments/8xxvcy/if_blocks_based_on_hostname_in_configurationnix/ - I'd like to get at the hostname
<sphalerite> NickHu: :a <nixpkgs/nixos>
<sphalerite> then you've got it in config
<sphalerite> NickHu: althugh nixos-option might be more suitable for what you're trying to do
diamondbond has joined #nixos
diamondbond has quit [Remote host closed the connection]
linarcx has joined #nixos
silver has quit [Read error: Connection reset by peer]
fendor has quit [Quit: Leaving]
<globin> gchristensen: hydra#649 is tested, yes :)
<{^_^}> https://github.com/NixOS/hydra/pull/649 (by globin, 2 weeks ago, open): Create a gitlab status plugin
<gchristensen> cool
<{^_^}> [hydra] @grahamc merged pull request #649 → Create a gitlab status plugin → https://git.io/fjq6d
<{^_^}> [hydra] @grahamc pushed 2 commits to master: https://git.io/fjGCM
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @uHOOCCOOHu opened pull request #60370 → staruml: fix dependency libexpat.so.1 → https://git.io/fjGCA
nD5Xjz has quit [Ping timeout: 255 seconds]
revtintin has quit [Quit: WeeChat 1.9.1]
nD5Xjz has joined #nixos
linarcx has quit [Remote host closed the connection]
<{^_^}> [rfcs] @7c6f434c opened pull request #46 → An RFC on platform support tiers → https://git.io/fjGWk
nD5Xjz has quit [Ping timeout: 246 seconds]
nD5Xjz has joined #nixos
zupo has joined #nixos
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mconstant has joined #nixos
<Izorkin> Please check PR #60102 #59949
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60102 (by Izorkin, 4 days ago, open): nginx: 1.14.2 -> 1.16.0
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59949 (by Izorkin, 1 week ago, open): nginxModules: update and add nginx modules
<Gopal[m]> How does updation of desktop environments work in NixOS? Recently, a new version of KDE Applications was released. Will it be pushed to 19.03?
<{^_^}> [nixpkgs] @primeos pushed to master « nixos/sks: Fix another regression from ab5dcc7068b »: https://git.io/fjGWZ
<{^_^}> [nixpkgs] @7c6f434c merged pull request #58675 → sbcl: 1.5.0 -> 1.5.1, tested on nixos x86_64 → https://git.io/fjkbU
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fjGWn
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fjGWC
<gchristensen> Gopal[m]:no, that will be in 19.09
bennofs has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c opened pull request #60371 → Changelog meta entry → https://git.io/fjGW8
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shabius_ has joined #nixos
shabius has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
romildo has joined #nixos
tboston_ has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<bifunc2> gchristensen any ideas why that macos part is incomplete in the pills?
bennofs has quit [Quit: WeeChat 2.3]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
init_6 has quit []
stepcut has quit [Read error: Connection reset by peer]
stepcut_ has joined #nixos
bennofs has joined #nixos
cosmo_ has joined #nixos
Jetien has joined #nixos
Jetien has quit [Ping timeout: 246 seconds]
mmlb3 has quit [Ping timeout: 245 seconds]
mmlb3 has joined #nixos
Maxdamantus has quit [Ping timeout: 244 seconds]
Maxdamantus has joined #nixos
kleisli has joined #nixos
<sphalerite> So I want to use the path to a.drv in the definition of b.drv, and ensure that a.drv gets instantiated *but not built* together with b.drv.
<pie_> nbp, is this the appropriate thing to look at for your SOS stuff https://github.com/NixOS/rfcs/pull/3
<{^_^}> rfcs#3 (by nbp, 2 years ago, closed): [RFC 0003] SOS: Simple Override Strategy.
<sphalerite> As far as I can tell, `builtins.unsafeDiscardStringContext a.drvPath` gives me the behaviour that I want, but coudl someone sanity-check that? :)
<gchristensen> sphalerite: unsafely discard the string context on the ... yep!
aleph- is now known as Church-
<sphalerite> gchristensen: perfect, thanks :)
<gchristensen> sphalerite: but mangle the contents if you include it in your output (like md5sum it) so nobody tries to realize it
<pie_> wow so many uses of unsafediscardstringcontext lately :D
<gchristensen> or else you might be grumpy about yourself later
<sphalerite> gchristensen: not sure I understand that?
<pie_> gchristensen, what do you mean
<gchristensen> if you see /nix/store/oeuthontuhoneht-whatever in a resulting derivation, you be pretty surprised to see it doesn't exist
<sphalerite> oh, but I'm not using the output path, only the drv path :)
<gchristensen> same, though
<sphalerite> and I do want that to exis- oh?
<sphalerite> :/
<gchristensen> oh then just use drvPath and don't discard the string context
<gchristensen> if you discard context, you should mangle it
endformationage has joined #nixos
<gchristensen> anyway, I really really have to go now ... good luck :P we can talk in like 4hrs
<pie_> gchristensen, how will ew find out when office hours are
fendor has quit [Quit: Leaving]
Rusty1 has joined #nixos
zupo has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<sphalerite> pie_: I assume he'll write in https://discourse.nixos.org/t/nix-office-hours/2762
<pie_> ah ok \o/
sakalli has joined #nixos
polman has joined #nixos
ris has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #60311 → kwalletcli: fix pinentry-kwallet → https://git.io/fjGv4
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjGlO
<{^_^}> [nixpkgs] @peterhoeg merged pull request #59256 → quaternion-git: init at 0.0.9.4-rc3 → https://git.io/fjqJd
<{^_^}> [nixpkgs] @peterhoeg pushed 4 commits to master: https://git.io/fjGl3
fendor has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #58800 → openvpn: support for updating systemd-resolved with DNS servers → https://git.io/fjIcK
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjGlZ
anpryl has joined #nixos
mconstant has quit [Ping timeout: 245 seconds]
polman has quit [Ping timeout: 245 seconds]
<bifunc2> i'm thinking about ditching macos for good.
<bifunc2> too much pain. nothing works.
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjGlc
<{^_^}> [nixpkgs] @peterhoeg merged pull request #60075 → yad: 0.40.0 -> 0.42.0 → https://git.io/fj328
<bifunc2> s/works/"just works"
philippD has joined #nixos
<bifunc2> as far as i can see, it's either nix or macos. take your pick
<philippD> Hey, how do I fix haskell packages that are marked as broken? currently all cloud-haskell packages are marked as broken, I would like to fix that.
<lordcirth_> philippD, try to build them, see what breaks, fix it?
sindrip has joined #nixos
polman has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
amir has quit [Quit: No Ping reply in 180 seconds.]
polman has quit [Ping timeout: 245 seconds]
sb0 has joined #nixos
amir has joined #nixos
<philippD> Is there a way to disable cabal version ranges when building a package or do I have to modify the cabal file?
<symphorien> doJailBreak iirc
gagbo has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #59465 → Add Jellyfin module → https://git.io/fjma6
<{^_^}> [nixpkgs] @aanderse pushed 4 commits to master: https://git.io/fjGlP
winem_ has joined #nixos
polman has joined #nixos
jmeredith has joined #nixos
polman has quit [Ping timeout: 245 seconds]
amir has quit [Ping timeout: 245 seconds]
amir has joined #nixos
<genesis> building '/nix/store/5cjyil9x1jk47ba9nnb3bxpspv4f9kyp-qtwebengine-5.12.0.drv'... not cool, i wonder why, licence pb ?
<xorAxAx> genesis, hmm? whats your channel?
<genesis> i did update but always that
tboston_ has joined #nixos
<xorAxAx> you mean every update will build that package?
polman has joined #nixos
<genesis> no, update doesn't build it , only when i try to make derivation of a tool i packaged
<genesis> depends on it, but i wonder why it doesn't take it from cache
<{^_^}> [nixpkgs] @marenz2569 opened pull request #60372 → GPG Smartcard support for luks encrypted volumes in initrd → https://git.io/fjGl9
Shouou has joined #nixos
<xorAxAx> maybe qtwebengine is not in cache for a similar reason as chromium: its definitely heavy to build
ris has joined #nixos
<xorAxAx> is it possible to list all qtwebengine builds on cache.nixos.org?
<genesis> that's why i need it from cache, anyway, i would try to comment my derivation and explain why i don't depend on qt5.full
<genesis> i don't think people using scriptcommunicator to qt designer UI couldn't find the solution .
ATuin has joined #nixos
<xorAxAx> /nix/store/axnz4abnnvjnwaimlb64zphgx7fkb1x3-qtwebengine-5.12.0-dev is on cache
<thefloweringash> looks like that path is in the queue to be built: https://hydra.nixos.org/build/92758801#tabs-details
<genesis> since days so :)
<genesis> look only yesterday, but may be failed others weeks ok
<{^_^}> [nixpkgs] @dtzWill pushed to master « Revert "appimageTools: small simplification" »: https://git.io/fjGlA
polman has quit [Ping timeout: 245 seconds]
diamondbond has joined #nixos
<genesis> dtz : i should perharps have a look to simply the soulseekqt derivation ?
diamondbond has left #nixos [#nixos]
<genesis> i was using binwalk .
sindrip has quit [Ping timeout: 246 seconds]
zupo has quit [Ping timeout: 246 seconds]
rauno has quit [Ping timeout: 240 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #60362 → xmobar: Add xmobar toplevel (backport to 19.03) → https://git.io/fjGnk
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-19.03: https://git.io/fjG8U
bifunc2 has quit [Quit: -]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60364 → zola: 0.6.0 -> 0.7.0 → https://git.io/fjGn9
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjG8k
zupo has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #58319 → idrisPackages: Fix linking to gmp library and cc → https://git.io/fjUsP
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjG8t
<{^_^}> [nixpkgs] @Infinisil merged pull request #58320 → idrisPackages.glfw: Fix runtime → https://git.io/fjUsd
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjG8q
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60210 → gnome3.mutter328: backport changes from 3.32 → https://git.io/fjsBP
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjG8Y
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « gnome3.mutter328: backport changes from 3.32 »: https://git.io/fjG8Z
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil opened pull request #60373 → idrisPackages.build-idris-package: Install binaries → https://git.io/fjG8n
<genesis> dtz ./pkgs/applications/networking/p2p/soulseekqt/default.nix , could be fine to fix desktop-file as i did ?
Guest7229 has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #60334 → nixos.grafana: fix docstring typo → https://git.io/fjGLq
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjG8E
<Guest7229> a few days ago I made a zpool over 3 disks and installed nixos there, yesterday i decided to dedicate one of the disks to some other os, i created a new pool over only two of the disks and installed nixos there, now i get the error: cannot import 'rpool': more than one matching pool when trying to boot... from nixos live usb zpool import only shows one rpool and it manages to import it. I have no idea
<Guest7229> what to try anymore
<{^_^}> [nixpkgs] @marenz2569 opened pull request #60374 → Added support for python caldav package → https://git.io/fjG8z
polman has joined #nixos
<sphalerite> Guest7229: did you use zpool destroy to destroy the pool before creating the new one?
<Guest7229> not at the first retry, but on the second, third, all the way to the current (sixth) attempt
<sphalerite> Guest7229: anyway, put `boot.shell_on_fail` on your kernel command line, and you'll be able to get a shell when it fails to import the pool
<sphalerite> you should hopefully be able to see the incorrect pool using `zpool import` in that shell, and destroy it from there
justanotheruser has joined #nixos
<Guest7229> but why dont i see it from live usb?
<sphalerite> idk
<Guest7229> if i get to see it, any advice what to do about it?
<sphalerite> destroy it
<{^_^}> [nixpkgs] @anpryl opened pull request #60375 → slack: dark mode css can be passed as argument → https://git.io/fjG8M
<Guest7229> sphalerite: thanks, see you on the other side :)
Guest7229 has quit [Quit: leaving]
<{^_^}> [nixpkgs] @marenz2569 opened pull request #60376 → added mosquitto-go-auth library → https://git.io/fjG8y
linarcx1 has quit [Ping timeout: 246 seconds]
linarcx1 has joined #nixos
<Gopal[m]> Guys, help. Whenever I try to restore backups on Wire Messenger, it crashes with "No GSettings schemas are installed on the system"
<Gopal[m]> I'm using Plasma5 on 19.03
<xorAxAx> how do i get a debug build of xfce4.power-manager?
anpryl has quit [Ping timeout: 255 seconds]
<NickHu> Can someone point me towards the documentation of mkMerge? Couldn't find it on google
Neo-- has joined #nixos
<alj[m]> Hey everyone!! Quick question: what is a simple quick file hoster available on nixos?
<infinisil> alj[m]: You mean like a paste service?
<alj[m]> infinisil: No more like a lightweight dropbox i can just chuck some files on to be downloaded by others
<infinisil> alj[m]: Well all you need for that is an nginx running at some root directory, then you can just copy files in there
<infinisil> Maybe that's too simple for you though :P
linarcx1 has quit [Ping timeout: 245 seconds]
<infinisil> xorAxAx: Maybe try `pkgs.enableDebugging xfce4.power-manager`
<NickHu> infinisil: It doesn't seem to work like that though
Neo-- has quit [Ping timeout: 245 seconds]
<NickHu> For instance, if in a nix repl I do lib.mkMerge [({a = 1;}) ({a = 2;}) ]
<NickHu> I don't get something that's like {a = 2;} like that implies
<infinisil> NickHu: mkMerge only gets "applied" when evaluated by the module system
<NickHu> Ah
<NickHu> Is there a way to call that evaluator?
linarcx1 has joined #nixos
<infinisil> lib.evalModules is the evaluator for modules
kleisli_ has joined #nixos
<NickHu> Can you show me how to call that for my small example? I don't need the full power of the module system
kleisli has quit [Ping timeout: 246 seconds]
<infinisil> > (lib.evalModules { modules = [({ lib, ... }: { options.x = lib.mkOption { type = lib.types.listOf lib.types.int; }; config.x = lib.mkMerge [ [ 10 ] [ 20 ] ]; })]; }).config.x
<{^_^}> [ <CODE> <CODE> ]
<NickHu> (Essentially, I'm trying to emulate the imports section of nixos configuration.nix in home-manager)
<infinisil> > :p (lib.evalModules { modules = [({ lib, ... }: { options.x = lib.mkOption { type = lib.types.listOf lib.types.int; }; config.x = lib.mkMerge [ [ 10 ] [ 20 ] ]; })]; }).config.x
<{^_^}> [ 10 20 ]
<alj[m]> infinisil: ill try that
<{^_^}> [nixpkgs] @joachifm opened pull request #60377 → nixos/apparmor: service unit improvements → https://git.io/fjG4k
<infinisil> NickHu: `imports` is something built into the module system, and because home-manager uses the module system it supports that already
<NickHu> Oh
<xorAxAx> infinisil, thank you
<xorAxAx> does exactly what i want
<sphalerite> clever nh2 samueldr and anyone else who may be interested in kexec: Review on #60237 would be appreciated :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/60237 (by lheckemann, 2 days ago, open): nixos/kexec: don't clobber existing kexec-loaded kernel
softinio has joined #nixos
Guest7229 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #59892 → ocamlPackages.tyxml: 4.2.0 -> 4.3.0 and related updates → https://git.io/fjORM
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjG4L
<infinisil> Gopal[m]: Maybe try the same fix as in https://github.com/NixOS/nixpkgs/pull/55449
<{^_^}> #55449 (by emmanuelrosa, 11 weeks ago, merged): trilium: fix missing GSettings schemas
<Guest7229> sphalerite: zpool import rpool from the boot.shell_on_fail reported IO error (but seemed to had imported the pool)... I couldn't see two pools of the same name... where does the list of pools come from anyway? I noticed that grub has two search entries with --label=rpool, might that be related?
<sphalerite> Guest7229: grub shouldn't have anything to do with it I think
<sphalerite> Guest7229: did you try only `zpool import` to see if it shows multiple pools?
<Guest7229> sphalerite: one of the disks that was part of the previous rpool now has windows on it (maybe something still survived in the mbr or somewhere)
<nh2> sphalerite: independent of your patch, when is this module active / does that kexec invocation run? Unconditionally?
<Guest7229> sphalerite: i did indeed, and zpool import -D which showed nothing
<sphalerite> nh2: when using systemctl kexec, right before the actual kexec
o1lo01ol1o has joined #nixos
<nh2> sphalerite: NO WAY
<sphalerite> the existence of systemctl kexec?
<sphalerite> Guest7229: huh. I don't know then. Does it work without a complaint if you unplug the windows HDD before booting?
<Guest7229> sphalerite: i am confused why zpool import rpool printend an error when run from the installed system, but works without a problem from the live usb
sb0 has quit [Quit: Leaving]
<nh2> sphalerite: are you telling me that until your patch, every time that I run `systemctl kexec`, it completely ignores what I've written in my manually-typed `kexec` just before?
<sphalerite> Guest7229: yeah that is weird as well…
<sphalerite> nh2: yes
<Guest7229> sphalerite: i don't think it does, now that you ask, i plugged the windows disk in only after few of the previous attempts that ended the same way
<nh2> sphalerite: you know what I've been doing for the past 48 hours straight?
<sphalerite> nh2: annoying, isn't it?
<sphalerite> nh2: oh fun >_<
<nh2> sphalerite: typinng kexec invocations and wondering why they don't do what I want
<sphalerite> nh2: ouch
<nh2> sphalerite: and the 48 hours are not an exaggeration
<sphalerite> D:
<sphalerite> well, glad I could at least end the confusion :p
<nh2> sphalerite: for the last week I have this problem that I just couldn't figure out why kexec from PlopKexec and and from NixOS behave differently with my EFI poweroff crap, and I've made EVERYTHING equal
<sphalerite> Guest7229: hm. I don't really know, sorry…
<nh2> sphalerite: if this is it, your change is a godsend
jtojnar has quit [Remote host closed the connection]
<nh2> sphalerite: I have a small doubt about it though, as I also `kexec -e`ed a few times and that didn't solve my problem. That shouldn't take the code path mentioned
<sphalerite> kexec -e without a clean shutdown can be weird generally
<sphalerite> no idea why
domogled has joined #nixos
<softinio> I have seen some docs for python development using nix-shell where they still create a virtualenv after going into a nix-shell with a specific version of python ..... my understanding is you don't need virtualenv anymore as nix-shell in effect provides the same ie a separate instance of python from your main system one whilst you are in the shell. Is my understanding correct?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60360 → Added missing dependency needed for testing flent → https://git.io/fjGZQ
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @ahiaao to master « flent: add procps dep so checkPhase can succeed »: https://git.io/fjG4G
<infinisil> softinio: Yeah
<infinisil> Which section does that?
tboston_ has quit [Ping timeout: 250 seconds]
<pie_> infinisil, probably so they can use pip?
<softinio> infinisil: https://nixos.wiki/wiki/Python (pip section) ....separate to nix docs some blogs out there that do that ... hence got concerned to get clarification
linarcx1 has quit [Quit: WeeChat 2.4]
<softinio> for pip I am just including python36Packages.pip in my buildInputs
<infinisil> Ah yeah that seems to be for people who need to use pip for some reason
winem_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @c0bw3b opened pull request #60378 → mfoc: 0.10.6 -> 0.10.7 → https://git.io/fjG4W
<Guest7229> sphalerite: can I use the shell_on_fail to actually boot the system (because i can manually import the zpool)?
linarcx has joined #nixos
<sphalerite> Guest7229: yes — use the PID1 option, import the pool, mount the necessary filesystems, then `exec switch_root /mnt-root /nix/var/nix/profiles/system/init`
shibboleth has joined #nixos
<Guest7229> sphalerite: thanks
<softinio> infinisil: the conda section of that docs creates another virtualenv also
<softinio> infinisil: including python36Packages.pip in my buildInputs is not enough to use pip as a separate pip to the main system one?
<infinisil> Hmm not sure, I don't ever use pip, or python for that matter, I only occasionally need a python in a nix-shell, and have never needed pip for that
Guest7229 has quit [Remote host closed the connection]
<softinio> infinisil: I will try it out and let you know ... thx
<genesis> ,locate Qt5DesignerComponents.so
<{^_^}> Couldn't find in any packages
domogled has quit [Ping timeout: 250 seconds]
kleisli_ has quit [Quit: Leaving]
Havvy has quit [Ping timeout: 268 seconds]
JulianWels has joined #nixos
Havvy has joined #nixos
tboston_ has joined #nixos
softinio has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polman has quit [Ping timeout: 245 seconds]
softinio has joined #nixos
polman has joined #nixos
drakonis has joined #nixos
<sphalerite> I want to build a patched version of the radeon kernel module, and am currently having two problems — 1. lots of "indirect call found in RETPOLINE build" warnings, and 2. the resulting module fails to load because of the missing symbol "mcount".
<pie_> anyone know what might cause nix repl to exit (?) with no errors or anything when printing parts of a value
<sphalerite> My current expression is https://sphalerite.org/dump/radeon-only.nix - does anyone know what might be wrong here?
<alj[m]> infinisil: you really helped me with that config! thank you! i slapped some auth on the nginx just to be safe but now everything runs smoothly
domogled has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #60379 → service-wrapper: 16.04.0 -> 19.04 → https://git.io/fjG4X
o1lo01ol1o has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<infinisil> alj[m]: Nice :)
o1lo01ol1o has joined #nixos
<infinisil> alj[m]: You might want to turn off the autoindex to prevent people from being able to see a listing
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
<infinisil> Oh, I guess with auth it doesn't matter
sindrip has joined #nixos
Jetien has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<sphalerite> clever: maybe you know something about my kernel module problem?
<{^_^}> [nixpkgs] @cawilliamson opened pull request #60380 → rambox-pro: init at 1.1.2 → https://git.io/fjG4b
Jetien has quit [Ping timeout: 245 seconds]
leotaku has quit [Quit: ZNC 1.7.2 - https://znc.in]
leotaku has joined #nixos
<pie_> ugh, apparently the order of redirections matters in bash...?
<sphalerite> pie_: yes
<pie_> couldnt figure out why i was sitll getting stderr, had to change the order to
<pie_> Xephyr :2 -screen 800x600 > "/home/nixos/stuff/nixapps/wine/pls/winepackages/again/mount"/xephyr-2-log 2>&1
<sphalerite> pie_: if you're referring to other file descriptors while redirecting
<sphalerite> pie_: &>/home/nixos/stuff/nixapps/wine/pls/winepackages/again/mount
<sphalerite> :)
<pie_> i was doing 2>&1 > stuff
<pie_> why didnt that work
ayerhart has quit [Read error: Connection reset by peer]
<pie_> oh thats better
<sphalerite> because 2>&1 redirects stderr to wherever stdout is pointing, *then* > changes stdout to elsewhere
* pie_ squints -_-
<pie_> wait is & like the c reference operator or something
<pie_> or dereference or i dont even know
<pie_> is it trying to be analogous to that lol
<sphalerite> no
<sphalerite> well
<sphalerite> actually maybe
<sphalerite> idk
* pie_ shoots himself in the foot
<sphalerite> to answer your question on a more abstract level: because the shell is a fairly thin wrapper over the POSIX APIs, and redirection corresponds to the open, close and dup syscalls
ddellacosta has joined #nixos
<sphalerite> (or rather dup2)
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60381 → appimage: move extraPkgs default'ing to wrapAppImage → https://git.io/fjGBv
<pie_> well, now that my logs arent being spammed in my face
<pie_> sphalerite, thanks
thc202 has quit [Ping timeout: 258 seconds]
ayerhart has joined #nixos
ayerhart has quit [Client Quit]
ayerhart has joined #nixos
tboston_ has quit [Ping timeout: 246 seconds]
<aswanson> anyone had luck using R reticulate on nixos? I'm getting a segfault when I try to do anything with python from R
mconstant has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #60379 → service-wrapper: 16.04.0 -> 19.04 → https://git.io/fjG4X
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjGBO
<{^_^}> [nixpkgs] @angristan opened pull request #60382 → README: 18.09 -> 19.03 → https://git.io/fjGB3
softinio has quit [Remote host closed the connection]
softinio has joined #nixos
<pie_> aswanson, how are you setting it up, do you have a more specific error?
<pie_> (no i havent but my wild guess is theres a mismatch somewhere)
<aswanson> pie_: I'm using nix-shell to set up a python environment with python, keras, and tensorflow available, then I open a R REPL, load reticulate, and call py_config()
softinio has quit [Ping timeout: 268 seconds]
<aswanson> the traceback shows that it chokes after trying to run py_run_string_impl to add some reticulate scripts to the system path
<aswanson> R can see my python installation in the nix store and it also finds those reticulate scripts, but the segfault errors with 'cause "memory not mapped"'
kaliumxyz has joined #nixos
<kaliumxyz> Hi!
<{^_^}> [nixpkgs] @matthewbauer merged pull request #60382 → README: 18.09 -> 19.03 → https://git.io/fjGB3
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjGBZ
<kaliumxyz> so what if I need to make something in a user directory?
<kaliumxyz> or just need to make something on the disk at a fixed location?
<pie_> hum... aswanson can you paste a log?
Neo-- has joined #nixos
<Yaniel> kaliumxyz: like what
<kaliumxyz> like a folder in the home dir of a the a user I create.
<Yaniel> look at home manager
<kaliumxyz> I create the user in the configuration.nix and have a shell script which is ran on building a deriviation to add it
<kaliumxyz> but I cant touch the real files afaik
<kaliumxyz> I'm a total noob btw.
<Yaniel> home manager
<Yaniel> for things elsewhere in the system, make it part of the package output
<kaliumxyz> okay, how do I do that?
<Yaniel> short answer: read the manual
<Yaniel> and nixos.wiki
emilsp is now known as lemsip
<Yaniel> long answer I won't type on the phone
<kaliumxyz> nixpkgs manual?
<kaliumxyz> nix manual?
<Yaniel> both
<aswanson> that's from the R REPL, let me know if you'd like to see the shell.nix file I'm using
<pie_> aswanson, yeah thats probably helpful, and i can try to repro
<{^_^}> [nixpkgs] @joachifm merged pull request #60196 → mergerfs: fix for nixos systemd.mounts → https://git.io/fjsZ3
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjGB4
<aswanson> pie_: thanks for looking at this, I updated the gist to contain my shell.nix
<pie_> aswanson, you probably have better things to do but it might be interesting to try to reduce to a reproducible problem with a shell.nix
<kaliumxyz> ok but what if I want to make a symlink to the compiled program in a specific users home dir?
<pie_> aswanson, reproducible bug reports \o/ , ok ill give it a look
<pie_> aswanson, ah, you have R in your environment right
ardumont has joined #nixos
<aswanson> pie_: yeah, I just added it and my slew of regualarly used packages to my system environment
<pie_> can you copy that to the shell.nix?
<aswanson> sure, give me a sec to make sure I use the right wrapper and such
<pie_> hell that might even magically fix it :/
<aswanson> yikes
<pie_> my current hypothesis is that R probably doesnt have something from python set up properly
<pie_> or missing something in its environment
<pie_> and that adding python to its propagetedbuildingputs might work, but im just making a wild guess here
<aswanson> well, I dug into the reticulate source and py_run_string_repl is some sort of a c/cpp export function
<aswanson> so that could be at issue too
<pie_> the error message is not very helpful in any case 'xD
<aswanson> I've already opened an issue with reticulate since regardless of where the problem ultimately lies it probably shouldn't fail with a segfault
<pie_> aswanson, why are you using py_config
<infinisil> ,home-manager kaliumxyz
<{^_^}> kaliumxyz: home-manager allows you to manage your per-user configuration similarly to NixOS's configuration.nix <https://nixos.wiki/wiki/Home_Manager>. It can also be used in your NixOS configuration directly, see <https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module>
<pie_> aswanson, im looking at this random thing and i dont see any mentions of it for basic use https://rstudio.github.io/reticulate/
<kaliumxyz> please don't focus on the home aspect, I'm doing this for a git server.
domogled has quit [Ping timeout: 255 seconds]
<kaliumxyz> home-manager is afaik not meant to be used on your nixops deployments.
<aswanson> it's just a test function to see what configuration reticulate is using, I get the same issue with repl_python()
<kaliumxyz> though I might be completely wrong on that.
<pie_> aswanson, ah ok
<pie_> aswanson, id try to set up r myself but i havent used it in a while
<aswanson> pie_: don't go too hard at it, it's a bit janky to get going
<aswanson> I'll see how hard it will be to blend both into the shell.nix file I shared
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60378 → mfoc: 0.10.6 -> 0.10.7 → https://git.io/fjG4W
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fjGBw
<infinisil> kaliumxyz: Well I'm using home-manager for all my machines through nixops
<infinisil> kaliumxyz: But I see, if it's a server you might want something more lightweight
<infinisil> But there isn't anything more lightweight, unless you write something yourself
<pie_> aswanson, just the r expression by itself would help for starters
<infinisil> kaliumxyz: I think some people have some minimal configs for this lying around actually, but I can't remember who
<kaliumxyz> I just need to know how I can affect the regular filesystem.
<kaliumxyz> Thanks though c:
<genesis> ,locate libQt5DesignerComponents.so.5
<{^_^}> Found in packages: qt5.qttools, qt56.qttools, qt59.qttools, qt511.qttools
<kaliumxyz> I feel like nixpkgs manual is helpful on this.
<aswanson> pie_: I added rPackages.nix to that gist, that's what I use to get R into my system environment, with extraneous packages removed.
<pie_> aswanson, i can never remember how to do this properly but mkShell might work for gluing stuff together (you cant nix-build it thoug)
<infinisil> kaliumxyz: A systemd service should work well
wfranzini has quit [Remote host closed the connection]
<kaliumxyz> f-for making a file?
<kaliumxyz> or in this case, a symlink?
<kaliumxyz> basically I just need to write something to the home dir of one user.
<{^_^}> [nixpkgs] @c0bw3b merged pull request #60370 → staruml: fix dependency libexpat.so.1 → https://git.io/fjGCA
<{^_^}> [nixpkgs] @c0bw3b pushed 3 commits to master: https://git.io/fjGBP
<aswanson> pie_: it looks like the wiki has some hints for getting R packages via nix-shell, I'll see if I can kludge them together: https://nixos.wiki/wiki/R
tboston_ has joined #nixos
<infinisil> kaliumxyz: Yeah, a systemd service should work fine, with systemd.services, wantedBy = [ "multi-user.target" ], Type = "oneshot", User = "<theuser>"; Group = "users", WorkingDirectory = users.users.<theuser>.home, and script = "<the commands you need to run>";
NickSeagull has joined #nixos
<infinisil> And maybe remainAfterExit = true
<infinisil> Oh maybe systemd.tmpfiles would work too actually
tboston_ has quit [Ping timeout: 246 seconds]
<pie_> aswanson, how old is your nixos
<pie_> im getting python3 is undefined
wfranzini has joined #nixos
<pie_> or i did some stupid mistake somewhere
<pie_> nevermind, stupid mistake
<infinisil> kaliumxyz: Yeah, check out the systemd.tmpfiles option, look at examples in nixpkgs, and `man tmpfiles.d`, that would be simpler than a systemd service
JulianWels has quit [Ping timeout: 250 seconds]
domogled has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #60235 → cryptsetup: create /run/cryptsetup → https://git.io/fjsVl
<{^_^}> [nixpkgs] @joachifm pushed commit from @eadwu to master « nixos/luksroot: create /run/cryptsetup (#60235) »: https://git.io/fjGBQ
<lemsip> does anyone know how to setup pcscd/gpg so that a regular user can access a smart card? Currently, only root can _see_ my yubikey
emilsp has joined #nixos
<pie_> lemsip, probably udev?
<emilsp> and how would I fix that?
<Yaniel> yeah yubico provides some udev rules
<pie_> lemsip, googling nixos smartcard also seems to have relevant results so you might find some info
<Yaniel> should ship with the relevant nixos packag
<emilsp> I already added yubico package to udev and rebuilt. is this something that requires a reboot?
<kaliumxyz> oh ye dude
<kaliumxyz> emilsp: which one do you have?
<kaliumxyz> the package that you just added doesnt support all the yubikeys because its the personalisation tool which only supportrs select yubikeys
<emilsp> I think I have the 4th one with nfc?
<kaliumxyz> I solved this by adding: pkgs.libu2f-host to my services.udev.packages
<kaliumxyz> the neo? that one should work with the personalisation tool.
<emilsp> nah, the yubikey 5, not the neo
<Yaniel> the libu2f package iirc pulls in both -host and -client
<pie_> aswanson, how do i start R? :;P
<kaliumxyz> host adds the relevant udev rules.
<aswanson> pie_: just R
<pie_> oh big R, of course
<pie_> aswanson, ok i have reproduced your crash
<aswanson> well that's good at least
<emilsp> thanks kaliumxyz, libu2f-host did the trick :)
mexisme has joined #nixos
<kaliumxyz> c:
<pie_> aswanson, i want to make sure its succeeding at even starting python
<pie_> and that it can even see python
<NickHu> Is there a way I can use the module `imports` to import an attr set rather than a path?
<NickHu> Does it just evaluate the expression at the path?
<aswanson> `Sys.which('python')` at least shows that R is using the nix-store
<{^_^}> [nixpkgs] @Ma27 closed pull request #53857 → pulseeffects: fix functionality for non-GNOME environments → https://git.io/fhnuS
<aswanson> I am also seeing that reticulate has Rcpp as a dependency, and I know basically nothing about how that works
<pie_> aswanson, any where reticulate does initialization
NickSeagull has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kaliumxyz> I'll add it to the wiki c:
<pie_> aswanson, do you use rstudio? maybe its possible to step through the r code with the debugger?
<aswanson> good idea, I do use it. I've not used their debugger before but I can certainly give it a shot
mexisme has quit [Ping timeout: 246 seconds]
<pie_> aswanson, know offhand how to get rstudio in this r packages stuff?
<pie_> heres what im using btw https://bpaste.net/show/918c351a83c9
<pie_> oh sorry i pasted the wrong thing, just remove rStudio
<infinisil> NickHu: imports works with both nix expressions and paths that contain nix expressions
<infinisil> So you could do `imports = [ { foo = 10; } ]`
<aswanson> just change rWrapper to rstudioWrapper is how I do it
<aswanson> i have them in parallel but I think that should work in your case
hhefesto has joined #nixos
<simpson> Is there a preferred pattern for builds where there is a check, but the check is done interpreted or on the original source rather than the built artifacts?
<pie_> aswanson, also its nice to know this exists, i tried t ouse python with r ages ago and i think got mixed results
<simpson> The pattern I'd prefer (obviously?) is to do the checkPhase *before* buildPhase.
<pie_> i was using python to access a hardware device \o/
shibboleth has quit [Quit: shibboleth]
<aswanson> pie_: yeah, folks have been doing some impressive stuff with R, but I'm definitely feeling punch of being in the middle slice of a small venn diagram right now
<aswanson> *pinch
<{^_^}> [nixpkgs] @kalbasit merged pull request #60282 → browserpass: Remove v2 and switch to buildGoModule → https://git.io/fjs5f
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Infinisil to master « browserpass: Remove v2 and switch to buildGoModule (#60282) »: https://git.io/fjGRY
<infinisil> simpson: postPatch sounds like a good place
<infinisil> I don't think there's any existing pattern for this
<pie_> aswanson, i tab completed some py_availible() function and it says false
<aswanson> pie_: neat
<pie_> aswanson, my wild guess is that due to the way things are done with nix, the r environment has its path hardcoded, but im not sure
<pie_> could probably check
<pie_> so even though your shell has python it doesnt see-- wait but you said it sees it nvm
<aswanson> pie_: that looks like it's because python hasn't been initialized yet, there is an initialize flag in py_available() that defaults to false
<pie_> i guess need to check the source
<kaliumxyz> is my edit ok c:?
<pie_> makes sense
<kaliumxyz> first time ever adding to a wiki.
* pie_ pokes around some more
<DigitalKiwi> any recommendations for file indexers? spotlight is the number 1 thing I miss from macos. I had problems with the kde one. I use xfce. I know of gnome3.tracker which I haven't tried and I think is the kind of thing I want? it's the top contender if no other suggestions...
<infinisil> DigitalKiwi: I've used alfred for a bit, which wasn't terrible I think, maybe check it out
<DigitalKiwi> oh yeah i've heard of that but forgot
<DigitalKiwi> B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool
<DigitalKiwi> is...is that it? :/
<aswanson> pie_: fyi to debug in rstudio you can call `debugonce(*function-name*)` to debug a function you don't have the source to
<pie_> ah
<pie_> but we do have the source (?) not sure how to jump to it though
<pie_> well ok idk if nix installed the source or not
<aswanson> R packages sort-of always have the source IIRC
stepcut has joined #nixos
<aswanson> but this will at least avoid searching through the nix-store
<pie_> debugonce(py_config) doesnt seem to have done anything
<infinisil> DigitalKiwi: Haha probably not
<infinisil> > alfred.meta.description
<{^_^}> "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool"
<infinisil> Whaaa
<aswanson> then you can call py_config() and it will start the debugger
<aswanson> it's like setting a breakpoint imperatively
<pie_> ohh
<pie_> i ended up making a file and setting a breakpoint
<DigitalKiwi> somewhere there's a batman program that indexes files
<pie_> "debug location is approximate because source is not availible"
<aswanson> oof
<pie_> but it seems to show source
stepcut_ has quit [Ping timeout: 250 seconds]
shibboleth has joined #nixos
<infinisil> DigitalKiwi: Weird, I guess it's not in nixpkgs, I was pretty sure I used it at some point
<yorick> is there a way to recursively get all file dependencies of a specific instantiation?
<yorick> (including the nix ones)
<infinisil> DigitalKiwi: Ah darn! It's a macOS app https://www.alfredapp.com/
<infinisil> The linux one is called differently
<infinisil> > albert.meta.description
<{^_^}> "Desktop agnostic launcher"
<infinisil> DigitalKiwi: There we go
<simpson> DigitalKiwi, infinisil: If one has a BATMAN network set up, then alfred is a simple useful daemon that syncs with other alfreds on the network.
* simpson should document the local BATMAN network
orivej has joined #nixos
<infinisil> I might set up a BATMAN network
<infinisil> Just because of the name lol
bennofs has quit [Quit: WeeChat 2.3]
<NickHu> infinisil: Ah, that's good - I'm trying to define all my overrides for home-manager in one file per machine, but I also want the expression to contain values that I might want to reference in my main home.nix. So, e.g. I can define an extra value like device.dpi in myhost.nix; however, due to the module system, it fails to typecheck if I just use myhost.nix as an import, so I could put it all into a key like device.overrides
<NickHu> and import that instead - is there a cleaner way of doing this?
<pie_> aswanson, ok theres a py_discover_config()
<DigitalKiwi> ok so I'll look into albert, tracker, and synapse
<aswanson> pie_: yeah I'm stepping through that now and boy is there a lot of stuff going on
<infinisil> NickHu: Not sure what you mean, can you show some code that shows what you're trying to do?
<pie_> well, it doesnt crash in there so *shrug*
<pie_> hopig to find what causes the crash
<pie_> but its probably gonna crash in the c++
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #60385 → gotools: 2019-03-05 -> 2019-04-28 → https://git.io/fjGRg
tboston_ has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #60386 → Update echoip, switch to buildGoModule → https://git.io/fjGRV
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60176 → mousetweaks: init at 3.32.0 → https://git.io/fjstU
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjGRw
NickSeagull has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #60387 → dep: 0.5.0 -> 0.5.1 → https://git.io/fjGRr
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #60388 → gocode-gomod: 2019-02-12 -> 2019-03-27 → https://git.io/fjGRo
<pie_> aswanson, ugh the orignal code is a lot better than whatever the debugger is showing xD
NickSeagull has quit [Read error: Connection reset by peer]
tboston_ has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
<pie_> aswanson, i think something is broken in here causing it to fail later? https://github.com/rstudio/reticulate/blob/7be2d8462801c271f12577dd65334ed029cf0053/src/python.cpp#L1501
<NickHu> infinisil: I'll try to sketch it out, because I haven't actually written it yet: something like this https://paste.xinu.at/lgc6Tb/
<pie_> ah well actually i havent looked at py_run_string_impl yet
<aswanson> shoot
knupfer has quit [Remote host closed the connection]
<pie_> not sure about the appropriate way to debug rcpp stuff other than some vague notion of "throw gdb at it"
* pie_ stares at code
knupfer has joined #nixos
o1lo01ol1o has joined #nixos
sindrip has quit [Ping timeout: 245 seconds]
<aswanson> yeah I'm way out of my depth at this point
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
<infinisil> NickHu: Hmm, the module system doesn't really have a concept of overrides, you just specify the value of options multiple times and it gets merged according to its type
<infinisil> NickHu: Ah although
<infinisil> There is a priority system, so you can use mkForce to override definitions with default priorities
cosmo_ has quit [Ping timeout: 240 seconds]
<infinisil> NickHu: If you need modules to "communicate" together, I suggest defining a separate option yourself for that
linarcx has quit [Client Quit]
<pie_> aswanson, if you know how to recompile the code you could add some printf debugging :P
<infinisil> NickHu: So in your example you might want to declare an option someValue without any default in the main module, and set it to some value in the device-specific modules
linarcx has joined #nixos
<NickHu> The primary idea for me was just to be able to keep overrides and extra values together in the same file
<aswanson> lol
<infinisil> NickHu: Yeah you can neatly do that with your own options
linarcx has quit [Client Quit]
<aswanson> pie_: I've had decent response times for issues in other rstudio projects so I might put a pin in this and see what they have to say
linarcx has joined #nixos
<NickHu> infinisil: How can I define new options?
<NickHu> Without modifying home-manager?
<pie_> aswanson, not unreasonable
<aswanson> pie_: thanks for the help and ideas though, I'll be sure to update the wiki if it ends up being solvable with nix configuration stuff
<infinisil> NickHu: Instead of using `{ foo = 10; }` to just set values, use `{ options.bar = lib.mkOption { ... }; config.foo = 10; }` to both declare options and set values
domogled has quit [Ping timeout: 245 seconds]
<pie_> aswanson, ive been meaning to poke at gdb so ill give it a small shot
mconstant has quit [Ping timeout: 250 seconds]
<infinisil> NickHu: Oh and imports goes in there too, so your example would be something like `{ config, pkgs, lib, ... }: { imports = [ ... ]; options = { ... }; config = { home.file....; }; }`
<NickHu> Sorry, would you mind expanding that out a little bit? What does mkOption take?
<infinisil> NickHu: There's plenty of examples in nixpkgs and home-manager, and there's docs for it in the nixos manual and in the source
<NickHu> I'm just a bit confused at options.bar = ... and config.foo = 10
<{^_^}> [nixpkgs] @LinArcX closed pull request #60359 → monaco: init at unstable-2012-06-03 → https://git.io/fjGZo
<NickHu> home-manager switch would still complain about no such option foo or something like that right?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
Jetien has joined #nixos
<infinisil> NickHu: It shouldn't, just try it
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> Well, of course foo was just an example, it needs to be an option that exists of course
o1lo01ol1o has joined #nixos
<NickHu> Yeah sorry, I thought it was meant to illustrate the new option I'm making
stepcut has quit [Ping timeout: 246 seconds]
Jetien has quit [Ping timeout: 246 seconds]
nD5Xjz has quit [Ping timeout: 258 seconds]
Baughn has quit [Ping timeout: 245 seconds]
<NickHu> infinisil: Ah, I see, I remember what mkOption is now
<pie_> aswanson, Thread 1 "R" received signal SIGSEGV, Segmentation fault.
<pie_> 0x00007fffdae5b46b in PyModule_GetDict () from /nix/store/0n8slcq8p5x31kc9hncabsqq9y3fpkzp-python3-3.7.3/lib/libpython3.7m.so
<NickHu> Is there a way to share each options = { ... } between multiple hosts, e.g. to avoid having options.exampleoption = ... in myhost1.nix and also in myhost2.nix? Presumably I can't just use imports for that
<pie_> oh i get a backtrace! cool!
tboston_ has joined #nixos
justan0theruser has joined #nixos
<monsieurp> what's the difference between nativeBuildInputs and buildInputs? is it like compile dependencies (needed for the package to compile) and runtime dependencies (needed for the package to run)?
<symphorien> nativeBuildInputs will be executed during the build
<symphorien> buildInput contain code which is executed within the final product
<monsieurp> hmm right
justanotheruser has quit [Ping timeout: 255 seconds]
<monsieurp> so if a package contains C code, the nativeBuildInputs list must contain gcc, correct?
<monsieurp> and if said package needs perl to run, the buildInputs list must contain, well, perl, right?
<monsieurp> did I get it right?
<symphorien> stdenv already contains gcc, so you don't need to add it to nativeBuildInputs
<symphorien> but otherwise you are right
tboston_ has quit [Ping timeout: 250 seconds]
<monsieurp> great, thanks
stepcut has joined #nixos
tschai[m] has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
nD5Xjz has joined #nixos
justanotheruser has joined #nixos
ggpeti has quit [Ping timeout: 245 seconds]
domogled has joined #nixos
zupo has joined #nixos
justan0theruser has quit [Ping timeout: 244 seconds]
<pie_> I dont understand why this enableDebugging doesnt work https://bpaste.net/show/36bdb83ab58b
ambro718 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Infinisil opened pull request #60389 → calf: 0.90.0 -> 0.90.2 → https://git.io/fjG00
<pie_> ah hold on..
<pie_> yeah, i dont get it
<matthewbauer> pie_: i think it won’t work for wrappers
<matthewbauer> pie_: it only works for cc wrapper
<{^_^}> [nixpkgs] @Infinisil closed pull request #45637 → treewide: abort -> throw where it makes sense → https://git.io/fAmc4
<matthewbauer> pie_: might work with individual r packages though
o1lo01ol1o has quit [Remote host closed the connection]
<pie_> matthewbauer, might it work if i try runCommandCC?
troydm has joined #nixos
fusion809 has quit [Remote host closed the connection]
<matthewbauer> pie_: no because i don’t think you’re compiling anything in the wrapper
fendor_ has quit [Ping timeout: 245 seconds]
<matthewbauer> pie_: Try mapping enableDebugging to each package in the wrapper
<pie_> matthewbauer, oh wait i thin i see what its doing now (after poking through some errors)
tboston_ has joined #nixos
<pie_> oh derp, its overriding the stdenv argument
<pie_> ok that makes sense
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
ggpeti has joined #nixos
<philippD> Hey, how can I skip tests for specific haskell packages?
<pie_> hmph. lib doesnt export runCommand'
justan0theruser is now known as justanotheruser
<infinisil> philippD: haskell.lib.dontCheck
<infinisil> NickHu: Just define your option in a file that all hosts import
<philippD> infinisil can you point me to some documentation for that?
<NickHu> infinisil: via `imports`?
<infinisil> philippD: You need to apply it to a package via a haskell package override, should be in the nixpkgs manual's haskell section
<infinisil> NickHu: Yea for example
<philippD> Thanks
<infinisil> NickHu: Or in the example you showed in the home.nix file
<pie_> matthewbauer, yeah ok for some reason i figured this would work recursively
ggpeti has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
<pie_> ah bloody hell, r packages dont use stdenv i think
<pie_> or something
alex```13 has joined #nixos
JulianWels has joined #nixos
JulianWels has quit [Remote host closed the connection]
alex```1 has quit [Ping timeout: 244 seconds]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
mconstant has joined #nixos
o1lo01ol1o has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<enteee> I can't get the urxvt-font-size plugin to work. Can somebody share a link to a configuration with working rxvt-unicode plugins?
winem_ has joined #nixos
leotaku has quit [Quit: ZNC 1.7.2 - https://znc.in]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
leotaku has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
<pie_> jesus, rPackages is severely lacking documentation
<pie_> theres a lot of code and its nontrivial to override something
<pie_> except it might be trivial if you find the right function
leotaku has quit [Ping timeout: 246 seconds]
<NickHu> infinisil: Great, thanks!
stepcut_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #60389 → calf: 0.90.0 -> 0.90.2 → https://git.io/fjG00
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjGEv
orivej has quit [Ping timeout: 246 seconds]
lovesegfault has quit [Quit: WeeChat 2.4]
stepcut has quit [Ping timeout: 250 seconds]
ggpeti has joined #nixos
<pie_> looks like it takes an overrides argument that doesnt actually get used anywhere? https://github.com/NixOS/nixpkgs/blob/5f14e83bd6b9ef1c83b035011267dd3d40278476/pkgs/development/r-modules/default.nix#L3 its passed around but afaict not used...
silver has joined #nixos
domogled has quit [Ping timeout: 250 seconds]
Baughn has joined #nixos
lovesegfault has joined #nixos
lovesegfault has quit [Client Quit]
lovesegfault has joined #nixos
<pie_> guess i could try with a test value that forces it to fail
<{^_^}> [nixpkgs] @monsieurp opened pull request #60390 → tmux-xpanes: init at 4.1.0 → https://git.io/fjGEU
lovesegfault has quit [Client Quit]
ggpeti has quit [Ping timeout: 245 seconds]
lovesegfault has joined #nixos
<pie_> oh i just totally misparsed the expression
tboston_ has quit [Ping timeout: 268 seconds]
leotaku has joined #nixos
winem_ has quit [Ping timeout: 240 seconds]
winem_ has joined #nixos
fendor_ has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<nh2> sphalerite clever samueldr: I think I've found the solution: `kexec-tools` reads /etc/mtab, which has no guarantee of existing and does not exist in PlopKexec's initramfs: https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/tree/kexec/arch/i386/x86-linux-setup.c?h=v2.0.18#n434
<pie_> still hell..cant override stdenv
justanotheruser has joined #nixos
fendor_ has quit [Ping timeout: 258 seconds]
zupo has joined #nixos
laika__ has joined #nixos
Intensity has joined #nixos
Rusty1 has joined #nixos
<laika__> hey all, is anyone using nix to build the leksah haskell IDE? im trying to figure out how i can run the "output" of the nix build (ie, sanely start leksah) without necessarily rebuilding things that are outdated. currently, sometimes when i run leksah's `leksah-nix.sh`, occasionally i have to wait a really long time for nix to build some dependencies (not sure if this is cache invalidation or dependency updates, but either way).
<laika__> i was hoping to find a way to just run the derivative output
Intensity has quit [Changing host]
Intensity has joined #nixos
<laika__> https://github.com/leksah/leksah/blob/master/leksah-nix.sh this is leksah's launch script, but im not well versed enough in nix to understand exactly what is required to just start leksah without a rebuild
<pie_> how can I pass an overridden pkgs set to something?
<pie_> specifically i need to pass pkgs with a different stdenv here https://github.com/NixOS/nixpkgs/blob/f4e3ceed7fdaa98f55d05124ef64d2effbcca5d9/pkgs/development/r-modules/default.nix#L3 and callPackage needs to work with it
<{^_^}> [nixpkgs] @cohei opened pull request #60391 → ghq: 0.8.0 -> 0.10.2 → https://git.io/fjGEs
o1lo01ol1o has joined #nixos
<pie_> ok i got it
<pie_> this is what it takes to enable debugging in r https://bpaste.net/show/8128069800c1
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<laika__> `fuck'` lol
__monty__ has quit [Quit: leaving]
<infinisil> laika__: Wrapping that script with NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/tarball/<some-revision> should make it always use the same dependencies
mog has quit [Quit: im quiting!]
<infinisil> Or you can use the one in nixpkgs tbh
<infinisil> > leksah
stepcut_ has quit [Remote host closed the connection]
<{^_^}> "<derivation /nix/store/6iy5p7yd8wlq4yf7lr328s4bbk02b0z6-leksah-8.6.4.drv>"
<infinisil> I recommend doing this instead
<infinisil> laika__: So just `nix-env -iA nixpkgs.leksah`
stepcut has joined #nixos
<laika__> infinisil: thanks!!!!!
stepcut has quit [Remote host closed the connection]
<laika__> that seems like exactly what i needed :)
<infinisil> Oh, the build might be broken in nixpkgs though :/
<laika__> this script might have even be more targeted for leksah development -- oh no D:
<infinisil> Yeah probably
<laika__> i can use the wrapper you suggested
lunik18 has quit [Quit: :x]
<infinisil> If it works that's nice, optimally leksah devs would pin their nix dependencies so you wouldn't have such problems
<laika__> ill see if i can raise an issue on their github about this! thanks for your guidance :D
lunik18 has joined #nixos
stepcut has joined #nixos
<infinisil> :)
fendor_ has joined #nixos
<pie_> ah damn still "No symbol table info available."
shabius has joined #nixos
shabius_ has quit [Ping timeout: 258 seconds]
ent- has joined #nixos
ent- has quit [Client Quit]
<pie_> im guessing the problem is using https://github.com/NixOS/nixpkgs/blob/5f14e83bd6b9ef1c83b035011267dd3d40278476/pkgs/stdenv/adapters.nix#L169 on stdenv means it gets overridden later
<{^_^}> [nixpkgs] @joachifm merged pull request #60227 → swi-prolog: updated version + packs support → https://git.io/fjs2B
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjGE0
Jetien has joined #nixos
sindrip has joined #nixos
Jetien has quit [Ping timeout: 244 seconds]
ggpeti has joined #nixos
ggpeti has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
mexisme has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
polman has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
stepcut has quit [Ping timeout: 250 seconds]
sindrip has quit [Quit: WeeChat 2.4]
zupo_ has joined #nixos
fendor has quit [Read error: Connection reset by peer]
zupo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #60392 → leptonica: 1.74.1 -> 1.78.0 → https://git.io/fjGEX
Anton-Latukha has quit [Quit: Leaving.]
mexisme has quit [Ping timeout: 250 seconds]
fendor_ has quit [Ping timeout: 246 seconds]
<mightybyte> Anyone know a good dedicated server hosting company that supports NixOS?
ggpeti_ has joined #nixos
<gchristensen> Packet.com does
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
<mightybyte> Ooh, interesting.
<mightybyte> A bit expensive though.
<gchristensen> (they haven't updated to 19.03 yet, I'm bugging them again tomorrow about it.)
<mightybyte> I wish Hetzner had the option of install NixOS
ggpeti_ has quit [Ping timeout: 255 seconds]
laika__ has quit [Ping timeout: 256 seconds]
knupfer has quit [Ping timeout: 240 seconds]
nD5Xjz_ has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #60393 → leksah: Point to upstream repository for using it → https://git.io/fjGE7
nD5Xjz has quit [Ping timeout: 268 seconds]
<tilpner> mightybyte: You can install NixOS just fine on Hetzner servers
<mightybyte> tilpner: Oh yeah?
<tilpner> Yes, I've done that way too often now
<mightybyte> You just do it after the initial provisioning?
<mightybyte> tilpner: Do you have to do anything special?
<tilpner> Well, there is no provisioning for auction servers
<kaliumxyz> quit
<tilpner> So I just copy my kexec bundle to the rescue system, execute it, and I'm running NixOS
kaliumxyz has quit [Quit: leaving]
<mightybyte> Slick!
<tilpner> From there, I can partition and nixos-install
<tilpner> (You can also partition from the rescue system, it's nothing special here)
<tilpner> You don't need the kexec bundle, it's just quicker
<tilpner> (If you have the bandwidth to upload it)
<mightybyte> Very cool. I think that makes the decision for me.
<tilpner> Which one are you considering getting?
<mightybyte> Let me look...
<tilpner> I must caution against auction servers with i7-3770
<mightybyte> How does the auction thing work?
<mightybyte> What are you sacrificing to get the lower price?
<tilpner> You wait until you find a good price and snag it
<tilpner> You sacrifice telephone support at the lower prices
<tilpner> And it's older hardware that might or might not work properly
<mightybyte> Ahh
<tilpner> Definitely run disk checks after you get one of those
<tilpner> They are great value though
<mightybyte> But once you get it you've got it? (i.e. not like AWS spot pricing where it can disappear)
<tilpner> Yes, you keep it until you cancel it
<mightybyte> Nice
<tilpner> I had an i7-3770 with 16GB RAM and 2x3TB disks for 24€/month, taxes included
<{^_^}> [nixpkgs] @alyssais opened pull request #60394 → ruby: rubygems 2.7.7 -> 3.0.3 → https://git.io/fjGEA
<mightybyte> You caution against the i7-3770 specifically or other i7 lines as well?
<tilpner> Specifically against the i7-3770 because that's the only Hetzner i7 I tried
<mightybyte> Ok
<tilpner> But the E3-1245 V2 works well too
<tilpner> You can also ignore my warning and try your luck
<tilpner> That depends on how important the uptime is to you
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
mexisme has joined #nixos
<tilpner> But if you do get an i7-3770, and it starts crashing after a few months, don't try to debug it and just get something else
<mightybyte> Got it
linarcx has quit [Client Quit]
linarcx has joined #nixos
linarcx has joined #nixos
<mightybyte> I didn't know about the auction systems. I was contemplating a Px62
ATuin has quit [Ping timeout: 255 seconds]
mexisme_ has joined #nixos
linarcx has quit [Client Quit]
linarcx has joined #nixos
<tilpner> If you can afford that, or need the specs, sure
mexisme has quit [Ping timeout: 255 seconds]
<tilpner> Note that those seem to get €5/m more expensive if you need the German DCs
<mightybyte> The reason I didn't get one years ago is because it's a bit more than I have been wanting to pay.
<mightybyte> But I didn't know about the auctions!
ingenuee has joined #nixos
<tilpner> What do you want to run on it?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<mightybyte> tilpner: Kind of a misc server for myself. Possibly host my own personal Nix cache.
<mightybyte> It's just nice to have access to a static public IP address that is reliably up.
<tilpner> You can get one of those for much cheaper
winem_ has quit [Ping timeout: 264 seconds]
<mightybyte> Oh yeah, I know.
<tilpner> (The IP, not the cache)
<mightybyte> I'd also like to be able to do Haskell buids.
<mightybyte> So need a decently beefy machine.
<ghostyy> hi
<ghostyy> how i wacom on nixos
<mightybyte> I've been using a small < $15 / month EC2 instance for awhile.
<tilpner> I'm not sure how much storage speed affects build speeds
<mightybyte> But it's too small.
<ghostyy> https://github.com/NixOS/nixos/blob/master/modules/services/x11/hardware/wacom.nix i did all this (the actual services.xserver.wacom variable didnt work)
<ghostyy> but i put in the contents of the mkif and rebooted and still doesnt work
<tilpner> You may want to benchmark a server with an SSD if you plan to build a lot
<mightybyte> tilpner: Oh, I don't care much about build speeds. I just care that it can do the build at all.
<tilpner> Oh, alright
<ghostyy> i see it in dmesg as connecting and i see it in /proc/bus/input/devices
<mightybyte> And these days that pretty much means 8 gigs of RAM for Haskell.
<ghostyy> (it is technically a huion not a wacom but should work with same drivers)
<tilpner> ghostyy: That is the old nixos repository, you should look at nixpkgs instead
<mightybyte> Someone I work with recently had to upgrade to 16 gigs of RAM. Eight wasn't enough.
stepcut has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
<ghostyy> okay changed it to the nixpkgs version, restarted x, still nothing
<mightybyte> Wow...less than $25 for 32 gigs of RAM and 6TB of disk. That's perfect.
softinio has joined #nixos
<pie_> I really hate the R build system right now
<softinio> When I use nix-shell zsh and my profile are not available in the shell. What can I do to correct this?
<tilpner> mightybyte: Make sure to select your country at the top, you might have forgotten the taxes
<pie_> (combined with the r packages implementation in nixpkgs)
ggpeti_ has joined #nixos
<tilpner> ghostyy: The services.xserver.wacom.enable doc suggests to switch to a tty and back to make xorg reconfigure the device
<softinio> I just added zsh to a shell hook is that a good way to do it ?
<ghostyy> i tried that
<ghostyy> looking at the 70-wacom.conf file it only seems to hafve entried for wacom stuff
<ghostyy> i guess i need special ones for huion
<ghostyy> i remember this working out of the box at some point in time
<tilpner> If you can get it to work in another distro, someone can help you figure out how to do that in NixOS
<tilpner> But I don't have any experience with getting these to work in any distro
ggpeti_ has quit [Ping timeout: 250 seconds]
<softinio> runnning zsh was a bad idea
<tilpner> I sometimes put exec zsh into shellHook
<softinio> ill try it thx
stepcut has quit [Ping timeout: 246 seconds]
<tilpner> Anyone have a zfs setup that unlocks two encrypted datasets at boot?
ng0 has quit [Quit: Alexa, when is the end of world?]
* tilpner should search before asking
Neo-- has quit [Ping timeout: 258 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
stepcut has joined #nixos
<ivan> should I use different secret keys for signing hydra packages vs. nix-built packages on the same machine?
<ivan> hm I guess I might want to migrate the hydra in the future
<ghostyy> i fixed it, i had to add some special lines to xorg conf and i had to remember to actually charge the stylus
<ghostyy> very difficult high-level sysadmin stuff, especially the last part
<infinisil> ghostyy: What were those special lines/
<infinisil> ?
<infinisil> Because ya know.. https://xkcd.com/979/
<mightybyte> tilpner: So how do you go about installing NixOS?
<tilpner> mightybyte: scp $(nip devices.kexec_bundle.export) root@...:/kexec && ssh root@... /kexec
<tilpner> The easiest way to build it might be with nixos-generators
<tilpner> From the rescue system
<mightybyte> tilpner: Ahh yeah, that's what I was thinking.
m0rphism has quit [Ping timeout: 250 seconds]
<tilpner> Don't fully set it up until you're happy with the filesystem layout
Neo-- has joined #nixos
<tilpner> Consider early if you need disk encryption and which filesystem you want
uranther has quit [Quit: Connection closed for inactivity]
lns has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #60354 → cargo-expand: 0.4.11 -> 0.4.12 → https://git.io/fjG3F
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjGuy
<qyliss> Has anyone else come across a cargoSha256 breaking?
<qyliss> Trying to figure out what caused it / how to debug
shabius_ has joined #nixos
<tilpner> Sounds like a bump without altering the hash
<mightybyte> infinisil: Oh cool, thanks.
<qyliss> tilpner: I guess that would have to be for one of the dependencies? Because the src of the program I'm building still verifies.
<tilpner> qyliss: If the Cargo.lock changed in the src, you need to break the cargoSha too, and then replace it with the hash from the error
shabius has quit [Ping timeout: 259 seconds]
<qyliss> I don't think it can have, though, because it's in the git repo I'm pulling from, and the src's sha256 hasn't changed
<qyliss> Just the cargoSha256
<tilpner> I don't have any more guesses without more detail
softinio has quit [Remote host closed the connection]
<qyliss> I'm just double checking it's also broken on a known-good commit...
wfranzini has quit [Remote host closed the connection]
softinio has joined #nixos
wfranzini has joined #nixos
rprije has joined #nixos
philippD has quit [Remote host closed the connection]
softinio has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
Jetien has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
Jetien has quit [Ping timeout: 246 seconds]
Shouou has quit [Ping timeout: 250 seconds]
sheeldotme has joined #nixos
Neo-- has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @malob opened pull request #60395 → nodePackages: update and add bash-language-server, typescript-language-server, and speed-test → https://git.io/fjGzI
<qyliss> Figured it out. PEBKAC.
<sheeldotme> Hi, I'm compiling a binary on darwin that outputs debug symbols, however the paths to the object files in said binary are hard coded to the temporary nix paths that get destroyed when the build is completed. Is there a best practice for resolving this?
Neo-- has joined #nixos
softinio has joined #nixos
<sheeldotme> for additional context, running nm result/main -debug-syms gives me: https://gist.github.com/sheeldotme/7f491a1250725113c58a06196fd4c37c
ayerhart has quit [Read error: Connection reset by peer]
ardumont has quit [Ping timeout: 268 seconds]
ggpeti_ has joined #nixos
polman has joined #nixos
Ariakenom has quit [Read error: Connection reset by peer]
ayerhart has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ingenuee has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ambrop72 opened pull request #60396 → buildEnv: Skip paths excluded by pathsToLink as soon as they are encountered. → https://git.io/fjGzc
ggpeti_ has quit [Ping timeout: 250 seconds]
alex```136 has joined #nixos
ayerhart has quit [Read error: Connection reset by peer]
alex```13 has quit [Ping timeout: 245 seconds]
polman has quit [Ping timeout: 245 seconds]
ardumont has joined #nixos
ayerhart has joined #nixos
Neo-- has quit [Ping timeout: 246 seconds]
gagbo has quit [Ping timeout: 246 seconds]
softinio has quit [Remote host closed the connection]
softinio has joined #nixos
<softinio> so we have shellHooks for when we start a nix-shell .... any hook section for when we exit a shell to cleanup ?
Guanin has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
sindrip has joined #nixos
sindrip has quit [Client Quit]
Glider_IRC_ has joined #nixos
<Ralith> sheeldotme: most debuggers can be instructed to translate paths in debug symbols
mexisme_ has quit [Ping timeout: 250 seconds]
hio has quit [Quit: Connection closed for inactivity]
<sheeldotme> Ralith I've attempted to map the paths, but I'm not sure how to correctly map them as `pwd` gives me a path in the nix store, as does $out. However, the paths in the binary are prefixed with /private/var/
Glider_IRC has quit [Ping timeout: 268 seconds]
jackdk has joined #nixos
<sheeldotme> Ah, it looks like $TEMP provides me with what I need, I'll try that.
ggpeti_ has joined #nixos
ggpeti_ has quit [Ping timeout: 258 seconds]
<Ralith> usually the source paths are the ones of interest, which tend to be in the nix store
hhefesto has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #60387 → dep: 0.5.0 -> 0.5.1 → https://git.io/fjGRr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjGzw
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
softinio has quit [Remote host closed the connection]
jasongrossman has quit [Ping timeout: 258 seconds]
mconstant has joined #nixos
Neo-- has joined #nixos