samueldr changed the topic of #nixos to: NixCon 2018 - 25-27 Oct In London https://nixcon2018.org/ || 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
jperras has quit [Ping timeout: 252 seconds]
<elvishjerricco> SSH can be used to allow only certain commands, right? How would you set up a user that can only be SSH'd for remote nix building?
<clever> elvishjerricco: one sec
jperras has joined #nixos
<elvishjerricco> clever: Hm. I thought the authorized key syntax just refused connections attempting a different command. Does it actually just force the specified command to be run instead of whatever the client wanted?
<clever> elvishjerricco: it forces it to run the specified command, and ignores the command the client requested
<clever> so the user can wind up with a serve protocol on their shell
jasongrossman has joined #nixos
<elvishjerricco> clever: Ah. And both Hydra and vanilla Nix expect essentially nix-store --serve --write?
<elvishjerricco> What about with --store ssh(-ng)://... ?
jperras has quit [Ping timeout: 252 seconds]
<clever> ssh-ng appears to use nix-daemon --stdio
<clever> which i'm guessing is just the unix socket it used locally, but over ssh
<clever> line 101 of https://github.com/NixOS/nix/blob/master/src/libstore/ssh.cc is where it forms the connection, but its not clear
<elvishjerricco> clever: Hm. The legacy one appears to use nix-store --serve though, at least. So I guess you can't support both Hydra and --store ssh-ng://
<clever> ah, line 54 makes more ssh sessions
<clever> oh, ssh.cc is the backend of ssh-store.cc, lol
<clever> this one uses --serve
jperras has joined #nixos
jperras has quit [Ping timeout: 268 seconds]
oldandwise has joined #nixos
<oldandwise> i cloned nixpkgs. What's the right step to have my 'master' and 'release-18.09' branch in sync to upstream? I tried rebase/fetch/etc, and am getting conflicts.
o1lo01ol1o has joined #nixos
<clever> oldandwise: the trick is to never make commits on master or release, only ever make commits on your own branches
<clever> oldandwise: you can use `git reset --hard remotes/origin/master` to forcibly set the current branch to the upstream master, and skip the merge mess (and drop any changes you have locally)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxiEq
Thra11 has quit [Quit: WeeChat 1.4]
jperras has joined #nixos
<{^_^}> [nixpkgs] @veprbl closed pull request #48833 → arrow-cpp: disable zstd → https://git.io/fxieU
<oldandwise> in the github webpage, my clone is 15 commits ahead of NixOs:release-18.09
<clever> oldandwise: gitk can also help to visualize what is happening
<clever> > pkgs.gitAndTools.gitFull
<{^_^}> "<derivation /nix/store/pg0lx0ww9y5ylqqplqh5hml6wfidn5km-git-2.18.0.drv>"
<clever> thats where you can find the gitk binary
suzu has joined #nixos
<suzu> hey all. is there an idiom for running a script upon exit from a nix-shell?
<suzu> i wish to do a setup/teardown when entering/exiting a nix-shell
<clever> suzu: you could maybe use `trap EXIT` in bash, from the shellHook
<suzu> is that a robust method of doing this?
<clever> i think it is
<elvishjerricco> suzu: I would almost always recommend against practice like that though
<elvishjerricco> The environment should not be an imperative machine
<clever> it makes it very difficult to open 2 shells to the same package
Rusty1 has joined #nixos
<suzu> ah yeah that is true
<suzu> so what i'm really trying to do here is: start postgres and create a database that the app under development would like to use
<clever> the QT stuff in nixpkgs for example, creates state in the current dir, that breaks a 2nd nix-shell run
<suzu> and i don't know how to do this elegantly
<elvishjerricco> suzu: Yea I'd just write a script
<elvishjerricco> nix-shell doesn't have to be the magic tool that solves all the problems. You can just do `nix-shell --run ./my-env`
<suzu> so this behaviour doesn't belong in the nix, but rather as a script to be invoked manually during dev?
<ivegotasthma> any clue why I cannot move my mouse cursor in a qemu virtualized nix? I installed xinit, xauth and i3, started X and the mouse is unresponsive.
<suzu> i suppose that is fine
<elvishjerricco> Generally that's my attitude
jperras has quit [Ping timeout: 252 seconds]
Lisanna has quit [Quit: Lisanna]
<suzu> ok. ill do that then
jperras has joined #nixos
aleph- has joined #nixos
Lisanna has joined #nixos
Lisanna has quit [Client Quit]
<pbogdan> what's the correct usage of haskell's infra linkWithGold? do I need to somehow pass it some additional deps as I seem to be getting link time errors?
Lisanna has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
mayhewluke has joined #nixos
oldandwise has quit [Quit: leaving]
silver has quit [Read error: Connection reset by peer]
sigmundv__ has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eadwu opened pull request #48849 → vscode-extensions.ms-python.python: 2018.8.0 -> 2018.9.1 → https://git.io/fxigU
<{^_^}> [nixpkgs] @eadwu opened pull request #48850 → vscode-extensions.ms-vscode.cpptools: update build → https://git.io/fxigI
lassulus_ has joined #nixos
lassulus has quit [Ping timeout: 264 seconds]
lassulus_ is now known as lassulus
<drakonis> so, how's developing rust on nix?
astronavt has quit [Quit: Leaving]
astronavt has joined #nixos
astronavt has quit [Remote host closed the connection]
Dedalo has quit [Ping timeout: 240 seconds]
<pbogdan> any ideas why I might be getting errors like this https://gist.github.com/pbogdan/0cf0ea01907c0762da9097007586785e ?
<ekleog> drakonis: great :)
<drakonis> any suggestion for editors?
<ekleog> vim / emacs ? :D but that's only me
<drakonis> which one of them lets me run carnix with the touch of a button V:?
<Ralith> drakonis: I use https://github.com/mozilla/nixpkgs-mozilla for the toolchain itself, and the standard rust workflow for development
<Ralith> I'm not sure it's a good idea to rely on carnix at the moment
<drakonis> ah okay
<drakonis> so cargo run functions correctly?
<elvishjerricco> pbogdan: Sorry, no idea. Could you pastebin some code so I can determine whether this should be an open issue on nixpkgs?
zolk3ri has quit [Quit: Lost terminal]
<Ralith> drakonis: cargo is designed to work in $HOME so it's pretty indifferent; you will need to write a shell expression if you want to build packages with foreign deps, of course
<drakonis> fair
<{^_^}> [nixpkgs] @eadwu opened pull request #48851 → networkmanager: include option for iwd backend → https://git.io/fxi2V
<drakonis> what is foreign deps in this case?
<pbogdan> elvishjerricco: thank you, it's probably a user error :), I'm trying to build nix-build -I nixpkgs=. -E "with (import <nixpkgs> {}); haskell.lib.linkWithGold haskellPackages.servant"
<clever> pbogdan: you can also `with import ./. {};` and ignore `-I nixpkgs=.`
<elvishjerricco> pbogdan: Hm. I *think* linkWithGold is only supposed to be used on executable packages, not libs. Not sure on that. Regardless, I'd definitely expect that not to crash, so it's worth opening an issue (cc me so I can take a deeper look in the morning)
<ekleog> drakonis: only issue with cargo is foreign deps indeed
<ekleog> you can look at https://github.com/nixos/ofborg for a setup using carnix to handle them
Supersonic has quit [Ping timeout: 260 seconds]
<ekleog> but ISTR just entering a nix-shell with the dependency was enough to get cargo to accept it… not sure, though, it's been quite a while
<drakonis> what do you refer to as foreign deps ekleog?
<ekleog> drakonis: things like depending on openssl
<Ralith> ekleog: a shell works fine, yes
<drakonis> ah, so linking to C libraries
<ekleog> same as Ralith basically :p
<drakonis> i see
<ekleog> Ralith: 'k cool :)
<drakonis> i'm not ready to do these things yet
<Ralith> drakonis: foreign deps are deps not written in rust
<drakonis> ah!
<ekleog> so just `nix-shell -p openssl` is enough?
<ekleog> that's nice :D
<Ralith> ekleog: I don't think `nix-shell -p` gets you the setup hook, libs, headers, etc.
<drakonis> i do have to ask
* ekleog last tried like a year or so ago, remembered having issues but couldn't remember whether it worked
<drakonis> why isn't the nixos binary suite rolled into a single nixos file?
<ekleog> s/whether/how/
<drakonis> at least the environment management tools
<drakonis> environment management is kinda confusing sometimes
<ekleog> drakonis: because no one has done it :)
<drakonis> right!
<ekleog> (also… I personally use only nixos-rebuild, but I guess YMMV)
<drakonis> its because you also have to deal with channels
<drakonis> and those can get weird and buggy
<elvishjerricco> drakonis: I'm curious how channels are buggy.
<drakonis> i've run into a few instances of channels never updating
<Ralith> first I've ever heard of that
<drakonis> i had to add a user channel then remove it to allow me to use only root channels
<drakonis> otherwise it would never update
<clever> once you read the source for nix-env and nix-channel, channels are a lot more understandable
Supersonic has joined #nixos
<clever> but yeah, they do need better documentation
<pbogdan> elvishjerricco: yeah, not sure, I have super hacky overlay with lld as the default linker and servant builds fine
<elvishjerricco> pbogdan: <3 lld :P
<elvishjerricco> Yea I'd be interested in an issue on github about this, including both standard and LLD based expressions
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f80504e8fd6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<ekleog> clever: nix' ecosystem in one sentence
<clever> elvishjerricco: thats how the cardano stuff is using gold
<clever> i think its in the cabal file, so it can apply to executables but not libs
<elvishjerricco> clever: Ah. Hm, yea I guess the linker is used to relocate objects in GHC. Still any issue with that and linkWithGold sounds like a bug to me
o1lo01ol1o has joined #nixos
nckx has quit [Remote host closed the connection]
nckx has joined #nixos
astronavt has joined #nixos
astronavt has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
slack1256 has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
alhariel has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<drakonis> folks, etc.environment.<filename>.source allows me to pick where a file goes, right?
sir_guy_carleton has quit [Quit: WeeChat 2.2]
<clever> drakonis: it will create /etc/<filename> as a symlink to a /nix/store/ entry, which may be a copy of the file pointed to by source
dbmikus has joined #nixos
<clever> you can do etc.environment."nix/foo.conf".source to do subdirs
<drakonis> right, good to know
<clever> and .text if you just want the value in nix
o1lo01ol1o has quit [Ping timeout: 250 seconds]
* clever heads off to bed
<ekleog> 'night :)
<{^_^}> Night!
jperras has quit [Quit: WeeChat 2.2]
<hyper_ch> ha, I know how to make iotop crash
dbmikus has quit [Quit: WeeChat 2.3]
dbmikus has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
o1lo01ol1o has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
dbmikus has quit [Quit: WeeChat 2.3]
dbmikus has joined #nixos
dbmikus has quit [Client Quit]
dbmikus has joined #nixos
astronavt has joined #nixos
ryantm_ has quit [Ping timeout: 246 seconds]
<kalbasit[m]> anyone knows if it's possible to switch user through GDM from the command line? I'm on i3 not gnome
graphene has quit [Remote host closed the connection]
<kalbasit[m]> looks like lightdm can do that https://wiki.archlinux.org/index.php/LightDM
graphene has joined #nixos
ryantm has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
jtojnar has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
jonreeve has joined #nixos
<jonreeve> Why does nix-shell -p '(python36.withPackages (ps: with ps; [pandas spacy]))' not work, but nix-shell -p python36Packages.spacy python36Packages.pandas does?
<jonreeve> (They seem like equivalents to me)
o1lo01ol1o has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<aleph-> kalbasit[m]: Just switch to lightdm
<aleph-> There's an option for it
<kalbasit[m]> aleph-: yep, I'm doing that now
mayhewluke has quit [Ping timeout: 264 seconds]
mayhewluke has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
hamishmack has quit [Ping timeout: 264 seconds]
jonreeve has quit [Ping timeout: 252 seconds]
drakonis has quit [Quit: WeeChat 2.2]
Rusty1 has quit [Quit: Konversation terminated!]
jackdk has quit [Ping timeout: 244 seconds]
jasongrossman has quit [Ping timeout: 240 seconds]
oldandwise has joined #nixos
o1lo01ol1o has joined #nixos
hamishmack has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
oldandwise has quit [Quit: leaving]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @gityash01 opened pull request #48854 → Update README.md → https://git.io/fxiPP
<{^_^}> [nixpkgs] @gityash01 opened pull request #48854 → Update README.md → https://git.io/fxiPP
hyper_ch2 has joined #nixos
astronavt_ has joined #nixos
astronavt has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
catch22 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48855 → zimg: 2.7.5 -> 2.8 → https://git.io/fxi1e
<{^_^}> [hydra] @andir opened pull request #604 → allow users with 'restart-jobs' role to restart individual builds → https://git.io/fxi1Z
<{^_^}> [nixpkgs] @andir closed pull request #48473 → pythonPackages.paho-mqtt: 1.1 -> 1.4.0 → https://git.io/fxEPu
jasongrossman has joined #nixos
jasongrossman has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 1.9.1]
reinzelmann has joined #nixos
Travankor has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #48856 → snapcast: 0.14.0 -> 0.15.0 → https://git.io/fxi1F
Travankor has quit [Quit: Q]
Travankor has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
astronavt_ has quit [Ping timeout: 244 seconds]
brejoc has quit [Quit: Leaving]
Ariakenom has joined #nixos
alex`` has joined #nixos
v0|d has quit [Remote host closed the connection]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
Travankor has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @aither64 opened pull request #48857 → perlPackages.ClusterSSH: init at 4.13.2 → https://git.io/fxiDm
kimat has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
graphene has quit [Remote host closed the connection]
lonokhov has joined #nixos
Itkovian has joined #nixos
brodul has joined #nixos
srl295 has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos
kimat has quit [Quit: kimat]
o1lo01ol1o has joined #nixos
kimat has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #48858 → sequeler: 0.6.2 -> 0.6.3 → https://git.io/fxiSe
Tucky has joined #nixos
foldingcookie has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dywedir opened pull request #48859 → skim: 0.5.1 -> 0.5.2 → https://git.io/fxiSM
orivej has quit [Ping timeout: 245 seconds]
civodul has joined #nixos
<adamantium> Yo-- is there any advantage to using flatpak? noticed we have it now. Seems like, something nixos doesn't need though, likely?
<adamantium> Just wondering, maybe what the use case is
<srhb> adamantium: I know little about it, but I assume it's useful if you're distributing to non-Nix-systems.
<adamantium> Ah, that's true.
<adamantium> Cool
* adamantium isn't sure why one would want to use a non nix system ;)
<jasongrossman> adamantium: It's useful for running one or two things that have been ported to flatpak but haven't been ported to Nix ... actually I can't think of any examples now, but Skype used to be an example.
<adamantium> k
<adamantium> I think they sandbox apps in flatpak
<adamantium> We have firejail now though, so, meh?
<{^_^}> [nixpkgs] @nlewo merged pull request #48614 → kube-prompt: init at 1.0.4 → https://git.io/fxgFu
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fxi9A
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48860 → wavebox: 4.3.0 -> 4.4.0 → https://git.io/fxi9x
mmercier has joined #nixos
<adamantium> Hey, can i refer to sudo as ${pkgs.sudo}/bin/sudo ?
ThatDocsLady has joined #nixos
rprije has quit [Ping timeout: 240 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<srhb> adamantium: Yes.
<adamantium> ty, just checkin
<adamantium> usually i use pkg search to see, where something is categorized.
<srhb> ,locate bin sudo
<srhb> ^ is useful
<{^_^}> Found in packages: sudo
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<adamantium> K
<{^_^}> [nixpkgs] @lsix pushed 2 commits to release-18.09: https://git.io/fxiH6
goibhniu has joined #nixos
__monty__ has joined #nixos
hotfuzz has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
mayhewluke has joined #nixos
Guanin_ has joined #nixos
lopsided98 has quit [Ping timeout: 260 seconds]
lopsided98 has joined #nixos
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #48783 → redis: 4.0.11 -> 5.0.0 → https://git.io/fxKwn
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fxiQr
thc202 has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 pushed 3 commits to travis-test-build: https://git.io/fxiQF
<{^_^}> [nixos-hardware] @Mic92 opened pull request #82 → copy of #81 → https://git.io/fxiQj
phreedom has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48861 → vulkan-tools: 1.1.82.0 -> 1.1.85 → https://git.io/fxi71
Mikaela has left #nixos [#nixos]
ixxie has joined #nixos
sigmundv__ has joined #nixos
vk3wtf has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 pushed to travis-test-build « add grep/git for travis debugging »: https://git.io/fxids
<ixxie> howdy folks
<ixxie> anybody know how to set the default shell in home-manager
<ixxie> ?
<{^_^}> [nixos-hardware] @Mic92 pushed 3 commits to travis-test-build: https://git.io/fxidM
<srhb> ixxie: I don't think that's a property of home-manager at all.
<etu> ixxie: That's more a system level thing
sigmundv__ has quit [Ping timeout: 252 seconds]
<srhb> But you can probably rig it to spin up a different shell on top of your login shell. Probably better not to do that.
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ixxie> hmm
<{^_^}> [nixpkgs] @andir opened pull request #48862 → firefox{,bin}: 62.0.3 -> 63.0 & nss: 3.38-> 3.39 → https://git.io/fxiF8
<srhb> ixxie: (Your login shell is usually defined in /etc/passwd)
<ixxie> well this is on a centos machine
<ixxie> maybe I will just set the default for tmux
<ixxie> all the work I do on that machine is in tmux
<srhb> That'd work too.
vk3wtf has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48863 → units: 2.17 -> 2.18 → https://git.io/fxiFo
<ixxie> thanks
<{^_^}> [nixpkgs] @7c6f434c pushed to master « lrs: init at 7.0 »: https://git.io/fxiFd
CapsLock has joined #nixos
mbrock has joined #nixos
<CapsLock> Hi erveryone ; I have issues with insanely large controls in vlc and gimp (I'm using nixos 18.09) ; any idea to fix this ? https://framapic.org/OJ1ksp2SrPGk/ZdremuZVApuc.png https://framapic.org/rdU01quioAAR/GaIuGFtXctNN.png
<{^_^}> [nixpkgs] @Mic92 merged pull request #48859 → skim: 0.5.1 -> 0.5.2 → https://git.io/fxiSM
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxibY
<srhb> CapsLock: nvidia driver?
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #48855 → zimg: 2.7.5 -> 2.8 → https://git.io/fxi1e
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxibH
<mbrock> hmm, the Hydra job for release-18.09-aarch64 shows that the Linux kernel was successfully compiled on aarch64, but my Raspberry Pi still wants to build it from scratch...
<CapsLock> srhb: I'm using intel integrated gpu
sigmundv__ has joined #nixos
<srhb> CapsLock: Hum, okay.
<srhb> mbrock: Are you getting the same output hash?
<mbrock> srhb: ah, no, eh, not even the same kernel version :)
<srhb> mbrock: Presumably you're not on the same nixpkgs commit then.
<srhb> Or you have overlays overriding the kernel version. Or (...) :)
catch22 has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
jasongrossman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to master « visidata: init at 1.3.1 »: https://git.io/fxiNd
<mbrock> I'll just rollback. Xorg was acting really strangely on my RPi3B+, like I could only see the cursor and no text, xsetroot couldn't set colors, and if I started Xclock then the only effect was to turn the screen white
<srhb> That sounds like fun -- and also a thing that deserves a bug report?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #48808 → openal: 1.19.0 -> 1.19.1 → https://git.io/fx6JA
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxiAU
carlosdagos has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @peterhoeg merged pull request #47718 → firejail: override files should be in /etc/firejail → https://git.io/fxI6d
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fxiAo
Guanin_ is now known as Guanin
<{^_^}> [nixpkgs] @xeji merged pull request #48858 → sequeler: 0.6.2 -> 0.6.3 → https://git.io/fxiSe
<{^_^}> [nixpkgs] @xeji pushed commit from @etu to master « sequeler: 0.6.2 -> 0.6.3 (#48858) »: https://git.io/fxipn
xeji has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48865 → urh: 2.3.0 -> 2.4.0 → https://git.io/fxihr
o1lo01ol1o has quit [Ping timeout: 264 seconds]
hiroshi has quit [Ping timeout: 244 seconds]
aiowej has joined #nixos
<mg-> So, no that lightdm is the default, how do I configure light-locker to run?
TweyIV has joined #nixos
<mbrock> srhb: for posterity, I saw some journalctl logs about "failed to allocate from CMA", added boot.kernelParams = ["cma=256M"]; to my configuration.nix and now it works
<mbrock> some site on the internet had tricked me into believing I only needed 32M there, which I took on faith
<mbrock> maybe it depends on the display resolution
<srhb> mbrock: Cursed be those random internet sites and their poor advice. :-)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48866 → wireguard-tools: 0.0.20181007 -> 0.0.20181018 → https://git.io/fxij5
<aiowej> Hi everyone. I'm sorry for asking such a basic question - am having a hard time ddg-ing for this one, and also am finding nothing in the manual. I'm setting up our home desktop computers to use Nixos (using it on servers), and I am struggling to figure out how to create per-user configurations. When I log in on one account, I want Emacs and Qutebrowser available, but on another account I want LibreOffice, Firefox, and whatnot. So how
<aiowej> can you in Nixos set up per-user configurations.nix files? Or create a package somewhere? If so, is there anywhere an example of such a file to read for a lost soul like yours truly? Something like a per profile nix-shell.
<srhb> aiowej: There is not configuration.nix for anything but the system, however home-manager gets sort of close.
<srhb> aiowej: You can make as many packages and profiles as you like, however.
<srhb> aiowej: A simple way to approach this is to create a metapackage consisting of multiple packages that each user then installs into their respective user profiles.
<dmj`> where is tar
<srhb> ,locate bin tar
<{^_^}> Found in packages: gnutar, busybox
<dmj`> thanks srhb :)
<srhb> aiowej: https://nixos.org/nixpkgs/manual/#sec-building-environment here's an example of how to produce such a "metapackage"
<srhb> aiowej: Keeping nix-env usage to a minimum using eg. this method is a great way of keeping things declarative. Ie. have only that package installed for the respective user, modify it whenever you want to change the package set.
<Taneb> There's also "users.users.<name?>.packages"
<Taneb> If you want something more centeralized
<Taneb> (this goes in the configuration.nix but describes installed packages on a per-user level)
<ben> Where does it actually put the packages?
<Taneb> ben: what do you mean?
<{^_^}> [nixpkgs] @xeji merged pull request #48830 → [18.09] mu: fix build for `withMug = true` → https://git.io/fx65a
<{^_^}> [nixpkgs] @xeji pushed commit from @veprbl to release-18.09 « mu: fix build for `withMug = true` (#48830) »: https://git.io/fxPew
<ben> Does it arrange for packages to be eg. in the PATH for some users but not others?
<srhb> ben: Yes.
<srhb> ben: iirc it creates /etc/profiles/per-user/$user -- similar to your ~/.nix-profile
<aiowej> srhb: Aresome! github.com/rycee/home-manager I assume. Yes, keeping things declarative is the goal. I just don't have enough days on this earth to deal with systems amassing cruft. Thank you for replying, gonna get right on to it now!
<ben> interesting
<srhb> aiowej: That's the one. I definitely recommend home-manager.
<srhb> aiowej: Basic usage is trivial, and advanced usage means that you can manage eg. your dotfiles too, and cross reference values across them.
<srhb> aiowej: I'm sure you can imagine the benefits of that.
<{^_^}> [nixos-hardware] @Mic92 merged pull request #82 → copy of #81 → https://git.io/fxiQj
<{^_^}> [nixos-hardware] @Mic92 pushed 4 commits to master: https://git.io/fxPe9
<{^_^}> [nixos-hardware] @Mic92 pushed 0 commits to travis-test-build: https://git.io/fxPeH
<{^_^}> [nixos-hardware] @Mic92 closed pull request #81 → init dell xps 9370 → https://git.io/fxrcp
<{^_^}> [nixpkgs] @Mic92 merged pull request #48860 → wavebox: 4.3.0 -> 4.4.0 → https://git.io/fxi9x
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxPvv
<{^_^}> [nixpkgs] @Mic92 merged pull request #48821 → jackett: 0.10.304 -> 0.10.365 → https://git.io/fx6Ch
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fxPvI
<{^_^}> [nixpkgs] @Mic92 merged pull request #48822 → [18.09] jackett: 0.10.250 -> 0.10.365 → https://git.io/fx6Ws
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to release-18.09: https://git.io/fxPvY
<ekleog> srhb: I ask every user of home-mangaer I meet (hopefully not you yet?), but… how do you handle machines that don't and can't have nix installed? (eg. debian without root, userns disabled and a kernel too recent for proot to work correctly)
Mateon1 has quit [Ping timeout: 245 seconds]
<ekleog> is there a way to like build your dotfiles locally and then generate a script that deploys them on any machine?
<{^_^}> [nixpkgs] @bachp opened pull request #48867 → gitlab-runner: 11.3.1 -> 11.4.0 → https://git.io/fxPv6
<srhb> ekleog: You could absolutely just flatten the closure of your profile and transfer that over.
<srhb> ekleog: It sounds terrible though. *nix withot nix is just *. That's not restrictive enough to know anything about it!
<srhb> ekleog: Frankly I'd probably settle for something like stow for that.
<srhb> That's what I did before Nix, and some of my homedir is still not ported over.
<srhb> (I've been saying that for years... Time moves slowly when it comes to homedir fungus.)
Mateon2 has joined #nixos
ThatDocsLady has quit [Remote host closed the connection]
jasongrossman has joined #nixos
ThatDocsLady has joined #nixos
aiowej has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<ekleog> srhb: yeah, I've been oscillating between yadm and home-manager for like a year and a half, and having no dotfile manager in the meantime
<Mic92> ekleog: I use homeshick and bootstrap nix from there.
<Mic92> So I can always fallback to not having nix.
<ekleog> (I've burned down my custom-made deploy script a bit after that, too painful to maintain)
<ekleog> Mic92: hmm, so you deploy your dotfiles via homeshick… and then bootstrap a nix? but what's in the nix, then?
* ekleog has all user configuration in dotfiles
<Mic92> my packages
<Mic92> basically home-manager
<{^_^}> [nixpkgs] @Infinisil merged pull request #48661 → nvidia_x11: 390.87 -> 410.66 → https://git.io/fxVY5
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fxPJC
<{^_^}> [nixpkgs] @flosse opened pull request #48868 → featherpad: init at 0.9.1 → https://git.io/fxPJu
fendor has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #48832 → gocode: 2018-07-27 -> 2018-10-22 → https://git.io/fx6Nu
<{^_^}> [nixpkgs] @xeji pushed commit from @kalbasit to master « gocode: 2018-07-27 -> 2018-10-22 (#48832) »: https://git.io/fxPU2
zolk3ri has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #48815 → weechat: add perl.withPackages → https://git.io/fxPTm
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « weechat: add perl.withPackages (#48815) »: https://git.io/fxPTO
<{^_^}> [nixpkgs] @xeji pushed commit from @kalbasit to release-18.09 « gocode: 2018-07-27 -> 2018-10-22 (#48832) »: https://git.io/fxPTR
<{^_^}> [nixpkgs] @Synthetica9 opened pull request #48869 → wlroots: remove broken tag → https://git.io/fxPTw
<{^_^}> [nixpkgs] @globin opened pull request #48870 → gitlab: 11.3.4 -> 11.4.0 (plus related) → https://git.io/fxPT9
aiowej has joined #nixos
<{^_^}> [nixpkgs] @rbvermaa pushed to master « datadog-agent: add option to enable trace agent »: https://git.io/fxPkv
<ekleog> Mic92: 'k thanks! :)
alex`` has quit [Quit: WeeChat 2.2]
aiowej has quit [Ping timeout: 260 seconds]
alhariel has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #48849 → vscode-extensions.ms-python.python: 2018.8.0 -> 2018.9.1 → https://git.io/fxigU
<{^_^}> [nixpkgs] @xeji pushed commit from @eadwu to master « vscode-extensions.ms-python.python: 2018.8.0 -> 2018.9.1 (#48849) »: https://git.io/fxPkK
alex`` has joined #nixos
alex`` has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48872 → xpra: 2.3.4 -> 2.4 → https://git.io/fxPIJ
sigmundv__ is now known as sigmundv
<{^_^}> [nixpkgs] @xeji merged pull request #48691 → dragonfly-reverb: 0.9.1 -> 0.9.4 → https://git.io/fxwE8
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « dragonfly-reverb: 0.9.1 -> 0.9.4 (#48691) »: https://git.io/fxPII
orivej has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #48869 → wlroots: remove broken tag → https://git.io/fxPTw
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fxPIq
o1lo01ol1o has quit [Ping timeout: 260 seconds]
Mateon2 has quit [Ping timeout: 272 seconds]
alex`` has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f8d156f44fb (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<infinisil> This is kinda odd, 2 PR's have been opened in the past week with super simple changes to the Readme.md: #48669 and #48854. Both users have a very inactive profile, one of them only being created a couple days ago. Both of them have forked freeCodeCamp
<{^_^}> https://github.com/NixOS/nixpkgs/pull/48669 (by mhusnulwardi, 4 days ago, open): README.md: make communication section a markdown headline
<{^_^}> https://github.com/NixOS/nixpkgs/pull/48854 (by gityash01, 5 hours ago, open): README.md: change markup of master branch
<infinisil> I mean, I don't see anything bad per-se, but it's kinda odd and suspicious
<sphalerite> infinisil: hacktoberfest scumming?
<Synthetica> Prolly hacktoberfest, yeah
<infinisil> Huh
aiowej has joined #nixos
<Synthetica> We're in the top repos to contribute to for hacktoberfest, so yeah
<jophish> gchristensen: Is it possible to use nixos-containers on the arm box?
<jophish> I'd like to do some armv7l builds, but I think that requires running a patched version of nix on the machine
alex`` has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @lheckemann closed pull request #48854 → README.md: change markup of master branch → https://git.io/fxiPP
alex`` has joined #nixos
aiowej has quit [Ping timeout: 264 seconds]
<sphalerite> jophish: I PRed the necessary patch upstream and it's in 2.1 or maybe even 2.0 already
<sphalerite> jophish: https://discourse.nixos.org/t/new-aarch64-and-armv7l-linux-omg-builders/1010/2?u=lheckemann instructions and warnings about it here
<jophish> great! ++sphalerite!
<sphalerite> the PR in question is nix#1916
<{^_^}> https://github.com/NixOS/nix/pull/1916 (by lheckemann, 33 weeks ago, merged): Support extra compatible architectures
<jophish> wow, this is the best!
<jophish> it's just working
<sphalerite> don't get too excited about it
<sphalerite> lots of stuff breaks :p
<jophish> sphalerite: how did you do the uname stuff?
<sphalerite> like openssl
<sphalerite> there is no uname stuff
<sphalerite> which is why stuff like openssl breaks
<jophish> ah
<jophish> I found that patching coreutils got me quite far
<sphalerite> it mis-autodetects the system
<sphalerite> lol
<infinisil> sphalerite: The other PR could be closed for the same reasons imo, it just doesn't add anything really
<jophish> yeah, I patched it to always return armv7l
<jophish> patching libc would probably have been a little better
<sphalerite> infinisil: do you want to reject that one? :p
<infinisil> Yeah I'll do that
<{^_^}> [nixpkgs] @Profpatsch merged pull request #48570 → buildah: 1.1 -> 1.4 → https://git.io/fxzBk
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @vdemeester to master « buildah: 1.1 -> 1.4 »: https://git.io/fxPqE
<{^_^}> [nixpkgs] @Infinisil closed pull request #48669 → README.md: make communication section a markdown headline → https://git.io/fxVav
alhariel has quit [Ping timeout: 252 seconds]
<infinisil> It may be a bit harsh, but there's already few enough reviewers, nobody should waste time on such insignificant changes
<sphalerite> infinisil: apply the invalid label as well, I think that stops it from counting for hacktoberfest :p
<sphalerite> wait I can do that
<infinisil> sphalerite: Oh so they are required to do some PR's to open source projects?
<sphalerite> infinisil: the idea is, make 5 PRs on github, get a t-shirt
<infinisil> Okay, I have not a single regret for closing this anymore
<sphalerite> hahaha
<infinisil> sphalerite: is the invalid label a standard github one then?
aiowej has joined #nixos
<sphalerite> infinisil: I don't think so but the hacktoberfest says to label it as invalid and we do *have* the label so I guess it probably will do?
<infinisil> Yeah, doesn't seem automated reading the site
<infinisil> That just gave me the idea
astronavt has joined #nixos
<infinisil> To some OS project I should make a commit "Add infinisil to contributors", but only do that, but because my commit will be in the project, I will be a contributor once it's merged
<srhb> I think we should be careful when trying to distinguish bad-intention stuff with low-skill good-intention though. The above seem less useful though.
astronavt_ has joined #nixos
<sphalerite> srhb: if they'd made the effort to read the contribution guidelines and fill in the PR template I'd be more lenient about it
* srhb nods
<sphalerite> but these people clearly just clicked on edit, pressed two keys, and sent the PR
<srhb> Nothing _inherently_ wrong with that though. Hence my comment about intention. :)
vk3wtf has joined #nixos
mayhewluke has quit [Ping timeout: 268 seconds]
aiowej has quit [Ping timeout: 264 seconds]
astronavt has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
<jophish> What's the equivalent of '--max-jobs' for the new nix command?
<jophish> nix --help or nix build --help don't show this :/
EarlDeLaWarr has quit [Ping timeout: 264 seconds]
<sphalerite> jophish: --max-jobs works
<sphalerite> jophish: all options in nix.conf can be passed like that on the command line since 2.0
<jophish> oh great!
<sphalerite> although some will be ignored (silently, which is a bug IMO!) depending on whether you're trusted
<jophish> arm box is busy bootstrapping armv7 binaries now :)
<jophish> interestingly, last time I did this I replaced the bootstrap tools
hiroshi has joined #nixos
<jophish> but I can't remember why
<jophish> well, I guess that something was using the `uname` program in the bootstrap tools
<sphalerite> jophish: spoiler alert: the bootstrap works :p
<jophish> yeah, that's why I'm puzzled :)
<jophish> perhaps it causes problems later down the line
<jophish> certainly it's no good thing to have uname in the bootstrap tools declaring that this is an aarch64 system
<jophish> I wonder why linux doesn't have the arm32 namespace thing, like it does for x86 on x86_64 platforms
<jophish> I can't remember the word for it, namespace isn't right I think
strobelight has joined #nixos
<sphalerite> jophish: personality
<sphalerite> probably just nobody thought it necessary yet.
<sphalerite> Or it turned out to be a bad idea that's now a legacy burden but nobody wants to make it bigger than it already is
<jophish> ah, thanks!
<arianvp> Have fun at nixcon
<arianvp> :)
<Dezgeg> we just need https://lore.kernel.org/lkml/20180927151119.9989-1-tycho@tycho.ws/ to be able to fake/emulate uname with seccomp
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
xeji has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #48873 → jwm-settings-manager: init at 2018-10-19 → https://git.io/fxPs6
o1lo01ol1o has quit [Ping timeout: 252 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Itkovian has joined #nixos
<jophish> sphalerite: hmm, openssl still fails to build with the uname change :(
<jophish> however it is a dependency of coreutils, so perhaps it's using the bootstrap uname
<{^_^}> [nixpkgs] @dtzWill opened pull request #48874 → brotli: 1.0.6 -> 1.0.7 → https://git.io/fxPGW
<sphalerite> it is?
alhariel has joined #nixos
<symphorien> iirc there is a bootstrap coreutils without openssl and a full featured non-bootstrap coreutils with openssl for improved performance
<mbrock> can I figure out which Nixpkgs commit my current channel corresponds to?
<mbrock> e.g. if I want to pin my configuration to whatever Nixpkgs I got from the installer
sir_guy_carleton has joined #nixos
<hyper_ch2> mbrock: nix-info -m ?
<symphorien> on nixos there is `nixos-version`
<mbrock> ahh, nice
<hyper_ch2> but does nixos-version give the channel git commit?
<srhb> hyper_ch2: Yep.
<srhb> (If it can.)
<hyper_ch2> so why is channel then different? https://paste.simplylinux.ch/view/raw/b0c31517
<srhb> hyper_ch2: Presumably you built your config from 45a, but your channel has since updated to 16ac
<srhb> (iow if you rebuild now, they'll both be 16ac...)
o1lo01ol1o has joined #nixos
aiowej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
aiowej has quit [Ping timeout: 264 seconds]
capisce has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Ekleog closed pull request #48810 → wasm: remove alias to unbreak the channel → https://git.io/fx6LS
Mateon1 has joined #nixos
johnnyfive has quit [Ping timeout: 245 seconds]
ramses_ has joined #nixos
EarlDeLaWarr has joined #nixos
iyzsong has joined #nixos
<ramses_> Hi all, I get this error when trying to upgrade to 18.09: /nix/store/0q0xx96z8ll2kxzpzbg0cpv1v3h66ig2-make-initrd.sh: line 42: /nix/store/g5dlpwd44kd75i71nwzii8w4bp4inxwk-findutils-4.6.0/bin/find: cannot execute binary file: Exec format error
<ramses_> Anyone knows how to troubleshoot this?
<das_j> nix jobs is the number of concurrent builds and cores is the number of cores used in a build, is that correct?
<sphalerite> ramses_: what does `file /nix/store/g5dl*/bin/find` say?
<{^_^}> [nixpkgs] @Izorkin opened pull request #48875 → nginx: add custom options → https://git.io/fxPC4
<ramses_> sphalerite: file says just "data" but I now figured out that readelf says "Error: Not an ELF file - it has the wrong magic bytes at the start", so I'm starting to think that the file got corrupted
<ramses_> Is there a way to force a re-derivation of findutils?
<adisbladis> ramses_: nix-store has --repair and --repair-path
<ramses_> adisbladis: I tried those but they didn't seem to do anything
o1lo01ol1o has joined #nixos
astronavt__ has joined #nixos
astronavt_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #48856 → snapcast: 0.14.0 -> 0.15.0 → https://git.io/fxi1F
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxPCN
<ramses_> adisbladis: Ah, I saw the check-contents option now, that seems to do something
realrokka has joined #nixos
<sphalerite> ramses_: try repair-path as root?
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<TweyIV> When I build something with stdenv.mkDerivaton, where does the patchelf happen to set the intepreter of the resulting binaries?
<betaboon> ↓can i use node2nix to build angular-application dist-packages ?
<realrokka> I am trying to build a project with OpenGL, I have libGL and libGLU in my SystemPackages, I installed it in my user-env, I can build the project from nix-shell -p libGL libGLU ... but it when I trie to build it (not from nix-shell) it complains about not finding OpenGL. wtf?
<TweyIV> realrokka: It's probably using pkgconfig, which doesn't work well with user envs
<realrokka> TweyIV: I am building a project from source, not a nix-package
<TweyIV> realrokka: Yes
<TweyIV> realrokka: If you include pkgconfig in an environment it will register a hook that causes packages to make their pkgconfig configuration available to pkgconfig, so packages built in that environment will be able to use pkgconfig to find dependencies that support it
<ramses_> sphalerite: I ran "sudo nix-store --verify --check-contents --repair" which says that it fixes several parts, amongst which the one causing the error I mentioned, but it doesn't seem to actually fix the path
<ramses_> When I reran the command immediately after, it "fixes" the exact same paths
<sphalerite> that's… weird
<TweyIV> realrokka: If you use nix-env that hook will not be run and pkgconfig won't make the libraries available
<TweyIV> realrokka: It's generally unwise to install libraries in your user-env for this reason — better to build the things that need them from a nix-shell, or write a little derivation for whatever you're trying to build
<TweyIV> realrokka: (actually, not just pkgconfig, I think the compiler wrapper scripts will also not pick up dependencies installed in your user-env)
<realrokka> TweyIV: its is an tutorial on OpenGL demo coding, I have to build stuff like every 30s ... is the only way to do this to stay in nix-shell all the time?
<clever> ramses_: nix-store --query --roots /nix/store/g5dlpwd44kd75i71nwzii8w4bp4inxwk-findutils-4.6.0/bin/find
<realrokka> TweyIV: and thank you for your kind help (˘︶˘).。.:*♡
o1lo01ol1o has joined #nixos
<TweyIV> realrokka: I have https://hastebin.com/sajivubuvu.bash in my .bashrc
<TweyIV> realrokka: Then I just type ‘nx make’ (or whatever build tool you're using)
<TweyIV> Works from anywhere under a directory with a shell.nix in it
<TweyIV> Some people prefer to just work from inside an impure nix-shell
<ramses_> clever: I used the sledgehammer and ran "nix-collect-garbage -d" which deleted the offending path, nixos-rebuild ran successfully now
<TweyIV> realrokka: You're welcome!
<clever> TweyIV: you probably want pushd and popd, rather then cd $start
<TweyIV> clever: I don't want to just keep growing the stack
<TweyIV> Oh, wait
<clever> TweyIV: a single pushd at the start to save the current one
<clever> could even be pushd . i think
<TweyIV> Yeah, good point
<{^_^}> [nixpkgs] @bbarker opened pull request #48877 → ats2: 0.3.11 -> 0.3.12 → https://git.io/fxP81
hyper_ch2 has quit [Quit: Page closed]
jmeredith has joined #nixos
<TweyIV> clever: It's not actually shorter :þ But I can drop the name, so thank you
dbmikus has quit [Quit: WeeChat 2.3]
<TweyIV> I realized I wasn't properly passing through the realpath result, too
orivej has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c162a0af643 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<TweyIV> clever: https://hastebin.com/iwezimegex.bash Better?
rgrau has joined #nixos
orivej has joined #nixos
<TweyIV> https://hastebin.com/akedigaquw.bash — --command is better than --run, too
<clever> TweyIV: also, one of the main projects i work on has a "broken" shell.nix so it wouldnt really work
<TweyIV> clever: Broken how?
<clever> the shell.nix sets things up to do the entire build with stack
<clever> but the default.nix and using -A pkg.env gives you the nix built deps, and lets you build just 1 package
<clever> so you need to use the right -A for the current dir, and default.nix
<TweyIV> Guess it depends on your conventions
<clever> yeah
<TweyIV> My 'shell.nix' usually is a fully-instantiated derivation
<TweyIV> Sometimes just (import <nixpkgs> { }).callPackage ./. { }
<clever> thats what i try to do as well
<TweyIV> Sometimes with arguments for different shell environments (which this doesn't handle)
aiowej has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
vaibhavsagar has joined #nixos
reinzelmann has quit [Quit: Leaving]
srl295 has joined #nixos
<Izorkin> Mic92: Updated PR, please check
pointfourone has joined #nixos
pointfourone has left #nixos [#nixos]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/81593e39bce (from 8 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
dbmikus has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @baracoder opened pull request #48879 → dotnet-sdk: 2.1.402 -> 2.1.403 → https://git.io/fxPRb
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48880 → vim: 8.1.0450 -> 8.1.0490 → https://git.io/fxPRN
<{^_^}> [nix] @edolstra merged pull request #2479 → Add --graphml option to the nix-store --query command → https://git.io/fxu2Y
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fxP00
dbmikus has quit [Quit: WeeChat 2.2]
dbmikus has joined #nixos
Rusty1 has joined #nixos
dbmikus has quit [Client Quit]
jperras has joined #nixos
dbmikus has joined #nixos
jabranham has joined #nixos
<Taneb> I've got greyed-out checkboxes on the "Manage machines" page of hydra, any idea if it's possible to make them un-greyed out?
<Taneb> (this is my work's local hydra server)
o1lo01ol1o has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
mitescugd has joined #nixos
<clever> Taneb: i dont think that page has ever allowed you to edit the slaves
Itkovian has joined #nixos
zolk3ri has quit [Quit: Lost terminal]
elgoosy has quit [Remote host closed the connection]
elgoosy has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #48823 → ocamlformat: init at 0.8 → https://git.io/fx68q
<{^_^}> [nixpkgs] @vbgl pushed commit from @Zimmi48 to master « ocamlformat: init at 0.8 »: https://git.io/fxPzw
michas has joined #nixos
astronavt__ is now known as astronavt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48882 → snd: 18.7 -> 18.8 → https://git.io/fxPgk
<aither> hi all, I'm making a package and I'd like to add script for bash completion, where should I put it? $out/share/bash-completion/completions or $out/etc/bash_completion.d?
erasmas has joined #nixos
<Guanin> Hi, I made a mistake and deleted ~/.nix-defexpr. Is there a way to restore it?
<aither> I'm confused because I see share/bash-completion used a lot in nixpkgs, yet they seem to work only when put into etc/bash_completion.d
<symphorien> Guanin: logout and login. iirc it is created in /etc/profile
shmish111_ has joined #nixos
<das_j> Is there a quick way to build a package statically? I need a static binary to copy to my android phone (already using --option system)
<Guanin> symphorien, did not change anything - but I can see in /etc/profile how the folder is generated :)
<jophish> sphalerite: with uname changed in the bootstrap tools things are progressing much better
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48883 → syslogng: 3.17.2 -> 3.18.1 → https://git.io/fxP2B
dbmikus has quit [Ping timeout: 252 seconds]
<Guanin> Thanks symphorien, now nox is also working again :)
<{^_^}> [nixpkgs] @joachifm merged pull request #48794 → samba: remove defunct infiniband support → https://git.io/fxKHB
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxP26
dbmikus__ has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #48541 → clamav: 0.100.1 -> 0.100.2 → https://git.io/fxu27
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxP2S
<{^_^}> [nixpkgs] @joachifm merged pull request #48477 → Fix tiny typo → https://git.io/fxED9
<{^_^}> [nixpkgs] @joachifm pushed commit from @iblech to master « nixpkgs docs: Fix tiny typo (#48477) »: https://git.io/fxP2x
<infinisil> regina_: You here?
<Laalf> where would i ask about nix on other distributions?
iyzsong has quit [Ping timeout: 252 seconds]
<gchristensen> here :)
<{^_^}> [nixpkgs] @mguentner opened pull request #48884 → gem-config: set libmagic for magic → https://git.io/fxPaV
<{^_^}> [nixpkgs] @NickHu opened pull request #48885 → tikzit: init at 2.0 → https://git.io/fxPaw
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<Laalf> ok... for example if i execute a package from nix (nix run nixpkgs.teamspeak_client -c ts3client) some packages need opengl and exit with "Could not initialize GLX". is there anything i could do to fix this?
<Taneb> clever: ah, that's a little confusing
<jophish> What are you trying to configure, Taneb ?
<{^_^}> [nixpkgs] @joachifm merged pull request #47909 → linux: inside nix-shell, allow make menuconfig → https://git.io/fxYpX
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxPVU
<Taneb> jophish: I wanted a quick way to disable a build machine so it could be rebooted, but it turned out that that wasn't necessary
aiowej has quit [Ping timeout: 276 seconds]
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48886 → sysstat: 12.0.1 -> 12.1.1 → https://git.io/fxPVQ
<Laalf> glxinfo | grep Device gives me my mesa device. so i can use glx on the system
Ariakenom has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2483 → Promote verbose-build and log-lines → https://git.io/fxPwi
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fxPwP
mayhewluke has quit [Ping timeout: 240 seconds]
mayhewluke has joined #nixos
drakonis_ has joined #nixos
<Baughn> What's the equivalent to `nix-shell` default.nix environments using `nix run`?
<Baughn> Specifically, I need to configure LD_LIBRARY_PATH.
drakonis has quit [Ping timeout: 264 seconds]
<sphalerite> Baughn: there isn't one. Why not use nix-shlel?
sigmundv has quit [Ping timeout: 244 seconds]
<Baughn> sphalerite: It doesn't handle quoted commands properly.
semihonest has joined #nixos
<Baughn> (The command line contains a ton of apostrophes and stuff.)
<sphalerite> Baughn: yeah nix run just can't do much AFAIK
<Baughn> So there's no way to automate this, then. :/
<sphalerite> can't you build a wrapper script with nix?
<Baughn> No, the commands are ad-hoc invocations of gradle.
<Baughn> Having to put the entire command line into a single parameter to nix-shell would be painful even if it didn't incorrectly unquote things.
Mateon1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin merged pull request #48884 → gem-config: set libmagic for magic → https://git.io/fxPaV
<{^_^}> [nixpkgs] @globin pushed commit from @mguentner to master « gem-config: set libmagic for magic »: https://git.io/fxPo8
<sphalerite> Baughn: pkgs.writeScript "foo-wrap" ''#!${stdenv.shell}\nexport LD_LIBRARY_PATH=${foo}/lib\nexec "$@"''
<sphalerite> Baughn: then nix-build foo-wrap.nix && ./result gradle blarg
Mateon1 has joined #nixos
<Baughn> I really wanted it to be a single command I could tell users to run. :/
<Baughn> Sounds like I'll need a non-nix wrapper script. Oh well.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48887 → smplayer: 18.9.0 -> 18.10.0 → https://git.io/fxPow
endformationage has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #48888 → gem-config: capybara-webkit: qt48 -> qt59 → https://git.io/fxPod
<{^_^}> [nixpkgs] @Mic92 merged pull request #48888 → gem-config: capybara-webkit: qt48 -> qt59 → https://git.io/fxPod
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxPKU
<sphalerite> Baughn: you could use shellHook
<TweyIV> Baughn: You can use bash-fu to handle arguments sensibly
<Baughn> sphalerite: That's what I'm doing, but it only seems to work with nix-shell.
<{^_^}> [nixpkgs] @magnetophon opened pull request #48889 → caps: 0.9.24 -> 0.9.26 → https://git.io/fxPKZ
<sphalerite> Baughn: yes so why not use nix-shell?
<Baughn> sphalerite: Because nix-shell incorrectly unquotes the arguments I pass it.
<Baughn> I'd give you an example, but the machine I was doing this on has died. :/
<TweyIV> Baughn: This handles arguments correctly
<TweyIV> I had to ask #bash for help writing it, long ago, and they had some colourful things to say about people who take single-string command arguments
<Baughn> I've been using "${(q)0}" instead. Should work.
Tucky has quit [Quit: WeeChat 2.2]
<Baughn> That's zsh, of course. :P
revtintin has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxPK9
<{^_^}> [nixpkgs] @Mic92 merged pull request #48886 → sysstat: 12.0.1 -> 12.1.1 → https://git.io/fxPVQ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48890 → sleuthkit: 4.6.2 -> 4.6.3 → https://git.io/fxPKQ
<Baughn> Er, "${(q)@}" of course.
<qyliss^work> wow Mic92 that was quick on my capybara-webkit PR :D
ThatDocsLady_ has quit [Ping timeout: 240 seconds]
<rgrau> hello nixers, I've just installed postgresql-10.5 and I need to access "libqp.so.5". this file lives under postgresql-10.5-lib/lib directory which was installed along with postgresql package, but the directory is not linked to my profile/lib . Is this the expected behavior?
Ariakenom has joined #nixos
<qyliss^work> rgrau: how did you install it?
<rgrau> qyliss^work: nix-env -i postgresql-10.5
regina_ has quit [Ping timeout: 240 seconds]
<qyliss^work> It might not be in the default output
<qyliss^work> Try `nix-env -iA postgresql100.dev`
<rgrau> mmm... "error: attribute 'postgresql100' in selection path 'postgresql100.dev' not found". I'm using plain nix, not nixos. (not sure if relevant)
<qyliss^work> Try `nix-env -iA nixpkgs.postgresql100.dev`
<qyliss^work> sorry
<{^_^}> [nixpkgs] @sveitser opened pull request #48892 → pythonPackages.sh: 1.11 -> 1.12.14 → https://git.io/fxPiW
<rgrau> still failing, different error though: "error: attribute 'dev' in selection path 'nixpkgs.postgresql100.dev' not found"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48893 → tortoisehg: 4.7.1 -> 4.7.2 → https://git.io/fxPiz
<qyliss^work> rgrau: try nixpkgs.postgresql100.lib
<qyliss^work> .dev is more common but apparently postgres uses lib
semihonest has quit [Ping timeout: 272 seconds]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
Guanin has quit [Ping timeout: 252 seconds]
semihonest has joined #nixos
justan0theruser has quit [Ping timeout: 252 seconds]
<rgrau> qyliss^work: aha, thanks for the pointers! yes, this installed something... but apparently libqp.so.5 is not anywhere inside ~/.nix-profile :(
<qyliss^work> bah :(
<typetetris> Could someone help me? I installed nix in multi user mode on two machines and tried nix-copy-closure between the machines and it fails due to nix-store not being in PATH. Caused by ssh not running /etc/profile as it isn't a interactive shell. How should I cope with that?
genesis has quit [Quit: Leaving]
genesis has joined #nixos
<qyliss^work> rgrau: you sure you don't want libpq dot something?
<qyliss^work> Rather than libqp?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48894 → star: 2.6.1a -> 2.6.1c → https://git.io/fxPXo
genesis has quit [Remote host closed the connection]
<rgrau> qyliss^work: yes, libqp.so.5
<rgrau> but I can't see any libqp.so* there
<qyliss^work> Why do you need that? I've never heard of it and it's not part of postgres AFAICT
lonokhov has quit [Quit: WeeChat 2.2]
<rgrau> python's sqlalchemy (psycopg2) needs to have it during runtime. But it's the first time I'm using this, and not a regular python user, so there are so many unknowns... :p
xeji has joined #nixos
<{^_^}> [nixpkgs] @rbvermaa pushed to release-18.09 « opentracing-cpp: init 1.5.0 »: https://git.io/fxP1G
<qyliss^work> that says libpq, not libqp
<qyliss^work> > it will need the libpq library at runtime (usually distributed in a libpq.so or libpq.dll file).
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):205:64
<rgrau> oh shit...
<{^_^}> [nixpkgs] @xeji merged pull request #48867 → gitlab-runner: 11.3.1 -> 11.4.0 → https://git.io/fxPv6
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « gitlab-runner: 11.3.1 -> 11.4.0 (#48867) »: https://git.io/fxP1K
<rgrau> lol. ok, let me reread the whole thing and rerun greps again... sorry
drakonis has joined #nixos
<qyliss^work> heh, np
dbmikus__ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @rbvermaa pushed to release-18.09 « opentracing-cpp: add meta »: https://git.io/fxP1j
<NickHu> Hey, anyone free to look at a new package pr?
aleph- has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @rbvermaa pushed 2 commits to master: https://git.io/fxPMl
<tilpner> NickHu - Shouldn't you be using fetchFromGitHub instead of fetchurl?
obtoris has quit [Quit: leaving]
<tilpner> NickHu - meta.description should not end in a period
Czen has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rbvermaa pushed to release-18.09 « nginx-opentracing: init at 0.7.0 »: https://git.io/fxPMX
<{^_^}> [nixpkgs] @rbvermaa pushed to master « nginx-opentracing: init at 0.7.0 »: https://git.io/fxPMD
Czen has joined #nixos
dbmikus__ has joined #nixos
sir_guy_carleton has quit [Quit: WeeChat 2.2]
justan0theruser has joined #nixos
MarcWago has joined #nixos
steell has joined #nixos
<{^_^}> [nixpkgs] @rbvermaa pushed to release-18.09 « opentracing-cpp: fix version in derivation »: https://git.io/fxPDZ
<{^_^}> [nixpkgs] @rbvermaa pushed to master « opentracing-cpp: fix version in derivation »: https://git.io/fxPDC
<steell> what is the nix-env equivalent of `nix-shell -p androidenv.platformTools`?
<steell> i.e. i want to install that package in my environment, but i don't know how to express it as a nix-env command
<__monty__> steell: Try nix-env -iA nixpkgs.androidenv.platformTools (I'm assuming androidenv is something in nixpkgs).
<steell> __monty__: worked like a charm :-) thanks!
orivej has quit [Ping timeout: 240 seconds]
<steell> is there a good reference / cheatsheet for nix-env (and other nix-* commands)?
<{^_^}> [nixpkgs] @magnetophon opened pull request #48896 → avldrums.lv2: init at 0.3.0 → https://git.io/fxPyv
<__monty__> steell: Only the nix manual afaik. And the man page of course.
<sphalerite> nix-env isn't nice to use anyway
<sphalerite> ,imperative
<{^_^}> nix-env has multiple drawbacks as an imperative package manager. nix-env -u will sometimes upgrade to the wrong thing; the outputs to install are very finicky to override; and packages that have been removed or are otherwise unavailable will remain in your profile without any warnings. Consider using a ,declarative setup instead.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48897 → sslscan: 1.11.11 -> 1.11.12 → https://git.io/fxPy9
<rawtaz> declarative
<rawtaz> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile <link to do, sphalerite!>; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
alex`` has quit [Quit: WeeChat 2.2]
<rawtaz> sphalerite: ^ ;D
o1lo01ol1o has joined #nixos
<sphalerite> ._.
<rawtaz> :*
<ashkitten> what can i put in a shell.nix to set environment variables?
<clever> ashkitten: every attribute in the derivation becomes an env var
<ashkitten> huh
<clever> so when you set something like buildInputs = [ foo bar ];, you can just `echo $buildInputs` in the shell to see it
<ashkitten> neat
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48898 → sundials: 3.2.0 -> 3.2.1 → https://git.io/fxPSX
Thra11 has joined #nixos
MarcWago has quit [Quit: MarcWago]
<Baughn> Er, wrong channel.
<rawtaz> i clicked it anyway
<clever> same :P
goibhniu has quit [Ping timeout: 240 seconds]
shmish111_ has quit []
hexa- has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @markuskowa opened pull request #48899 → libibverbs,librdmacm: remove in favour of rdma-core → https://git.io/fxPQl
jabranham has joined #nixos
genesis has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
hexa- has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48900 → twa: 1.5.1 -> 1.6.0 → https://git.io/fxP7L
<avn> Folks, anyone know, how to disable suppressing logs from one of services?
<{^_^}> [nixpkgs] @Ekleog opened pull request #48901 → [WIP] opensmtpd: 6.0.3p1 -> 6.4.0 → https://git.io/fxP7p
<tilpner> avn - Try settings systemd.services.<name>.serviceConfig.StandardOutput to whatever results in null
<tilpner> And .StandardError
revtintin has quit [Quit: WeeChat 1.9.1]
<avn> tilpner: ty! Should be useful for debug serives with some excessive logging
<tilpner> Of course the better solution would be to reduce the verbosity level of the service in question
<avn> tilpner: It intentionally increased, because I debugging keymaps in xrdp crap ;)
<jabranham> I get my raspberry pi 3 in today, excited to try nixos on aarch64 :-)
<maurer> Trying to set up bluetooth with nixos, have been following https://nixos.wiki/wiki/Bluetooth
<maurer> The device _pairs_ correctly, but when trying to connect, I get a completely generic error:
<maurer> Failed to connect: org.bluez.Error.Failed
<maurer> I am attempting the connection as root, so it should not be a permissions issue
<maurer> When I power the device off then on, the log says it connects, then disconnects, then connects, then disconnects, then nothing happens
orivej has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/45a419ab5a2 (from 7 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
silver has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/df29219f511 (from 76 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8070a6333f3 (from 7 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48903 → python27Packages.rpm: 4.14.2 -> 4.14.2.1 → https://git.io/fxPbu
TweyIV has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #48874 → brotli: 1.0.6 -> 1.0.7 → https://git.io/fxPGW
<{^_^}> [nixpkgs] @xeji pushed commit from @dtzWill to master « brotli: 1.0.6 -> 1.0.7 (#48874) »: https://git.io/fxPNe
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @xeji merged pull request #48889 → caps: 0.9.24 -> 0.9.26 → https://git.io/fxPKZ
<{^_^}> [nixpkgs] @xeji pushed commit from @magnetophon to master « caps: 0.9.24 -> 0.9.26 (#48889) »: https://git.io/fxPNg
<{^_^}> [nixpkgs] @xeji merged pull request #48816 → perlPackages.XMLFeedPP: init at 0.95 → https://git.io/fxPNb
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to master « perlPackages.XMLFeedPP: init at 0.95 (#48816) »: https://git.io/fxPNA
<bpye> Desktop users, do you use any cloud file sync service? Which do you find to work well on Linux and NixOS?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48904 → shairport-sync: 3.2.1 -> 3.2.2 → https://git.io/fxPA1
<bpye> I have used onedrive for a long time since it was once unlimited, but the open source Linux client isn't great, Dropbox is okay but their new restrictions about filesystems sucks...
<tilpner> bpye - If you have a server, look at unison and seafile. Otherwise, rclone works well-ish
<bpye> I've seen seafile, I don't love it's freeware style licensing, having GC be a non-open feature is a bit of a deal breaker personally, unison is a new name though
<rawtaz> i would use rclone for that. however the business onedrive isnt entirely supported
<rawtaz> bpye: what are your needs anyway?
<bpye> rawtaz: Syncing a password database, primarily
<bpye> I have some media stored there but I only use that on Windows currently, Lightroom catalog for example
<rawtaz> bpye: what password software is it? what does it support?
<rawtaz> i mean, some have support for e.g. dropbox or whatever
<bpye> I'm using Keepass, so it just operates on a file, it doesn't support anything itself
<rawtaz> if it's just one file you can just sync it over whatever with rclone :)
<rawtaz> aha
<bpye> Don't like the idea of using Lastpass or whatever :)
<rawtaz> same
<bpye> rawtaz: I'm curious, have you ever tried pass ( https://www.passwordstore.org/ ), it's always been the other one I've been tempted to try
<drakonis> keepass?
<tilpner> bpye - I am using passwordstore, and it's working very well
<{^_^}> [nixpkgs] @primeos opened pull request #48905 → nixos/rootston: Remove the module and the package → https://git.io/fxPxJ
<tilpner> bpye - It pairs nicely with git, solving the synchronisation problem
<rawtaz> bpye: i really want to use pass, but i hate the fact that it uses gpg which means i have to set up and secure a private key instead of just memorizing a password. for that reason i unfortunately dont use it :/
<rawtaz> i know others who do and love it, though
<rawtaz> so i wouldnt hesitate to use it, if only i could get pas the gpg/pgp thing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48906 → rocksndiamonds: 4.1.0.0 -> 4.1.1.0 → https://git.io/fxPxt
<bpye> rawtaz: I already have a GPG setup that works for me you see, I use a Yubikey, I have a raspberry pi to keep my master key offline
<rawtaz> i see
<rawtaz> what a messy thing to have to manage compared to memorizing a password :)
<bpye> Heh, yes
<rawtaz> a key, a pi, keeping it offline
<tilpner> You don't need a device to keep an offline backup of a key
<tilpner> A piece of paper or a CD will do
<bpye> I have no issue with the Yubikey, and honestly having my master key offline is pure paranoia
<bpye> tilpner: Huh, using paperkey for master keys?
<rawtaz> its mostly that i have to protect that key that annoys me
<bpye> rawtaz: I figure I already have to protect my passport, SSN, birth certificate etc, a key isn't much more work
<sphalerite> rawtaz: you could use gpg without publishing your key and just keep it on your disk encrypted with a passphrase
<sphalerite> which you remember
<rawtaz> if your key is stolen, can they access your passwords?
<sphalerite> yes
<sphalerite> well if your key *and* your pass db is stolen
<rawtaz> right, cuz the key is just some thing that defines how the encryption should be done, it just complements the password you need to enter anyway
<sphalerite> bpye: I use syncthing for desktop sync, including my keepassx database (planning to move to pass eventually…)
<maurer> Out of curiosity, has anyone set up anything for doing a measured-boot-handoff for fresh nixos builds?
<maurer> Or is that me still wanting random future tech?
<sphalerite> bpye: some people claim it has lots of conflict problems. I haven't experienced this myself, and it's nice that it syncs P2P. Although that disqualifies it from your "cloud" criterion I guess
<rawtaz> but if you need the password to the key for the key to be usable, could you not consider the key to be compromised from scratch and just not care about keeping it safe (falling back to keeping just your password safe)?
<bpye> sphalerite P2P is okay, cloud is just what I'm used to, I can always stick it on my VPS
<sphalerite> maurer: I've been playing with the idea of getting secure boot working
<bpye> rawtaz If you were happy with that, sure
<bpye> You don't have to have a password on your key though
<maurer> sphalerite: So, I'm not just talking about secure boot, which is the signed version - measured boot is an alternate TPM mode which doesn't depend on signed stuff in the same way
<sphalerite> bpye: yeah I can recommend syncthing. Main disadvantage is that its only proper UI is the graphical one (accessed via a browser)
<maurer> secure boot I've already done in a non-automated fashion with nixos, but it's a bit less optimal than measured boot imo
semihonest has quit [Quit: WeeChat 2.2]
<rawtaz> bpye: right, but i can. so instead of being anal about not having to mess around with installing gpg and keeping track of a key file (compared to just my password store) i could consider those two things just extra work but go ahead and do it. the downside being that i have to make sure i dont loose two things, instead of one.
<bpye> Sure
<rawtaz> cheers
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48907 → sfml: 2.5.0 -> 2.5.1 → https://git.io/fxPxd
<rawtaz> perhaps i should give it a shot then. i'd really like to use an open source thing, even though im very happy with CodeBook
<sphalerite> maurer: is measured boot completely independent of secure boot then?
<maurer> It's the same concept of "you must boot like this to access some TPM keys"
<rawtaz> bpye: hm what about rsync? unison should be fine too though
<maurer> but instead it measures PCRs from the the boot process
<maurer> rather than a signature on the image
<rawtaz> bpye: if it's just a file you can just sync over ssh
<maurer> the reason this is interesting is that if odne right, you can prevent th ekey material from ever leaving the tpm
<maurer> but it's a massive pain
<bpye> I like OneDrive etc as I don't have to remember to sync the file when I add a password
<sphalerite> maurer: do you need measured boot for that bit?
<bpye> It is just "magically" available everywhere
<maurer> (and also not have an external-to-the-tpm key you're using to sign your new boot processes)
<sphalerite> bpye: syncthing has that too
<maurer> Well, you can do that with secure boot, but then you need to manage your signing key
<tilpner> bpye - unison can be configured to watch a directory and sync when something changes
<maurer> the way you'd do it with measured boot is basically that you'd boot into a trusted generation, tell it to unseal access to the key, boot into your new generation, and reseal it, or so
<maurer> Don't quote me on this thoug, I've never actually performed this operation myself
<maurer> this is just how I have been told it works
<sphalerite> I imagined the TPM behaving like a yubikey with gpg
<bpye> sphalerite Does the Android syncthing client work... well?
<sphalerite> bpye: yes!
<bpye> Ah, that's encouraging
<{^_^}> [nixpkgs] @danieldk opened pull request #48908 → eigen3_3: 3.3.4 -> 3.3.5 → https://git.io/fxPpT
<maurer> sphalerite: So, the TPM has other modes, one for secure boot, and one for measured boot, where in addition to being "like a yubikey"
<maurer> you must also be booted into an OS that it recognizes or it will tell you to fuck right off
<maurer> which is great for storing hard drive encryption keys
<sphalerite> bpye: I mean it's not 100% reliable, but almost always when I take a picture on my phone and want it on my laptop, it's there within 2 minutes
<sphalerite> bpye: I also use it to sync music to my phone, just drop stuff in ~/music/sync on my laptop and it ends up on my phone without any further fuss
<maurer> You _can_ just use it as a fancy GPG key, but it can do more, it's just trickier to manage
<sphalerite> maurer: right, that's the impression I had
<sphalerite> maurer: have you documented your secure boot setup stuff anywhere? Would be interesting to me :)
<maurer> Uh, no, sorry
<sphalerite> or even just the scripts dumped somewhere? :D
<maurer> I can find the instructions I followed, basically you just need to sign your kernels every time
<maurer> I didn't use a script, I used the tools directly, like some kind of farmer
<{^_^}> [nixpkgs] @markuskowa opened pull request #48909 → Add licenses → https://git.io/fxPpw
IRCsum has joined #nixos
<sphalerite> lol ok
<maurer> I basically plucked kernels out of /boot
<maurer> signed them
<sphalerite> I found http://www.rodsbooks.com/efi-bootloaders/secureboot.html while looking at it
<maurer> then wrote them back
<sphalerite> sounds like a plan :D
<sphalerite> I was hoping to maybe write a nixos module for it or something
<sphalerite> one day
ixxie has quit [Ping timeout: 246 seconds]
<maurer> sphalerite: https://resources.infosecinstitute.com/linux-tpm-encryption-initializing-and-using-the-tpm/ is a good overview for "how to use the TPM"
<sphalerite> thanks!
Guanin has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
IRCsum has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
mayhewluke has quit [Ping timeout: 264 seconds]
IRCsum has joined #nixos
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #48829 → sway-beta: init at 1.0-beta1 → https://git.io/fx69D
<{^_^}> [nixpkgs] @primeos pushed commit from @Synthetica9 to master « sway-beta: init at 1.0-beta1 (#48829) »: https://git.io/fxPjf
IslandUsurper has joined #nixos
IRCsum has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos merged pull request #48905 → nixos/rootston: Remove the module and the package → https://git.io/fxPxJ
<{^_^}> [nixpkgs] @primeos pushed to master « nixos/rootston: Remove the module and the package (#48905) »: https://git.io/fxPjW
orivej_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
IRCsum has joined #nixos
voiceftp has joined #nixos
voice_ftp has joined #nixos
voiceftp has quit [Client Quit]
voice_ftp has quit [Remote host closed the connection]
voiceftp has joined #nixos
alex`` has joined #nixos
voice_ftp has joined #nixos
mmercier has quit [Read error: Connection reset by peer]
voice_ftp has quit [Client Quit]
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.16.3 -> 1.17.0 »: https://git.io/fxXe3
spostren has joined #nixos
<das_j> When using callPackage in an overlay, should I use super.callPackage or self.callPackage?
steell has quit [Ping timeout: 244 seconds]
Izorkin has quit [Quit: ZNC 1.7.1 - https://znc.in]
Izorkin has joined #nixos
spostren has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @nlewo merged pull request #48578 → skaffold: init at 0.16.0 → https://git.io/fxzyv
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fxXeD
<infinisil> ,overlays
<{^_^}> infinisil: Did you mean overlay?
<{^_^}> Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<infinisil> das_j: ^
<das_j> infinisil: Thank you :)
Guanin_ has joined #nixos
Guanin has quit [Ping timeout: 264 seconds]
Guanin__ has joined #nixos
<das_j> Hmm, may be a silly question but how do I build a packge? nix-build on the nix file (which returns a derivation) just tells me I need to specify stdenv as parameter. Is there a way for nix-build to callPackage the file?
Guanin_ has quit [Ping timeout: 264 seconds]
<infinisil> ,callPackage
<{^_^}> If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<infinisil> das_j: ^
<das_j> :3 thanks
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/df29219f511 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<{^_^}> [nixpkgs] @lo1tuma opened pull request #48911 → nodejs: init at 11.0.0 → https://git.io/fxXJz
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
jasongrossman has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #48908 → eigen3_3: 3.3.4 -> 3.3.5 → https://git.io/fxPpT
Itkovian has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fxXJj
<Lisanna> 0_0 one of my nix builds (initiated from hydra) just timed out with "...timed out after 7200 seconds of silence". I thought the default universally was for nix to not have a build progress timeout?
jabranham has joined #nixos
<Lisanna> I'm definitely not explicitly setting one anywhere
<Lisanna> oh x_x
<Lisanna> hydra sure does like to do lots of things its own way...
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxXUx
<{^_^}> [nixpkgs] @7c6f434c merged pull request #48890 → sleuthkit: 4.6.2 -> 4.6.3 → https://git.io/fxPKQ
<das_j> Okay, now this is a really weird linking problem:
<das_j> $ nix-build --option system aarch64-linux -E '(import <nixpkgs> {}).pkgs.taskwarrior.overrideAttrs (old: { dontDisableStatic = true; })'
<das_j> this results in:
<das_j> while setting up the build environment: executing '/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/bash': No such file or directory
<das_j> But how? Shouldn't it use my normal native bash?
<{^_^}> [nixpkgs] @LnL7 opened pull request #48912 → yarn: add platforms → https://git.io/fxXT3
<ocharles>
<ocharles>
drakonis has quit [Quit: WeeChat 2.2]
illegalprime has joined #nixos
<jabranham> hrm... ssh from a nixos machine to another nixos machine doesn't result in /run/current-system/sw/bin getting on PATH. Shouldn't that be on there automatically?
<hyper_ch> ?
<hyper_ch> just tried it and got: /root/bin:/run/wrappers/bin:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/root/bin
<jabranham> huh, I wonder why I don't. I'm ssh'ing as a user, not root, maybe that makes a difference?
drakonis has joined #nixos
<hyper_ch> it doesn't: /root/bin:/run/wrappers/bin:/root/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/root/bin
DerGuteMoritz has joined #nixos
<{^_^}> [nixpkgs] @TheZyppi opened pull request #48913 → Update mysql.nix → https://git.io/fxXTP
<hyper_ch> sorry: /home/hyper/bin:/home/hyper/bin:/run/wrappers/bin:/home/hyper/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/hyper/bin
<illegalprime> hi, I'd like to build a nixos ARM image for my rpi zero so I can preload it with WiFi creds. The wiki explains how to build uboot but not the entire image, is there another wiki I'm missing?
<jabranham> well I'm stumped then
civodul has joined #nixos
<Baughn> jabranham: How are you running ssh?
<jabranham> Baughn: in configuration.nix setting services.openssh = { enable = true; passwordAuthentication = false; challengeResponseAuthentication = false;};
<jabranham> and then in user.users.alex importing my public key with openssh.authorizedKeys.keys
<Baughn> And the ssh command?
<jabranham> ssh <ip-address>
<hyper_ch> question: why would one use systemd timers over cronjob?
<jabranham> hyper_ch: I don't have cron installed and I have systemd so I use its timers
<hyper_ch> jabranham: ok, I see the point there :)
<illegalprime> hyper_ch: I prefer the configuration syntax over cron's
nbardiuk has joined #nixos
<hyper_ch> also good point
mupf has joined #nixos
<mupf> Hello
<jabranham> hyper_ch: how were you starting ssh that you got that path in there?
dbmikus__ has quit [Ping timeout: 264 seconds]
<hyper_ch> ssh user@server
dbmikus__ has joined #nixos
<DerGuteMoritz> Hi, I am trying to work around a regression in a quicklisp package (stumpwm) by downgrading one of its dependencies (clx, another quicklisp package) via packageOverrides. Here's what I have right now: https://pastebin.com/QDgY9TYw - unfortunately, it doesn't seem to be picked up by pkgs.quicklispPackagesSBCL.stumpwm (which is what I reference in my environment.systemPackages). Any clues?
<Taneb> I'm trying to install NixOS on my new laptop
<Taneb> I get as far as the NixOS GRUB menu
<Taneb> But selecting any of the NixOS installer options just gives me a "_" for forever, it seems
<Taneb> Any suggestions for things I could check?
<drakonis> disable modesetting
<emily> what kind of laptop is it?
<Taneb> emily: ThinkPad E485
<Taneb> drakonis: is that something I'd find in BIOS settings?
<qyliss^work> Why GRUB? Did you change that from the default?
<emily> so I'm guessing something something too new Radeon graphics for the kernel the live media ships with, maybe
<Taneb> qyliss^work: not intentionally
<qyliss^work> surprised you didn't get systemd-boot
<qyliss^work> are you u
<qyliss^work> Is it using UEFI?
<Taneb> It should be
<drakonis> Taneb: no its when you boot
<Taneb> drakonis: ah, right, got it
<Taneb> I'm giving that a go, so far it just seems the same
<Taneb> MOre whirring than normal, maybe
<{^_^}> [nixpkgs] @xeji pushed commit from @dywedir to master « mako: init at 1.1 (#46606) »: https://git.io/fxXIx
<{^_^}> [nixpkgs] @xeji merged pull request #46606 → mako: init at 1.1 → https://git.io/fA6Am
<illegalprime> how would I build a nixos rpi image? I see the build on hydra: https://hydra.nixos.org/build/83063679
<Taneb> emily: do you think using the non-graphical ISO might bypass that?
<emily> Taneb: not sure. maybe edit the kernel command line and remove any "quiet" that's there
<emily> I just always use the minimal ISO. although the lack of convenient wifi tools on it makes me sad.
<illegalprime> I can 'reproduce locally' but I'd like to change the architecture
<jabranham> I figured out my ssh problem. Following the advice here https://nixos.org/nixpkgs/manual/#sec-getting-documentation and putting that script into ~/.bash_profile results in PATH not getting set correctly when you ssh into that computer.
<Lisanna> ,locate bin rkill
<{^_^}> Couldn't find in any packages
<Lisanna> 0.0
<Lisanna> ,locate rkill
<{^_^}> Couldn't find in any packages
<Lisanna> ,locate pslist
<{^_^}> Found in packages: volatility
<{^_^}> [nixpkgs] @lsix opened pull request #48914 → pythonPackages.OWSLib: init at 0.17.0 → https://git.io/fxXLH
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « cloudflared: init at 2018.10.3 »: https://git.io/fxXtL
<Taneb> No luck :(
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48915 → rdma-core: 20 -> 20.1 → https://git.io/fxXtG
<ryantm> Is there a way to pass an argument from the nix-shell CLI invocation to the shell.nix's shellHook script?
nbardiuk has quit [Quit: Lost terminal]
<kalbasit[m]> `nixos-rebuild build` does not print the output derivation if I run it for the second time. how can I get it to print it out anyway?
<ryantm> Aha, as long as I don't use a pure shell, I can use a regular environment variable!
<Taneb> I'm going to try iso-minimal-new-kernel
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @colemickens opened pull request #48916 → programs.sway: module overhaul for 1.0 → https://git.io/fxXql
<{^_^}> [nixpkgs] @xeji merged pull request #48686 → libinput-gestures: 2.33 -> 2.38, fixup → https://git.io/fxwGM
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fxXq8
<{^_^}> [nixpkgs] @xeji pushed commit from @royneary to master « libgnurl: 7.54.1 -> 7.61.1. (#48792) »: https://git.io/fxXq9
<{^_^}> [nixpkgs] @xeji merged pull request #48792 → libgnurl: 7.54.1 -> 7.61.1. → https://git.io/fxKyK
Dedalo has joined #nixos
<Taneb> No luck :(
aanderse has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #48918 → tealdeer: 1.0.0 -> 1.1.0 → https://git.io/fxXmB
<Twey> If I have a derivation with multiple outputs, e.g. outputs = ["out" "bin" "doc"], and I run nix-build on it, for some reason the "out" output seems to just get the nix-support directory with propagated inputs for the other outputs
cransom has quit [Quit: WeeChat 2.2]
<Twey> Why is this?
Ariakenom has quit [Quit: Leaving]
catch22 has joined #nixos
cransom has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice opened pull request #48919 → nixos: fix #48917 by setting SYSTEMD_TIMEDATED_NTP_SERVICES → https://git.io/fxXY1
_kwstas has joined #nixos
sigmundv has joined #nixos
<Taneb> Good news! It's not a problem with the NixOS installer, Ubuntu is doing the same thing
<Taneb> After googling a bit, I've got a but further but got stuck again, but this is now a tomorrow problem
<Taneb> Thanks for your patience!
_kwstas has left #nixos [#nixos]
<{^_^}> [nixpkgs] @nicknovitski opened pull request #48920 → cloud-sql-proxy: 1.11 -> 1.13 → https://git.io/fxX3z
_kwstas has joined #nixos
<colemickens> Anyone know what the latest state-of-the-art is for building automated installers? nixpart? etc?
Thra11 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #48921 → r8168: init at 8.046.00 → https://git.io/fxXs6
CapsLock has quit [Ping timeout: 240 seconds]
<_kwstas> hello everyone! I have a noob question: I'm working on a haskell project, i have already configured project.nix and default.nix. I want to configure shell.nix as well, but I want shell.nix to have some extra dependencies (e.g. hlint), but I do not know how :(. I tried to do something like: devEnv = (import ./project.nix).project.overrideAttrs (oldAttrs: rec {
<_kwstas> libraryHaskellDepends = oldAttrs.libraryHaskellDepends ++ [ pkgs.haskellPackages.hlint ] ;
<_kwstas> }); but it seems that this does not work
<_kwstas> any help/hint?
ottidmes has joined #nixos
<ottidmes> I have the following nix code in my config to generate a host id based on a host name: id = mkDefault (import (pkgs.runCommand "host-id.nix" { } ''... bash code ...'').outPath); however since updating to 18.09 (has been some time since last updating though), I now get: error: cannot import '/nix/store/sdn5blxjr6c660xfnwmdiv8rrfglxkfx-host-id.nix', since path
<ottidmes> '/nix/store/2zci1mrg95rgzgi77mvibyxh724h5kqi-host-id.nix.drv' is not valid
tbenst has quit [Quit: Leaving]
<ottidmes> is this trick of generating a nix config file on the fly no longer allowed?
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
strobelight has quit [Ping timeout: 252 seconds]
vk3wtf has quit [Ping timeout: 264 seconds]
jebes has left #nixos [#nixos]
rtjure has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #48922 → [wip] chromium: 69.0.3497.100 -> 70.0.3538.67 → https://git.io/fxXn1
<sphalerit> ottidmes: I think it should be fine in principle, but you may need to remove the .outPath bit for it to get instantiated and realised... Not sure
<ottidmes> my problem probably is under a nix-instantiate context it is not implicitly build but assumed to be already build, and before updating, they probably just happened to already exist at that point, hence no errors at that time
<mdash> Anybody happen to know where the gdb scripts for cpython debugging are packaged? (if they're packaged?)
drakonis has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48923 → plantuml: 1.2018.11 -> 1.2018.12 → https://git.io/fxXcI
<{^_^}> [nixpkgs] @royneary opened pull request #48924 → git-bug: init at 0.4.0 → https://git.io/fxXcO
dmc has quit [Remote host closed the connection]
<sphalerit> ottidmes: oh yeah it needs to build to finish the evaluation. So you can't eval it in situations where building is disabled, like nix-instantiate.
<sphalerit> ottidmes: it should still build fine though.
dmc has joined #nixos
<ottidmes> sphalerit: I tested it, it indeed works fine when building, now I just need to trigger a build for it, while all I am interested in is import <nixpkgs/nixos> {}).config.host converted to json (which I did by using nix-instantiate)
<ottidmes> host contains the id that I am generated through import (runCommand ...)
<mdash> ottidmes: thanks i'll give that a shot
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
jperras has quit [Ping timeout: 268 seconds]
<ottidmes> sphalerit: running: nix-build --no-out-link --expr '(import <nixpkgs/nixos> {}).config.host', prior to my nix-instantiate seems to work just fine, thanks for the help!
Guanin__ has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 252 seconds]
orivej_ has quit [Ping timeout: 264 seconds]
mayhewluke has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
_kwstas has quit [Quit: _kwstas]
jperras has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #48915 → rdma-core: 20 -> 20.1 → https://git.io/fxXtG
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fxXWk
jperras has quit [Ping timeout: 246 seconds]
jperras has joined #nixos
fendor has quit [Read error: Connection reset by peer]
lsyoyom has quit [Ping timeout: 244 seconds]
illegalprime has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #48925 → pg_repack: 1.4.3 -> 1.4.4 → https://git.io/fxXWS
jperras has quit [Ping timeout: 240 seconds]
lsyoyom has joined #nixos
drakonis has joined #nixos
justan0theruser has quit [Ping timeout: 252 seconds]
jperras has joined #nixos
__monty__ has quit [Quit: leaving]
rprije has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #48926 → mkl: wrap with openmp in LD_LIBRARY_PATH → https://git.io/fxXlT
jperras has quit [Ping timeout: 244 seconds]
vk3wtf has joined #nixos
justanotheruser has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
vaibhavsagar has quit [Ping timeout: 264 seconds]
erasmas has quit [Quit: leaving]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @volth closed pull request #48922 → [wip] chromium: 69.0.3497.100 -> 70.0.3538.67 → https://git.io/fxXn1
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
jperras has joined #nixos
EarlDeLaWarr has quit [Quit: Textual IRC Client: www.textualapp.com]
dbmikus__ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixops] @dzanot opened pull request #1029 → Update overview.xml → https://git.io/fxX8p
tbenst has joined #nixos
<tbenst> Hi all, I’m attempting a fresh install of nixos 18.09 with graphical iso and UEFI boot, and sadly have an unbootable system
uri-canva has joined #nixos
<tbenst> I followed the manual closely, although found that it loaded the wrong entries for the hardware nix file, so manually fixed
<srl295> nix containers… "Warning: Currently, NixOS containers are not perfectly isolated from the host system." If I want to run a server in a container that doesn't have any root access, though, are there other issues to be concerned about?
<andi-> tbenst: how is it failing and what did you have to change in the hardware file? It usually is fine for me.
<uri-canva> I'm waiting for https://hydra.nixos.org/job/nixpkgs/trunk/bazel.x86_64-darwin to be built, it was queued 5 days ago, and I noticed in https://hydra.nixos.org/queue-summary there's 38k jobs queued for darwin machines, and there were 39k two days ago, so the queue isn't getting processed very quickly, compared to the other machine types where the queue was thousands of jobs but now is almost empty
<uri-canva> is something wrong with the darwin machines? Are there supposed to be more of them? or is it just a matter of waiting longer? I brought this up in #nix-darwin but I didn't get a response: https://logs.nix.samueldr.com/nix-darwin/2018-10-21
<tbenst> andi- when I attempt to boot, there is no output and goes straight to UEFI bios
<andi-> tbenst: so it didn't add nixos to the efi vars?
<tbenst> Not sure how to check that
<andi-> Usually calling `efibootmgr -v` should show that. IIRC the default bootloader is systemd-boot so it should show up there.
tbenst_ has joined #nixos
<tbenst_> andi- doesn't look like ithttps://pastebin.com/raw/x1VPgLgc
jasongrossman has joined #nixos
<tbenst_> there used to be windows and ubuntu on this, but I wiped them
<tbenst_> here's my hardware config https://pastebin.com/raw/xqwFuyEi
<tbenst_> and my configuration.nix https://pastebin.com/raw/cpKU7P1C
<tbenst_> initially, nixos added my liveUSB to the hardware nix file
dbmikus__ has joined #nixos
emily has quit [Ping timeout: 264 seconds]
hitchhikingcoder has joined #nixos
hitchhikingcoder has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
hitchhikingcoder has joined #nixos
dbmikus__ has quit [Ping timeout: 264 seconds]
hitchhikingcoder has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth reopened pull request #48922 → [wip] chromium: 69.0.3497.100 -> 70.0.3538.67 → https://git.io/fxXn1
hitchhikingcoder has joined #nixos
catch22 has quit [Ping timeout: 252 seconds]
xeji has quit [Quit: WeeChat 2.2]
hitchhikingcoder is now known as darthfork
<{^_^}> [nixpkgs] @volth closed pull request #48922 → [wip] chromium: 69.0.3497.100 -> 70.0.3538.67 → https://git.io/fxXn1
<ottidmes> tbenst_: in your configuration.nix I see both grub and systemd-boot enabled, which are different boot loaders
<ottidmes> tbenst_: If I compare your configuration.nix with what I have in my UEFI machine, I also have boot.loader.efi.canTouchEfiVariables = true; and I dont have boot.loader.systemd-boot.enable = true; and boot.loader.efi.efiSysMountPoint = "/boot"; so try commenting those
<{^_^}> [nixpkgs] @rlupton20 opened pull request #48927 → signify: init at v24 → https://git.io/fxXRZ
<tbenst_> ottidmes: thx for tip (noob here :). Just commented out all grub lines
<tbenst_> ottidmes: "Failed assertions:- You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable."
<{^_^}> [nixpkgs] @veprbl opened pull request #48928 → arrow-cpp: fix for zstd 1.2.6+ → https://git.io/fxXRu
<ottidmes> tbenst_: you should have at least one boot loader, and if you do not want to use grub (I use grub), then you have to set it to "nodev", like that line you already had
<tbenst_> ottidmes: as long as I can boot, I'll do whatever ;)
<ottidmes> ehm, sorry, that is wrong, you should have to set it to nodev either way for UEFI
<ottidmes> tbenst_: then could you try what I suggested? so keep the grub lines and comment those 2 I mentioned and add the touch efi variables one
darthfork has quit [Quit: darthfork]
jperras_ has joined #nixos
hitchhikingcoder has joined #nixos
<tbenst_> ottidmes: how does this look? https://pastebin.com/raw/enfZCqP9
jperras has quit [Ping timeout: 252 seconds]
hitchhikingcoder has quit [Remote host closed the connection]
carlosdagos has joined #nixos
<tbenst_> er just realized that the device line should be "/dev/sda" I'm guessing?
<ottidmes> its good except you should use nodev for the device
<tbenst_> ty
jackdk has joined #nixos
darthfork has joined #nixos
<tbenst> It worked! Thank you so much ottidmes and andi-
<ottidmes> gratz!
tbenst_ has quit [Ping timeout: 256 seconds]
tbenst has quit [Ping timeout: 256 seconds]
<dmj`> Has anyone written a haskell wrapper for libnix ? Calling into the C++ code from C via hsc2hs
<Mic92> I have that for python
<Mic92> pythonix
<dmj`> Mic92: ooo! Did you write the C wrappers?
<ottidmes> dmj`: You dont mean this, or do you? https://hackage.haskell.org/package/libnix (I mean I assume you did a quick search on hackage)
<dmj`> ottidmes: I saw that, but it seems to be spawning a new OS (calling fork) — uses System.Process. This is actually what I’m currently doing, but would rather FFI into the C++ lib.
<dmj`> OS process*
<Mic92> There is no need for a c wrapper
<Mic92> You can interface with python from c++
<ottidmes> dmj`: I think they mention this in the hackage description, that they see it as the next phase
darthfork has quit [Remote host closed the connection]
<dmj`> Mic92: nice, I see the extern “C”
<dmj`> Mic92: I really just want the underlying calls to nix-instantiate and nix-store —realise. I thought that would be in eval.hh
<dmj`> Mic92: I don’t see “realise” in store-api.h
<Mic92> dmj`: it does not build or instantiate any builds at the moment
<Mic92> someone is also working on exposing the AST
thc202 has quit [Ping timeout: 244 seconds]
<dmj`> Mic92: so `eval` here is actually doing the build, https://github.com/Mic92/pythonix/blob/master/src/eval.cc#L31
<Mic92> dmj`: no it does not build anything. It evaluate only evalute expressions.
<dmj`> Mic92: do you know where in the nix api derivations become realised ?
<Mic92> you can look at src/nix/repl.cc to get idea how most of api works.
<Mic92> it also something for building expressions
sigmundv__ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « btrfs-progs: 4.15.1 -> 4.17.1 »: https://git.io/fxXEK