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
kvda has joined #nixos
jluttine has quit [Ping timeout: 250 seconds]
goibhniu has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Luz opened pull request #56497 → horizon-eda-unstable: init at 2019-02-27 → https://git.io/fhND4
<{^_^}> [nixpkgs] @worldofpeace merged pull request #56467 → kodiPlugins: init vfs.{sftp, libarchive} → https://git.io/fhNrM
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fhNDR
jluttine has joined #nixos
luigy has left #nixos [#nixos]
<aanderse> worldofpeace: did you happen to see my note on that kodi PR before you merged? :(
lawlesseel has joined #nixos
lawlesseel has quit [Remote host closed the connection]
lawlesseel has joined #nixos
shabius has quit [Read error: Connection reset by peer]
shabius has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
eadwu has joined #nixos
o1lo01ol1o has joined #nixos
danielrf has quit [Ping timeout: 259 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 255 seconds]
vidbina has joined #nixos
<{^_^}> [nixpkgs] @ariutta opened pull request #56498 → cytoscape: bump 3.6.1 -> 3.7.1 → https://git.io/fhND1
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
mbrgm has quit [Ping timeout: 255 seconds]
sigmundv__ has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
troydm1 is now known as troydm
shabius_ has joined #nixos
shabius has quit [Ping timeout: 264 seconds]
vidbina has quit [Ping timeout: 264 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
hedning has quit [Quit: hedning]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56466 → nvidia-docker 19.03 → https://git.io/fhNwV
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to release-19.03: https://git.io/fhNDj
Rusty1 has joined #nixos
work_ has joined #nixos
silver has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 250 seconds]
freeman42x has quit [Ping timeout: 258 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhNyt
drakonis_ has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
nadley has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 268 seconds]
jluttine has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
sigmundv__ has quit [Ping timeout: 244 seconds]
scientist has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #56500 → go_1_12: init at go 1.12 → https://git.io/fhNyn
scientist has quit [Client Quit]
<gchristensen> zerotier network IDs are private, right?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth opened pull request #56501 → fetchgit with leaveDotGit: increase determinism → https://git.io/fhNy4
thc202 has quit [Ping timeout: 244 seconds]
o1lo01ol1o has joined #nixos
jluttine has joined #nixos
CapsLock has quit [Quit: WeeChat 1.4]
mobile_c has quit [Ping timeout: 250 seconds]
ym555 has quit [Quit: leaving...]
nadley has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<Ashy> attente[m]: we'll probably do better asking in here
<Ashy> has anyone here got mako working with sway on nixos? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/mako/default.nix
<Ashy> i'm seeing this same issue that someone had on gentoo on my nixos system: https://github.com/emersion/mako/issues/88
<{^_^}> emersion/mako#88 (by eternal-sorrow, 17 weeks ago, closed): Failed to connect to system bus: No such file or directory
<Ashy> attente[m]: was that the same issue you saw?
<ottidmes> gchristensen: I believe they are unlisted, but I am not sure if you cannot query any info if you know/guess a network ID
<attente[m]> Ashy: yeah, good idea
o1lo01ol1o has quit [Remote host closed the connection]
<Ashy> dtz: are you dtzWill on github? presumably mako works on your system
o1lo01ol1o has joined #nixos
<attente[m]> Ashy: at first i thought it was because DBUS_SESSION_BUS_ADDRESS wasn't set
drakonis_ has quit [Ping timeout: 258 seconds]
<Ashy> `strace mako` seems fairly informative:
<Ashy> connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/bus"}, 20) = -1 ENOENT (No such file or directory)
<Ashy> attente[m]: i wonder if we need this option enabled in nixos config: services.dbus.socketActivated
<attente[m]> where is the session bus supposed to be?
<clever> $ echo $DBUS_SESSION_BUS_ADDRESS
<clever> unix:abstract=/tmp/dbus-zfdmBwEn1u,guid=07be639aaea2303e5bd3214b5c1daa7b
<attente[m]> clever: thanks, that bypasses that error
<attente[m]> Ashy: ^
<dtz> Ashy: I am dtzWill and sometimes wdtz. Not sure about mako, apologies if I broke something. I think I touched it recently, will look into it shortly...
drakonis_ has joined #nixos
<dtz> oh I pushed an update back in november O:). Okay so I forgive myself for not remembering immediately :D. If this doesn't get resolved please do file an issue on nixpkgs and feel free to cc me (yes please).
wolfmantjg123 has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<Ashy> attente[m]: so setting thaht works?
<Ashy> seems a little hacky to just set that envvar, im guessing there's something missing from our configuration.nix
<wolfmantjg123> I needed to make some changes to directories and files, but it keeps telling me this is a read only file system. Is this how nixos supposed to be or is this the way it is partitioned, I’m confused.
<attente[m]> Ashy: yeah, something is missing. but mako still doesn't pop up notifications
<attente[m]> Ashy: (this is from source btw)
<ottidmes> Ashy: a hacky solution would be to just create a user service that makes a symlink: ln -s $DBUS_SESSION_BUS_ADDRESS /run/user/1000/bus, if the problem is that that software expects it to be there
<wolfmantjg123> If someone could clarify my problem, it would be greatly appreciated
<wolfmantjg123> ?
<ottidmes> wolfmantjg123: what directories and files?
<ottidmes> wolfmantjg123: /nix/store is readonly, so the symlinks to it, will also be readonly like most things in /etc
<wolfmantjg123> ottidmes: so I cannot change anything in /etc
<wolfmantjg123> ?
hamishmack has joined #nixos
<wolfmantjg123> I need to change my keyboard layout settings in there
<ottidmes> generally no, you would have to change your configuration that produces the files in /etc, but you can do various tricks to modify them, but these changes will be made undone with the next rebuild
<ottidmes> wolfmantjg123: so what you want to do, is change the relevant NixOS configuration, not the files produced by the NixOS configuration
shibboleth has joined #nixos
<jasongrossman> wolfmantjg123: There's something about setting the keyboard layout in the manual (and IIRC also something on the wiki).
<jasongrossman> wolfmantjg123: https://nixos.org/nixos/manual
<jasongrossman> That too!
o1lo01ol1o has quit [Remote host closed the connection]
<wolfmantjg123> ottidmes: I tried looking in manual and wiki but it was to confusing, I tried doing what I normally do in ubuntu for a custom keyboard layout but everything is read only
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<ottidmes> wolfmantjg123: if its in /etc you might get away with doing: environment.etc."dir/file.ext".text = lib.mkForce '' ... your stuff ... ''; but I advice just learning how to do it in NixOS. Do not expect NixOS to be like any other distro. If you try and force it to be like others, you will be disappointed by NixOS, because it will be a struggle while in return you will not get the most out of NixOS that way, so
<ottidmes> lose-lose situation
acarrico has quit [Ping timeout: 246 seconds]
<wolfmantjg123> jasongrossman: ottidmes thanks I will try to figure this out later, yeah it is going to take some time before I get used to this distro
<ottidmes> wolfmantjg123: all I can say, unless you are a casual user, its worth the effort :)
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wolfmantjg123> ottidmes: I hope so
vk3wtf has joined #nixos
<jasongrossman> wolfmantjg123: You will either love it or hate it - probably love it - and if you hate it you can ditch it!
<wolfmantjg123> jasongrossman: I have been very happy with it so far, I just haven’t figured out how to put my custom keyboard layout.
<wolfmantjg123> jasongrossman: I guess I’m just too used to ubuntu
<attente[m]> Ashy: hey, it seems to work for me now. the only thing is firefox doesn't seem to use that dbus interface for notifications
<attente[m]> (had to set DBUS_SESSION_BUS_ADDRESS manually, still need to figure out how to get that automatically set on launch)
wolfmantjg123 has quit [Quit: Mutter: www.mutterirc.com]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
shibboleth has quit [Quit: shibboleth]
ij has joined #nixos
ij has quit [Ping timeout: 250 seconds]
wfranzini has quit [Ping timeout: 250 seconds]
<Ashy> attente[m]: what did you change? or was it just that envvar and nothing else?
wedens has joined #nixos
<attente[m]> Ashy: yeah, i just `export`ed the envvar directly before launching it
<attente[m]> i don't know what the proper way to do this yet
wfranzini has joined #nixos
eadwu has quit [Quit: WeeChat 2.4]
fusion809 has joined #nixos
eadwu has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #56502 → llvm/7/compiler-rt: define CMAKE_*_COMPILER_TARGET unconditionally → https://git.io/fhNSc
infinii has joined #nixos
counting1 has joined #nixos
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
countingsort has quit [Ping timeout: 250 seconds]
spacefrogg has joined #nixos
winem_ has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #56503 → vimPlugins: adding vim-sneak,unicode.vim, nvim-hs.vim → https://git.io/fhNS4
mobile_c has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56502 → llvm/7/compiler-rt: define CMAKE_*_COMPILER_TARGET unconditionally → https://git.io/fhNSc
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhNSR
winem_ has quit [Ping timeout: 264 seconds]
ajs124 has joined #nixos
infinii has quit [Ping timeout: 250 seconds]
<hyper_ch> Mic92: yes, using zfs git head
<hyper_ch> Mic92: this line needed changing $(MAKE) -C @LINUX_OBJ@ M=`pwd` $@ \ in your version it's a bit different so applying your patch on current git head fails
xkapastel has quit [Quit: Connection closed for inactivity]
rcshm has quit []
eadwu has quit [Quit: WeeChat 2.4]
o1lo01ol1o has quit [Remote host closed the connection]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Ping timeout: 240 seconds]
jackdk has quit [Ping timeout: 257 seconds]
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
jasongrossman has quit [Remote host closed the connection]
pie___ has joined #nixos
fusion809 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @matthewbauer pushed to master « nixos/no-x-libs.nix: override pinentry directly »: https://git.io/fhNSx
pie__ has quit [Ping timeout: 244 seconds]
troydm has quit [Ping timeout: 246 seconds]
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @amiloradovsky opened pull request #56504 → [WiP] gtk-doc: patch the on-line DocBook XSL paths to the local → https://git.io/fhN9v
jasongrossman has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
reinhardt has joined #nixos
lsyoyom has quit [Ping timeout: 250 seconds]
vk3wtf has quit [Ping timeout: 264 seconds]
reinhardt has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Quiark opened pull request #56506 → vifm: works on macos too → https://git.io/fhN9O
domogled has joined #nixos
<{^_^}> [nixpkgs] @danbst opened pull request #56507 → Revert "Merge pull request #54980 from danbst/etc-relative" → https://git.io/fhN9c
<{^_^}> [nixpkgs] @danbst merged pull request #56507 → Revert "Merge pull request #54980 from danbst/etc-relative" → https://git.io/fhN9c
<{^_^}> [nixpkgs] @danbst pushed to master « Revert "Merge pull request #54980 from danbst/etc-relative" (#56507) »: https://git.io/fhN9C
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #56331 → crystal: init at 0.27.2 → https://git.io/fhbwT
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fhN9W
wfranzini has quit [Remote host closed the connection]
orivej has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
ottidmes has quit [Ping timeout: 255 seconds]
fusion809 has joined #nixos
endformationage has quit [Quit: WeeChat 2.3]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #56508 → python3Packages.aiounifi: init at 4 + a few other minor updates to satisfy HA → https://git.io/fhN9V
infinii has joined #nixos
<yl[m]> I need to build quite a bit of packages for my Go PR, is that ok? List: https://gist.github.com/kalbasit/544f574553322a50296409fad1e4c09c
dave_uy has quit [Quit: The Lounge - https://thelounge.github.io]
dave_uy has joined #nixos
hoijui has joined #nixos
gagbo has quit [Quit: I'm out !]
rauno has quit [Remote host closed the connection]
<srhb> yl[m]: Like, those are the dependents on your change? That's fine, that's a pretty small rebuild.
<{^_^}> [nixpkgs] @pSub merged pull request #56422 → Install llpp.inotify → https://git.io/fhN3j
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/fhN9D
<{^_^}> [nixpkgs] @pSub pushed 0 commits to install-llpp.inotify: https://git.io/fhN9y
<{^_^}> [nixpkgs] @dotlambda opened pull request #56509 → fix #56408 mess (runtimeShell) → https://git.io/fhN9H
<yl[m]> srhb: yes they are, thx, I'll run it then
<srhb> Oh, that's a full rebuild of all go packages. I doubt the list is exhaustive then..
palo1 has joined #nixos
<yl[m]> srhb: that the list suggested by nox
<yl[m]> I want to see how it does on Darwin
vidbina has quit [Ping timeout: 264 seconds]
<yl[m]> srhb: I will need help figuring out the full list of packages that needs to rebuilt
<srhb> You might hit some timeouts, not sure how ofborg behaves with that change
<srhb> yl[m]: Honestly, the usual approach is to merge the PR (either to master or staging, depending how severe we think it is) and check what breaks on Hydra.
infinii has quit [Ping timeout: 250 seconds]
<yl[m]> I'll retry the one that timedout
<srhb> go might have become so big that it should go to staging these days, but we've been fine on master so far for the bigger bumps.
<yl[m]> srhb: I wish there's a better way
<yl[m]> srhb: this one has one breaking change, at least to us
<yl[m]> GOCACHE=off is no longer allowed
palo1 is now known as palo
palo has quit [Ping timeout: 244 seconds]
<yl[m]> so a lot of packages fail trying to write to /homeless-shelter/.cache
<srhb> That sounds like something we'll probably have to patch out.
<yl[m]> I tracked many down, but I would not feel comfortable merging this pr as is: https://github.com/NixOS/nixpkgs/pull/56500
<{^_^}> #56500 (by kalbasit, 5 hours ago, open): go_1_12: init at go 1.12
slyfox has quit [Ping timeout: 246 seconds]
<yl[m]> srhb: you can set GOCACHE=$TMPDIR/go-cache and it works
<yl[m]> so I'd rather not patch that, as it will change the behavior for the end user
<srhb> This feels like the wrong approach.. If we need a system wide change, we should do it in the go builder infrastructure.
<yl[m]> Go 1.12 implements go modules that depend on this change
<yl[m]> srhb: can you elaborate on the go builder infra?
<yl[m]> I'm currently working on NixOS box and a darwin box to migrate
<srhb> I don't know it specifically, but making changes to every package seems wrong. It should be a change in buildGoPackage or something, if we must enable that feature.
hyper_ch2 has joined #nixos
<yl[m]> srhb: that's a good point
<yl[m]> srhb: but not all packages use it. Most simply have `go` in buildInputs
<yl[m]> like all the deepin stuff
slyfox has joined #nixos
<Izorkin> aanderse: https://pastebin.com/dwyr34Vr not work systemd.rules. How to fix?
<yl[m]> srhb: also buildGoPackage has already been updated with GOCACHE, so the only packages that are failing are the ones with go in buildInputs https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-modules/generic/default.nix#L107
<yl[m]> srhb: so given a derivation name, how can I list all the packages that has it in buildInputs with the nix tools? Should I have to write an expression to extract that info?
<yl[m]> s/with the nix tools/using the nix tools
<{^_^}> [nixpkgs] @teto opened pull request #56510 → [wip] vimPlugins.vim-markdown-composer: init at 2018-11-05 → https://git.io/fhNHU
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « zeroc_ice: disable problematic parallel make »: https://git.io/fhNHI
<hyper_ch2> Mic92: well, didn't try to make it work on latest kernel though :)
<{^_^}> [nixpkgs] @lheckemann merged pull request #56480 → Mark Riak and Riak-cs as insecure → https://git.io/fhNP2
<{^_^}> [nixpkgs] @lheckemann pushed 3 commits to master: https://git.io/fhNHY
fusion809 has quit [Remote host closed the connection]
reinhardt has joined #nixos
ixxie has joined #nixos
knupfer has joined #nixos
ij has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c pushed to release-19.03 « Revert "Merge pull request #54980 from danbst/etc-relative" »: https://git.io/fhNHC
<{^_^}> [nixpkgs] @dotlambda merged pull request #56509 → fix #56408 mess (runtimeShell) → https://git.io/fhN9H
<{^_^}> [nixpkgs] @dotlambda pushed 5 commits to master: https://git.io/fhNHW
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to release-19.03: https://git.io/fhNH8
ij has quit [Ping timeout: 255 seconds]
rauno has joined #nixos
reinhardt has quit [Ping timeout: 268 seconds]
Makaveli7 has joined #nixos
wfranzini has joined #nixos
rauno has quit [Remote host closed the connection]
rauno has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #56506 → vifm: works on macos too → https://git.io/fhN9O
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fhNHw
ashkitten has joined #nixos
Tucky has joined #nixos
fusion809 has joined #nixos
simukis has joined #nixos
ij has joined #nixos
nefix has joined #nixos
<nefix> Hello! I'm trying to configure Nginx. I
<nefix> 'm following https://nixos.wiki/wiki/Nginx. The issue comes when it uses `base = locations: { inherit locations; forceSSL = true; enableACME = true; };` How is locations supposed to be?
<ashkitten> hi, i'm having an issue with trackpoint configuration where it seems that the trackpoint activation script isn't doing anything (executing the same line afterward does work, but the udev rules don't seem to be in place somehow when the `udevadm trigger` line is executed during system activation)
FRidh has quit [Remote host closed the connection]
<ashkitten> it's pretty weird that the line is even necessary for boot
<ashkitten> i don't see why
Ariakenom has joined #nixos
troydm has joined #nixos
knupfer has quit [Ping timeout: 268 seconds]
reinhardt has joined #nixos
NickSeagull has joined #nixos
ThatDocsLady has joined #nixos
kiloreux has joined #nixos
<kiloreux> How can I get "ld-linux-x86-64.so.2" path in nix ?
<kiloreux> It seems to be linking to Ubuntu ld-linux and I am not sure if that's the way to go
<clever> 2019-02-27 15:36:13 < clever> --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker)
<clever> kiloreux: thats what you must use, with patchelf
<kiloreux> This isn't really a choice here for me. I am trying to use fakechroot.
<Izorkin> https://pastebin.com/dwyr34Vr not work systemd.rules. How to fix?
lawlesseel has quit [Ping timeout: 256 seconds]
<kiloreux> so I can do something like fakechroot -- chroot somecommand
<kiloreux> But since all my dependencies are on nix it's not working.
<kiloreux> Getting a segementation fault on fakechroot
<clever> kiloreux: what does gdb say about the backtrace?
sigmundv__ has joined #nixos
johanot has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/8c2447fdee1 (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
ixxie has quit [Ping timeout: 255 seconds]
__monty__ has joined #nixos
iraems[m] has joined #nixos
Glider_IRC__ has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<kiloreux> clever, this is weird but the error doesn't happen when I run inside gdb
<kiloreux> :confused:
<clever> kiloreux: then do `ulimit -c unlimited`, and open the coredump it makes
Glider_IRC_ has quit [Ping timeout: 245 seconds]
<tA> anyone got reccomendations for automatically backing up folders?
<tA> as well as a trash folder deally
goibhniu has joined #nixos
<__monty__> tA: On zfs/btrfs, filesystem snapshots.
ng0 has joined #nixos
<__monty__> Otherwise I think borg is most popular.
<__monty__> Restic's also interesting.
<hyper_ch2> before I used zfs, I use rsync hardlinking
<jasongrossman> tA: I second or third zfs snapshots.
<tA> im on ext4 :(
<__monty__> Ah, yes. rsync's definitely not a bad option.
<tA> might give restic a go
<ajs124> You can also do snapshots with LVM
adamt has joined #nixos
<hyper_ch2> I even wrote a nice little zfs snapshot and backup too for myself and got it included into nixos... well, it's just created for what I need
adamt is now known as Guest78808
hedning has joined #nixos
<clever> i once wrote a defrag tool for lvm
<kiloreux> clever, If I openthe file with core dump through gdb it runs fine again. `gdb -x script.sh coredumpfile`
<kiloreux> (I run my command through script.sh (necessary))
<clever> kiloreux: when opening a coredump, you must give gdb the ELF that created the core, and not a script
<clever> kiloreux: it wont run the command, but just open the dump of the memory from when it previously crashed
qbiot has joined #nixos
<ashkitten> when i boot up my laptop (thinkpad t450s) or resume from suspend, when i first click with the touchpad it gets stuck until i switch to a tty and back, then works normally. not sure why.
<kiloreux> clever, I get this `Program terminated with signal SIGSEGV, Segmentation fault.
<kiloreux> #0 0x0000000000000000 in ?? ()`
<clever> kiloreux: then run `bt`
<kiloreux> bunch of addresses
<clever> kiloreux: pastebin the whole thing
<clever> kiloreux: looks like the basepointer may be corrupt, so the entire stack trace is bork
<dminuoso> ashkitten: what gets stuck?
<ashkitten> it acts as if i'm still holding down the mouse button
<{^_^}> [nixpkgs] @gebner merged pull request #56446 → nixos/fish: generate autocompletions from man pages → https://git.io/fhNlr
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fhN73
<kiloreux> Bummer
reinhardt has quit [Ping timeout: 250 seconds]
reinhardt has joined #nixos
knupfer has joined #nixos
vk3wtf has joined #nixos
hoijui has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 246 seconds]
thc202 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/dc4823f6032 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
ramses_ has joined #nixos
<ramses_> Hey guys, anyone running NixOS succesfuly on Azure? I cannot seem to manage to get it up and running...
<ij> If I wanted to have a different directory for /nix, then I couldn't use the nixos cache?
<etu> ij: yep
<etu> ij: because all links in all binaries point to /nix/store/...
<ij> Cool. I'm was just wondering whether I understand this right.
__monty__ has quit [Quit: Lost terminal]
<nefix> (sorry for asking again) Hello! I'm trying to configure Nginx. I'm following https://nixos.wiki/wiki/Nginx. The issue comes when it uses `base = locations: { inherit locations; forceSSL = true; enableACME = true; };` How is locations supposed to be?
dwdr has joined #nixos
<Ashy> ramses_: nixops can deploy to azure apparently so it must be doable https://nixos.org/nixops/manual/#sec-deploying-to-azure
<ramses_> Ashy: I tried that, but I get errors, I opened an issue a couple of days ago: https://github.com/NixOS/nixops/issues/1104
<{^_^}> nixops#1104 (by RdN-MSF, 2 days ago, open): Nixops Azure example not working
<ramses_> Hence why I'm wondering whether anyone even has this working atm...
<Ashy> ah ok, i havent tried it sorry
<shachaf> Why is nix-env -qa so slow?
<shachaf> Looks like it's opening and reading every file in /nix/store/ or something? (?!)
<Taneb> How can I print paths in a build's closure?
<{^_^}> [nixpkgs] @jacereda opened pull request #56511 → mercury: build on Darwin → https://git.io/fhN5t
rycwo has joined #nixos
<srhb> shachaf: I think it's more that it's evaluating all of top level nixpkgs
<srhb> shachaf: If you're just trying to search for a package, maybe you want nix search?
<srhb> shachaf: At least it caches your results :)
clever_ has joined #nixos
<shachaf> OK.
juliendehos has joined #nixos
rycwo has quit [Quit: WeeChat 2.2]
__monty__ has joined #nixos
sinner has joined #nixos
sinner is now known as Guest87567
arjen-jonathan has joined #nixos
<ivegotasthma> hello, is it possible to set the max fan speed on nixos?
<ivegotasthma> it's making a lot of noise
<dminuoso> ivegotasthma: You can use lm-sensors
<jasongrossman> ivegotasthma: If your hardware is a macbook then you can also use the mbpfan options.
<ivegotasthma> it's a 5 year old packardbell
<ivegotasthma> it's an old mule I don't want to put down, for now
hedning has quit [Quit: hedning]
winem_ has joined #nixos
kiloreux has quit [Remote host closed the connection]
Guest78808 is now known as adamt
adamt has joined #nixos
adamt has quit [Changing host]
init_6 has joined #nixos
IRCsum has quit [Ping timeout: 264 seconds]
schjetne has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vdemeester opened pull request #56513 → Update podman → https://git.io/fhNdz
<pie_> is there an easy way to update the glibc version of a specific package?
georgyo has quit [Quit: Connection closed for inactivity]
<pie_> id like to help a coworker figure out whats causing a specific problem with openvpn and we figured it might be easy with nixos to confirm the glibc version is indeed the issue
domogled has quit [Quit: domogled]
<pie_> specifically, glibc 2.27 -> glibc 2.28
<{^_^}> [nixpkgs] @jyp opened pull request #56515 → update to tensorflow 1.13.1 → https://git.io/fhNdK
<manveru> pie_: i think you can override the glibc of the stdenv passed to openvpn?
<manveru> but... never done that, so not sure :|
hedning has joined #nixos
<jasongrossman> ivegotasthma: FWIW, I'm in favour of old computers. Mine is 7.
<{^_^}> [nixpkgs] @jacereda opened pull request #56516 → lndir: get rid of xorgproto dependency → https://git.io/fhNdF
<ivegotasthma> can someone help out with packaging a vim plugin that's written in typescript? I can't figure out how to package the node modules and install the plugin correctly. This is the installation manual https://github.com/neoclide/coc.nvim/wiki/Install-coc.nvim however, yarn cannot fetch the packages from the web, it's sandboxed. I cannot also get it to find them offline.
<ivegotasthma> jasongrossman: the only dislike I have is the fan is too loud, otherwise, it's a great dev machine
IRCsum has joined #nixos
hedning has quit [Quit: hedning]
hedning has joined #nixos
pmiddend has joined #nixos
<pmiddend> How do executables end up in PATH when I do nix-shell -p program?
dwdr has quit [Remote host closed the connection]
<pmiddend> I have a shell script that I'd like to add to my shell(.nix) and am not sure how. Is putting it into $out/bin enough?
hedning has quit [Quit: hedning]
<srhb> pmiddend: Yes, exactly that.
<srhb> pmiddend: Though mind, using -p and nix-shell foo.nix are very different
<pmiddend> Hmmm. So bin/ has a special role for Nix. Interesting!
<{^_^}> [nixpkgs] @prusnak opened pull request #56517 → pythonPackages: trezor: 0.11.1 -> 0.11.2 → https://git.io/fhNFa
<srhb> pmiddend: (-p is something like having a mkDerivation that has your derivation in buildInputs)
<pmiddend> Ah, I see. I knew there was a difference, but couldn't really explain it.
timor has joined #nixos
tmaekawa has joined #nixos
<__monty__> I'm having some trouble getting brittany installed. I had to jailbreak because ghc863's base is too new but now it won't build. Is there any way around this? http://ix.io/1Cel
<pmiddend> __monty__: I've filed an issue about that months ago.
<pmiddend> Apparently it's an upstream bug.
<{^_^}> #54534 (by ar1a, 5 weeks ago, open): haskellPackages.brittany fails to build
fendor has joined #nixos
<pmiddend> Ok, wasn't me that filed the issue. Anyway...:)
ayerhart has quit [Ping timeout: 244 seconds]
<__monty__> pmiddend: Ah, thanks. That's better than having to wait for a fix to land : )
domogled has joined #nixos
alex`` has quit [Ping timeout: 255 seconds]
tmaekawa has quit [Quit: tmaekawa]
alex`` has joined #nixos
eadwu has joined #nixos
hedning has joined #nixos
Makaveli7 has quit [Quit: Leaving]
eadwu has quit [Client Quit]
seanparsons has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
seanparsons has joined #nixos
kjuvi has joined #nixos
asymmetric has joined #nixos
rauno has quit [Remote host closed the connection]
init_6 has quit [Remote host closed the connection]
mobile_c has quit [Ping timeout: 245 seconds]
pmiddend has quit [Quit: WeeChat 2.3]
Neo-- has joined #nixos
hedning has quit [Quit: hedning]
domogled has quit [Quit: domogled]
kjuvi has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dotlambda merged pull request #56517 → pythonPackages: trezor: 0.11.1 -> 0.11.2 → https://git.io/fhNFa
<{^_^}> [nixpkgs] @dotlambda pushed commit from @prusnak to master « python3Packages.trezor: 0.11.1 -> 0.11.2 (#56517) »: https://git.io/fhNbZ
ashkitten has left #nixos ["WeeChat 2.2"]
<nefix> one quick question: can I pass a null value to a function and avoid inheriting it?
<hyper_ch2> Mic92: should I make a PR for currnet zfs git head and an option for trim support?
kreisys has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @primeos pushed to master « scdoc: 1.9.0 -> 1.9.1 »: https://git.io/fhNbP
patrl has joined #nixos
mobile_c has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<nefix> also, is there any way to loop through a list?
<{^_^}> [nixpkgs] @dmrauh opened pull request #56518 → mnist: init at 0.2.2 → https://git.io/fhNbD
<tilpner> nefix: Setting a value to null is not the same as removing it from an attrset
<tilpner> nefix: Use builtins.removeAttrs for that
<nefix> tilpner: I want to pass some optional arguments to one function
<tilpner> nefix: You probably don't want to manually loop through a list. There are usually prettier ways (e.g. map and filter)
<tilpner> (or foldl and all the other lib/lists functions)
<nefix> could you provide some examples?
<tilpner> > map (x: x + 1) [ 1 2 3 ]
<{^_^}> [ <CODE> <CODE> <CODE> ]
<nefix> I didn't get that
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}Stable: 2.1.13 -> 2.1.14 »: https://git.io/fhNb5
xkapastel has joined #nixos
<tilpner> Yeah, I forgot how to make it deep-print the list
<tilpner> It would return a list [ 2 3 4 ]
<adamt> nefix: https://nixos.org/nix/manual/ search for "map f list" on the page
acarrico has joined #nixos
<sphalerite> > fullyEval = x: builtins.deepSeq x x
<{^_^}> fullyEval defined
<mikeplus64> i'm trying to install a haskell package (brittany) but need to turn off its test suite to (hopefully) get it to work; i thought nix-env -iE '(import <nixpkgs> {}).haskellPackages.brittany' would work but it doesn't ... help? lol
<sphalerite> > fullyEval (map (x: x + 1) [ 1 2 3 ])
<{^_^}> [ 2 3 4 ]
drakonis_ has joined #nixos
<mikeplus64> (i mean, i thought i would need the latter to work to do something like nix-env -iE 'let nixpkgs = ...; in nixpkgs.haskell....dontCheck nixpkgs.haskellPackages.brittany')
<sphalerite> mikeplus64: just add an "x:" at the beginning
<sphalerite> mikeplus64: nix-env's -E is weird
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
<mikeplus64> sphalerite: ah, gotcha
<nefix> ok, next step then: I want to pass a list to a function, and return a set. This function builds the set with the result of a call to another function for each item in the list
<adamt> nefix: It might be easier to understand if you use a pastebin to show us what you've done so far
<nefix> so far I have this: 'static = websites: { map (website: base website) websites }'
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<nefix> where base is the inner function
<mikeplus64> any idea why `
<mikeplus64> whoops
<sphalerite> nefix: (website: base website) is equivalent to just (base)
<nefix> I see
<nefix> then how can I "build" the set?
<sphalerite> nefix: and you probably want genAttrs, as long as websites is a list of strings which you want to use as keys in the resulting attrset
<nefix> yeah
akaWolf has joined #nixos
<{^_^}> #54534 (by ar1a, 5 weeks ago, open): haskellPackages.brittany fails to build
hedning has joined #nixos
init_6 has joined #nixos
<mikeplus64> __monty__ i'm not sure why, even when `dontCheck (doJailbreak brittany)` is used, it still tries to build the test suites :-(...
<nefix> and how can I import lib inside nix-repl?
<__monty__> mikeplus64: I fear dontCheck might mean don't *run* the tests but not don't *build* the tests.
reinhardt has quit [Quit: Leaving]
<__monty__> Just a guess though.
<nefix> and how can I import lib inside nix-repl?
<nefix> woops sorry
<mikeplus64> __monty__ ah. drat
<mikeplus64> still, they fail to build because of a hspec version bound -- i guess doJailbreak also doesn't affect test suite deps?
<Mic92> hyper_ch2: Do we need to update zfsUnstable at the time, i.e. are there incompatibilities with the current kernel release. I don't think we should have features branches so, since just maintaining zfs master with the pace of the kernel is challenging.
rtjure has joined #nixos
<nefix> sorry for asking again, but I can't figure out how to import lib inside nix repl
<hyper_ch2> there were also other fixes since 0.8.0-rc3 that are required
<hyper_ch2> the only thing altered was one line in your patch to get it to run with current git head
<samueldr> nefix: I like using `nix repl '<nixpkgs>'` to start it with nixpkgs in scope
<hyper_ch2> but kernel incompatbility with 4.19+ (or 4.20) stays
<nefix> samueldr: I see! lib is inside nixpkgs! Thanks
mobile_c has quit [Read error: Connection reset by peer]
<mpickering> What does the `-B` option do in the `ghc` wrapper?
<nefix> samueldr: and how can I print a set without it being shortened?\
hedning has quit [Quit: hedning]
<samueldr> nefix: not sure, but try :help for everything specific to the repl
<samueldr> (e.g. you could have used `:l <nixpkgs>` to import nixpkgs in scope)
<nefix> thanks!
<avn> Folks, I have funny question -- how safe is to bump stateVersion to something better than 15.09? ;)
<tilpner> That depends on what parts of NixOS you're using, but generally it's not safe at all
<tilpner> Read release notes if you really want to update it
<tilpner> ,stateVersion avn
<{^_^}> avn: Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<{^_^}> [nixpkgs] @dpaetzel opened pull request #56520 → vdirsyncer: fix Google calendar synchronization → https://git.io/fhNAm
<avn> tilpner: Yup, but it need to me done one time. Otherwise I'd get stone age postgres for example, if try to install it
ericsagnes has quit [Ping timeout: 250 seconds]
<jasongrossman> avn: Changing stateVersion doesn't actually upgrade anything. I know it sounds like it does, but it's just a bad name.
wfranzini has joined #nixos
<avn> jasongrossman: it affect installed postgresql server and database location as I see (at least)
<avn> But on my machine it not change anything ;)
<tilpner> Huh, the ISO uses 18.03 as stateVersion
<tilpner> That sounds wrong
<tilpner> (Won't actually change anything, but still)
<adamt> Wont old state versions get deprecated over time? I mean, 15.09 sounds pretty ancient, for instance.
silver has joined #nixos
ninjin has joined #nixos
<jasongrossman> adamt: I doubt it, because it would be a lot of work for someone to work out the upgrade paths for all the old stateVersions.
<jasongrossman> adamt: What would be the point? Maybe I'm missing something.
<adamt> jasongrossman: It surely must take time for packages and modules to support all the old state versions?
<jasongrossman> adamt: I don't think so. It could in principle. I think it's just a matter of fixing anything that breaks.
<jasongrossman> adamt: My understanding is that very little uses stateVersion.
<jasongrossman> It does desperately need a new name, IMO.
<adamt> "just a matter of fixing anything that breaks" sounds time consuming.
<adamt> But yeah, you're probably right in that not too much rely on it in the first place.
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.github.io]
<jasongrossman> There's a PR to give it a new name.
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @bzizou opened pull request #56521 → messer-slim: init at 3.2.1 → https://git.io/fhNAi
justanotheruser has quit [Ping timeout: 246 seconds]
agander has joined #nixos
petrkr has joined #nixos
<petrkr> Afternoon guys
<petrkr> does anyone lately insalled fresh nixos 18.09 ? I just rebooted and can not boot because EFI filesystem (vfat) filesystem check is broken
<petrkr> it says "systemd-fsck.... fsck.vfat instalid option -- 'M'
<petrkr> invalid*
<{^_^}> [nixpkgs] @bzizou closed pull request #56521 → messer-slim: init at 3.2.1 → https://git.io/fhNAi
<{^_^}> [nixpkgs] @bzizou opened pull request #56522 → messer-slim: init at 3.2.1 → https://git.io/fhNAN
rprije has quit [Ping timeout: 250 seconds]
rprije has joined #nixos
ericsagnes has joined #nixos
lawlesseel has joined #nixos
danielrf has joined #nixos
<emily> is there a convenient way to get Nix to do a build on a tmpfs (downloading/extracting sources there, outputting build output there, etc.)?
<emily> I guess it'd need to be at /nix/store to reuse Hydra binaries so I'd need some chroot fuss :/
endformationage has joined #nixos
stepcut has joined #nixos
reinhardt has joined #nixos
<tilpner> emily: Supposedly you can do nix build --store /tmp/foo nixpkgs.hello, but that never works for me
<gchristensen> make /tmp a tmpfs and you're done, emily
<emily> gchristensen: really? Doesn't e.g. chromium.tar.xz get downloaded into the Nix store and a bunch of intermediate build products end up in there too?
<{^_^}> [nixpkgs] @xeji merged pull request #56469 → mate: enable gvfs service → https://git.io/fhNK4
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « mate: enable gvfs service (#56469) »: https://git.io/fhNxq
<emily> or I guess each job itself might be run in /tmp so it's good enough...?
<gchristensen> you want all of /nix/store to be tmpfs? or just build time stuff?
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1106 → introduce a persistOnDestroy option for s3 buckets → https://git.io/fhN37
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fhNxY
<avn> gchristensen: actualy would be nice to pick tmpfs/disk depending from size of source packages
_lawlesseel has joined #nixos
<emily> gchristensen: the X problem to my Y is that I want to see how fast I can build Chromium without reading .ccs and writing .os getting in the way
<gchristensen> ah
lawlesseel has quit [Ping timeout: 256 seconds]
<gchristensen> make /tmp a tmpfs
<avn> emily: just remember, that chromium is huge, and you need LOT of ram then
<emily> right.
<avn> emily: I moved builds out of tmpfs mainly due chromium, because machine become unuseable for anything other during build time
<emily> I have 32 GiB. I don't know if that's enough.
<emily> maybe "source on disk, output to tmpfs" is what I really want
<emily> gchristensen: hm, my /tmp already is a tmpfs
<emily> but the build was only using like, six gigabytes of RAM, so I assumed it couldn't possibly be holding all of the Chromium source in memory and also running like 10 clang++s simultaneously
ottidmes has joined #nixos
<avn> emily: what filesystem you use? I trust zfs' arc/l2arc for this, but I haven't enough mem to be really effective
<avn> emily: does you work on package improvement?
<gchristensen> emily: with jumbo builds and like 48 threads and a million gb of ram I was able to build chromium in like 30min
<emily> avn: zfs
* emily has no direct productive purpose here, just seeing how fast the shiny new box can build big things ^^;
<jasongrossman> FWIW, I find that zfs is more conservative than I'd like about using RAM (it uses less of it than I'd like).
<jasongrossman> I mention that because it's the opposite of ZFS's reputation.
<avn> emily: so try increaze arc, add ssd for l2arc
<gchristensen> jasongrossman: you can tune it if you'd like to get in to the weeds :)
<emily> avn: right; I saw talk about configuring zfs.zfs_arc_max, but I have no real idea what to set it to (or what the defaults are)
<jasongrossman> gchristensen: I don't think so. I can increase the maximum amount of RAM, but I can't make it actually use it.
<gchristensen> ah
<avn> emily: 4g arc_min, 8g arc_mac for beginning?
<avn> I have 2-4 range, but I have 16 of memory only
<emily> thanks for the tip ^^
<mikky> got bunch of `/etc/kbd directory contains user files. Symlinking may fail. at /nix/store/amhpx347b7n6m2bq24siw0qq27w3np8n-setup-etc.pl line 114.`, just out of the blue, no idea what happened
<mikky> for multiple '/etc/*' directories
<mikky> anyone got any idea what's wrong?
agander has quit [Ping timeout: 244 seconds]
patrl has quit [Ping timeout: 268 seconds]
_lawlesseel has quit [Quit: Leaving]
_lawlesseel has joined #nixos
<avn> emily: if you interesting in build speed/determinism improvement, I'd like to share my patches (if they not yet merged)
<{^_^}> [nixpkgs] @Izorkin opened pull request #56523 → datadog-agent: 6.9.0 -> 6.10.0 → https://git.io/fhNpI
<emily> avn: sure, I'm interested in seeing
<emily> mikky: I'm getting stuff like that too since N days ago so I assume it's a bug.
<mikky> emily: that was my initial assumption, too
<avn> emily: thing which speed up build significantly -- is split angle and skia (and may be some third_party as well).
erictapen has joined #nixos
<avn> mikky: better to have whole /etc generated, and have no human written files there
WhittlesJr has joined #nixos
<mikky> avn: that's what I have, except /etc/nixos/*nix
jomik has joined #nixos
knupfer has joined #nixos
<avn> mikky: I tend to move /etc/nixos to /nix/etc ;)
nefix has quit [Ping timeout: 256 seconds]
<avn> Hmm. Folks anyone remember what need to be done (except `services.postgresql.enable = true;`) to have local psql servers? (initial passwords, etc?)
<mikky> avn: I'm still quite new to nixos but this is something I've been also thinking about, just didn't have time to figure out how to do that yet :)
agander has joined #nixos
domogled has joined #nixos
o1lo01ol1o has joined #nixos
FRidh has joined #nixos
<avn> hyper_ch2: ty ;)
sinner has joined #nixos
sinner is now known as Guest55057
waleee has joined #nixos
<hyper_ch2> not sure if that helps
<hyper_ch2> postgres is just too complicated for average computer users like me
Guest87567 has quit [Ping timeout: 240 seconds]
<tilpner> I don't think you qualify as an average computer user
instantepiphany has joined #nixos
Lears has joined #nixos
[Leary] has quit [Ping timeout: 268 seconds]
<instantepiphany> Just posting a gotcha I ran into for search engine visibility: Don't use `patchelf` to fix paths in a "*.run" file as it may well be an AppImage. If you do this and the image is a Type 1 AppImage, it make the image look like a Type 2 AppImage which will cause unrelated errors when using appimage-run.
<instantepiphany> Simply use appimage-run `path-to-unmodified-image` to run the image.
<tilpner> Huh
<tilpner> Why did you try to patchelf in the first place?
<avn> instantepiphany: use ld-linux.so.2 trick when you can't patch binaries, works well for games (and should work for non-games)
<tilpner> avn: What trick do you mean?
alex`` has quit [Ping timeout: 244 seconds]
<instantepiphany> tilpner: I was tired and hadn't run into AppImages before so I assumed it was a regular binary. When I opened it in vim, the format looked similar (I could see the ld-linux.so.2 path near the start).
<instantepiphany> I thought "Oh, this `.run` extension must be some kind of filetype association thing for other distros.
__monty__ has quit [Quit: leaving]
<jomik> Ugh. Anyone here that can point me at how to add a vim plugin for my personal setup? https://nixos.wiki/wiki/Vim shows me how to update nixpkgs repo with a new plugin, but I just want to make a simple derivation to add one.
<tilpner> Well, AppImages are regular binaries everywhere else :/
<jomik> Oh... I guess these are super good examples... https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/generated.nix Ignore me :D
<hyper_ch2> Mic92: you've seen my reply?
johanot has quit [Quit: WeeChat 2.2]
<instantepiphany> Sure, but I had some other error after using patchelf to fix the ld-linux path and set rpaths to needed libraries. I think the error was FUSE related. I searched to see if someone had written some kind of wrapper to help with this and found appimage-run in nixpkgs. appimage-run had errors when running the image, and they eventually brought me to the commit in nixpkgs that added support for Type 1 images, and I figured out my p
<instantepiphany> - the file header and made the appimage-run wrapper detect it as a Type 2 image instead of seeing it as a Type 1 image. tilpner fyi
<{^_^}> [nixpkgs] @xeji merged pull request #56460 → dar: 2.6.1 -> 2.6.2 → https://git.io/fhNgm
<{^_^}> [nixpkgs] @xeji pushed commit from @Izorkin to master « dar: 2.6.1 -> 2.6.2 (#56460) »: https://git.io/fhNhv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/80812af9e46 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drakonis has joined #nixos
rpg has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56475 → minio: 2019-01-31 -> 2019-02-26 → https://git.io/fhNPI
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « minio: 2019-01-31 -> 2019-02-26 (#56475) »: https://git.io/fhNhT
<tilpner> instantepiphany: Oh, yes, the error was very unhelpful. Glad you found the newer version :)
<instantepiphany> tilpner: Just to make sure I have explained clearly - I always had the latest version of appimage-run. But my (misguided) efforts to make it run simply with patchelf changed the file enough that the appimage-run wrapper detected the image as a Type 2 image, and therefore didn't extract the Type 1 paths to the `~/.cache/appimage/abc/` directory.
drakonis_ has quit [Ping timeout: 252 seconds]
<instantepiphany> So once I extracted the original unmodified image and tried that with AppImage, it loaded and started correctly. It happened to fail in its install process but I'm sure thats a library or nixos structural difference causing that.
vmandela has joined #nixos
<tilpner> instantepiphany: I see. So it still doesn't run properly? (Or does the install process fail, but it runs anyway?)
<{^_^}> [nixpkgs] @johanot opened pull request #56524 → kubernetes: 1.13.3 -> 1.13.4 → https://git.io/fhNhn
rpg has quit [Ping timeout: 244 seconds]
Ariakenom has quit [Ping timeout: 255 seconds]
<petrkr> Ok I found which package blocks that boot with "fsck unknown option"
<petrkr> busybox;... when it's installed, you will not boot anymore :D
<instantepiphany> The image runs (shows its GUI installer) but the installer says "Aborted" after freezing for a while. The image is Davinci Resolve, and considering many third party linux installers like to put files in /opt/* or /etc/* I suspect a structural difference with Nixos is to blame. I'll debug it another time as it isn't urgent and it is 2AM for me :)
<tilpner> Oh, requires registration for download :/
<tilpner> You can use APPIMAGE_DBEUG_EXEC=bash to get a cleaner strace output
domogled has quit [Quit: domogled]
<tilpner> That should tell you what makes it abort
<tilpner> *_DEBUG_
sigmundv__ has quit [Ping timeout: 245 seconds]
WhittlesJr has quit [Quit: Page closed]
instantepiphany has quit [Ping timeout: 256 seconds]
<laas> is there a way to add options to NIX_LDFLAGS?
<laas> I want to add a few packages to the rpath
<{^_^}> [nixpkgs] @ryantm reopened pull request #52624 → terra: 2016-06-09 -> 1.0.0-beta1 → https://git.io/fhf3P
<{^_^}> [nixpkgs] @dtzWill opened pull request #56525 → nnn: 2.2 -> 2.3 → https://git.io/fhNho
ij has quit [Ping timeout: 245 seconds]
patrl has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #56526 → pantheon.elementary-gtk-theme: 5.2.1 -> 5.2.2 → https://git.io/fhNh9
nefix has joined #nixos
<nefix> hey again! How can I combine two sets into one?
<Taneb> > {a = 1;} \\ {b = 2;}
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):219:10
<immae> It’s //, not \\
<tilpner> > {a = 1;} // {b = 2;}
<Taneb> > {a = 1;} // {b = 2;}
<{^_^}> { a = 1; b = 2; }
<{^_^}> { a = 1; b = 2; }
<Taneb> immae: woops
kenogo has left #nixos ["WeeChat 2.3"]
wolfmantjg123 has joined #nixos
<Taneb> It's not like I'm literally paid money to write Nix /o
<nefix> thanks!
hedning has joined #nixos
<immae> Well, as long as you try to compile before releasing, it’s alright to make errors :p
<nefix> also, how can I have optional parameters to a function? I want to inherit the argument only if it's passed
<immae> { arg ? "default value" }
<{^_^}> [nixpkgs] @dtzWill opened pull request #56527 → broot: 0.6.0 -> 0.6.3 → https://git.io/fhNhx
<immae> It’s not technically an argument of a function, but you can use that for optional parameters
wolfmantjg123 has quit [Client Quit]
vidbina has joined #nixos
<nefix> immae: the thing is that I want to inherit it only if the value is passed (or default or nil). Should I do that with a typical if statement?
ixxie has joined #nixos
<immae> I don’t see how you can use if’s here, but how important is it that the value get *not* set in case it is absent? Would a null value be not good either?
hyper_ch2 has quit [Quit: Page closed]
<nefix> Makes sense, thanks!
<yl[m]> Given a derivation name, how can I list all the packages that has it in buildInputs using the nix tools? Should I have to write an expression to extract that info? I'm trying to find the list of packages that have `go` in buildInputs to finish up https://github.com/NixOS/nixpkgs/pull/56500
<{^_^}> #56500 (by kalbasit, 14 hours ago, open): go_1_12: init at go 1.12
<{^_^}> [nixpkgs] @dtzWill opened pull request #56528 → gipc,gdrivefs: update → https://git.io/fhNjc
<{^_^}> [nixpkgs] @dtzWill opened pull request #56529 → libplist: 2018-07-25 -> 2019-01-20 → https://git.io/fhNjR
<pie_> given nix's laziness i think you would at least have to evaluate everything (?) to get an exhaustive list
<{^_^}> [nixpkgs] @dtzWill opened pull request #56530 → libusbmuxd: 2018-07-23 -> 2019-01-18 → https://git.io/fhNjE
PirBoazo has joined #nixos
<avn> tilpner: any dynamic binary can be executed via `LD_LIBRARY_PATH=.... ${glibc.out}/lib/ld-linux.so $out/bin/binary`
<{^_^}> [nixpkgs] @dtzWill opened pull request #56531 → pythonPackages.exchangelib: 1.12.0 -> 1.12.2 → https://git.io/fhNjg
<PirBoazo> Hello
rprije has quit [Remote host closed the connection]
rprije has joined #nixos
<PirBoazo> How to solve broken links in KDE?
brejoc has joined #nixos
brejoc has quit [Client Quit]
<goibhniu> Hi PirBoazo, does `kbuildsycoca5` help?
<yl[m]> pie_: I'm afraid so :( I'm going to try to use grep
rprije has quit [Remote host closed the connection]
<pie_> yl[m], maybe thats not a bad idea lol
init_6 has quit [Read error: Connection reset by peer]
<pie_> yl[m], im a noob though
rprije has joined #nixos
<yl[m]> pie_: no worries, we all are ;)
<PirBoazo> goibhniu: as root or current user?
<tilpner> avn: Oh, I forgot about that. I wonder if I could use that instead of building an FHS env
<goibhniu> PirBoazo: as the current user
<goibhniu> it sometimes help refresh menus etc.
<goibhniu> ^helps
shachaf has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #56532 → davmail: 4.8.6 -> 5.2.0 → https://git.io/fhNjP
shachaf has joined #nixos
hellrazo1 has joined #nixos
<PirBoazo> goibhniu: noeffect :-(
<goibhniu> PirBoazo: ok, what's the problem you're experiencing?
hellrazor has quit [Ping timeout: 255 seconds]
drakonis has quit [Ping timeout: 264 seconds]
<PirBoazo> goibhniu: I have installed several package with nix-env ... i removed this package to resolve an another issue
<PirBoazo> this issue is resolvebut at side effect menu on application are linked with a bad link
<{^_^}> [nixpkgs] @dtzWill opened pull request #56533 → typora: 0.9.64 -> 0.9.65 → https://git.io/fhNj7
drakonis has joined #nixos
<goibhniu> PirBoazo: which menu?
<{^_^}> [nixpkgs] @xeji merged pull request #56511 → mercury: build on Darwin → https://git.io/fhN5t
<{^_^}> [nixpkgs] @xeji pushed commit from @jacereda to master « mercury: build on Darwin (#56511) »: https://git.io/fhNjj
<PirBoazo> goibhniu: Kde application menu thunderbird can not be launch..
<goibhniu> PirBoazo: are you using NixOS?
<PirBoazo> goibhniu: Yes :-)
<PirBoazo> example : when i launched signal i receive this message : "/nix/store/pxx1hw33g1icpxlq7nfnnzxj2bfk08k4-signal-desktop-1.18.1/bin/signal-desktop" %U
<PirBoazo> is not valid
<goibhniu> hrm, where does thunderbird fit into this?
<PirBoazo> same thing for thunderbird ..
<nefix> Could someone review my code? https://paste.ofcode.org/jiVd6mahnxvVZDWQewku8J thanks!
<nefix> It should work (I tested it separately) what I'm searching is formatting and possible improvements
<goibhniu> PirBoazo: hrm, if I understand correctly, the problem is that the menu hasn't been refreshed. I'm surprised that running kbuildsyscoc5 didn't fix that :/
<PirBoazo> goibhniu: and if icontinue : i received : Unable to make the service Thunderbird executable, aborting execution
reinhardt has quit [Quit: Leaving]
<tilpner> nefix: Typo on line 43. Did you test this?
<tilpner> nefix: But how could it work with "defice"?
<PirBoazo> goibhniu: perhaps i need to give parameters?
drakonis_ has joined #nixos
<PirBoazo> Or reboot?
<goibhniu> PirBoazo: is a related issue: https://github.com/NixOS/nixpkgs/issues/40915
<{^_^}> #40915 (by Chiiruno, 40 weeks ago, closed): KDE will not automatically update it's start menu
<PirBoazo> :-) cool i look at , hope they have a workaround :-)
<nefix> tilpner: is there a typo? I've deleted all the hostnames
<nefix> Oh
<nefix> tilpner: I only tested the functions and logic part, I haven't done a deploy
<nefix> yet
acarrico has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 250 seconds]
<tilpner> nefix: The acme directory looks wrong too
<tilpner> nefix: You mount at /var/lib/acme but then tell it to use /srv
<nefix> tilpner: woops, forgot to edit it back. Do you think it's a good idea to use an NFS connection to store the certificates?
<PirBoazo> goibhniu: several people have the issue on 18.09 :-(
<tilpner> I don't
<tilpner> But you might have a very good reason to do that, which you haven't told me
<nefix> not really
<tilpner> Why do you do that then?
<nefix> I just want to make the system as independent from the machine as possible
vidbina has quit [Ping timeout: 258 seconds]
<nefix> Since it has a hard drive that is a bit old now (8 years maybe)
<tilpner> I have encrypted backups for that
<tilpner> And if you don't have too many domains, losing a certificate isn't a problem either
<nefix> 10ish
<tilpner> That might be fine, but check with their rate limits
<nefix> I'm currently running everything with a Traefik and I hadn't had any problem with rate limits (though I'm not sure how does Traefik handle it)
alex`` has joined #nixos
<nefix> tilpner: does the rest look good to you?
knupfer has quit [Remote host closed the connection]
petrkr has quit [Remote host closed the connection]
<tilpner> I haven't checked all of it, especially the commontHttpConfig
<tilpner> You have a few unnecessary parentheses
<tilpner> Lines 100 and 105
nefix_ has joined #nixos
<nefix_> thanks!
PirBoazo has quit [Remote host closed the connection]
ij has joined #nixos
nefix has quit [Ping timeout: 256 seconds]
scientist has joined #nixos
<lucus16> So, what am I supposed to do if nix-shell -p haskellPackages.ghc-mod fails to build?
<{^_^}> [nixpkgs] @dtzWill opened pull request #56534 → appstream-glib: 0.7.14 -> 0.7.15 → https://git.io/fhAvU
<scientist> $(nix-build --no-out-link '<nixpkgs>' -A xorg.xkeyboardconfig)/etc/X11/xkb/rules/base.lst , when I try to execute this command as root I get: Permission Denied ?
ij has quit [Ping timeout: 255 seconds]
<scientist> the command is from this link: https://nixos.wiki/wiki/Keyboard_Layout_Customization
<scientist> at the end of the Simple section
vidbina has joined #nixos
rprije has quit [Remote host closed the connection]
scientist has quit [Quit: WeeChat 2.2]
PirBoazo has joined #nixos
rprije has joined #nixos
<lucus16> I was kind of under the impression that nixos-unstable only progresses once all packages build, but apparently it doesn't care about some haskellPackages not building
scientist has joined #nixos
wolfmantjg123 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #56531 → pythonPackages.exchangelib: 1.12.0 -> 1.12.2 → https://git.io/fhNjg
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « pythonPackages.exchangelib: 1.12.0 -> 1.12.2 (#56531) »: https://git.io/fhAva
PirBoazo has quit [Quit: PirBoazo]
scientist has quit [Client Quit]
vidbina has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #56483 → [19.03] Mark Riak and Riak-cs as insecure → https://git.io/fhNPD
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-19.03: https://git.io/fhAv7
<jomik> How long is a sha256? I forgot, google says 64, but that doesn't seem right, it was 50-something
wolfmantjg123 has quit [Quit: Mutter: www.mutterirc.com]
<Taneb> jomik: 52
<Taneb> Same size as a deck of cards
<jomik> Thanks :D
<jomik> Oh, good reminder.
<Taneb> I presume we're encoding 256 bits in base 32, which needs 51.2 symbols which we have to round up
yl has joined #nixos
<nefix_> is there any way to update the packages and channels automatically? I know there's system.autoUpgrade.enable & system.autoUpgrade.channel, but they doesn't seem to work
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<adamantium> hey guys -- the firejail wrappers... i have it working for e.g. launching "chromium" from the command line, but how can i also make it have a .desktop entry that will show up in application menus ?
<jomik> Different question. I am trying to access `buildVimPluginFrom2Nix`, which... I can't seem to figure out where to find... Help? :)
<jomik> this does not seem to work :( `inherit (pkgs.vimUtils) buildVimPluginFrom2Nix;` says that I need to call vimUtils with a `name`.
<makefu> lucus16: for nixos-unstable to advance a couple of integration tests need to test plus a set of "mandatory" packages need to build successfully
winem_ has quit [Ping timeout: 255 seconds]
<yl> jomik: vimUtils.buildVimPluginFrom2Nix should work
<jomik> eh, well, I overrode with vimUtils from unstable, and now it works.
<yl> oh I see
<yl> cool
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/1374ba6080b (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<jomik> That works too, from release-18.09. Thanks yl! :)
alex_giusi_tiri has joined #nixos
<yl> jomik: no problem
<waleee> I got a segmentation fault when running nix-channel --update =/ The subsequent one didn't sefault though
jomik has quit [Quit: WeeChat 2.2]
<yl> waleee: which OS?
<waleee> nixos 18.09, from the previous advancement (from the notice just now)
<waleee> (well from 7 minutes ago)
<yl> waleee: I'm not sure what the problem is in this case then, I did experience a segfault before but on Darwin and only in multi-user mode but that cannot possibly be the same issue as your so nvm :)
_kwstas has joined #nixos
alex_giusi_tiri has quit [Ping timeout: 245 seconds]
_kwstas has quit [Client Quit]
<waleee> the 1374ba6080b commit of the 18.09-channel did include a new version of nix
alex_giusi_tiri has joined #nixos
waleee has quit [Quit: WeeChat 2.4]
asymmetric has quit [Ping timeout: 246 seconds]
waleee has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/dc4823f6032 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<{^_^}> [nixpkgs] @dotlambda opened pull request #56537 → postfix: 3.3.2 -> 3.4.0 → https://git.io/fhAf9
asymmetric has joined #nixos
FRidh has quit [Ping timeout: 244 seconds]
ramses_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #56538 → [18.09] postfix: 3.3.2 -> 3.3.3 → https://git.io/fhAfp
arjen-jonathan has quit [Ping timeout: 258 seconds]
juliendehos has quit [Quit: Leaving]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « wlroots: 0.4 -> 0.4.1 »: https://git.io/fhAfj
lsyoyom has joined #nixos
Guest55057 has quit [Ping timeout: 250 seconds]
asymmetric has quit [Remote host closed the connection]
asymmetric has joined #nixos
vmandela has left #nixos ["Leaving"]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/569c594e8e8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
talqu has joined #nixos
talqu has quit [Client Quit]
talqu has joined #nixos
reinhardt has joined #nixos
reinhardt has quit [Remote host closed the connection]
mekeor has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #55367 → toybox: init at 0.8.0 → https://git.io/fh97T
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fhAJC
<therealwaphire[m> guys I'm trying to enable ssh password authentication only for two my servers to communicate with each other without pubkey
<therealwaphire[m> but it doesn't seem to work for some reason
<therealwaphire[m> password auth fails with `Permission denied, please try again.`
Tucky has quit [Quit: WeeChat 2.2]
<Izorkin> Please check PR #54478
<{^_^}> https://github.com/NixOS/nixpkgs/pull/54478 (by Izorkin, 5 weeks ago, merged): datadog-agent: 6.8.3 -> 6.9.0
<Izorkin> * PR #56523
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56523 (by Izorkin, 3 hours ago, open): datadog-agent: 6.9.0 -> 6.10.0
<yorick> so I needed another instance of a module... import (builtins.toFile "ghjkl.nix" (replaceStrings ["asdf"] ["ghjkl"] (builtins.readFile ./asdf.nix))
rauno has joined #nixos
<nefix_> error: 'mkOption' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/options.nix:30:5 called with unexpected argument 'options', at /nix/store/4lfs1751qc86lidq55x70g6ipzzwdgnk-nixops-1.6.1/share/nix/nixops/gce.nix:382:19
<nefix_> I'm getting this error when using NixOps
<nefix_> With libvirt or virtualbox
<nefix_> And with my custom expressions or the trivial one that's in the manual
<nefix_> Any clue what's going wrong?
<yl> Izorkin: I left a comment on you PR
<yorick> nefix_: get the nixops from github
<yl> nefix_: I had the same issue the other day, it got fixed after updating the channels
_kwstas has joined #nixos
<nefix_> I updated this morning the channels
<nefix_> Let's see if there are updates
<nefix_> NixOps 1.6.1
<nefix_> Should I override the derivation?
adamt has joined #nixos
<nefix_> yl: yorick ^
adamt is now known as Guest66951
<yl> nefix_: I'm also using nixops 1.6.1
<yl> but the bug is not in nixops, it's in nixpkgs
xkapastel has quit [Quit: Connection closed for inactivity]
<yl> when I updated my channels (few days ago), the problem got fixed
<yl> I'm not sure what was the issue though
<Izorkin> yl: error: undefined variable 'lib' at .../nixpkgs/pkgs/tools/networking/dd-agent/6.nix:54:31
<yl> Izorkin: you need to add it to the top of the file
<yl> Izorkin: { stdenv, fetchFromGitHub, ...
<yl> Izorkin: same for hostname
<nefix_> yl: I just updated my nix channels and it's still breaking
<alex_giusi_tiri> therealwaphire[m: it all looks ok to me. one thing that I noticed (not sure if the config is case sensitive): PubKeyAuthentication should probably be PubkeyAuthentication? the other thing that I can think of is an incorrect password?
<nefix_> (I'm in unstable and in kernel 4.20)
<therealwaphire[m> yeah I've tried that
<yl> nefix_: I'm not really sure what's going on. I suggest filing an issue with nixops
<therealwaphire[m> and nope, password is all correct
<Izorkin> yl: new error: undefined variable 'hostname'
freeman42x has joined #nixos
<therealwaphire[m> this also happened when I tried kexecing with password auth
<alex_giusi_tiri> in other web examples, I see match using indentation
<yl> Izorkin: same thing, you need to add it to the same place
<talqu> hi, i have nixos machine from which i want to copy a clojure to a ubuntu machine with nix package mananger. both have the same nix-env version. however, `ssh usr@my-ip nix-env --version` outputs bash: nix-env: command not found
<alex_giusi_tiri> perhaps the error lies on another layer, then?
ij has joined #nixos
talqu_ has joined #nixos
ij has quit [Ping timeout: 250 seconds]
<alex_giusi_tiri> therealwaphire[m: what does the log say? just permission denied? what about pam?
<therealwaphire[m> says pam authentication failed
<Izorkin> yl: thanks, fixed.
<yl> Izorkin: cool, I'll take a look in a couple of hours, I have to run to a meeting then lunch!
<therealwaphire[m> 1error: PAM: Authentication failure for sozu from 159.69.72.164`
<therealwaphire[m> `error: PAM: Authentication failure for sozu from 159.69.72.164`
<therealwaphire[m> `Failed password for sozu from 159.69.72.164 port 34834 ssh2`
tnks has joined #nixos
<tnks> man... if I'm having a mysterious "error: unexpected end-of-file" when doing a nix-env install of nixpkgs.hello, what's a likely culprit?
<tnks> I'm on a Mac.
<yl> tnks: it's a known issue
<yl> tnks: let me find the issue link
Ariakenom has joined #nixos
<tnks> yl: thanks a lot... I was Googling, but didn't feel like I was getting the right thing.
<alex_giusi_tiri> talqu: I'm not sure this would change anything, but try ssh'ing to the ubuntu machine and then try running `nix-env --version` at the prompt...
<{^_^}> nix#2523 (by periklis, 16 weeks ago, open): darwin: nix-daemon crashes due to OBJC_DISABLE_INITIALIZE_FORK_SAFETY
<yl> tnks: here's my automated way of fixing it at work: https://gist.github.com/kalbasit/45efe8d3464736c2f3980a260e824b4e
<talqu> alex_giusi_tiri, that of course works as i meantioned that both have the same nix-env versions
hyperfekt has joined #nixos
drakonis has joined #nixos
drakonis has quit [Client Quit]
drakonis has joined #nixos
<tnks> yl: thanks looking now.
semilattice has joined #nixos
<tnks> yl: oh... I thought I dealt with this... but something I set up earlier must have been overridden.
tmaekawa has joined #nixos
<nefix_> yl: I've fixed it by overriding the nixops derivation with the latest commit
rauno has quit [Remote host closed the connection]
<nefix_> (lib.overrideDerivation pkgs.nixops (attrs: rec { version = "nixops-1.6.1pre2741_9d047e0"; src = fetchurl { url = "https://hydra.nixos.org/build/89669273/download/2/nixops-${version}.tar.bz2"; sha256 = "1fx6i8p6yz2090xfrckhylscdbn0rd2waqxp9q85bpdfa7kn94qk"; }; }))
<freusque> does anyone know of a way to make nix-shell automatically reload its environment when the expression changes?
<freusque> I'm enjoying cabal+ghcid's ability to do this based on cabal file changes when using callCabal2nix. Just wondering if there are similar tools out here
<semilattice> I tend to use direnv with nix for this, and it does an okay job about it, maybe not great
<semilattice> but direnv reload makes it work correctly in every terminal window if it doesnt
<freusque> oh, does direnv auto-reload when the shell file changes?
<gchristensen> if you watch it, yes
<{^_^}> [nixpkgs] @dywedir merged pull request #56527 → broot: 0.6.0 -> 0.6.3 → https://git.io/fhNhx
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhAUZ
<freusque> sexy
<freusque> watch_file file.cabal
<freusque> thanks
<mekeor> hello. which package contains sed? :)
<freusque> mekeor: nix-locate "bin/sed"
<{^_^}> [nixpkgs] @dtzWill opened pull request #56539 → libvdpau: 1.1.1 -> 1.2 → https://git.io/fhAUW
<freusque> nixpkgs.gnused afaik
<freusque> see also "nix search"
Neo-- has quit [Ping timeout: 250 seconds]
<mekeor> freusque: which package contains nix-locate? :D
<mekeor> i used "nix search" :)
<gchristensen> ,locate sed
<{^_^}> Found in packages: cheat, gnused, busybox, sonic-pi, plan9port, gnused_422, vimPlugins.caw
<gchristensen> ,locate nix-locate
<{^_^}> Found in packages: nix-index
<mekeor> thanks, it was gnused :)
<mekeor> nice :D
<freusque> :o
ashkitten has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
Ariakenom has quit [Read error: Connection reset by peer]
Ariakenom has joined #nixos
arjen-jonathan has joined #nixos
<mekeor> i installed nix on macOS. i installed zsh, curl, wget, R and emacs with nix. when i curl a https-url inside the shell, it works. it works, when i invoke curl inside an R-script inside the shell. but when i invoke curl within the R-script within emacs, i get an ssl-error: "SSL certificate problem: unable to get local issuer certificate". any ideas whats going on? -- instead of invoking curl within the R script within emacs, i also
<mekeor> tried to invoke curl within zsh within R within emacs and it worked (after sourcing $HOME/.nix-profile/etc/profile.d/nix.sh)
<mekeor> i also tried to set the NIX_SSL_CERT_FILE variable inside the R script inside emacs but it didn't help AFAICS
<{^_^}> [nixos-hardware] @ashkitten opened pull request #102 → t450s: fix trackpoint configuration at boot → https://git.io/fhAUo
<freusque> try vim
<freusque> :p
<mekeor> true
<mekeor> xD
drakonis has quit [Quit: WeeChat 2.2]
<avn> mekeor: probably you need unset NIX_SSL_CERT_FILE (or some other NIX_*SSL* variable)
<yl> nefix_: so it's a nixops issue? Thanks for letting me know!
M0ddba11[m] has joined #nixos
<mekeor> avn: hmm, still same error :/
<{^_^}> [nixpkgs] @illegalprime opened pull request #56540 → [WIP] Rust cross compilation (1.32.0) → https://git.io/fhAU1
waleee has quit [Quit: WeeChat 2.4]
drakonis has joined #nixos
<mekeor> interesting: when i set SSL_CERT_FILE="~/.nix-profile/etc/ssl/certs/ca-bundle.crt" in the environment that doesn't work, i get a different error: curl: (77) error setting certificate verify locations: \\ CAfile: ~/.nix-profile/etc/ssl/certs/ca-bundle.crt \\ CApath: none
drakonis_ has quit [Ping timeout: 250 seconds]
scientist has joined #nixos
<scientist> hey guys I am trying to create my own custom keyboard layout, but the instructions on the nixos manual and wiki are horrible, do you guys know of an easier way to do this ?
<gchristensen> how did you do it on ubuntu?
<avn> scientist: xkb?
<{^_^}> [nixpkgs] @kalbasit merged pull request #56523 → datadog-agent: 6.9.0 -> 6.10.0 → https://git.io/fhNpI
<{^_^}> [nixpkgs] @kalbasit pushed commit from @Izorkin to master « datadog-agent: 6.9.0 -> 6.10.0 (#56523) »: https://git.io/fhAUb
<yl> Izorkin: merged! Thanks :)
<Izorkin> thanks
nefix_ has quit [Ping timeout: 256 seconds]
timor has quit [Ping timeout: 255 seconds]
jtcs_ has quit [Ping timeout: 272 seconds]
<avn> scientist: services.xserver.exportConfiguration = true; and `xkbcomp -I$HOME/.xkb $HOME/.xkb/main.xkb $DISPLAY do the job
Izorkin has quit [Quit: ZNC 1.7.2 - https://znc.in]
nckx- has joined #nixos
drakonis1 has joined #nixos
Izorkin has joined #nixos
<avn> (disadvantage -- on `nixos-rebuild switch` xkb command need to be re-issued)
nckx has quit [Ping timeout: 255 seconds]
<scientist> https://askubuntu.com/questions/212336/default-keys-1-2-3-4-5-6-7-8-9-0-to-input these are the instructions I use for ubuntu, it is simple on ubuntu but I have no idea how to do this on nixos
<alex_giusi_tiri> therealwaphire[m: is your user's password blank?
<therealwaphire[m> nope
nckx- is now known as nckx
<alex_giusi_tiri> 'cause then you would need a couple of options to be enabled
<alex_giusi_tiri> so I just tried it on my setup here and it works
<scientist> the instructions on how to create a custom keyboard layout on nixos are too complicated
<avn> scientist: I use custom xkb layout for years, it worked on debian, and works on nixos w/o any changes
mekeor has quit [Read error: Connection reset by peer]
<scientist> avn: how did you do it ?
<avn> scientist: my custom files in ~/.xkb, loading via ``xkbcomp -I$HOME/.xkb$HOME/.xkb/main.xkb $DISPLAY` in ~/.xsession
ThatDocsLady_ has joined #nixos
<avn> but after upgrade/re-plug keyboard xkb command need to re-run
<avn> bit annoying, but I haven't found better solution
sigmundv has joined #nixos
<alex_giusi_tiri> talqu: not sure; I am thinking that perhaps etc/profile.d/nix.sh is not sourced? like here: https://nixos.org/nix/manual/#ch-env-variables
jtcs has joined #nixos
<alex_giusi_tiri> rather, not bing automatically sourced when you ssh?...
ThatDocsLady has quit [Ping timeout: 252 seconds]
<scientist> avn: I have two files: us_custom (that contains my custom keyboard layout) and xkb_rules.odt(that I use to past into the xml file), I just have no idea on how todo this in nixos
rprije has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
rprije has joined #nixos
<scientist> https://askubuntu.com/questions/212336/default-keys-1-2-3-4-5-6-7-8-9-0-to-input , like I said these arethe instuctions that I use for ubuntu, I haveno idea what is the equivalent in nixos ?
fusion809 has quit [Remote host closed the connection]
ym555 has joined #nixos
<scientist> avn: if you could post step by step instructions on how you did this, I am very confused, thanks !
wedens has quit [Quit: Connection closed for inactivity]
sigmundv has quit [Ping timeout: 255 seconds]
<talqu> alex_giusi_tiri, i do have that in my .bashrc
xkapastel has joined #nixos
<avn> scientist: https://gist.github.com/24a45c235ab1bee50147a08b4fd1cf91 my toplevel file, includes searched in ~/.xkb from command I posted above, where I keep tructure similiar to standard one (so symbol/your_custom_file)
<avn> scientist: But I suggest you read some xkb manuals first, and have remote access
mekeor has joined #nixos
<scientist> avn: thank you, I'll take a look now
<avn> scientist: so all components looked in appropriate directory in .xkb or standard path (but ~/.xkb not searched by default, you need -I ~/.xkb)
ThatDocsLady_ has quit [Ping timeout: 250 seconds]
rprije has quit [Remote host closed the connection]
* mekeor wonders if PATH=$HOME/.nix-profile/bin will work fine on mac-os and is trying it out
rprije has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56525 → nnn: 2.2 -> 2.3 → https://git.io/fhNho
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fhATk
<scientist> avn: ok so is everything done in this one main.xkb file ?
<{^_^}> [nixpkgs] @xeji merged pull request #56537 → postfix: 3.3.2 -> 3.4.0 → https://git.io/fhAf9
<scientist> avn: I don't know where to paste my custom keyboard layout?
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to master « postfix: 3.3.2 -> 3.4.0 (#56537) »: https://git.io/fhATt
<avn> scientist: in theory is possible, but I used includes always. Logic is simple -- xkb_symbols { uinclude "us+foo" looked as ${-I}/.xkb/symbols/us then $default/symbols/us, all other files processed similiar
sigmundv has joined #nixos
<scientist> avn: if you want i could paste the content of the two files so you can see what I am trying to do ?
<{^_^}> [nixpkgs] @xeji merged pull request #56524 → kubernetes: 1.13.3 -> 1.13.4 → https://git.io/fhNhn
<{^_^}> [nixpkgs] @xeji pushed commit from @johanot to master « kubernetes: 1.13.3 -> 1.13.4 (#56524) »: https://git.io/fhATZ
<avn> scientist: post your .xkb/ as repo on github (because layout is important), and script you using to apply changes to xserver as well.
<{^_^}> [nixpkgs] @dywedir merged pull request #55928 → linux_testing_bcachefs: 4.20.2019.02.09 -> 4.20.2019.02.20 → https://git.io/fh5a3
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhATC
<hyperfekt> got annoyed by forgetting to commit files often enough i spent a bunch of time writing a fix https://github.com/hyperfekt/git-stagelight
<hyperfekt> i can't be the only one this happens to in every PR
<{^_^}> [nixpkgs] @xeji merged pull request #56349 → qutebrowser: 1.5.2 -> 1.6.0 → https://git.io/fhbMt
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to master « qutebrowser: 1.5.2 -> 1.6.0 (#56349) »: https://git.io/fhATB
alex_giusi_tiri has left #nixos [#nixos]
ddellacosta has joined #nixos
<scientist> avn: https://hastebin.com/icitadafiq.xml , the 1st section is my custom keyboard layout and the 2nd section on the bottom is the part that I paste to evdev.xml
<scientist> avn: I am just not sure how to configure this stuff in nixos
<avn> scientist: I don't know what .xml does, it something specific to ubuntu
<avn> if you put first file as ~/.xkb/symbols/custom_us
rfold has joined #nixos
<gchristensen> systemd friends, I have a service which regularly fails to start, and I'd like systemd to restart it. but: systemd doesn't _know_ it has failed.
<avn> and do simples ~/.xkb/main.xkb based on my with xkb_symbols { include "us+custom_us(basic)"; }; -- I believe you will able to load it
<gchristensen> can I have a separate unit which if it fails to start within 10min, the other unit is restarted?
<avn> scientist: but I suggest to have second machine around with remote access, in case if you make your keyboard unusable
o1lo01ol1o has quit [Remote host closed the connection]
<scientist> avn: ok I'll give it a try now, if my keyboard becomes unusable can't I just boot into an older nix config
<{^_^}> [nixpkgs] @xeji merged pull request #56538 → [18.09] postfix: 3.3.2 -> 3.3.3 → https://git.io/fhAfp
<{^_^}> [nixpkgs] @xeji pushed commit from @dotlambda to release-18.09 « postfix: 3.3.2 -> 3.3.3 (#56538) »: https://git.io/fhAT6
o1lo01ol1o has joined #nixos
<avn> scientist: it not nix, is a just xkb, so until you wire up xkb command to .xsession, it one-time
xeji has joined #nixos
<scientist> avn: just making sure, so when you made your own custom keyboard layout you didn't have to change any xml file such as evdev.xml ?
<avn> scientist: no, I do it by writing, (or even generating) xkb files.
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<scientist> avn: https://nixos.wiki/wiki/Keyboard_Layout_Customization so I am trying to do the advanced section to create my own custom keyboard layout but it does not explain it very well.
sigmundv has quit [Ping timeout: 246 seconds]
<scientist> avn: are those instructions similar to theones you gave me ?
<gchristensen> any ideas on implementing this sorta weird checker with systemd services? https://screenshotscdn.firefoxusercontent.com/images/b8641558-7724-49ad-9f45-259321505bd8.png
roni has joined #nixos
<roni> hi all--anyone have any tips for gephi starting up and then hanging before the gui fully renders?
o1lo01ol1o has joined #nixos
<avn> scientist: close to it. I'd suggest make a tree in $out - $out/symbols/... $out/keycodes/... etc, and main file in top $out/main.kkb. then build it with xkbcomp -I$out/ $out/main.kkb $out/main.xkb
Glider_IRC_ has joined #nixos
<avn> xkbcomp -I$out/ $out/main.xkb $out/main.xkm
<avn> and then use xkbcomp $out/main.xkm $DISPLAY to load
<avn> so generally yes, is sort of my method
<avn> I feel, that I re-do my setup this way (although I'd like to make reload script as well, to update stuff if keyboard re-plugged, or keymap was discarded due some systemd events)
<scientist> avn: I need to get better with the command line, this is confusing the hell out of me, is the nixos-dev channel a pretty good place for problems like this ?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<avn> scientist: https://wiki.archlinux.org/index.php/X_keyboard_extension#Local_XKB_folder here is clear explanation what I tell today, told with better english than mine
<ddellacosta> so I'm trying to build a haskell project per the instructions (see https://github.com/taffybar/taffybar/blob/master/default.nix#L2) and it's telling me "...default.nix:1:1 called without required argument 'gi-cairo-connector'..." I'm familiar with derivations on a basic level but I'm not sure how to approach this. Any suggestions on where to start?
Glider_IRC__ has quit [Ping timeout: 258 seconds]
agander has quit [Quit: Leaving]
<scientist> avn: thanks, I think I will spend the rest of this day reading the manuals and try again tomorrow
matix has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #56384 → Use C++ 11 for MySQL 5.7 to fix build in mac → https://git.io/fhbF9
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @jules2689 to master « Use c++ 11 for MySQL 5.7 to fix build in mac (#56384) »: https://git.io/fhATj
<avn> scientist: once, when I work on web based terminal server, I wrote totally original 200 keyed keymap with no switch between cyrillic/latin
<avn> I though I go postal from it
kisik21 has joined #nixos
<{^_^}> [nixpkgs] @dpaetzel closed pull request #56520 → vdirsyncer: fix Google Calendar synchronization → https://git.io/fhNAm
<scientist> avn: wow, sounds difficult
<kisik21> any ways to add a patch file to an Emacs derivation without copying the whole thing to an overlay?
johanot has joined #nixos
_kwstas has quit [Quit: _kwstas]
<avn> scientist: I generated significant part really ;) Hopefully I found 33 continious range of unused scancodes ;)
_kwstas has joined #nixos
jevonearth has joined #nixos
sigmundv has joined #nixos
<scientist> avn: this is my third day using nixos, how long did it take you to get used to it ?
<avn> (also patched wine a bit, because it decline to input symbols with keycodes bound to non-standard keys)
<avn> over 3 years
<hyperfekt> is there any example for adding a derivation to a project's repo? do i just use the same formal arguments as in nixpkgs?
<{^_^}> [nixpkgs] @7c6f434c pushed to master « Add lparallel »: https://git.io/fhAkL
<scientist> avn: is it worth the effort ?
<ddellacosta> scientist: I've been using NixOS exclusively for about a month now, read about 60% of the docs (recommend the pills and wiki in particular) and still find it challenging, but the fog is slowly lifting and I'm more and more impressed...fwiw
<ddellacosta> the docs are weirdly terrible and great at the same time
<hyperfekt> this ^
<jasongrossman> Yes.
<illegalprime> ^ yes
<scientist> ddellacosta: what is the pills ?
catch22 has joined #nixos
<ddellacosta> scientist: ^
<{^_^}> [nixpkgs] @seppeljordan opened pull request #56542 → nix-prefetch-github: 2.1 -> 2.2 → https://git.io/fhAkt
dkellner[m] has joined #nixos
<ddellacosta> that gave me a better understanding than anything of how derivations work
<gchristensen> I would really love it if all four of you ddellacosta hyperfekt jasongrossman illegalprime , and anyone else who agrees with that to PM me your feedback as to why that is true _in private_ (so you don't get your feedback changed by other people's)
<ddellacosta> not that I'm done--I'm about 3/4 of the way done
<illegalprime> how do you build a multi-crate rust package? so far I'm trying to use a linkFarm to collect all my dirs into one source directory
<illegalprime> ddellacosta: yup
<ddellacosta> gchristensen: sorry didn't mean to talk crap about Nix/NixOS--I love it
<gchristensen> no way
<gchristensen> you're not talking crap
<ddellacosta> definitely have a lot to say about docs, composing my thoughts recently, will ping you!
<gchristensen> I really want your feedback!
<gchristensen> please do, or email me -- graham@grahamc.com
<ddellacosta> absolutely will do. Okay cool, thanks!
<ddellacosta> yet another great thing about Nix community, also why I love it ^
<avn> sometimes would be nice to have something like `rust --explain` but for nix/nixos
<gchristensen> ddellacosta: me too =)
<scientist> ddellacosta: thanks I'll take a look
<avn> because when you work on modification of your system, `git grep` usually your best friend
<ddellacosta> scientist: hope it helps!
<avn> and for non-nixos specific stuff arch wiki still be source number one ;)
<illegalprime> ^ on multi-crate rust packages, the linkFarm works but buildRustPackage wants to chmod +w the source dir, which breaks if the source dir is in /nix/store'
doyougnu has joined #nixos
<ddellacosta> avn: to be fair, probably true for a lot of non-Arch distributions, lol
<{^_^}> [nixpkgs] @xeji merged pull request #56416 → nginxMainline: 1.15.8 -> 1.15.9 → https://git.io/fhNY1
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « nginxMainline: 1.15.8 -> 1.15.9 (#56416) »: https://git.io/fhAk3
<ddellacosta> they really have captured something in their great wiki
<{^_^}> [nixpkgs] @xeji merged pull request #55259 → libsolv: 0.7.2 -> 0.7.3 → https://git.io/fh9kh
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « libsolv: 0.7.2 -> 0.7.3 (#55259) »: https://git.io/fhAkn
<scientist> ddellacosta: https://hastebin.com/icitadafiq.xml , I am trying to create my own custom keyboard layout but it seems much harder to do in nixos than in ubuntu. I am glad theres references but I cannot find no step by step instructions
acarrico has joined #nixos
<ddellacosta> scientist: hrm I may not be a lot of help with that--I did little more than remap caps lock and alt for my keyboards, and I still find it to be a black art
<ddellacosta> scientist: one thing I will say is that this is not really necessarily NixOS specific, so you may find more help looking in other communities, then tweaking their solution to fit NixOS
<{^_^}> [nixpkgs] @xeji merged pull request #54859 → ace: 6.5.3 -> 6.5.4 → https://git.io/fhP5l
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « ace: 6.5.3 -> 6.5.4 (#54859) »: https://git.io/fhAk8
counting1 is now known as countingsort
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<scientist> ddellacosta , well all the xkb files are read only, why are the files read only
<scientist> ?
<jevonearth> Hi All, I have a thinkpad X1 extreme. My nvidia card had been working pretty well, until recently. I'm not sure when it broke. My xorg runs, I have my bios set to 'discreet' instead of hybrid. But based on xorg graphical performance, it's not using the nvidia card.
<jevonearth> `xrandr --listproviders` shows `Provider 0: id: 0x47 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:modesetting`
<ddellacosta> scientist: ah okay so, this is definitely a challenging aspect of Nix--you have to reorient yourself to assume everything should be managed through the Nix config
<jevonearth> Wondering if any one here has hints, or run into issues recently?
Erasmus has joined #nixos
<ddellacosta> scientist: so maybe first thing to do is look and see if there is an xkb option that looks like what you want, via https://nixos.org/nixos/options.html
<Erasmus> why should I switch to NixOS?
<{^_^}> [nixos-hardware] @danbst closed pull request #101 → thinkpads: refactorings + modularization + some new options → https://git.io/fhd2H
<Erasmus> safer rollbacks?
<ddellacosta> scientist: I think 75% of my initial learning curve was figuring out how to configure stuff, especially desktop env
<{^_^}> [nixpkgs] @johanot opened pull request #56543 → kubernetes: 1.13.3 -> 1.13.4 → https://git.io/fhAku
semilattice has quit [Ping timeout: 245 seconds]
<matix> Erasmus: depends what you want from a system
<ddellacosta> jevonearth: I have the same machine, you don't need the discrete setting to use nvidia fwiw
<matix> I personally like NixOS mostly for the fact that I can easily replicate the set-up that I have on another installation
<ddellacosta> jevonearth: have you seen this page yet? https://nixos.wiki/wiki/Nvidia
<{^_^}> [nixpkgs] @vbgl merged pull request #56154 → ocamlPackages.mlgmpidl: 1.2.7 -> 1.2.8 → https://git.io/fhF89
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.mlgmpidl: 1.2.7 -> 1.2.8 »: https://git.io/fhAkz
<ddellacosta> scientist: you shouldn't have to touch that
kisik21 has quit [Ping timeout: 252 seconds]
<ddellacosta> you may need options exposed there
Ariakenom has quit [Quit: Leaving]
<ddellacosta> scientist: sorry, again we're out of my zone of familiarity when it comes to xkb and X11, but take a look at e.g. https://nixos.org/nixos/options.html#xkb
<scientist> ddellacosta, I am very frustrated, I have been using ubuntu for the last three years, nixos seems completely different
<ddellacosta> scientist: it absolutely is
<scientist> ddellacosta: is it worth the switch ?
<ddellacosta> scientist: I personally think so, but it also aligns with my personal idea of (closer to) an ideal system
<scientist> ddellacosta: is the #nixos-dev channel pretty good ?
<ddellacosta> scientist: I've only really hung out in here, so can't say
goibhniu has quit [Ping timeout: 250 seconds]
<scientist> ddellacosta: ok well i'm going to give it a try
<drakonis1> okay so, good news everyone that like video games i guess, the lutris flatpak is almost reaching an usable state
<scientist> later guys
scientist has quit [Quit: WeeChat 2.2]
<ddellacosta> scientist: keep asking questions, there are many super-knowledgeable and helpful people here! Sorry I couldn't help you with the keyboard stuff
<ddellacosta> good luck!
semilattice has joined #nixos
<ottidmes> scientist: if you are an user who's ideal system is that of things just working out of the box, instaling software through a software manager, i.e. more like Windows experience in terms of software usage, then NixOS is most likely a bad fit. If you want to have a lot of control over your system, and have the effort you put in make concrete as some artifact (your config), than NixOS is awesome.
fendor has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #56149 → protonmail-bridge: 1.1.0-1 -> 1.1.1-1 → https://git.io/fhFCN
<{^_^}> [nixpkgs] @xeji pushed commit from @GRBurst to master « - Update protonmail-bridge 1.1.0-1 -> 1.1.1-1 (#56149) »: https://git.io/fhAkP
<mekeor> i use nix on mac. when i do "man tail", e.g., the BSD manual page is displayed. how to fix this?
<illegalprime> mekeor: don't know don't have a mac, -but- is man installed from nix or from your mac?
<mekeor> illegalprime: $ which man # /Users/username/.nix-profile/bin/man
<illegalprime> re: buildRustPackage workflow, I've made a issue https://github.com/NixOS/nixpkgs/issues/56544 but I feel like I'm just missing something
<{^_^}> #56544 (by illegalprime, 2 minutes ago, open): Rust: cannot build multi-crate packages
<jevonearth> ddellacosta; yes I have seen that. I'm trying bumblebee now. What mode/approach are you using?
<mekeor> illegalprime: i.e. i did 'nix-env -i man' at some point and i'm using that man binary from nix
<ddellacosta> jevonearth: so I had just the intel i915 driver for a bit, but went back to nvidia only just because I don't care as much about battery life, I mostly use mine at home
<illegalprime> mekeor: not sure then, i'm sorry!
<ddellacosta> jevonearth: I'm happy to share my config if it'd help
<jevonearth> ddellacosta, that would be great! I also don't give a hoot about battery, perfer to run hot and fast :)
<drakonis1> what's the current optimal approach to use different channels?
<mekeor> mekeor: when i do 'export MANPATH=$HOME/.nix-profile/share/man', and run 'man tail', i get: 'Cannot open the message catalog "man" for locale "de_CH.UTF-8" (NLSPATH="<none>") No manual entry for tail'
<drakonis1> there's half a dozen ways to do that but i can't figure out which one is best
scientist has joined #nixos
<jasongrossman> mekeor: That's what I'd expect, because man is finding MacOS man pages (many of which are BSD man pages). I haven't tried this, but you should be able to fix the problem by changing the order of entries in MANPATH.
<mekeor> drakonis1: where do you wanna use the different channels? you can just install several channels with nix-channel
<scientist> does anyone here understand xkb really well ?
<infinisil> scientist: I kinda do
<ddellacosta> jevonearth: I think that's all the relevant bits
<drakonis1> now that's the thing, nix-channel exists but its messy
<simpson> scientist: Kind of, but not to the degree necessary to answer the questions that you've half-asked in various channels recently. Do you have a more precise question?
Mateon3 has joined #nixos
<infinisil> scientist: I also mostly wrote this wiki page: https://nixos.wiki/wiki/Keyboard_Layout_Customization
<ddellacosta> jevonearth: keep in mind I've left in all the intel config too, it's just commented out
<{^_^}> [nixpkgs] @dotlambda pushed to master « papis: 0.8.1 -> 0.8.2 »: https://git.io/fhAk5
<{^_^}> [nixpkgs] @xeji pushed commit from @johanot to release-19.03 « kubernetes: 1.13.3 -> 1.13.4 (#56524) »: https://git.io/fhAkd
<ddellacosta> one of these days I'm going to actually commit my nix config and put it up on a public repo...
<infinisil> ddellacosta: What's keeping you from doing that?
<scientist> https://hastebin.com/icitadafiq.xml , I am trying to create a my own custom keyboard layout, but the instructions on how to do this in nixos are very complicated
<mekeor> jasongrossman: but 'tail' is also part of coreutils... ah, maybe the problem is that i didn't nix-env -i coreutils... lets see :D
Mateon1 has quit [Ping timeout: 255 seconds]
Mateon3 is now known as Mateon1
<{^_^}> [nixpkgs] @xeji closed pull request #56543 → kubernetes: 1.13.3 -> 1.13.4 → https://git.io/fhAku
<ddellacosta> infinisil: pathological perfectionism, which I will eventually win against, but not as of yet...
<mekeor> mekeor: 'nix-env -i coreutils' didn't help
<jasongrossman> mekeor: Damn.
<scientist> if you guys know someone that could help me with this let me know, thanks
<infinisil> ddellacosta: I don't think anybody out there has a perfect configuration, mine is mostly really messy and bloated :P (this is it btw: https://github.com/Infinisil/system)
<ottidmes> drakonis1: optimal depends on your use case, but what has been working well for me for the last few years, is to manage my own nixpkgs checkout based on the nixpkgs-channels repo, for which I have an added git worktree for the nixos-unstable branch, which I include via an overlay, works really well for my usage
<jasongrossman> mekeor: You could try asking in the Nix reddit group or on discord, or wait for Nix Darwin users to turn up here and ask again. Or I think there's a freenode channel for Nix on Darwin.
<mekeor> jasongrossman: does 'tail' have a man page from nix on your system?
<gchristensen> #nix-darwin
<scientist> ?
<jasongrossman> mekeor: I'm not on Darwin/MacOS. (But yes it does.)
<ddellacosta> infinisil: see, you're trying to use facts and wisdom to help me change my behavior
<infinisil> scientist: Run the command `setxkbmap -print > layout.xkb` then check out what the layout.xkb file looks like
<mekeor> jasongrossman: ok, and r u on nixos?
<jasongrossman> mekeor: Yes.
<ddellacosta> infinisil: my demons are immune to such things
<infinisil> ddellacosta: Hehe
<ddellacosta> but seriously, will get it up soon, almost there :-p
<mekeor> ok hehe :)
<infinisil> soon (tm)
<ddellacosta> heh
semilattice has quit [Ping timeout: 246 seconds]
xeji has quit [Quit: WeeChat 2.2]
_kwstas has quit [Quit: _kwstas]
<{^_^}> [nixpkgs] @acyuta108 opened pull request #56545 → Proposal to changes in contribution guidelines for custom nixpkgs → https://git.io/fhAIe
<infinisil> scientist: Got it?
doyougnu has quit [Ping timeout: 244 seconds]
<scientist> infinisil ok
<infinisil> scientist: Notice how it has an xkb_symbols section, like the one you have in your hastebin
<mekeor> nix on darwin is a bit of a pain. still better than darwin without nix though. i just love nixos. thank y'all, adios <3
<infinisil> scientist: You want to replace that section with yours
<hyperfekt> how do i build a package without forking nixpkgs or adding ? import <nixpkgs> {} to the default.nix again?
mekeor has quit [Quit: digital revolution = cryptoanarchism + cybercommunism]
<jasongrossman> bye mekeor
<infinisil> hyperfekt: What default.nix?
<scientist> infinisil: ok, I'll give it a try, i'll let you know how it goes
semilattice has joined #nixos
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<hyperfekt> infinisil: The one of my package. I'm trying to package something outside of nixpkgs
arjen-jonathan has quit [Ping timeout: 252 seconds]
<hyperfekt> but i do want to use nixpkgs' stdenv
<infinisil> hyperfekt: Why not just `{ pkgs ? import <nixpkgs> {} }: ...`?
Philonous has quit [Quit: ZNC - http://znc.in]
<jevonearth> ddellacosta: thanks. Not working here, but I'm still fiddling with it. I'm curious, do you import `<nixos-hardware/lenovo/thinkpad/x1/6th-gen>` ? Or do you have any other thinkpad x1e stuff in your config?
Philonous has joined #nixos
<hyperfekt> infinisil: Then I can't use the same format as in nixpkgs of adding dependencies to the formal parameters.
<ddellacosta> jevonearth: oh that's too bad, but maybe still helpful for figuring things out. No, I don't have that as far as I know, you mean in main /etc/nixos/configuration.nix (or included somehow)?
<ddellacosta> I don't think I have any thinkpad-specific config here, in terms of having that kind of name, now that you mention it
<infinisil> hyperfekt: Ah, then you want to define your package in a separate foo.nix with the nixpkgs structure (`{ stdenv, fetchFromGitHub, }: ...`), and use `{ pkgs ? import <nixpkgs> {} }: pkgs.callPackage ./foo.nix {}` in your default.nix
<hyperfekt> I see. So there isn't a nix-build invocation that will do the equivalent of callPackage?
<jevonearth> ddellacosta, I have it imported in my /etc/nixos/configuration.nix I'm not sure if it makes a difference. I must remove it and see if there's a difference.
<scientist> infinisil: https://hastebin.com/ejaqasevoj.xml , ok will this work ?
<ddellacosta> jevonearth: btw one thing that I found helpful was enabling services.xserver.exportConfiguration, it was just nice being able to find that file easily to review what nix was generating
<infinisil> scientist: Probably, use `xkbcomp layout.xkb $DISPLAY` to load it
<ddellacosta> ymmv
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fa20f98571c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
scientist has quit [Quit: WeeChat 2.2]
scientist has joined #nixos
Erasmus has quit [Read error: Connection reset by peer]
janneke_ has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
janneke has quit [Ping timeout: 250 seconds]
<scientist> infinisil: I tried to load it but it jacked up my keyboard, https://hastebin.com/vubonunoda.rb
<infinisil> scientist: You can ignore the warnings, what does jacked up mean?
<scientist> infinisil: backspace and enter stopped working so I had to reboot mt system.
<scientist> typo: mt is my
<infinisil> Well then your xkb symbol section has a mistake in it
janneke_ is now known as janneke
<yl> I'm moving my stable from 18.09 to 19.04. The funny thing is that there's exactly 10,000 commits in the commit range!! https://github.com/NixOS/nixpkgs-channels/compare/aabc61049c011b40ef15c354d7d84c840d6b6a6d...07e2b59812de95deeedde95fb6ba22d581d12fbc
<yl> amazing work everyone!!
<infinisil> \o/
<hyperfekt> wow!
<infinisil> scientist: Ah, I guess you didn't load any default keys, I'm taking a look
<hyperfekt> yl: don't call it stable tho, i broke it just yesterday :b
fendor_ has joined #nixos
<yl> hyperfekt: good point! it's just on my side, I do my own testing before considering stable, for one, it's breaking the build on all of my machines: https://github.com/kalbasit/shabka/pull/187
<{^_^}> kalbasit/shabka#187 (by kalbasit, 20 minutes ago, open): external/nixpkgs-stable: move to NixOS 19.03
orivej has quit [Ping timeout: 255 seconds]
<hyperfekt> infinisil: i figured out why i couldn't just use ' nix-build "with import <nixpkgs> {}; callPackage ./default.nix {}" '. I only added a pname attribute so the derivation name was empty D':
<yl> it's probably some dumb overlay that I have interfering with it
clever_ has joined #nixos
clever_ has quit [Changing host]
<yl> hmmm, I guess cachix is broken for me: cannot build derivation '/nix/store/dbqqyyjj82hynd3jzlbkngs7msa8v4kd-cachix-0.1.3.drv': 1 dependencies couldn't be built
clever_ is now known as clever
<hyperfekt> yl: damn that's a cool setup. one day ill have ci for my configuration, too
<infinisil> scientist: Ah, the first line in https://hastebin.com/icitadafiq.xml also belongs to the xkb_symbols section, apparently
fendor has quit [Ping timeout: 255 seconds]
<yl> hyperfekt: it's not as cool as I wanted to be yet, I want hydra cluster instead of CircleCI. I can't do nix-build there so I just do nix-instantiate instead
<yl> I kept getting my builds killed with nix-build :)
fendor_ has quit [Remote host closed the connection]
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @polynomial opened pull request #56546 → nginx: add http subs filter module → https://git.io/fhAIG
<samrose> if I have a configuration file that I want a systemd service to run, and I am going to fetchurl it, and would like to link it in /run/current-system/sw somewhere, what is a good practice way of doing this/
<scientist> infinisil: default partial alphanumeric_keys modifier_keys , so I need to move this ?
<hyperfekt> yl: i guess you'd call out to hydra via webhooks from github or something?
<infinisil> scientist: Yes
<yl> hyperfekt: yea. I started installing it on Zeus (That's my server) the other day, but I'm lacking time to finish it.
<aanderse> any advice on single hard drive encryption which causes me the least amount of effort? (least amount of effort = easy to setup, won't break, minimum amount of password typing, etc...)
<yl> hyperfekt: I also need to learn how to use Hydra
rfold has quit [Quit: leaving]
<scientist> infinisil: ehere
<scientist> infinisil: where ?
<infinisil> yl: hyperfekt: What's the point of a CI if you can just run it yourself? I mean you're the only person using it
<infinisil> scientist: In the xkb file
<hyperfekt> yl: my next project is doing remote builds on a 32 core ec2 spot instance
<infinisil> To* the xkb file
wfranzini has quit [Remote host closed the connection]
<scientist> infinisil: ok i'll make the changes then show you
wfranzini has joined #nixos
luigy has joined #nixos
<matix> aanderse: did you try good old cryptsetup/LUKS on everything except /boot?
<drakonis1> ottidmes: that's exactly want i want to do and i need some advice on it
jb55 has quit [Ping timeout: 245 seconds]
<drakonis1> as i'd like to update a bunch of outdated things
<ddellacosta> aanderse: it's still beta-ish but I found zfs+encryption pretty easy to set up: https://nixos.wiki/wiki/NixOS_on_ZFS#Encrypted_ZFS
<aanderse> matix: have not tried anything. ever. (regarding encryption on hard drive)
<hyperfekt> ok so i got the build of my package to start but i put src = ./. and the only file in the build environment is env-vars instead of the ones in the same folder as the default.nix?
fendor_ has quit [Ping timeout: 250 seconds]
<clever> hyperfekt: can you pastebin your default.nix?
<aanderse> i just found out my work laptop doesn't encrypt at the bios level or whatever, so when i install nixos on it i'll have to take care of that myself (boo)
<aanderse> right now it uses mcafee encryption and the only password i have to type in is the windows login
<aanderse> so it wins points on convenience
<hyperfekt> clever: https://git.io/fhAI4
<mudri> Does anyone know about getting gsettings schemas set up for NixOS modules? `ibus-table` updated recently to use gsettings, and it always errors out because it can't find its settings.
<clever> hyperfekt: unpackPhase is what is responsible for copying src to the current directory
<clever> hyperfekt: youve set it to "true", so it will never copy src in
<mudri> An actual error message: `(ibus-setup-table:7326): GLib-GIO-ERROR **: 21:45:05.878: Settings schema 'org.freedesktop.ibus.engine.table' is not installed`
doyougnu has joined #nixos
<hyperfekt> clever: i see, so i do cp src/* . or something like that i guess
<matix> aanderse: if you're the only user of the machine you could just set up autologin in which case the only password you'd need to type is the disk encryption pass
Erasmus has joined #nixos
<clever> hyperfekt: just delete your unpackPhase line
<scientist> infinisil: https://hastebin.com/dehivadiza.xml , here is the change
<aanderse> matix: good suggestion. i could still setup autolock on idle for 10+ minutes or whatever.
ixxie has quit [Ping timeout: 240 seconds]
<matix> aanderse: yeah, and definitely require pass for sudo
<aanderse> matix: mhm :)
<aanderse> ddellacosta: i notice i have to set boot.zfs.enableUnstable = true; should unstable concern me?
o1lo01ol1o has quit [Remote host closed the connection]
ashgillman has joined #nixos
<hyperfekt> clever: oh, in hindsight that's obviously right
<hyperfekt> clever++
<{^_^}> clever's karma got increased to 106
scientist has quit [Quit: WeeChat 2.2]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/060bcd6df50 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
gillmanash has joined #nixos
scientist has joined #nixos
matix has quit [Quit: :q!]
<ddellacosta> aanderse: I don't think so,no
<gillmanash> Is it usual for a lot of packages (e.g., qt at the moment) to build, not cache, on nixos-unstable?
<scientist> https://hastebin.com/dehivadiza.xml https://hastebin.com/vubonunoda.rb , trying to createa custom keyboard layout but I keey getting this error any tips ?
<scientist> ?
ashgillman has quit [Client Quit]
<gillmanash> I moved at some point from stable channels to unstable, but I find that almost every time I upgrade anything I have to build a lot of packages, not download a cache
doyougnu has quit [Quit: WeeChat 2.2]
<simpson> gillmanash: Yes, it's common to have to build stuff from unstable.
<averell> qt build takes ages, so it's probably not done if you update a lot
<gillmanash> simpson: thanks, I might have to look at going back
vk3wtf has quit [Ping timeout: 258 seconds]
<gillmanash> averell: right.. I was worried I was lagging to far so I have been updating a lot hoping to get the current caches
<simpson> gillmanash: Is building stuff a problem?
<gillmanash> averell: I thought the unstable channel only updated once the cache was up-to-date
<aanderse> ddellacosta: ok cool, i'll give that a try, thanks!
<averell> ah, by channel. i was thinking building from master for some reason
<gillmanash> simpson: just too slow for me
<scientist> https://hastebin.com/dehivadiza.xml , what am I missing guys ?
<averell> do you have any overrides that could be dependencies?
<averell> or configuration changes
o1lo01ol1o has joined #nixos
<simpson> gillmanash: Oh. I'm sorry that you've been misled; NixOS is not a binary-package distro, but a build-from-source distro. NixOS might not be for you.
<infinisil> scientist: Try adding `include "pc+us+inet(evdev)+capslock(backspace)"` on line 7
<infinisil> scientist: Without a semicolon at the end
<infinisil> scientist: If you want help, and I'm helping you, reply to me instead of just asking again
<infinisil> Otherwise I won't help you anymore
<averell> hmm. i get most of my caches from the cache. it's not as bad as gentoo or something.
<averell> most of my packages*
<mudri> scientist: I was going to say, yeah, you probably want to inherit from an existing layout.
<gillmanash> simpson: Its been good previously with the binary cache
<simpson> gillmanash: You have gotten lucky.
jevonearth has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
talqu_ has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
gudea[m] has joined #nixos
<scientist> infinisil: thanks brother, i'll give that a try
<gillmanash> averell: I have some overrides but only high level, but not for dependencies I'm building currently
<gillmanash> simpson: So will it be better if I drop back to Jellyfish?
<scientist> mudri: that's what i'm trying to do, my custom keyboard layout works in ubuntu
<simpson> gillmanash: I don't know what Jellyfish is, sorry. I don't know what's better for you; IMO Nix is better than binary-only package managers, but I also came from Gentoo and don't think that compiling from source is bad.
<avn> scientist: I gave you a top example, pick few items to combine with your addition ;)
<gillmanash> simpson: 18.09 stable sorry.
<scientist> avn: ok
<averell> if you're on a stable channel and don't change the dependency input to the packages in some way then most of the time you should get binaries.
<simpson> gillmanash: Oh. Being on a stable release doesn't mean that you won't compile stuff. What matters to you is likelier stuff like how stale the cache is: http://howoldis.herokuapp.com/
<mudri> scientist: My feeling is that xkbcomp is really shaky, and building your new layout into the system works out nicer. That's what I do, and I could dig out my config files if you want.
<scientist> infinisil: https://hastebin.com/efecesoyic.xml , I added your change to line 8
<infinisil> scientist: Without the `
ixxie has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
jackdk has joined #nixos
<infinisil> scientist: And then test it with `xkbcomp layout.xkb $DISPLAY && sleep 10 && setxkbmap us` (will automatically switch back to us layout after 10 seconds)
<scientist> mudri: well how did you do it, and yes I would like to see your config files, thanks
<scientist> infinisil: ok
<scientist> infinisil: give me a sec then i'll show you my results
<infinisil> mudri: I'm currently reviewing #47764, you're probably doing something like that
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47764 (by rnhmjoj, 21 weeks ago, open): nixos/xserver: add option to install custom xkb layouts
jb55 has joined #nixos
<infinisil> But you'll still need to specify your layout with an xkb description, can't get around that
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #56547 → gdk-pixbuf: 2.38.0 -> 2.38.1 → https://git.io/fhAIh
<infinisil> mudri: Oh, regarding my comment on that PR, I bet I need a symbols only file
ij has joined #nixos
<Mic92> hyper_ch: sorry, no
<Mic92> better to put my name into the response. then it goes into my highlight buffer.
mobile_c has joined #nixos
work_ has joined #nixos
<mudri> infinisil: Ooh, that looks interesting. I probably am doing something like that, yeah.
<gillmanash> simpson: thanks, good link
ij has quit [Ping timeout: 250 seconds]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
ng0 has joined #nixos
<badmutex[m]> hi folks. just want to say I really appreciate the function docs in the nixpkgs manual. thank you for all the work that has gone into them
<samrose> how do folks typically go about linking a file in mkDerivation from it's `/nix/store` location, to a symlink in /run/current-system/sw/ ?
<mudri> scientist: It turns out that the config I have is rather complicated, and waiting for the PR infinisil mentions is probably better (using xkbcomp for the time being).
<mudri> infinisil: What do you mean by “a symbols only file”?
<scientist> mudri: Ok thanks, I think I am make progress, i'll get my custom keyboard layout eventually
<infinisil> scientist: Huh, I can't reproduce that error, where did you get xkbcomp from? What NixOS system are you running?
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.elementary-code: use C.UTF-8 »: https://git.io/fhALL
<infinisil> It's looking better though
<{^_^}> [nixpkgs] @dtzWill opened pull request #56548 → clipgrab: 3.7.2 -> 3.8.2, qt4 -> qt5 → https://git.io/fhALt
<scientist> infinisil: I think nixos 18.09 , I just installed it 3 days ago, so this is working on your system ?
<infinisil> It is
<infinisil> scientist: What's the output of `realpath $(which xkbcomp)`
<infinisil> mudri: Like only an xkb_symbols section
<scientist> infinisil: I did nix-env -i xkbcomp , ok let me try your realpath command
o1lo01ol1o has quit [Remote host closed the connection]
<scientist> infinisil: https://hastebin.com/enajozagem.rb
<scientist> infinisil: I wonder why it works in your system and not in mine
o1lo01ol1o has joined #nixos
<infinisil> scientist: Huh, so apparently the 18.09 version of xkbcomp doesn't work with that, but the latest version work
<infinisil> s
<mudri> infinisil: Ah, yep. Looking at the code, it just gets dumped into the symbols/ directory, so it needs to be something that'd fit there.
semilattice has quit [Ping timeout: 258 seconds]
<mudri> I forgot/never knew that you could have a file where the symbols bit is just a section.
<infinisil> scientist: As a quick fix, you should be able to remove `inet(evdev)+` from the include line, does it work if you do that?
<scientist> infinisil: ok give me a sec
<mudri> Maybe, then, the option should be called `symbolsFile`, in case anyone ever wants to make the other things customisable in the future.
<infinisil> mudri: Are you laMudri on github?
<mudri> infinisil: yep
<infinisil> Alright but I'm out of time for today
<infinisil> scientist: Once you have it working, refer to https://nixos.wiki/wiki/Keyboard_Layout_Customization#Advanced to get it to load properly on startup (that's the best we can do right now, without hacky stuff)
alex`` has quit [Quit: WeeChat 2.4]
ixxie has quit [Ping timeout: 245 seconds]
<scientist> infinisil: hold on one sec i'll update you in a bit
johanot has quit [Quit: WeeChat 2.2]
Guanin has joined #nixos
riuga has joined #nixos
<elvishjerricco> How should I override the ExecStart of a service file provided by the systemd package?
tdbgamer has joined #nixos
riuga has quit [Client Quit]
justanotheruser has joined #nixos
sigmundv has quit [Ping timeout: 250 seconds]
<scientist> infinisil: https://hastebin.com/uwubapazaq.xml https://hastebin.com/opidojirib.rb i got some errors thrown, but it seems to be working, thanks, i'm typing really slow because, this is my first time using this layout, thanks again
Erasmus has quit [Quit: END-AUMF]
<infinisil> :)
<talqu> https://pastebin.com/vq9XsCRq, addbuildtools is function which take a derivation and a list of 'extra' packages as i understand from this snippet. The hoogle part is confusing, shouldn't generate hoogle docs be available only on the package defined below, and not on Snap, which comes from the derivation in default.nix?
<scientist> infinisil: thanks again :)
<elvishjerricco> talqu: I'm having trouble parsing your question. What exactly are you trying to accomplish?
oida has quit [Remote host closed the connection]
<talqu> elvishjerricco, sorry :), I want to understand what exactly happens on the line 8, where i use ghcWithHoogle. My purpose in general was to have a shell.nix which depends on everything default.nix does + plus whatever i put on after line 8
mek42_laptop has joined #nixos
<talqu> what i don't understand is once in shell i can run hoogle server and query Snap types
<talqu> shouldn't i only be able to query package defined after the line 8?
sigmundv has joined #nixos
<mek42_laptop> New laptop arrived today! Does the live NixOS have zfs support?
<elvishjerricco> mek42_laptop: As of 18.09, I believe so. But it can be manually added to earlier versions easily
rpg has joined #nixos
<elvishjerricco> talqu: I don't think addBuildTools is what you want for that
scientist has quit [Quit: WeeChat 2.2]
<elvishjerricco> talqu: The `env` nix-shell is going to provide a GHC of its own, which may or may not override the one you add there
<elvishjerricco> talqu: You could use `shellFor`
<mek42_laptop> elvishjerricco, 18.09 is what I'm downloading, tyvm - now, the big question is am I smart enough for NixOS or will I need to slink back to Gentoo :)
<elvishjerricco> `haskellPackages.shellFor { packages = p: [(haskellPackages.callPackage ./default.nix {})]; withHoogle = true; }`
<{^_^}> [nixpkgs] @Infinisil opened pull request #56550 → nixos/xserver: Point to man page for options available in monitorConfig → https://git.io/fhAL5
<elvishjerricco> talqu: ^
sondr3 has quit [Read error: Connection reset by peer]
<elvishjerricco> mek42_laptop: If you're smart enough for Gentoo, you'll probably be fine with NixOS :P
xkapastel has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<mek42_laptop> I hope so, but part of the reason I'm checking NixOS out is that I'm not smart enough to sort out a couple months of not upgrading packages
<talqu> elvishjerricco, and how would you add extra packages in your shell.nix?
<elvishjerricco> mek42_laptop: Hm, I've never used Gentoo so I can't say how they compare. But I will say I've found updates to be very pleasant with NixOS
scientist has joined #nixos
<mudri> scientist: Just curious: how do you have a 101-key keyboard? No win key, &c?
<elvishjerricco> talqu: shellFor can take any stdenv.mkDerivation arguments, so you can add a `nativeBuildInputs = [ghcid];` argument
o1lo01ol1o has joined #nixos
eadwu has joined #nixos
sondr3 has joined #nixos
<mek42_laptop> do people have opinions on what packages should be declared as root vs installed as a user?
eadwu has quit [Client Quit]
<clever> elvishjerricco: ^^^
<elvishjerricco> mek42_laptop: I pretty much just always install stuff globally.
<clever> elvishjerricco: you can use overrideAttrs on .env
<elvishjerricco> talqu: That can work too. Should have an identical effect, since they'd both result in just changing the args to stdenv.mkDerivation in shellFor (now that env is based on shellFor)
Guanin has quit [Remote host closed the connection]
<scientist> mudri: I don't know, the keyboard seems to working but some of the key positions are in different positions than my layout states and the other keys don't do anything when I press them. I am just glad I got something to work, I think I just need to fix the errors then add some things to the nix.configuration file to make the custom keyboard layout permanent
eadwu has joined #nixos
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @petrkr opened pull request #56551 → Trezor luks → https://git.io/fhALh
<talqu> elvishjerricco, nice, very nice solutoin
<talqu> thanks
<scientist> infinisil: I think I need to add a few more things to the layout to get it to work properly then add a few more things to nix.configuration to connect it and make it permanent, i'm not sure though
eadwu has quit [Client Quit]