gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
pointfourone has joined #nixos
pointfourone has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @veprbl merged pull request #54388 → fff: init at 1.5 → https://git.io/fhuAM
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fhuj0
<{^_^}> [nixpkgs] @marsam opened pull request #54393 → racket: fix gappsWrapperArgs → https://git.io/fhujg
erictapen has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #54353 → bash_5: 5.0p0 -> 5.0p2 → https://git.io/fhu0J
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhujX
fendor has quit [Read error: Connection reset by peer]
Guanin has quit [Remote host closed the connection]
eadwu has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
erictapen has quit [Ping timeout: 250 seconds]
sigmundv_ has joined #nixos
<iddt> has anyone fought the synaptics touchpad battle w/ nixos?
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<fresheyeball> Ok so I am dealing with a bad one
<fresheyeball> gcc/x86_64-unknown-linux-gnu/7.3.0/collect2': execv: Argument list too long
<fresheyeball> 17:18:09 `cc' failed in phase `Linker'. (Exit code: 1)
<fresheyeball> for my Haskell project
<clever> fresheyeball: still?
<fresheyeball> clever: yup
<fresheyeball> the iohk fork did not build, and I left it running over night
<clever> fresheyeball: what happened with the ld fix from anger mans fork?
<clever> fresheyeball: did it give a build error?
<fresheyeball> clever: it did not build
<fresheyeball> also I am increasing convinced that there is something else causeing this
<iddt> fresheyeball: is this some monster huge project?
<fresheyeball> no certainly not
<fresheyeball> also it builds locally
<fresheyeball> and my limits are lower than those on the CI server
<iddt> fresheyeball: different filesystems?
<fresheyeball> I also checked `getconf ARG_MAX`
<fresheyeball> and `ulimit -s`
lfish has joined #nixos
<fresheyeball> and I set `ulimit -s 65535`
<clever> fresheyeball: i think that limit is lower then the default
ToxicFrog has quit [Quit: WeeChat 2.3]
<fresheyeball> clever: I agree, but was trying to rule it out
<clever> fresheyeball: are the .drv paths and $out paths the same on both local and CI?
<iddt> i don't think execv is going to call bash unless that's the process in arg0
<iddt> so ulimit would have no effect in that case
<fresheyeball> both computers are on ext4
<iddt> what are the respective pathname prefixes on the two computers?
<iddt> like the top level full directory path
<iddt> using a makefile to compile?
<fresheyeball> /nix/store/m2s4i2g6gln9vf6pvh37x37cvsk12gik-cabal2nix-kassir.drv
<fresheyeball> that one is the CI server
<fresheyeball> /nix/store/mbq5k9y2zpmaf678m1v9b76s3p2gdmvz-cabal2nix-kassir.drv
<fresheyeball> that is local
<fresheyeball> so they are different
<iddt> ya but same len
<iddt> and now funky chars
<fresheyeball> /home/isaac/Projects/kassir
<fresheyeball> is my local
<clever> fresheyeball: run `nix show-derivation` on both of those drvs, and then compare them
ensyde__ has quit [Quit: Leaving]
<iddt> fresheyeball: i imagine you've tried to verbosely print out the args it's trying to pass?
<fresheyeball> clever: I don't understand, can you treat me more like I am 2?
<fresheyeball> iddt: I have not
<fresheyeball> /var/lib/jenkins/workspace/kassir/migrate
<fresheyeball> that is the path on CI
<clever> fresheyeball: can you run `nix show-derivation /nix/store/m2s4i2g6gln9vf6pvh37x37cvsk12gik-cabal2nix-kassir.drv` on the CI system?
<iddt> fresheyeball: that would be my first stop.
<fresheyeball> we debugging in here, if you want to use a hangout instead of IRC
<fresheyeball> talking is easier than typing
<iddt> does hangout have screenshare?
<fresheyeball> yes
<fresheyeball> iddt can you also be more specific?
<fresheyeball> how would I do that?
<{^_^}> [nixpkgs] @dtzWill merged pull request #54358 → libwebp: 1.0.1 -> 1.0.2 → https://git.io/fhu09
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fhzeq
<iddt> fresheyeball: not sure, as i'm not sure how you're attempting to build this project. i think a screenshare chat would help me narrow it down, tho.
<fresheyeball> iddt: I posted a link
<fresheyeball> iddt: to a google hangout
<{^_^}> [nixpkgs] @rasendubi merged pull request #54386 → gcc-arm-embedded: fix MANPATH → https://git.io/fhudV
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/fhzeG
<{^_^}> [nixpkgs] @MP2E opened pull request #54394 → alsaLib: 1.1.7 -> 1.1.8 → https://git.io/fhzeC
<fresheyeball> clever: its a party in my google hangout now
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
MP2E has joined #nixos
<clever> fresheyeball: will take about an hour to open my chrome
<fresheyeball> clever: what maddness are you upto?
mmlb has joined #nixos
<clever> fresheyeball: restoring 1000+ tabs
<fresheyeball> clever: firefox?
<clever> and i need to reboot soon for a kernel update in nixos
doyougnu has quit [Quit: WeeChat 2.0]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<samueldr> at that point it might be easier to get a new computer
<clever> samueldr: i would just migrate the profile to it :P
kvda has joined #nixos
thc202 has quit [Ping timeout: 240 seconds]
<CMCDragonkai> Is there a way to do strict evaluation or deep evaluation in nix repl?
jmgai has quit [Ping timeout: 240 seconds]
<fresheyeball> after asking `_ and iddt, we can confirm, the party in the google hangouts, is infact on the west side
`_ has joined #nixos
<`_> ok I'm here now
<{^_^}> [nixpkgs] @Ekleog closed pull request #36881 → [Request For Testing] pkgs: libpulseaudio -> libcardiacarrest; nixos: override when running PA daemon → https://git.io/vxfAj
* ekleog braces himself
<{^_^}> [nixpkgs] @kalbasit merged pull request #54277 → Keybase 2.13.1 → https://git.io/fhRir
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/fhzvv
<{^_^}> [nixpkgs] @veprbl merged pull request #48675 → xfitter: runtime fixes → https://git.io/fxV7b
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to master: https://git.io/fhzvT
joehh has quit [Ping timeout: 250 seconds]
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 246 seconds]
<judson> At this point I feel like I've done all the tricks I can find online to keep my nix-shells from getting garbage collected, and it's getting frustrating to have to reinstall my build deps all the time.
gagbo has quit [Ping timeout: 250 seconds]
<judson> Yes, I am doing that.
<ekleog> and it's getting garbage-collected?
<judson> Yes.
<judson> I have to re-run that periodically because e.g. rspec gets GC'd.
<ekleog> is it in nix-store --gc --print-roots?
<ekleog> should be there at least indirectly
<judson> Yes, along with the "dependency" roots added by the next step of my attempt at pinning.
<judson> nix-store --indirect --add-root ${GC_DIR}/shell.dep --realise $(nix-store --query --references ${GC_DIR}/shell.drv)
<ekleog> so on the --print-roots line, there's -> /nix/store/...-... ; can you nix-store -qR [that path] and check rspec is in it?
<judson> To clarify: rspec is not itself in the gc-roots, but /home/judson/dev/shex-map/.nix-gc/shell.dep-6 -> /nix/store/nabdxm7k0qc27z74qnd2yg7cjsadflyf-wrapped-ruby-shex-map is and /home/judson/dev/shex-map/.nix-gc/shell.drv -> /nix/store/ji6g76i51qhdi60b33g88aw2xd848ip3-shex-map-interactive-environment.drv which should walk to rspec
goibhniu has quit [Ping timeout: 250 seconds]
<judson> /nix/store/xl8k3fjbz5fy99ns0r7av12d1d8m379j-rspec-core-3.8.0.gem.drv is there.
<ekleog> so either something is seriously broken, or your rspec is properly pinned until you move the file created by nix-instantiate
<ekleog> (I don't know about your second attempt at pinning
<ekleog> )
<judson> The --print-roots stuff seems useful...
<ekleog> yup, there's --print-live and --print-dead that are useful too :)
freeman42x has quit [Ping timeout: 252 seconds]
hedning has quit [Quit: hedning]
ToxicFrog has joined #nixos
<{^_^}> [nixpkgs] @danbst opened pull request #54396 → postgresql: cleanup postgis → https://git.io/fhzvQ
<judson> Okay, that nix-store --add-root $(nix-store -q --references) thing seems worthless. The nix-instantiate roots one thing, and it's references pull in all those (seems obvious) but then I've got difference store paths for the others.
<judson> Okay, actually, something is wrong.
<judson> ekleog, it seems like the nix-instantiate from the wiki article builds one version of this shell.nix, and then nix-shell itself builds another.
Rusty1 has joined #nixos
<judson> Bah. I can't be sure. It's a derivation/realization thing.
freedan42x has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhzfe
<ekleog> judson: isn't it just a shell.nix vs. default.nix issue?
<mdash> alright realizing I don't know as much about nix evaluation as i thought
<mdash> i have been handling my deployments by putting password hashes, etc., in /etc/nixos/secrets.nix
<mdash> which I then list as an import in my configuration.nix
<mdash> nextcloud admin password is configured as 'services.nextcloud.config.adminpass',i put 'services.nextcloud.config.adminpass = "foo";' in secrets.nix and it works great
<mdash> I now want to move that into a container
<mdash> First thing I tried was 'containers = { nextcloud = containerCfg: { services.nextcloud = { ...; adminpass = config.services.nextcloud.config.adminpass; }; }; }'
<mdash> the error I get is: 'The option `containers.nextcloud.services.nextcloud.adminpass' defined in `<unknown-file>' does not exist.'
<mdash> is this a plausible thing to try to do? i thought that lazy eval would make this sort of thing work out ok
ddellacosta has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/56507df617e (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
ddellacosta has quit [Ping timeout: 250 seconds]
<samueldr> 🎉
silver has quit [Read error: Connection reset by peer]
Lingjian has joined #nixos
eadwu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @nh2 opened pull request #54398 → The latest gstreamer version. → https://git.io/fhzf7
eadwu has joined #nixos
<{^_^}> [nixpkgs] @nh2 pushed 3 commits to gstreamer-1.15.1: https://git.io/fhzf5
Lingjian has quit [Ping timeout: 252 seconds]
Mr_Keyser_Soze has joined #nixos
<nh2> clever: https://github.com/NixOS/nixpkgs/pull/54398 - what an effort
<{^_^}> #54398 (by nh2, 5 minutes ago, open): gstreamer-1.15.1
mekeor has joined #nixos
Mr_Keyser_Soze has quit [Remote host closed the connection]
<nh2> clever: 9 hours ago I set out with "well let me see if the srt plugin works slightly better on the newer version"
ChimeraZara has joined #nixos
muvlon has quit [Ping timeout: 252 seconds]
<samueldr> does it work slightly better?
<clever> nh2: i also ran into meson problems in glib today
<clever> nh2: glib was changed from autoconf to meson, so it ceased to obey makeStaticLibraries
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #54399 → pythonPackages.nanotime: init at 0.5.2 → https://git.io/fhzJC
<{^_^}> [nixpkgs] @veprbl opened pull request #54400 → arrow-cpp, pythonPackages.pyarrow: 0.11.0 -> 0.12.0 → https://git.io/fhzJl
lfish has quit [Quit: Page closed]
ng0 has quit [Ping timeout: 256 seconds]
<nh2> samueldr: no now the example segfaults :/ https://github.com/NixOS/nixpkgs/pull/54380#issuecomment-455928334
<samueldr> aww
<clever> nh2: rebuild it against a debug glibc
<clever> nh2: an override on glibc using makeStaticLibraries i think, but the stdenv may complicate it
<clever> nh2: then you can see the args passed to __strchr_avx2
<clever> wait no, wrong adapter
<clever> > enableDebugging pkgs.glibc
<{^_^}> "<derivation /nix/store/paa3glgb5v7n6ivm85hhd3wrrxjgarfs-glibc-2.27.drv>"
<clever> nh2: this one
<nh2> clever: the stack trace that suggests that the library does a mistake, I suspect that they actually changed something so that because in their own example `uri=srt://:8888/` the host string is empty, they somehow pass NULL
<nh2> instead of the empty string
<clever> nh2: having debug symbols would let you confirm the args to strchr
<nh2> clever: where would I enable debugging to get full symbols in `libgstsrt.so` instead of libc? Because then I could look straight at the arguments it passes to the libc call
<clever> nh2: whatever derivation is providing it
<clever> ,locate libgstsrt.so
<nh2> (I mean I know I have to change my newly added `srt/default.nix` derivation, but can never remember what to pass there so symbols stay in and -O0 is passed properly)
<{^_^}> Couldn't find in any packages
<clever> nh2: ah, thats what enableDebugging does
ng0 has joined #nixos
<clever> check the example above
<clever> it automatically applies the right override flags for you
<nh2> clever: so `dontStrip = true; enableDebugging = true;`?
justanotheruser has quit [Ping timeout: 250 seconds]
<nh2> I wonder why it downloads `libuv` when I pass those
Rusty1 has quit [Ping timeout: 245 seconds]
<clever> nh2: you may have GC'd libuv previously
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<fresheyeball> clever: learned something
<fresheyeball> it builds fine on the CI server, if inside nix-shell
<fresheyeball> but nix-build still fails
justanotheruser has joined #nixos
<clever> fresheyeball: which CI system?
xkapastel has quit [Quit: Connection closed for inactivity]
<nh2> clever: https://pastebin.com/raw/SRPyy0K2 should I be able to see the dependency with a `nix why-depends` somehow?
<clever> nh2: why-depends only works on finished builds
<fresheyeball> clever: mine, the one where arglength is too long
<clever> nh2: try `nix-store -q --tree /nix/store/yqmn382kz80h0bgzs3jb5kgz13x1l6vn-gst-plugins-bad-1.15.1.drv` instead
<clever> fresheyeball: travis, or something custom?
<fresheyeball> clever: its a nixos box running jenkins
<clever> fresheyeball: have you thought of using hydra?
<fresheyeball> clever: yes
<nh2> clever: looks like cmake depends on libuv, OK, didn't expect that
<iddt> fresheyeball: how goes the good fight?
<nh2> fresheyeball: I also use Jenkins on NixOS, what's your problem? Maybe I've heard of it (unlikely but we can try)
<fresheyeball> iddt: not great
<fresheyeball> it's madness
<fresheyeball> hang on, I am learning
Rusty1 has joined #nixos
<fresheyeball> we got a custom version of strace going
<fresheyeball> and it's letting us see the underlying calls
<clever> fresheyeball: if you manually run nix-build on the problem machine, does it still fail?
<iddt> fresheyeball: nice. happy to rejoin the hangouts adventure if you still have that link.
<fresheyeball> clever: currently testing that
<fresheyeball> so far it looks like no
<fresheyeball> iddt: we still in the hangout
drakonis_ has joined #nixos
<clever> fresheyeball: are you doing that from the same dir jenkins uses internally? as the same user?
<duoi> how can i install nixos on my iphone to make sure my apps are always up to sync
<duoi> i hate having to go to the app store to check and i feel like nixos is the right decision for me
<duoi> :-)
<fresheyeball> clever: running as root, same folder as jenkins
<nh2> duoi: that would be nice :D
<clever> fresheyeball: try switching to the right user with `sudo -u X -i` ?
<clever> fresheyeball: also, compare what `ulimit -a` prints, under both a CI job, and a normal shell, on the same machine
<nh2> fresheyeball: if you cannot hear me, I am not clever, I am nh2
<nh2> why is my mic not working
<`_> That's weird
<nh2> I think it's time to re-kill the browser after the latest OOM-killer kickin
<samueldr> ryantm: around? tried noapic or acpi=noirq?
<nh2> I am also happy with my Jenkins on NixOS
ng0 has quit [Quit: Alexa, when is the end of world?]
muvlon has joined #nixos
<`_> nh2: yea boi
<fresheyeball> nh2 where did you go?
<fresheyeball> that party is over here
<fresheyeball> on the west side
<fresheyeball> of google hangouts
<fresheyeball> actually with the addition of nh2
<fresheyeball> the party is no longer on the west side
<fresheyeball> but has instead become international
<`_> Now all we need someone from the ISS
<{^_^}> #41340 (by nh2, 33 weeks ago, open): GCC fails because argument list created by nix is too long
bgamari has quit [Remote host closed the connection]
<timclassic> I'm using nixops to deploy from x86_64 to aarch64 (and I have an aarch64 build host configured), and this generally works. However, when I deploy vault this way, the x86_64 binary gets installed instead of the aarch64 variant. Where should I look to debug this?
justan0theruser has joined #nixos
<timclassic> If I install vault directly on the aarch64 system via nix-env, the correct arch gets installed.
<clever> nh2: if you restart pulseaudio, then chrome looses the ability to capture any audio, until its also restarted
teto2 is now known as teto
d4g_ has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 245 seconds]
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #nixos
justan0theruser is now known as justanotheruser
vk3wtf has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #54317 → pythonPackages.zm-py: init at 0.3.0 → https://git.io/fhE7B
<{^_^}> [nixpkgs] @peterhoeg pushed 3 commits to master: https://git.io/fhzUf
<clever> timclassic: are you doing `import <nixpkgs> {}` at any point?
<fresheyeball> clever: apparenlty is works on the CI server
<fresheyeball> built as the jenkins user
<fresheyeball> in the same directory
MP2E has quit [Remote host closed the connection]
<clever> fresheyeball: and if you compare running `ulimit -a` from an automated ci job, vs a normal shell?
lopsided98 has quit [Quit: Disconnected]
<nh2> clever: which ulimit output are you thinking of? The problem seems to be execve() E2BIG as in https://github.com/NixOS/nixpkgs/issues/41340
<{^_^}> #41340 (by nh2, 33 weeks ago, open): GCC fails because argument list created by nix is too long
lopsided98 has joined #nixos
<clever> nh2: jenkins might be setting different values in ulimit, so it only fails under an automated job
<clever> nh2: because it works when the exact same expression is manually build
<clever> fresheyeball: although...., if nix-daemon is in use, then jenkins shouldnt be able to mess with such things
kp__ has quit [Ping timeout: 246 seconds]
<timclassic> clever: I am doing `import (builtins.fetchGit { ... }) { }` to grab a newer version from master, yes.
worldofpeace_ has joined #nixos
<clever> timclassic: you didnt set system= on that, so its defaulting to the arch of the nix binary
worldofpeace_ has quit [Read error: Connection reset by peer]
worldofpeace__ has joined #nixos
<timclassic> And now I realize this is the first cross-deploy I've tried to do with a package brought in via that mechanism.
<clever> timclassic: you must import (builtins.fetchGit { ... }) { system = pkgs.system; }
<clever> then the new nixpkgs will match the pkgs set
<timclassic> Oooooooh, neat
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<clever> > builtins.currentSystem
<{^_^}> "x86_64-linux"
<clever> if system isnt set, it defaults to the version of the nix binary
vk3wtf has joined #nixos
<nh2> clever: do you know how to teach `-g -O0` to meson?
worldofpeace has quit [Ping timeout: 250 seconds]
<clever> nh2: i believe you want to set the nix var mesonBuildType
<clever> nh2: running meson --buildtype=help in a nix-shell should give options
<timclassic> clever: Ah, it worked! (I used `super.system` since I'm in an overlay) I should go put that in all of my imports of pkgs, then...
<timclassic> clever: Thanks so much!
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
<fresheyeball> clever: we still partying over here
<fresheyeball> just fyu
<fresheyeball> fyi
<clever> fresheyeball: already in another voice chat
sigmundv_ has quit [Ping timeout: 244 seconds]
<fresheyeball> haha
<nh2> clever: what's very odd is that fresheyeball's setup uses the nix-dameon, yet the strace on nix-build apparently shows the E2BIG in question, which is unexpected (the strace shouldn't see what the nix-daemon does)
<muvlon> is there a nixos party going on? :D
<clever> fresheyeball: one min...
jasongrossman has quit [Read error: Connection reset by peer]
<nh2> clever: `mesonBuildType = "debug";` worked, thanks!
<ar1a> is there like a metapackage with handy packages in it like units pv whatnot
<clever> fresheyeball: what does `ls -lhd /nix/var/nix/` say?
ddellacosta has joined #nixos
<fresheyeball> clever: drwxr-xr-x 10 root root 4.0K Jan 19 20:39 /nix/var/nix/
<clever> fresheyeball: can you pastebin the result of `strace -ff -e execve -o logfiles nix-build ...` ?
eadwu has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
<fresheyeball> clever: building
o1lo01ol1o has quit [Ping timeout: 245 seconds]
`_ has quit [Ping timeout: 244 seconds]
jmeredith has joined #nixos
<dmj`> clever loves strace
<gchristensen> good for telling you the truth when your eyes deceive you
justan0theruser has joined #nixos
<fresheyeball> clever: dmj` hiya
justanotheruser has quit [Ping timeout: 245 seconds]
* dmj` waves to fresheyeball
<fresheyeball> clever: I can't get that to run without the daemone running out of memory
* dmj` waves to clever and gchristiansen
<clever> fresheyeball: which daemon?
<fresheyeball> dmj`: ^^
<fresheyeball> clever: the nix daemon
<fresheyeball> error: Nix daemon out of memory
ottidmes has quit [Ping timeout: 240 seconds]
<clever> fresheyeball: does the box have swap?
<fresheyeball> clever: yes it has swap
<clever> src/nix-daemon/nix-daemon.cc: tunnelLogger->stopWork(false, "Nix daemon out of memory", 1);
<clever> 814 } catch (std::bad_alloc & e) {
<clever> fresheyeball: was nix-build or nix-daemon ran under stace?
<fresheyeball> nix-build
<clever> that shouldnt affect nix-daemon in any way...
<fresheyeball> strace -ff -e execve -s 655365 -o jlog4 nix-build -A all --arg isJenkins true
<fresheyeball> that is the command I am running
lokado has joined #nixos
<lokado> help! how do you switch to another tty? Ctrl+Alt+Fn does not work
`_ has joined #nixos
MP2E has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
fusion809 has quit [Remote host closed the connection]
<clever> fresheyeball: is NIX_REMOTE set to anything?
<ar1a> lokado: try just Alt?
<lokado> ar1a: not working...and I'm not able to login as root
<lokado> I'm using lightdm, does this matter?
<clever> lokado: is the keyboard working at all?
<lokado> yes I can input password
<lokado> and alt+F4 will.try to shutdown
<ar1a> ALT+Fkeys work for me
<lokado> :(
<clever> when X11 is running, alt+f4 will be sent to the running app, rather then switching to tty4
<fresheyeball> clever: daemon
<clever> ctrl+alt+f4 is the escape code, but that can be disabled in xorg.conf
<clever> fresheyeball: then you shouldnt be seeing the E2BIG...
<fresheyeball> clever: I agree
<clever> src/libexpr/eval.cc: if (!t) throw std::bad_alloc();
<clever> src/libexpr/eval.cc: throw std::bad_alloc();
<fresheyeball> but here we are
<lokado> is root user disabled by default?
<clever> lokado: nixos-install will ask for a root pw when the install is finished
<clever> lokado: and it should allow a login
<clever> fresheyeball: the only places nix can throw bad_alloc is in the evaluator, but nix-daemon never evals nix
dvim has joined #nixos
<clever> so the bad_alloc must be coming from elsewhere
doyougnu has joined #nixos
<fresheyeball> clever: I had a big log dump in that dir that was killing the deamon
<fresheyeball> my debugging killed the debugging
<fresheyeball> now I am dumping the strace
<clever> oh
<clever> the logs in the current dir, made ./. explode
<clever> send the logs elsewhere
<fresheyeball> yeah
pie___ has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest99275 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #54402 → beohm-gc: fix cross build of dependent packages → https://git.io/fhzTx
countingsort has quit [Ping timeout: 240 seconds]
MP2E has quit [Remote host closed the connection]
slack1256 has joined #nixos
iddt has quit [Quit: bye]
jasongrossman has joined #nixos
<iqubic> I'm looking for a screenshot utility that is lightweight, lets me select a portion of the screen to snapshot, and works with a tiling window manager.
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #54403 → pythonPackages.grandalf: init at 0.6 → https://git.io/fhzkc
<simpson> iqubic: I use `scrot`. It has various options for those things. You'll want to read the man page and determine how it can work for you.
<iqubic> simpson: Will it let me select just a portion of a window?
<iqubic> Like not the entire window, but just a select portion of it.
<iqubic> Like, let's say I just want to screenshot this IRC message, and not anything else on my screen at this moment.
<simpson> Yes, `scrot -s` allows mouse-driven selection. Check out the man page for more details: http://manpages.ubuntu.com/manpages/precise/man1/scrot.1.html
<iqubic> Does this work? `scrot -s -e 'mv $f ~/screenshots'`?
<iqubic> Or can you not combine the s and e flags like that?
<simpson> I don't know; TIAS.
<iqubic> Well, it sort of works.
<iqubic> simpson: I'm using EXWM and it sort of works.
<iqubic> Like if I only have emacs buffers open, then it works. But as soon as I open a gui application, then it fails to work.
perique has joined #nixos
<CMCDragonkai> I'm trying to package: https://pypi.org/project/asciimatics/#files
<CMCDragonkai> However that doesn't supply a source distribution on Pypi
<CMCDragonkai> only a wheel
<CMCDragonkai> how does `buildPythonPackage` deal with this?
<CMCDragonkai> using `format = "wheel";`?
<CMCDragonkai> What about `fetchPypi`?
<fresheyeball> angerman: you around?
perique has quit [Max SendQ exceeded]
<CMCDragonkai> Apparently `fetchPypi` as a parameter called `format`
worldofpeace__ has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54399 → pythonPackages.nanotime: init at 0.5.2 → https://git.io/fhzJC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhzIv
ddellacosta has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #54326 → flow: 0.90.0 -> 0.91.0 → https://git.io/fhExn
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « flow: 0.90.0 -> 0.91.0 »: https://git.io/fhzIm
vk3wtf has joined #nixos
MinceR has quit [Ping timeout: 272 seconds]
<iqubic> Alright... So I figured out why `scrot -s` doesn't work very well on EXWM.
b has quit [Quit: Lost terminal]
<iqubic> Trying to bind `scrot -s` from a keybinding on EXWM gives the following errors:
MinceR has joined #nixos
<iqubic> giblib error: couldn't grab keyboard:Resource temporarily unavailable
<iqubic> Process scrot -s -e 'mv $f ~/screenshots' exited abnormally with code 2
<{^_^}> [nixpkgs] @CMCDragonkai opened pull request #54404 → pythonPackages.asciimatics: init at 1.10.0 → https://git.io/fhzIB
<iqubic> Why is it that the command `gm` is aliased to git merge on nixos, and how can I remove this alias?
endformationage has quit [Quit: WeeChat 2.3]
gerschtli has quit [Quit: WeeChat 2.2]
gerschtli has joined #nixos
<iqubic> Nevermind... Turns out I had an ohMyZSH plugin enabled.
aleph- has joined #nixos
rauno has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @buckley310 opened pull request #54405 → metasploit: 4.16.1 -> 5.0.1 → https://git.io/fhzIP
orivej has joined #nixos
kvda has joined #nixos
reinhardt has joined #nixos
<{^_^}> [nixpkgs] @andrewchambers opened pull request #54406 → Python dugong 3.5 -> 3.7.4 → https://git.io/fhzLU
lokado has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @dtzWill opened pull request #54407 → libinput: 1.12.5 -> 1.12.6 → https://git.io/fhzLL
muvlon has quit [Remote host closed the connection]
ryantm has quit [Ping timeout: 250 seconds]
<etu> elvishjerricco: Yeah, you got the answer there. Please report cornercases on github :-)
smolboye_ has quit [Ping timeout: 244 seconds]
palo1 has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/50f41ea2fcf (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<aleph-> Hey is there a guide for packaging pascal programs?
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @dtzWill opened pull request #54408 → smpeg: fix build by linking against libX11 explicitly → https://git.io/fhzL4
unacceptable has quit [*.net *.split]
tboston has quit [*.net *.split]
develCuy has quit [*.net *.split]
aristid has quit [*.net *.split]
boegel has quit [*.net *.split]
parseval has quit [*.net *.split]
mdash has quit [*.net *.split]
grenade has quit [*.net *.split]
wildsebastian has quit [*.net *.split]
drager has quit [*.net *.split]
Ke has quit [*.net *.split]
Cheery has quit [*.net *.split]
sgraf has quit [*.net *.split]
midchildan has quit [*.net *.split]
tstat has quit [*.net *.split]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
Cheery has joined #nixos
wildsebastian has joined #nixos
parseval has joined #nixos
grenade has joined #nixos
develCuy has joined #nixos
tboston has joined #nixos
midchildan has joined #nixos
sgraf has joined #nixos
boegel has joined #nixos
ryantm has joined #nixos
markus1189 has quit [Ping timeout: 246 seconds]
markus1189 has joined #nixos
aristid has joined #nixos
dvim has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53944 → mate updates and downgrades → https://git.io/fhnpg
<{^_^}> [nixpkgs] @worldofpeace pushed 37 commits to master: https://git.io/fhzLF
smolboye has joined #nixos
<teto> ,locate libpulse
<{^_^}> Found in packages: qmmp, libao, apulse, libpulseaudio, libsForQt5.vlc, pulseaudioFull, pulseaudioLight, libcardiacarrest, libpressureaudio, libpulseaudio.dev, pulseaudioFull.dev, pulseaudioLight.dev, libcardiacarrest.dev, xfce.xfce4-pulseaudio-plugin, xfce4-13.xfce4-pulseaudio-plugin
gagbo has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dvim has joined #nixos
<aleph-> Apologies what's the command I want to call to build a local python package? nix build -E '(import <nixpkgs> {}).python.BuildPythonPackage ./default.nix'?
<clever> aleph-: does it give aaaaaaaany error when you run that?
<aleph-> It does, I just can't remember the exact string I'm thinking of.
<aleph-> Didn't see it in the manual.
<clever> aleph-: what error does it give?
<aleph-> Attribute BuildPythonPackage not found in (string):1:1
<aleph-> I'm thinking of the wrong package I know it.
<clever> aleph-: poking around with tab completion in `nix repl '<nixpkgs>'` found pythonPackages.buildPythonPackage
<aleph-> Or I was close.
<aleph-> Let me go write that down finally since my history keeps crapping out.
Mateon3 has joined #nixos
dvim has quit [Ping timeout: 245 seconds]
<aleph-> Thanks clever
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
drager has joined #nixos
jackdk has quit [Ping timeout: 244 seconds]
alp has left #nixos ["Leaving"]
alp has joined #nixos
vk3wtf has quit [Ping timeout: 268 seconds]
gagbo has quit [Ping timeout: 272 seconds]
<MichaelRaskin> aleph-: for Pascal, sometimes just telling fpc to build it turns out to be enough…
smolboye has quit [Ping timeout: 245 seconds]
<aleph-> Good to know.
<aleph-> Just went with a sorta clone in Python
slack1256 has quit [Remote host closed the connection]
<iqubic> So I use ZFS. Is it possible to make run a screen lock program under this condition.
<srhb> iqubic: I don't think ZFS has much to do whether or not that's possible, so yes.
<iqubic> I'm asking because I know that you can't hibernate when using ZFS.
<srhb> Pretty sure you can do that too.
<iqubic> And I wonder if there is a difference between screen lock and hibernating.
<srhb> Or did they break it again...
<iqubic> IDK.
<srhb> I mean, at a bare minimum, a screen lock just makes it impossible to input anything or see what's on the machine. That's definitely possible regardless of zfs or not.
<srhb> Suspend to RAM also works fine with/without zfs.
<iqubic> So what screen lock/screen saver do you recommend?
<{^_^}> [nixpkgs] @wmertens merged pull request #41440 → phpfpm: allow configuring PHP package per-pool → https://git.io/vh8Uz
<{^_^}> [nixpkgs] @wmertens pushed 2 commits to master: https://git.io/fhzqa
ShenTsing[m]1 has left #nixos ["User left"]
<teto> if you want to display last update of a channel in i3pystatus, see https://github.com/enkore/i3pystatus/pull/705
<{^_^}> enkore/i3pystatus#705 (by teto, 4 minutes ago, open): [wip] adding new module nix-channel
<fresheyeball> \quit
<fresheyeball> \leave
fresheyeball has left #nixos ["WeeChat 2.2"]
carlosdagos has quit [Quit: Connection closed for inactivity]
MichaelRaskin has quit [Quit: MichaelRaskin]
<srhb> iqubic: I use slock. Not sure I have a strong enough opinion to recommend it.
<srhb> iqubic: physlock seems to have more nixos options.
<iqubic> what do you mean by "more nixos options"?
<{^_^}> [nixpkgs] @adisbladis merged pull request #54162 → transifex-client: init at 0.13.5 → https://git.io/fh8lm
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fhzmv
<srhb> iqubic: Literally more options related to physlock in NixOS than to slock.
<iqubic> xss-lock is also a thing.
<neonfuz> dtz: Hey, are you the maintainer of fractal?
<neonfuz> I'm not getting any icons when I run it, a bunch of X icons everywhere
Ariakenom has joined #nixos
<neonfuz> maybe I colud have asked generally first before pinging, sry lol
<etu> iqubic: i3lock is quite common as well
<iqubic> doesn't that only work if I am running i3?
<neonfuz> I doubt it?
<neonfuz> yeah I think it's just referencing to being in the style of i3
<neonfuz> minimal, etc
<etu> iqubic: nah, it works in other environments as well
lokado has joined #nixos
<lokado> hi,how do you get the sha256 required for the fetchpypi function?
<iqubic> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<{^_^}> [nixpkgs] @peti pushed 14 commits to haskell-updates: https://git.io/fhzmn
<lokado> Thank you iqubic
Tucky has joined #nixos
<teto> now able to generate nix derviations for both lua src.rock and rockspec. So we should be able to import all of luarocks.org
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/fhzmR
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/fhzm0
jmeredith has quit [Quit: Connection closed for inactivity]
<iqubic> lokado: no problem.
smolboye has joined #nixos
Makaveli7 has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #54294 → udocker: change homepage to documentation on gitbooks.io → https://git.io/fh0WF
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fhzO8
<{^_^}> [nixpkgs] @worldofpeace opened pull request #54410 → [18.09] mate updates and downgrades → https://git.io/fhzOP
dermetfan has joined #nixos
v{}id has joined #nixos
Phillemann has joined #nixos
<jasongrossman> teto: Awesome!
<Phillemann> Where are topics regarding NixOS usually discussed? I feel IRC might be bad for my question, since the relevant people might just not be online at the moment.
<jasongrossman> ,ask
<{^_^}> Just ask your question. It's the best way to know if anybody can help.
v{}id has quit [Client Quit]
<jasongrossman> There's also reddit, and I think discord. But here is usually best. Just ask multiple times if necessary.
<Phillemann> Okay, so I'm setting up a shell.nix for react native development. I need the android emulator, so I've enabled it. My shell, however, doesn't have "emulator" in $PATH.
<Phillemann> I'm not sure if this is intentional.
<jasongrossman> Phillemann: Now if I were you I'd copy that text somewhere, and paste it back in here at a different time of day - any different time of day, at random. We have experts in various time zones. (Not me, though.)
aleph- has quit [Ping timeout: 250 seconds]
<Phillemann> jasongrossman: Okay. Seems really inefficient, but I'll do that.
__Sander__ has joined #nixos
<makefu> Phillemann: there is https://discourse.nixos.org/ which is more of a forum than a chat
<srhb> Phillemann: People also sometimes succeed on the NixOS subreddit.
inquisitiv3 has joined #nixos
goibhniu has joined #nixos
<makefu> for an (almost) complete overview: https://nixos.wiki/wiki/Get_In_Touch
thc202 has joined #nixos
<jasongrossman> ,ask = Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<{^_^}> ask redefined, was defined as Just ask your question. It's the best way to know if anybody can help.
inquisitiv3 has quit [Ping timeout: 268 seconds]
dvim has joined #nixos
hyper_ch2 has joined #nixos
hvemvet has joined #nixos
<teto> is there some snippet somewhere that can generate the "fetchurl/fromGithub"
<teto> from an url
<hyper_ch2> ?
civodul has joined #nixos
<teto> let me rephrase, rockspec have their own format to describe where to fetch the sourcecode. I am trying to translate this into nixpkgs code. For instance if the rockspec file contains "url = "git://github.com/antirez/lua-cmsgpack.git"," I want to generate "fetchFromGithub { .... }"
<teto> like nix-prefetch --generate-nix-code <URL> would be nice
<wedens> teto: can you convert this format to json?
<teto> well not really xD
sigmundv_ has joined #nixos
orivej has quit [Ping timeout: 272 seconds]
<teto> I found pkgs/build-support/upstream-updater/create-src-info-git.sh but it's just for git
dermetfan has quit [Ping timeout: 272 seconds]
<teto> nevermind it's just for a specifc package :s
ng0 has joined #nixos
<wedens> teto: https://github.com/timbertson/nix-update-source it's not exactly what you want, but if going via json is more convenient, you can use it
hyper_ch2 has quit [Ping timeout: 256 seconds]
kvda has joined #nixos
hyper_ch2 has joined #nixos
<teto> nix-prefetch-git --quiet git://github.com/antirez/lua-cmsgpack.git just does it for git, I am looking for a more exhaistuve solution
<teto> wedens: it doesn't seem to generate the input parameters
<teto> you still have to provide them, which is what I am looking for
<wedens> I don't think there is something that infers fetchers.
<wedens> it's impossible in general. but certainly can be implemented if you know exactly how to map some data to a fetcher
<Taneb> Can I extend lib in a NixOS config?
<{^_^}> [nixpkgs] @dotlambda merged pull request #54361 → pythonPackages.PyChromecast: 2.3.0 -> 2.4.0 → https://git.io/fhu0F
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « pythonPackages.PyChromecast: 2.3.0 -> 2.4.0 (#54361) »: https://git.io/fhzCW
xkapastel has joined #nixos
<qyliss> Taneb: an overlay should let you
<srhb> Taneb: If you mean the NixOS argument lib, I think you can just assign whatever to its attributes.
Makaveli7 has quit [Quit: Leaving]
<Taneb> srhb: yeah, that's what I was wondering, thanks!
<{^_^}> [nixpkgs] @voobscout opened pull request #54411 → coreutils: fix tests failing on f2fs → https://git.io/fhzCA
ng0 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #54406 → Python dugong 3.5 -> 3.7.4 → https://git.io/fhzLU
<{^_^}> [nixpkgs] @dotlambda pushed commit from @andrewchambers to master « pythonPackages.dugong: 3.5 -> 3.7.4 (#54406) »: https://git.io/fhzWU
ng0 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ivegotasthma> question, when packaging a python package, is it a better practice to use the pypi module, which lacks tests
<ivegotasthma> or to package a github release, that includes tests
<Taneb> ...does anyone have a good way of testing a NixOS config in CI?
<Taneb> (ideally hydra)
<Taneb> At least to check that nixos-rebuild dry-activate succeeds
<srhb> Taneb: It's usually simpler to build (almost) all of it in a vm I find.
<srhb> Taneb: You can let yourself inspire from the NixOS tests that do rebuilds though.
erictapen has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54379 → pythonPackages.django_reversion: disable checks → https://git.io/fhuyW
<{^_^}> [nixpkgs] @dotlambda pushed commit from @risicle to master « pythonPackages.django_reversion: disable checks (#54379) »: https://git.io/fhzWd
<teto> Taneb: I believe sh.rt has a nixos CI (see discourse discussion)
ChimeraZara has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
orivej has joined #nixos
gagbo__ has quit [Read error: Connection reset by peer]
gagbo_work has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #54412 → teeworlds: 0.6.5 -> 0.7.2 → https://git.io/fhzlM
<{^_^}> [nixpkgs] @Mic92 merged pull request #53934 → prefer-fetch-remote: an overlay to fetch on remote builders → https://git.io/fhnNO
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhz8q
lokado has quit [Quit: Connection closed for inactivity]
hyper_ch2 has quit [Ping timeout: 256 seconds]
<joepie91> "note: currently hard-linking saves -8.58MiB"
<joepie91> eh,,,
<joepie91> eh...*
dermetfan has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #53695 → nixos/gnome3: add GNOME Flashback sessions option → https://git.io/fhZsd
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fhz4U
<{^_^}> [nixpkgs] @jtojnar pushed to master « gdl: rename from gnome3.gdl »: https://git.io/fhz4L
orivej has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @ivegotasthma opened pull request #54413 → Package multiple python modules → https://git.io/fhz4G
orivej has joined #nixos
simukis has joined #nixos
Lears has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #47229 → graphviz: fix CVE-2018-10196 → https://git.io/fAFnQ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fhz0O
Lears has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bc41317e243 (from 18 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<immae> Hey there! I’m writing some new packages, and I’m wondering how I can ensure purity when building them. For instance I have `bundle` or `composer` commands to build the things, and they "may" do some internet calls if some things are missing, but I’d like to forbid them from doing it (getting an error instead of fetching the packet when they try to do)
<symphorien> if you enable the sandbox (default in recent nix versions) then internet access will be forbidden during build
__monty__ has joined #nixos
<symphorien> you can see if the sandbox is enable in `nix show-config`
<immae> Thanks symphorien
<{^_^}> [nixpkgs] @jtojnar opened pull request #54415 → nixos/gnome3: split into common, flashback and 3 → https://git.io/fhzEZ
<immae> It’s not, how can I enable it? (I’m running nixops from a non-nixos system)
<symphorien> is it a multi-user of single-user system ?
<immae> the local system is a multi-user one
<symphorien> then add sandbox=true to /etc/nix/nix.conf
ThatDocsLady has joined #nixos
<immae> Simple :D
<immae> Thanks :)
<immae> (I suppose it will trigger a rebuild of everything?)
<symphorien> no it should not.
<immae> ok
<immae> So it’s only next time I build them that I’ll get the errors
<symphorien> yes
<immae> Cool
<immae> Thanks a lot
<symphorien> to force a rebuild use nix-build --check
<immae> Incrementally is fine for now, but thanks for the command
<{^_^}> [nixpkgs] @Mic92 opened pull request #54416 → Telegraf → https://git.io/fhzEw
<immae> Or can I "locally" unsandbox some derivations I case I don’t find a pure solution?
<immae> (like keeping the sandbox = true globally, but for some derivation I want them impure if I don’t find a possibility to do otherwise)
<symphorien> I don't know
<immae> Ok, I’ll search, thanks for your time
simukis has quit [Quit: simukis]
<ivegotasthma> contributing to nixpkgs is very fun
simukis has joined #nixos
<ivegotasthma> is there a place in the nix ecosystem where contributors are needed more?
<{^_^}> [nixpkgs] @Mic92 merged pull request #47663 → maintainers/maintainer-list.nix: add PGP/GPG fingerprints → https://git.io/fxkCa
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fhzE5
ddellacosta has joined #nixos
simukis has quit [Client Quit]
simukis has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
<infinisil> ivegotasthma: yes, reviewing Pr's
<infinisil> ivegotasthma: Related: #50105
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50105 (by Infinisil, 10 weeks ago, open): New nixpkgs committers requirements/process
simukis has quit [Client Quit]
simukis has joined #nixos
<{^_^}> [nixpkgs] @clefru opened pull request #54417 → electrum: 3.2.4 -> 3.3.2 plus new dependencies. → https://git.io/fhzuR
<ivegotasthma> infinisil: thanks
simukis has quit [Client Quit]
simukis has joined #nixos
<infinisil> ivegotasthma: Just reviewing package update PR's by testing them would help a great amount. Code reviews too if you're comfortable with them
<ivegotasthma> infinisil: where should I look for the code reviews? So far I've only dabbled with packaging.
simukis has quit [Client Quit]
simukis has joined #nixos
<ivegotasthma> I've been reading the threads from the issues / rfcs you sent, scaling issues are interesting
simukis has quit [Client Quit]
simukis has joined #nixos
<ivegotasthma> testing out PRs on github is awkward
fusion809 has joined #nixos
ottidmes has joined #nixos
Phillemann has left #nixos ["WeeChat 2.3"]
<bennofs[m]> Do we have any examples of a module for a python wsgi application in nixpkgs?
<__monty__> ivegotasthma: Why is it awkward? With that last one ^ for example, you can get that by running `git fetch upstream pull/54417/head:local-branchname` then you checkout local-branchname and you can test it.
simukis has quit [Client Quit]
simukis has joined #nixos
<__monty__> ivegotasthma: For code review click the `Files Change #N` link right under the PR's title. Then you can comment on specific lines or on the entire PR.
<__monty__> ivegotasthma: With the little plus that appears next to the line numbers when you hover or the `Review changes` button at the top respectively.
<ivegotasthma> __monty__: I get the review system, it's simple
<ivegotasthma> __monty__: testing the changes is where the forked project PR workflow seems cumbersome
<ivegotasthma> __monty__: thanks for the tip
simukis has quit [Client Quit]
fendor has joined #nixos
sanscoeur has quit [Remote host closed the connection]
<duairc> What's the best way to globally add $HOME/.local/bin to the PATH for all users in NixOS?
simukis has joined #nixos
dermetfan has quit [Quit: WeeChat 2.3]
<qyliss^work> duairc: environment.shellInit ?
xkapastel has quit [Quit: Connection closed for inactivity]
<laas> I've noticed something odd, packages seem to build quite slowly from source, if I add an override to them
<laas> e.g. I've added a very simple patch to kakoune, and it takes around 30 seconds to build the package
<laas> Is this expected? My CPU load is very low the entire time
<gchristensen> laas: it is probably building using only one core, set nix.buildCores (https://nixos.org/nixos/options.html#nix.buildcores)
<laas> oh lol
<laas> yeah that's probably why
fendor has quit [Ping timeout: 268 seconds]
<gchristensen> (or, don't, I keep mine at 1 :))
<sphalerite> laas: you can also set it ad-hoc on the command line rather than putting it in your nix.conf
jasongrossman has quit [Ping timeout: 240 seconds]
<sphalerite> e.g. nix-env -f . -iA kakoune --cores 8
<laas> it's in my configuration.nix file, so that wouldn't work, but thanks
<{^_^}> [nixpkgs] @FRidh opened pull request #54419 → ncurses: use github mirror → https://git.io/fhzVe
jasongrossman has joined #nixos
mdash has joined #nixos
strobelight has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #54413 → Package multiple python modules → https://git.io/fhz4G
<{^_^}> [nixpkgs] @dotlambda pushed 6 commits to master: https://git.io/fhzrw
fendor has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.0-rc2 -> 5.0-rc3 »: https://git.io/fhzrX
hyper_ch2 has joined #nixos
ilya-fedin has quit [Quit: Connection closed for inactivity]
eadwu has joined #nixos
<bennofs[m]> why is the gitweb module defined in the same directory as nginx? (and it is a sub-service of nginx as well, it's config is services.nginx.gitweb.*)
<bennofs[m]> Do we want to do this for services that integrate with nginx?
<gchristensen> probably not
fendor has quit [Ping timeout: 246 seconds]
hvemvet has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixops] @domenkozar pushed commit from @roberth to master « fix another search path impurity »: https://git.io/fhzoi
<{^_^}> [nixpkgs] @zimbatm pushed commit from @marsam to release-18.09 « aws-google-auth: init at 0.0.29 »: https://git.io/fhzoM
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
fendor has quit [Ping timeout: 244 seconds]
<bennofs[m]> also is there a tool I am missing to auto-generate simple python package definitions? (for inclusion in nixpkgs)
<srk> pypi2nix?
<bennofs[m]> which one? the one I remember generates a single big python-packages.nix that isn't really usable to for including in nixpkgs
<srk> indeed
fendor has joined #nixos
fendor has quit [Ping timeout: 245 seconds]
<sphalerite> laas: you can also pass --option cores 8 to nixos-rebuild :)
elibrokeit has quit [Quit: A random quit message]
<{^_^}> [nixpkgs] @domenkozar pushed to master « stack2nix: distribute again »: https://git.io/fhzKj
ddellacosta has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
elibrokeit has joined #nixos
aswanson has joined #nixos
elibrokeit has quit [Ping timeout: 252 seconds]
elibrokeit has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #54420 → nginxModules.http_proxy_connect_module: init → https://git.io/fhziq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhzim
<{^_^}> [nixpkgs] @Mic92 merged pull request #54365 → alacritty: 0.2.5 -> 0.2.6 → https://git.io/fhuEF
phreedom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhziC
phreedom has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #54421 → radare2: 3.1.3 -> 3.2.1 → https://git.io/fhzi1
<{^_^}> [nixpkgs] @Mic92 opened pull request #54422 → nix-review: 1.0.2 -> 1.0.3 → https://git.io/fhzPg
fendor has joined #nixos
eadwu has quit [Ping timeout: 264 seconds]
silver has joined #nixos
linkrage has joined #nixos
fuzzy-id has joined #nixos
xkapastel has joined #nixos
<fuzzy-id> running nix-shell in a directory named 'workspace@2' results in “error: invalid character '@' in name 'workspace@2'”
<fuzzy-id> is this a known limitation?
<gchristensen> something is probably doing `src = ./.`
reinhardt has quit [Quit: Leaving]
<fuzzy-id> yep, that's correct
<gchristensen> on jenkins? :)
<gchristensen> src = builtins.path { path = ./.; name = "my-project"; };
<fuzzy-id> kewl
<fuzzy-id> thanks a lot!
<gchristensen> you're welcome!
eadwu has joined #nixos
pointfourone has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #54375 → termtosvg: 0.7.0 -> 0.8.0 → https://git.io/fhuXg
sb0 has joined #nixos
<sb0> do I *need* postgresql for hydra or can it use e.g. sqlite?
<gchristensen> I think you can just use sqlite
<{^_^}> [nixpkgs] @7c6f434c merged pull request #54421 → radare2: 3.1.3 -> 3.2.1 → https://git.io/fhzi1
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhz14
<sb0> okay. any information on how to do that? I went with the default settings, and hydra-init and hydra-create-user seemed to write something to some sqlite database
<sb0> but then the web interface rejects the password I provided to hydra-create-user
<sb0> also, for some reason, services.hydra.enable = true still installed postgresql
<gchristensen> I think most things assume you will be using postgres
<gchristensen> I think the sqlite support is mostly used in the test tooling, so maybe explore that
<sb0> meh i'll just install postgres then
<lewo> sb0: I'm pretty sure you need a postgresql DB
<hodapp> only reason I ever messed with postgres was to deal with some GIS stuff that *had* to use PostGIS to do some basic file-to-file conversions >_>
<{^_^}> [nixpkgs] @bkchr opened pull request #54423 → kdeApplications.kdepim-runtime: Fixes build → https://git.io/fhz16
<lewo> sb0: If you don't override the services.hydra.dbi option, services.postgresql.enable is set to true :/
<{^_^}> [nixpkgs] @hedning merged pull request #54393 → racket: fix gappsWrapperArgs → https://git.io/fhujg
<{^_^}> [nixpkgs] @hedning pushed 2 commits to master: https://git.io/fhzMf
<lewo> sb0: there is an Hydra test in nixpkgs that may be helpful https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/hydra/default.nix
<{^_^}> [nixpkgs] @Mic92 merged pull request #54422 → nix-review: 1.0.2 -> 1.0.4 → https://git.io/fhzPg
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhzMT
dermetfan has joined #nixos
oldandwise has joined #nixos
<oldandwise> given a package (clang-tools), how can i list the files under it?
<betaboon> gchristensen: did you see the terranix article in weekly.nixos ?
<sb0> okay, well i'll just make my life easier and just use what everyone else is using :)
<sb0> now, how do I set up nixpkgs as an input? if I simply say "git checkout git://github.com/NixOS/nixpkgs.git" it will build for unstable
<sb0> but I want 18.09
<makefu> github is down!?
<Mic92> makefu: yes
<ivegotasthma> f
<makefu> and up again!
<Mic92> up again
hedning has joined #nixos
<gchristensen> who needs monitoring, I have #nixos
<betaboon> makefu Mic92 same here
<lewo> sb0: the second argument of a git input is the branch name :)
<sb0> just type "git://github.com/NixOS/nixpkgs.git release-18.09" into the box of the web interface? okay
<tilpner> You may want nixpkgs-channels instead
<lewo> sb0: yes
<{^_^}> [nixpkgs] @dotlambda pushed to master « docutils: use python3Packages (#54325) »: https://git.io/fhzMx
<{^_^}> [nixpkgs] @dotlambda merged pull request #54325 → docutils: use python3Packages → https://git.io/fhEAx
<lewo> sb0: and as suggested by tilpner, use nixpkgs-channels to get prebuilt binaries
oldandwise has quit [Quit: leaving]
<ivan> can I run checkPhase after installPhase?
<Mic92> ivan: use installCheckPhase instead
<ivan> Mic92: thank you
<sb0> thank you all
<ivan> such a useful test I've got
<ivan> # --help returns non-0 exit code even when working
<ivan> signal-cli --version
snajpa has quit [Ping timeout: 268 seconds]
srk has quit [Ping timeout: 244 seconds]
aither has quit [Ping timeout: 246 seconds]
srk has joined #nixos
snajpa has joined #nixos
sanscoeur has joined #nixos
nomeata has joined #nixos
<nomeata> I am trying to use nix-shell and pkgs.haskellPackages.shellFor to get an environment where I can build multiple packages using cabal new-build that we usually build using plain nix (and cabal2nix). Now I run into problems like this:
<nomeata> <command line>: can't load .so/.DLL for: libgmpxx.so (libgmpxx.so: cannot open shared object file: No such file or directory)
<nomeata> How do I find out what’s wrong?
aither has joined #nixos
dermetfan has quit [Quit: WeeChat 2.3]
<linkrage> do we have "podman" package for NixOS? nix-env -qaP podman gets killed by OOM Killer I think (gotta upgrade)
<__monty__> ,locate podman
<{^_^}> Couldn't find in any packages
<__monty__> ,locate pod2man
<{^_^}> Found in packages: perl, perl526, perldevel, perl526Packages.podlators, perl528Packages.podlators, perldevelPackages.podlators
<__monty__> There ya go, linkrage. I'm memory-constrained too so I usually join #bottest and ask {^_^} : )
<linkrage> __monty__, thanks. Can you explain what this is about: https://logs.nix.samueldr.com/nixos/search?q=podman
<{^_^}> [nixpkgs] @eadwu opened pull request #54425 → [WIP] srhtPackages: init → https://git.io/fhzyS
<linkrage> __monty__, :) Perhaps "podman" is still not in stable "repo" etc ?
<__monty__> Hmm, terrible name though : /
<qyliss> You can PM {^_^} also
<linkrage> I see thanks
<__monty__> linkrage: The PR is still open so I don't think it could be in any of the channels.
<lewo> Are you talking about this podman? https://github.com/NixOS/nixpkgs/pull/51627
<{^_^}> #51627 (by vdemeester, 6 weeks ago, open): podman: init at 1.0.0
pointfourone has quit [Quit: Leaving]
<linkrage> lewo, yes
sanscoeur has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nlewo merged pull request #51627 → podman: init at 1.0.0 → https://git.io/fpDIc
<{^_^}> [nixpkgs] @nlewo pushed 8 commits to master: https://git.io/fhzHi
<elvishjerricco> nomeata: Is that happening during the Nix building or when you run cabal new-build
<elvishjerricco> ?
endformationage has joined #nixos
abathur has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #54412 → teeworlds: 0.6.5 -> 0.7.2 → https://git.io/fhzlM
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fhz7T
DeaDSouL has joined #nixos
<linkrage> lewo, on NixOS in order to run containers with podman (which uses runc) without the need for docker daemon... do I have to install cri-o ? (I assume since we have runc package that's all I need -> podman+runc installed?)
ng0 has quit [Ping timeout: 256 seconds]
ng0 has joined #nixos
ng0 has quit [Client Quit]
<lewo> linkrage: sorry, I don't know (i didn't play with podman yet)
<linkrage> lewo, I see. There is small chance I'd have the time to test all of this on NixOS soon and if that's the case I'd be happy to report results/issues etc.
<lewo> linkrage: yeah, it would be really nice:)
<linkrage> lewo, If I have a chance to start on this I'll let you know on start as well :)
justan0theruser has quit [Ping timeout: 268 seconds]
fuzzy-id has quit [Ping timeout: 252 seconds]
<lewo> linkrage: thx
dermetfan has joined #nixos
<nomeata> elvishjerricco: when running `cabal new-build`. I can work around it by overriding the shellHook of the derivation produced by shellFor to set export LD_LIBRARY_PATH="${pkgs.gmp}/lib:$LD_LIBRARY_PATH". But this might be a local problem here, so maybe I shouldn’t escalate to the outside yet
<{^_^}> [nixpkgs] @ivan opened pull request #54426 → signal-cli: init at 0.6.2 → https://git.io/fhzdv
orivej has quit [Ping timeout: 246 seconds]
<laas> why is `nix-shell -p pkgs.some-package` different from `nix-shell -E 'let pkgs = import <nixpkgs> {}; in pkgs.some-package`?
<laas> the first one doesn't get the compile-time dependencies
<gchristensen> that gets you the build env of that package
<gchristensen> which is the same as nix-shell -A some-package
<laas> ah
<{^_^}> [nixpkgs] @clefru closed pull request #54417 → electrum: 3.2.4 -> 3.3.2 plus new dependencies. → https://git.io/fhzuR
justan0theruser has joined #nixos
sheth has quit [Ping timeout: 245 seconds]
r5d has quit [Quit: WeeChat 2.3]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/5e6ae9b6a51 (from 29 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<sphalerite> laas: nix-shell -p constructs a new dummy drv with the given packages as buildInputs and enters the build env for that
ddellacosta has joined #nixos
ddellacosta has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #54273 → programs.ssh.knownHosts: update example to be an attrset → https://git.io/fhRzg
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhzFS
dvim has quit [Ping timeout: 250 seconds]
r5d has joined #nixos
<{^_^}> [nixpkgs] @Tomahna opened pull request #54427 → bloop: 1.2.3 -> 1.2.4 → https://git.io/fhzbk
peacememories has joined #nixos
doyougnu has quit [Quit: WeeChat 2.2]
<sb0> does hydra have some module to send notifications to IRC?
<{^_^}> [nixpkgs] @Mic92 merged pull request #53886 → DMD to provide libphobos2.so.x.y → https://git.io/fhnXx
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhzby
<{^_^}> [nixpkgs] @jtojnar opened pull request #54428 → glibmm: fix darwin build → https://git.io/fhzbQ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @tex to release-18.09 « DMD to provide libphobos2.so.x.y »: https://git.io/fhzbd
xkapastel has quit [Quit: Connection closed for inactivity]
dermetfan has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #54429 → Revert "python: pytest_37: init at 3.7.4" → https://git.io/fhzNg
gagbo has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
dvim has joined #nixos
hyper_ch2 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @yorickvP opened pull request #54430 → buildkite-agent3: 3.0.1 -> 3.8.2 → https://git.io/fhzAJ
justan0theruser is now known as justanotheruser
Denommus has joined #nixos
<Denommus> hey
<lewo> sb0: I don't think so. Maybe you can use the runCommand plugin to do that.
<Denommus> I'm getting "error: while setting up the build environment: getting attributes of path '': No such file or directory" when I try to install any package
<Denommus> I'm using nix over Arch Linux
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @grahamc opened pull request #54431 → b612: init at 2019-01-21 → https://git.io/fhzx8
stranger___ has joined #nixos
<stranger___> hi. what do you think? https://github.com/NixOS/nixpkgs/pull/53818
<{^_^}> #53818 (by gnidorah, 1 week ago, open): update most packages I maintain
<{^_^}> [nixpkgs] @vcunat pushed to staging « gnutls: 3.6.2 -> 3.6.5 »: https://git.io/fhzxy
<Denommus> ottidmes: if I decide to install nix from the curl, is there an easy way to remove it?
doyougnu has joined #nixos
<clever> Denommus: depends on if you did a single or multiuser install, but why do you want to remove it?
<ottidmes> Denommus: I am not using Nix myself outside NixOS, but it seems like there is no easy uninstaller: https://github.com/NixOS/nix/issues/1402
<{^_^}> nix#1402 (by jarry9, 1 year ago, closed): How to remove nix
<cransom_> Denommus: there are only a few files that it adds/modifies and can be easily removed.
<cransom_> if you do a single user install, you can remove the lines from your bashrc (or whatever shell you use) and remove /nix and it's gone.
<Denommus> clever: if I decide to stop using it, there should be an easy way to do so, right?
<clever> Denommus: i think its just as simple as deleting ~/.nix-profile and /nix/
<Denommus> ok
cransom_ is now known as cransom
nomeata has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hedning merged pull request #54428 → glibmm: fix darwin build → https://git.io/fhzbQ
<{^_^}> [nixpkgs] @hedning pushed 2 commits to staging: https://git.io/fhzpu
<{^_^}> [docker] @peti pushed 0 commits to bash: https://git.io/fhzpo
<{^_^}> [nixpkgs] @dotlambda opened pull request #54432 → pythonPackages: remove some packages representing outdated versions → https://git.io/fhzp9
pointfourone has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pointfourone has left #nixos [#nixos]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « openjdk: 8u192 -> 8u202 »: https://git.io/fhzjM
_d0t has joined #nixos
<_d0t> hi. I wanna build some code from its source directory with nix-build. I get "variable $src or $srcs should point to the source" when I run nix-build. How do I fix this?
<_d0t> Assuming I have dropped a default.nix in the source code dir.
<{^_^}> [docker] @peti pushed to master « Update to nix version 2.2.1. »: https://git.io/fhzj9
<{^_^}> [docker] @peti pushed 0 commits to 2.2.1: https://git.io/fhzjF
<cransom> you need a `src = ./.;` in your mkDerivation
<ottidmes> _d0t: that is due to the unpackPhase expecting a src or srcs being defined by default, you can work around it in several ways, but the best way would depend on what you are packaging
Denommus has quit [Remote host closed the connection]
<_d0t> Oh... silly me
<_d0t> That was obvious
<_d0t> Thank you cransom!
<_d0t> ottidmes: the src hack worked just fine. All I want is to build the code in place.
<{^_^}> [nixpkgs] @leenaars opened pull request #54433 → b612-font: init at 1.003 → https://git.io/fhzjj
<laas> is there a way to force nix-build to build from source?
<gchristensen> --check
<ottidmes> _d0t: I assumed you did not have a src for your package, since setting src = something; seemed obivous to me :P if you ever have such a package, you can use e.g. buildCommand rather than using the normal phases
<laas> thanks!
<_d0t> another question. How do I call or pass flags to autoreconf?
<{^_^}> [nixpkgs] @grahamc closed pull request #54431 → b612: init at 2019-01-21 → https://git.io/fhzx8
<_d0t> postUnpack doesn't seem to quite nail it
orivej has joined #nixos
ambro718 has joined #nixos
<_d0t> forget that, how do I add hooks to local builds?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f3b123e5748 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<_d0t> autoreconfHook for example
<_d0t> here's default.nix
<_d0t> Oh... I got it. Again, never mind :)
xkapastel has joined #nixos
Kim has quit [Quit: WeeChat 2.2]
<laas> how do I make fetchFromGithub use the master branch?
<laas> I can just change the revision, but I'd have to change the sha256 hash value every time the branch updates
<laas> or is there a way to use a local path for a package?
<clever> laas: src = ./.; or src = /home/clever/apps/foo;
<_d0t> laas: funny. It's what I have just asked :)
hexo_ is now known as hovniatko
<__monty__> Hmm, trying to test a python program that needs pygobject, on a mac. nix-shell -p 'python37.withPack...ps.pygobject3 ])' gnome3.gtk doesn't seem sufficient. Still get: `ValueError: Namespace Gtk not available`. Anyone can tell me what I'm doing wrong.
erictapen has quit [Ping timeout: 268 seconds]
<ar1a> why in home-manager do we have to do programs.firefox.enable = true; instead of just adding it to home.packages?
sanscoeur has joined #nixos
<laas> ah thanks lol
<simpson> ar1a: Because there's more features than just the package: https://github.com/rycee/home-manager/blob/master/modules/programs/firefox.nix
<simpson> ar1a: That said, I'm going to read your mind and guess that you want to know about `programs.firefox.package`, which will let you customize which Firefox package is used.
Ariakenom has joined #nixos
<laas> where can one see the documentation for stdenv?
<laas> I can see that there are documentation comments in the source, but I can't actually find a way to either generate them or any place to view pregenerated documentation
<{^_^}> [nixpkgs] @hedning pushed commit from @jtojnar to master « glibmm: fix darwin build »: https://git.io/fhgf3
<{^_^}> [nixpkgs] @FRidh merged pull request #54111 → python37Packages.Nuitka: -> 0.6.1 → https://git.io/fhl9Q
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.Nuitka: -> 0.6.1 »: https://git.io/fhgfC
<laas> simpson: that doesn't seem to include all the documentation
<laas> e.g. documentation for foldr
<simpson> laas: Those are extremely pretty comments. They are important for understanding the lib, but even more important is the source itself.
<simpson> AFAIK there isn't a tool that generates API docs from those comments. Happy to be wrong.
_d0t has quit [Ping timeout: 240 seconds]
<laas> huh
<ivan> how can I make the font substitutions in my ~/.config/fontconfig/fonts.conf apply to everything except PDFs in Chromium
nschoe has joined #nixos
<tazjin> simpson: we use the lib comments to generate docs with the tool that laas linked, the pull-request for it was merged during 35C3 and I think they're not in the public manual yet
<WilliamHamilton[> clever: if I write `nix-shell -p "with import <nixpkgs> {}; pkgs.haskellPackages.ghcWithPackages (p: [(pkgs.haskellPackages.callPackage ~/local-package {}))) ])" "--run" "ghci"` then in the ghci session the package is present but hidden, and I have to type `:set -package local-package` to expose it. Why does this happen, and how could I make it exposed by default?
<laas> tazjin: is there any online version of the docs?
<laas> or is there a way to easily build them myself?
<laas> oh nice
<tazjin> I rendered that manually during the PR process (see https://github.com/NixOS/nixpkgs/pull/53055)
<laas> this is a huge help, thanks!
<{^_^}> #53055 (by tazjin, 3 weeks ago, merged): Add automatic generation of library function documentation
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.09 « openjdk: 8u192 -> 8u202 »: https://git.io/fhgfN
verite- has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tazjin> laas: you can build the manual on your own machine by checking out nixpkgs, going into the docs folder and doing a `nix-build`
<{^_^}> [nixpkgs] @worldofpeace merged pull request #54364 → Backport gitea: 1.6.3 -> 1.6.4 → https://git.io/fhuEm
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-18.09: https://git.io/fhgJe
<{^_^}> [nixpkgs] @pacien opened pull request #54434 → gscan2pdf: init at 1.8.11 → https://git.io/fhgJL
ixxie has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
sigmundv_ has quit [Ping timeout: 250 seconds]
aszlig has joined #nixos
reinhardt has joined #nixos
<simpson> tazjin: Very cool.
dermetfan has joined #nixos
praetorg has joined #nixos
<ixxie> yo folks! I have been trying to install font-awesome_4 and 5 without luck... the rebuild succeeds but I can't find the font in the system
<tilpner> ixxie: You are installing via fonts.fonts, right?
<praetorg> awesome 5 contains 'Font Awesome 5' string
<ixxie> tilpner: nope >.<
justanotheruser has quit [Ping timeout: 246 seconds]
<laas> is there even any reason to install them normally
doyougnu has quit [Read error: Connection reset by peer]
wucke13 has joined #nixos
shibboleth has joined #nixos
<wucke13> I have a problem writing a nix expression for a scanner driver. The only problem so far is, that libusb isn't found by the linker. Has someone an idea how to resolve this? Here is the current state: https://github.com/wucke13/nixpkgs/blob/imagescan/pkgs/misc/drivers/imagescan/default.nix
nschoe has quit [Quit: Program. Terminated.]
<ar1a> how can I get command-not-found working? (i'm on nixpkgs-unstable) -- when i run `command-not-found sox` it spits out "cannot open database `/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite' at /run/current-system/sw/bin/command-not-found line 13."
<symphorien> wucke13: is this driver different from epkowa ?
<ixxie> tilpner: thanks that did the trick... silly me I had the fonts.fonts attribute in the same module so I should have known better
<symphorien> (Epkowa is already in nixpkgs)
<tilpner> wucke13: Fails with sed: -e expression #1, char 26: unknown option to `s' here, are you sure your repo is updated?
mmlb has quit [Ping timeout: 246 seconds]
<tilpner> ar1a: Did you set programs.command-not-found.enable = true;?
<tilpner> (Though it should be true by default)
linkrage has quit [Quit: Leaving]
<wucke13> tilpner: sorry. Forgot about that attemp. Hang on a minute, I'll correct it.
<tilpner> ar1a: Oh, are you using proper channels from nixos.org/channels, or from github?
<ar1a> from nixos.org/channels
<tilpner> Huh
<symphorien> ar1a: nix-channel --update
<ar1a> tried that
<ar1a> ah, i have nix-index installed
<ar1a> that might? be overwriting it
<symphorien> With sudo as well ?
<ar1a> oh, no its not
dermetfan has quit [Ping timeout: 245 seconds]
<tilpner> And did you check if that database exists?
<ar1a> `where command_not_found_handler` shows me the one from /etc/zshrc
<ar1a> /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite: cannot open `/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite' (No such file or directory)
<ar1a> and yes with sudo
<symphorien> Strange
<wucke13> symphorien: I'm just about to find out
kandinsk1 is now known as kandinski
<ar1a> is it generated for nixPKGS-unstable? or only nixos-*
<ar1a> symphorien:
<symphorien> I don't know
<tilpner> You can check by unpacking your channel
<tilpner> Or... using the sqlite CLI to check if it's actually a valid database
Laalf has joined #nixos
<wucke13> symphorien: with ` hardware.sane.extraBackends = with pkgs; [epkowa];` and `hardware.sane.netConf = "<printers ip in local subnet>";` no connection can be established.
<symphorien> I have never tried epkowa with network scnaners
ng0 has joined #nixos
<symphorien> The point is: epkowa includes a sotware calles iscan or image scan from epson
justanotheruser has joined #nixos
<symphorien> software called*
<wucke13> symphorien: Yeah. Epson links to the imagescan project if one searches for linux drivers on their page. Maybe the one is part of the other, though imagescan both offers a sane driver and some sort of GUI AFAIK
<symphorien> Well maybe you don't need to completely duplicate the effort at least.
freeman42x has joined #nixos
Laalf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<wucke13> symphorien: Is my assumption that I do not need the saned service to use a network scanner correct?
<tilpner> wucke13: Builds fine when you include pkgconfig
<wucke13> tilpner: Thank you! :) Why is that?
<tilpner> pkgconfig is the tool used to find libusb
<tilpner> You didn't add it, so it didn't find libusb
<wucke13> Yeah, but isn't pkgconfig ran many times in the configure script?
<tilpner> I don't know, I've mostly avoided autotools internals
<tilpner> It might try, and then fallback to some unhelpful default
<wucke13> I just wonder why the error isn't more obvious pointing out that a binary is missing
<wucke13> Ah that might be the case
superherointj has joined #nixos
erictapen has joined #nixos
mizu_no_oto has joined #nixos
<ar1a> is there a fonts.fonts for home-manager?
wucke13 has quit [Read error: Connection reset by peer]
shibboleth has quit [Quit: shibboleth]
dermetfan has joined #nixos
Drakonis__ has joined #nixos
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<{^_^}> [nixpkgs] @dtzWill merged pull request #54408 → smpeg: fix build by linking against libX11 explicitly → https://git.io/fhzL4
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhgto
drakonis_ has quit [Ping timeout: 268 seconds]
worldofpeace has joined #nixos
mmlb has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #54434 → gscan2pdf: init at 1.8.11 → https://git.io/fhgJL
<{^_^}> [nixpkgs] @jtojnar reopened pull request #54434 → gscan2pdf: init at 1.8.11 → https://git.io/fhgJL
<{^_^}> [nixpkgs] @joachifm merged pull request #54391 → Rstudio fixes → https://git.io/fhuhb
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fhgqz
<{^_^}> [nixpkgs] @joachifm merged pull request #54198 → haproxy: 1.9.0 -> 1.9.1 → https://git.io/fh4ZS
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhgqo
EoF has quit [Quit: eof]
lush has joined #nixos
judson has quit [Ping timeout: 250 seconds]
<lush> hey everybody. Just started to update my nixos and for some reason it tries to compile libre office from source.. I let it try to do that for some hours now, but I'm kind of tired of waiting. Aren't there any precompiled binaries in the current cache?
<__monty__> lush: The build'll probably fail.
<lush> I don't need LO rn. Should I just delete it from my package list for a few days and try again later then?
<worldofpeace> lush: The build is currently broken https://github.com/NixOS/nixpkgs/issues/54436
<{^_^}> #54436 (by hlandau, 24 minutes ago, open): libreoffice build failure
<__monty__> lush: Probably, unless you want to hunt for a channel revision that has a cached libreoffice.
<lush> alright, thanks :) I don't need LO for the moment, I'll just reinstall it later
<lush> worldofpeace: thx :)
ambro718 has quit [Quit: Konversation terminated!]
lush has quit [Quit: Page closed]
Denommus has joined #nixos
kklawikowski has joined #nixos
<kklawikowski> Morning guys.
<Denommus> I screwed up
<Denommus> I erased my ~/.nixops
<kklawikowski> Wassup
<Denommus> can I again configure my existing instances with my files somehow?
<kklawikowski> man, I screwed up even more
<kklawikowski> just installed Windows 10 Enterprise Bloatware Free Edition
<kklawikowski> that I like it
<kklawikowski> and that's a sad thing
<kklawikowski> such a snappy OS
<praetorg> gross
<gchristensen> kklawikowski: glad to hear you're happy with it
<kklawikowski> just kidding guys, using this just for Adobe Creative Cloud stuff, just made new partition specially for nixOS <3
<praetorg> i kid i have it on a partition to update my firmware every now and then
<betaboon> Denommus: did that happen long ago? you might try to restore those deleted files with extundelete. but you have to umount the device. this if it is your root device you would have to boot from a usb-flash-drive
superherointj has quit [Ping timeout: 250 seconds]
<betaboon> Denommus: assuming your on linux and on ext anyhow
<Denommus> betaboon: it was this afternoon, but I already downloaded a bunch of stuff after that
<Denommus> I bet it's already lost
<praetorg> it might not be
<Denommus> perhaps I could snapshot the disks, erase the instances, and create them again?
<Denommus> ... I think it would be too much work
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a21dad5e57e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<ToxicFrog> Does nixOS have any support for configuring Docker containers in the configuration? I rummaged around in options.html and couldn't find anything, but figured it was worth asking
<ToxicFrog> (alternately, does anyone have a better way of running pihole on Nix, the installer is kind of a shitshow)
drakonis_ has joined #nixos
<betaboon> Denommus: well yeah you could that. you can specify the snapshot id of which a ebs-volume is created. havent used that yet tho
<kklawikowski> just asking, still no support for Adobe Creative Cloud on wine or something like this?
<betaboon> Denommus: for the future: trash-cli
<ivan> does nix hit the substituters in order, or in parallel?
<betaboon> Denommus: or even better: put the statefiles into git and use git-crypt to encrypt them automatically (but encrypt them!)
acarrico has joined #nixos
Drakonis__ has quit [Ping timeout: 252 seconds]
bencahill has joined #nixos
<bencahill> Hi! I'm having problems with a static IP I set not always being there. I think it is because sometimes the interface is eth0 and sometimes it is eth1 (config is set for eth0). I found the option networking.usePredictableInterfaceNames that looks like it would fix this, but it defaults to true and I have not changed it in my configuration. Any ideas what might be going on?
<praetorg> kklawikowski https://appdb.winehq.org/objectManager.php?sClass=version&iId=36206 it looks like some people are seeing some success. creative clound is a moving target though and anything could break at any time
<betaboon> Denommus: how many instances are we talking about ?
<Denommus> betaboon: 2
<ivan> bencahill: check journalctl -b for early boot messages on how network interfaces are being renamed by systemd. probably something really odd is going on with your hardware.
<betaboon> well then thats not too much work
<betaboon> but yeah, loosing state file is a buzzkill
ThatDocsLady has quit [Ping timeout: 246 seconds]
<Denommus> betaboon: does nixops export work as a backup?
<kklawikowski> praetorg thanks man
<ivan> bencahill: "eth0" and "eth1" don't look like predictable interface names though
<kklawikowski> did I forgot to mention that on Bloatware free edition the browser is missing?
<kklawikowski> at least I have a partition for my files before I have formatted this PC, there's older Chrome Setup.exe file
<{^_^}> [nixpkgs] @ryantm merged pull request #54189 → hyper: 2.1.0 -> 2.1.1 → https://git.io/fh8jO
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhgYi
<bencahill> ivan: Thx. I see this: "kernel: ipw2200 0000:03:03.0 wlp3s3: renamed from eth0"
<betaboon> Denommus: not that i know of. only those sqlite wal and shm files are there. but they are in the same location so most likely lost as well
<betaboon> Denommus: and i dont know if you could restore from those
<bencahill> ivan: That explains why it is sometimes eth1; wireless gets named eth0 and then renamed. The question is why doesn't eth0 get renamed? I don't see anything else indicative at a quick glance.
<{^_^}> [nixpkgs] @ryantm merged pull request #54185 → hebcal: 4.15 -> 4.16 → https://git.io/fh8pN
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhgYD
<bencahill> ivan: I mean why doesn't eth1 get renamed
<ivan> bencahill: you're in the realm of BIOS/UEFI problems with your machine and systemd bugs
<bencahill> ivan: FYI this is an old Pentium 4 Dell Latitude 6000
<ivan> that would help explain it
Denommus has quit [Remote host closed the connection]
<ivan> you might be able to name your devices based on their MAC addresses https://superuser.com/questions/914646/renaming-network-interface-with-systemd
<ivan> that would go in services.udev.extraRules = ''
reinhardt has quit [Quit: Leaving]
<ivan> I don't know why something isn't getting renamed but systemd has options to increase verbosity if you want to go down that rabbithole
<bencahill> ivan: I figured that would be my next step. I may just go the easy messy route and assign the IP to both eth0 and eth1 in configuration.nix so it will work either way.
<bencahill> ivan: Oh I was searching for eth0...d'oh. Here are the lines about eth1:
<bencahill> kernel: b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
<bencahill> kernel: b44 ssb0:0 eth1: Broadcom 44xx/47xx 10/100 PCI ethernet driver 00:14:22:df:9c:6c
kklawikowski has quit [Ping timeout: 244 seconds]
<ivan> some of these older drivers may be very poorly tested now
superherointj has joined #nixos
<ivan> 14 year old hardware may also be flaking
<ivan> you can also compare two boot logs from a desired rename and undesired rename
<ivan> journalctl -b -2 for the previous boot and so on
<bencahill> Haha yep these are old machines. They work well for our purpose though. That is an awesome idea thx.
Denommus has joined #nixos
<bencahill> I'm guessing it may just be a race issue and the network eth never gets renamed (since when it works it's just eth0)...just depends which the kernel recognizes first.
<ivan> if it's an ordering issue maybe you can fix it by putting a kernel module into boot.initrd.availableKernelModules or maybe not
<ivan> are you configuring eth0 and eth1 even though they have renamed names? is systemd letting you do that?
<Denommus> yeah
<Denommus> I lost it for good
<Denommus> :(
<Denommus> will have to recreate my instances
<{^_^}> [nixpkgs] @Mic92 pushed 9 commits to master: https://git.io/fhgOi
<{^_^}> [nixpkgs] @Mic92 merged pull request #53170 → uboot: add RockPro64 support, fix Rock64 build, misc related changes → https://git.io/fhqTf
freedan42x has joined #nixos
<bencahill> ivan: Was configuring eth0. It just throws some errors when eth0 is not available (because it's eth1 this time). So I think if I configure both it will just throw an error for one each time.
<{^_^}> [nixpkgs] @vcunat opened pull request #54438 → openssl_1_1: use the same default CA path as 1.0.* → https://git.io/fhgOy
<ivan> bencahill: if systemd is giving you stable names, use those instead
<ivan> e.g. wlp3s3 if that's the right one
<bencahill> ivan: I think that's the wireless card. I need ethernet which is sometimes eth0 and sometimes eth1
<bencahill> This is a laptop
<ivan> :(
<ivan> try the udev mac thing I guess
<bencahill> I think I'm going to be lazy and do the eth0/eth1 thing because this is for a handful (6 or so) of machines that I want to be able to quickly rebuild with the fewest steps
<ivan> https://github.com/systemd/systemd/issues/3708 there's your bug bencahill
<{^_^}> systemd/systemd#3708 (by thx1111, 2 years ago, open): udev - device renaming has no fall-back when kernel driver does not support naming
<bencahill> ivan: Wow you nailed it. Good info
<bencahill> Guessing not many people wanting to work on a problem for such old hardware :-P
<averell> This PR of mine is starting to collect dust: https://github.com/NixOS/nixpkgs/pull/51733 (nvidia-docker package) if someone would like to check it out/merge.
<{^_^}> #51733 (by averelld, 6 weeks ago, open): nvidia-docker module/package
<bencahill> ivan: Thank you for your help. I guess I should have been able to figure those things out but it was nice to talk it through with someone. :-) I haven't used nixos for years and am just getting back into it for this project, and I am loving it, just as I did years ago. It really feels so "clean" after using Ubuntu etc.
<praetorg> its great to have system config centralized and deterministic
<bencahill> So nice. For this project I threw it in our version control which will be so nice for the future. And it's self-documenting which is huge too.
superherointj has quit [Quit: Leaving]
<laas> Does anyone here use kakoune?
doyougnu has joined #nixos
<laas> Syntax-highlighting doesn't seem to work for me for some reason
<laas> even when I manually set it
<betaboon> Denommus: is there any data on those nodes that you need to save ?
<Denommus> betaboon: yes
<betaboon> Denommus: take a snapshot of the esbs and recreate from those. or recreate instances from those snapshots, and get the data. the data is not list ;)
<Denommus> there should be a way to associate an existing deployment with a new nixops setup
<betaboon> Denommus: the problem is the stored privatekeys that are required to get into the existing ec2-instances
<betaboon> Denommus: when those are lost there is nothing you can do
jomik has joined #nixos
jtojnar has quit [Quit: jtojnar]
<jomik> Do we set `hardware.cpu.intel.updateMicrocode` in configuration.nix? I figured that it would fit better in hardware-configuration.nix. :o
fendor has quit [Ping timeout: 268 seconds]
<praetorg> hardware-configuration.nix gets overwritten by generate config if you ever do it again
jtojnar has joined #nixos
<infinisil> Really, hardware-configuration.nix should be called generated-configuration.nix
<{^_^}> [nixpkgs] @joachifm merged pull request #52684 → solr: 7.5.0 -> 7.6.0 → https://git.io/fhJn7
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhg37
<jomik> Yeah. I guess I will just toss it in my configuration.nix
jtojnar has quit [Client Quit]
<jomik> :D
<Denommus> betaboon: indeed
<Denommus> I'll try to recover this during the weekend, when nobody is using the services
<Denommus> I don't need to make new deployments during the week anyway
jomik has quit [Client Quit]
<ivan> I just copy the hardware configuration into configuration
<betaboon> Denommus: good luck
<mdash> ivan: i guess you never change your hardware
<Denommus> betaboon: I don't even need to delete the old deployments before making the new ones work, right?
<Denommus> so it's good
<{^_^}> [nixpkgs] @Mic92 merged pull request #53084 → neovim: generate remote plugin manifest → https://git.io/fhLiR
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/fhgsG
<betaboon> Denommus: i guess you have to do manual cleanup to do in the aws-console. like the subnets etc. I'm not quite sure if you can leave all the created resources in there and try to redeploy. i would realy suggest manually deleting all the stuff that is left there as to avoid conflicts
<Denommus> I'll start to create btrfs snapshots for my work machine as well, to be safe
<Denommus> anyway, gotta go home. Thanks for the attention, betaboon
<betaboon> Denommus: sure. you're welcome
Denommus has quit [Read error: Connection reset by peer]
<ivan> mdash: I don't like the formatting of hardware-configuration anyway
jomik has joined #nixos
<jomik> Uh, I am trying to change my shell from fish to zsh. I set it to zsh in configuration.nix, but that does not seem to update my user..? Probably because I don't have immutable users?
<jomik> How do I set it then?
<gchristensen> did you log out / log in?
<ivan> chsh?
<jomik> I rebooted
<__monty__> jomik: You're not gonna miss fish's history completion?
<gchristensen> how did you set it?
<jomik> __monty__: Probably - But there is similar in zsh.
<jomik> I think the searchable auto completion may be missed more :p
<praetorg> programs.zsh.enable
<jomik> gchristensen: I set it with `users.users.jomik.shell = pkgs.zsh;`
<jomik> And I have `programs.zsh.enable = true;` set as well.
<__monty__> zsh just can't do it as well as fish does though.
<jomik> __monty__: Maybe not. But I got annoyed with having to explicitly tell programs to use bash instead of fish. Because they did not anticipate the user having a non-posix compliant shell.
<praetorg> jomik did you reconfigure
<jomik> praetorg: Elaborate
<praetorg> jomik nixos-rebuild switch?
<jomik> Of course :)
<__monty__> jomik: That's why I `exec fish` in .zshrc : >
<jomik> __monty__: cheaty :P
<praetorg> and you shell is still not zsh?
<jomik> Why have zsh then?
<__monty__> jomik: Just so I don't run into programs that expect but don't find a posix shell.
<__monty__> Oh, or why zsh rather than bash? It was the only shell on my arch.
<jomik> Yeah, that :P I see.
ddellacosta has quit [Remote host closed the connection]
<jomik> Seems a bit fishy to do that though.
<jomik> I am going to give zsh a try.
<__monty__> Why? It's best of both worlds. I never run into the problem you described and I get to use fish with its great defaults.
<praetorg> jomik were you using fish 3.0?
<jomik> Nah, 2.7.1 apparently.
<praetorg> fish 3.0 is more posix compliant
<praetorg> it's in unstable
<jomik> Oh, they deprecated ^ in favor of 2> :O
<jomik> And && ||
<jomik> Ah, neato
<jomik> Still doesn't solve my current issue though!
<jomik> Why this does my shell not update when I change the shell in users.users? Is it because it is not immutable?
<jomik> And what should I chsh to in that case?
<praetorg> whats the contents of /etc/shells?
<jomik> fish, bash and sh
<praetorg> with zsh enabled as you say in you config it should be there
<jomik> Honestly, fish should NOT be there, as I don't have fish enabled..
<jomik> wait..
<jomik> ah, nvm, `/nix/var/nix/profiles/system` is linked to my latest generation :D
jomik has quit [Quit: WeeChat 2.2]
danbst has joined #nixos
ixxie has quit [Remote host closed the connection]
bencahill has quit []
<jasongrossman> I also sometimes have problems with programs expecting me to have a POSIX shell set as default. The most recent example is that if I use exwm and Alacritty (and fish) then my CPU usage goes up to 100%.
dermetfan has quit [Ping timeout: 246 seconds]
<__monty__> o.O
dermetfan has joined #nixos
<praetorg> scripts written without shebangs are a curse
<jasongrossman> Oh wait. I just rememebered that it's worse than that. I couldn't get exwm to work at all when fish was my default shell. (And the probem above happens whether fish is default or not.)
<jasongrossman> praetorg: Yes.
civodul has joined #nixos
jomik has joined #nixos
<jomik> So! Apparently deleting my old generations helped.. Weird~
stranger___ has quit [Quit: Connection closed for inactivity]
<praetorg> jasongrossman alacritty has scripts with explicit calls to /bin/bash. it's supposed to be fish compatible
<gchristensen> seems much safer to leave the user's shell to bash/zsh, and have whatever starts your terminal run fish instead
<jasongrossman> praetorg: I guess it's buggy then. Easy to work around though.
<jasongrossman> gchristensen: Yes, but LESS ELEGANT!
<jasongrossman> gchristensen: I agree that it's the best solution though.
<__monty__> `exec fish` 1 - everyone else 0 : >
Maxdamantus has joined #nixos
<adisbladis> Side note: Using fish as your login shell breaks emacs TRAMP (if you have fish on the remote)
jomik has quit [Quit: WeeChat 2.2]
<adisbladis> jasongrossman: Using fish as your login shell breaking exwm was an issue in xelb https://github.com/ch11ng/xelb/commit/407cce8dd8b0e621449c6c3015c303539f53819b
dermetfan has quit [Read error: Connection reset by peer]
<gchristensen> I'm surprised it doesn't break more... I thought login shells basically had to be POSIX
jasongrossman has quit [Ping timeout: 250 seconds]
<adisbladis> gchristensen: I have used fish as my login shell for many years and I've only ever experienced breakage with exwm and tramp
<adisbladis> Most things don't really care what your $SHELL is
<gchristensen> impressive
jasongrossman has joined #nixos
<__monty__> I suspect it's because everyone writes their scripts with dirty bashisms and therefore adds proper shebangs.
<adisbladis> __monty__: I do think debian/ubuntu having /bin/sh not being bash helps a lot with that
<__monty__> Oh true. Dash's hidden advantage next to boot times.
<adisbladis> Come to think of it, why is our makeWrapper using bash instead of dash?
<__monty__> Convenience?
<{^_^}> [nixpkgs] @danbst merged pull request #54087 → Tegola v0.8.1 → https://git.io/fhl2i
<{^_^}> [nixpkgs] @danbst pushed commit from @ingenieroariel to master « Tegola v0.8.1 (#54087) »: https://git.io/fhgci
<gchristensen> maybe it uses bashisms
<{^_^}> [nixpkgs] @dotlambda merged pull request #54429 → Revert "python: pytest_37: init at 3.7.4" → https://git.io/fhzNg
<{^_^}> [nixpkgs] @dotlambda pushed to master « Revert "python: pytest_37: init at 3.7.4" (#54429) »: https://git.io/fhgcp
<{^_^}> [nixpkgs] @dotlambda merged pull request #54432 → pythonPackages: remove some packages representing outdated versions → https://git.io/fhzp9
<{^_^}> [nixpkgs] @dotlambda pushed 9 commits to master: https://git.io/fhgcj
<{^_^}> [nixpkgs] @dtzWill opened pull request #54440 → musl: 1.1.20 -> 1.1.21 → https://git.io/fhgCe
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #54441 → gtk3: 3.24.3 -> 3.24.4 → https://git.io/fhgCq
<danbst> what are current guidelines on merging new Go packages with large autogenerated deps.nix files?
<danbst> o/
<adisbladis> gchristensen: It dös, but they are pointless and could be handled by the cli interface
<adisbladis> Lol, umlaut
<ar1a> how can I set a key as the compose key with nixos?
<adisbladis> danbst: It's fine
<adisbladis> danbst: No special guidelines
<adisbladis> [umlaut]: Im using an input method mapping oe > ö
<symphorien> ar1a: I have service.xserver.xkbOptions = "compose:prsc";
<ar1a> based symphorien <3
kyren has quit [Ping timeout: 252 seconds]
<danbst> adisbladis: PR has 4K SLOC of deps...
<danbst> oh
<danbst> found ./pkgs/games/ue4/cdn-deps.nix
<adisbladis> danbst: O.o
<adisbladis> What monstrosity are you packaging?
<gchristensen> ouuuch
strobelight has quit [Ping timeout: 264 seconds]
<danbst> just wanna decide - merge or recommend add as NUR
kyren has joined #nixos
<gchristensen> recommend NUR
<{^_^}> [nixpkgs] @dtzWill opened pull request #54442 → go: 1.9.5 -> 1.9.7 → https://git.io/fhgCP
<gchristensen> especially for "could be useful" packages ... imo, nayway
<ottidmes> I have been able to fix them easily so far, but this error is pretty scary "error: cannot coerce a function to a string, at undefined position", if I were to get and it was not caused by some recent changes I made, I would have to check all my code, yikes (--show-trace is enabled)
<danbst> gchristensen: :thumbup:
perique has joined #nixos
knupfer has joined #nixos
Laalf has joined #nixos
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @matthew-piziak opened pull request #54443 → add textlint rules and plugins → https://git.io/fhgWL
<{^_^}> [nixpkgs] @danbst closed pull request #54140 → Added ory hydra, keto and oathkeeper → https://git.io/fh8Ug
kvda has joined #nixos
<ivan> I used morph and it worked
<danbst> ottidmes: oh yeah.Usually I start placing builtins.trace everywhere
<{^_^}> [nixpkgs] @dywedir merged pull request #54054 → rawdog: 2.22 -> 2.23 → https://git.io/fhle8
<{^_^}> [nixpkgs] @dywedir pushed commit from @r-ryantm to master « rawdog: 2.22 -> 2.23 »: https://git.io/fhgWg
Laalf has quit [Client Quit]
Laalf has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<laas> are package overrides specified in configuration.nix not applied to nix-env for users?
o1lo01ol1o has joined #nixos
<symphorien> no
Laalf has quit [Client Quit]
<ar1a> if i set programs.emacs.enable = true; in home manager, will i still be able to make .emacs.d my own config instead of having to port it to nix
Laalf has joined #nixos
<laas> symphorien: do you know of any way to make it apply to normal users?
<adisbladis> ar1a: Yes. home-manager is not touching .emacs or .emacs.d
<symphorien> you should put your overlays in the relevant config file in ~
<symphorien> I can't remember the exact path
<ar1a> so what's the difference between just installing the emacs package in home.packages adisbladis
<laas> thanks
<{^_^}> [nixpkgs] @dtzWill opened pull request #54444 → plasma-5: 5.14.4 -> 5.14.5 → https://git.io/fhglt
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #54445 → miniflux: 2.0.13 -> 2.0.14 → https://git.io/fhglq
<adisbladis> ar1a: Not much except for the convenience of extraPackages and override
<ar1a> hm, what I was ultimately wanting was an emacs user service to start the daemon
<ar1a> was hoping that would be coming with home-manager
<ar1a> writing it out feels so oldschool and not declarative ;P
<{^_^}> [nixpkgs] @dtzWill opened pull request #54446 → kde-frameworks: 5.53 -> 5.54 → https://git.io/fhglY
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @dtzWill opened pull request #54447 → kde-applications: 18.12.0 -> 18.12.1 → https://git.io/fhglC
<adisbladis> ar1a: Quickly hacked together and totally not tested: https://ptpb.pw/eSzz/nix
<{^_^}> [nixpkgs] @danbst merged pull request #54075 → nanomsg-python: init at 1.0.20190114 → https://git.io/fhlWp
<{^_^}> [nixpkgs] @danbst pushed commit from @bgamari to master « nanomsg-python: init at 1.0.20190114 (#54075) »: https://git.io/fhglg
<ar1a> pb has highlighting :O
<ar1a> also you may be interested in something i got merged into nixpkgs https://github.com/NixOS/nixpkgs/pull/54349
<{^_^}> #54349 (by ar1a, 1 day ago, merged): Pb cli and capture initialization
<adisbladis> ar1a: I use webpaste for my all my pasting needs :)
<adisbladis> Pb looks pretty good though
<ar1a> oh its an etu package
knupfer has quit [Quit: knupfer]
<adisbladis> :D
dvim has quit [Ping timeout: 245 seconds]
<ar1a> adisbladis: seems like its trying /usr/bin/emacs and failing
dvim has joined #nixos
<adisbladis> ar1a: Hmm, how is that even possible? I guess you could hard-code /home/ar1a/.nix-profile/bin/emacs or even "${config.home-manager.users.ar1a.programs.emacs.package}/bin/emacs"
<adisbladis> ar1a: Depending on how you use home-manager that is
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
kvda has quit [Client Quit]
ddellaco_ has joined #nixos
simukis has quit [Quit: simukis]
jackdk has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
vk3wtf has quit [Quit: WeeChat 2.3]
vk3wtf has joined #nixos
kvda has joined #nixos
abaiste^ has joined #nixos
perique has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #54212 → gnustep.base: 1.25.1 -> 1.26.0 → https://git.io/fh4aA
<{^_^}> [nixpkgs] @joachifm merged pull request #54203 → gnustep.gui: 0.26.2 -> 0.27.0 → https://git.io/fh44H
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to staging: https://git.io/fhg4l
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhg48
<{^_^}> [nixpkgs] @joachifm merged pull request #54216 → gnustep.back: 0.26.2 -> 0.27.0 → https://git.io/fh4Kh
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fhg44
freedan42x has quit [Quit: Leaving]
gagbo has quit [Ping timeout: 246 seconds]
abaiste^ has quit []
gagbo has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
hyper_ch has joined #nixos
<{^_^}> [nixpkgs] @ryanartecona opened pull request #54448 → unison: fix on darwin → https://git.io/fhgB8
goibhniu has quit [Remote host closed the connection]
goibhniu has joined #nixos
<ar1a> how can i find where services.unbound has generated its config?
<{^_^}> [nixpkgs] @danbst merged pull request #54062 → xrdp: 0.9.7 -> 0.9.9 → https://git.io/fhlIb
<{^_^}> [nixpkgs] @danbst pushed 2 commits to master: https://git.io/fhgB7
<danbst> ar1a: systemctl cat unbound.service
<danbst> just a guess
jasongrossman has quit [Ping timeout: 272 seconds]
Kim has joined #nixos
jasongrossman has joined #nixos
goibhniu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @danbst pushed to master « python packages: cleanup nanomsg-python »: https://git.io/fhgRm
<ar1a> that eventually got me there, /var/lib/unbound/unbound.conf
<ar1a> thanks danbst
jasongrossman has quit [Remote host closed the connection]
gagbo has quit [Ping timeout: 268 seconds]
dvim has quit [Quit: WeeChat 2.3]
jasongrossman has joined #nixos
<jasongrossman> symphorien: Do you have to do anything to get NixOS to pick up a ~/.Xcompose file question mark (I can't type a question mark at the moment because I just set that key to be my compose key)
<ar1a> lol
<ar1a> does ?? work
<jasongrossman> ar1a: Not at the moment. No problem to sort that out later.
<jasongrossman> ar1a: Once I've got custom compose sequences worked out.
<jasongrossman> This is funny: a search for "nixos compose" gets lots of irrelevant hits, which I should have expected, since Nix is a functional language.
danbst has quit [Quit: Page closed]
jasongrossman has quit [Remote host closed the connection]
<ottidmes> jasongrossman: just in case it might be relevant: services.xserver.xkbOptions = mkDefault "compose:menu"; is what I use for my compose key
jasongrossman has joined #nixos
iqubic has joined #nixos
<jasongrossman> ottidmes: Yes, thanks. My problem is not setting the compose key but setting custom compose sequences.
carlosdagos has joined #nixos
melchips[m] has joined #nixos
eadwu has quit [Ping timeout: 250 seconds]
kvda has quit [Read error: Connection reset by peer]
doyougnu has quit [Ping timeout: 245 seconds]
rcshm has joined #nixos
<iqubic> I have that issue too
<rcshm> hi, i am trying to update the software by rerunning nix-env -f '<nixpkgs>' -iA devEnv. it was working before i updated nixos to 18.9. now it errors with nix-repl has been removed because it's not maintained anymore,
<cransom> 18:48:03 <iqubic> I have that issue too
<ar1a> iqubic: i was searching around for nixos stuff and found logs from 2017 with you in there with my exact issue
<cransom> oops, pardon
<ar1a> do you have every issue?
<rcshm> how do i get around this? thanks for any help.
<ar1a> :P
<cransom> i have a random clicking and pasting issue
<ottidmes> rcshm: nix repl instead of nix-repl
<{^_^}> [nixpkgs] @rycee pushed to master « Revert "eclipses: 4.9 -> 4.10" »: https://git.io/fhgRN
<ar1a> https://logs.nix.samueldr.com/nixos/2017-10-03 right at the top with the command-not-found stuff, if youre wondering
<rcshm> but i don't use nix-repl though @cransom
<colemickens> How do I get the "current" store path for a given package name? (current can mean against NIX_PATH)
<rcshm> i am using nix-env.
<adisbladis> nix-repl used to be a standalone package nowadays it's integrated in `nix` itself as `nix repl`
<cransom> nix-repl was an addon for 1.x. if you have nix 2.0, `nix repl` comes with it automatically
<rcshm> so i just do nix repl instead of nix-env?
<colemickens> also, is it possible to pre-determined the cargoSha256 hash ahead of time like we can with other types of nix-prefetch-FOO commands?
<infinisil> I should've included "nix-repl is integrated into nix now via `nix repl`, use that instead" in this error message (I wrote it)
<ottidmes> colemickens: nix-instantiate --eval --expr 'with import <nixpkgs> { }; toString hello'
<cransom> rchsm: remove nix-repl from your default/shell.nix?
<colemickens> ottidmes: cool, thank you
<rcshm> infinisil, so instead of nix-env -f '<nixpkgs>' -iA devEnv what should i do?
<infinisil> rcshm: As cransom said
<rcshm> let me check cransom. but i don't recall any shell.nix.
<ottidmes> colemickens: nix eval --raw nixpkgs.hello works too
<infinisil> rcshm: You need to remove nix-repl from wherever devEnv is defined
<infinisil> rcshm: This might be in ~/.config/nixpkgs/config.nix or ~/.config/nixpkgs/overlays/*
<cransom> rcshm: you have at a least a default.nix. you don't need a nix-repl anymore. the system is telling you it doesn't exist anymore, you need to remove it from whatever is asking for it.
<infinisil> Or somewhere completely different depending on how your setup is :)
<ottidmes> colemickens: its very alpha, but I just pushed a tool that should be able to do this: https://github.com/msteen/nix-prefetch
<infinisil> cransom: They don't need a default.nix really
ng0 has quit [Ping timeout: 256 seconds]
<rcshm> i have confix.nix
o1lo01ol1o has quit [Remote host closed the connection]
<rcshm> oh
<rcshm> let me check
<infinisil> rcshm: Yeah so devEnv might be defined there, you can remove nix-repl from it
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<rcshm> got it infinisil.
<cransom> yeah, thats true. i forget about creating envs in config.nix rather than a shell.nix setup
<iqubic> What is the difference between shell.nix and config.nix?
<colemickens> ottidmes: I see, thanks for that the nix eval and the link to the prefetcher work. I assume the focus is for use in automation? good to keep an eye on either way....
ng0 has joined #nixos
<rcshm> that was it. thanks cransom, infinisil!
earldouglas has joined #nixos
<ottidmes> colemickens: yes, it is meant for automation and just convenience when defining your own packages, do you have an example of a package that uses cargoSha256 that would be a good test case if it works with my tool?
<{^_^}> [nixpkgs] @adisbladis merged pull request #54447 → kde-applications: 18.12.0 -> 18.12.1 → https://git.io/fhglC
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to staging: https://git.io/fhg0m
<colemickens> I have automated the update of packages there, other than for the Rust packages that need the cargoSha256.
<colemickens> However, I've seen someone else in the Discourse building an auto-update mechanism that I'd rather collaborate with than keeping piling on a bash update.sh script.
<earldouglas> Is there a way to install a package from nixpkgs that isn't listed in all-packages.nix? nix-build from that dir doesn't like the expression.
<colemickens> I have (plans for) a few overlays repos and it would be nice to have a good layout/update script for suhc repos.
__monty__ has quit [Quit: leaving]