endformationage has quit [Ping timeout: 255 seconds]
<{^_^}>
[nixpkgs] @cstrahan opened pull request #38445 → kubernetes: update to 1.10 → https://git.io/vxDEj
<infinisil>
But really, why the hell does it run out of memory, I have 16GB on this machine
jtojnar has joined #nixos
endformationage has joined #nixos
{`-`}_ has joined #nixos
<abathur>
ran upgrade, got an error one run about dhcpd being restarted too quickly, second run completed, but journalctl shows a firehose of messages like...
lopsided98 has quit [Remote host closed the connection]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
kanotix has joined #nixos
Rusty1_ has quit [Ping timeout: 255 seconds]
Supersonic has quit [Ping timeout: 264 seconds]
kanotix is now known as Rusty1_
ryantrinkle has quit [Ping timeout: 265 seconds]
Supersonic has joined #nixos
hellrazor has joined #nixos
hellrazo1 has quit [Ping timeout: 260 seconds]
jtojnar has quit [Ping timeout: 240 seconds]
tmaekawa has joined #nixos
hakujin4 has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
dj_goku_ has quit [Quit: Lost terminal]
johnsonav has joined #nixos
Brejic has joined #nixos
hakujin4 has quit [Ping timeout: 276 seconds]
lopsided98 has joined #nixos
paraseba_ is now known as paraseba
jayq has joined #nixos
hakujin4 has joined #nixos
iyzsong has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
hakujin4 has quit [Ping timeout: 265 seconds]
oahong has quit [Quit: 暂离]
oahong has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akscram has quit [Ping timeout: 276 seconds]
sanscoeur has joined #nixos
cript0nauta has joined #nixos
hakujin4 has joined #nixos
akscram has joined #nixos
fusion809 has joined #nixos
hakujin4 has quit [Ping timeout: 246 seconds]
<fusion809>
Ah good, clever you know that nix file you wrote so I can connect to the WiFi using my Broadcom chip from a NixOS ISO? It didn't work. I even ran `modprobe -a wl` but no networks were detected by NetworkManager. I even tried using wpa-passphrase ESSID PSK > /etc/wpa_supplicant.conf and restarting wpa_supplicant service.
abathur has quit [Quit: abathur]
vaibhavsagar has quit [Quit: ZNC 1.6.5 - http://znc.in]
vaibhavsagar has joined #nixos
jophish has joined #nixos
jayq has quit [Ping timeout: 255 seconds]
hakujin4 has joined #nixos
hakujin4 has quit [Ping timeout: 256 seconds]
nuncanada has quit [Remote host closed the connection]
nuncanada has joined #nixos
nuncanada has quit [Read error: Connection reset by peer]
erasmas has quit [Quit: leaving]
kmicklas has quit [Ping timeout: 265 seconds]
hakujin4 has joined #nixos
hakujin4 has quit [Ping timeout: 265 seconds]
abathur has joined #nixos
<joepie91>
errr....
<joepie91>
attempting to upgrade to 18.03
<joepie91>
and I get this:
<joepie91>
error: imported archive of ‘/nix/store/1gkicx26warv3zk16cvmbxm8lgbh1bz9-source’ lacks a signature
<joepie91>
also before that: warning: unknown setting 'signed-binary-caches'
<joepie91>
how am I *supposed* to upgrade to 18.03?
abathur has quit [Ping timeout: 265 seconds]
hakujin4 has joined #nixos
<acowley>
joepie91: Were you previously using the nixos-17.09 channel?
<joepie91>
yes
<acowley>
joepie91: Also, I think the warning can be ignored
<joepie91>
how? also, ignoring signature warnings seems like a bad idea :)
<acowley>
joepie91: Then I think the right way is to switch to the nixos-18.03 channel, and then nixos-rebuild switch --upgrade
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
<joepie91>
that's what I've done, and that gets me the above error
<joepie91>
set the channel, per upgrade instructions in the manual, rebuild with --upgrade flag
hakujin4 has quit [Ping timeout: 256 seconds]
<acowley>
joepie91: I don't remember the details, but I seem to recall it's that signatures became the default, so the setting is redundant. The warning is more alarming than it should be.
<joepie91>
right, so how can I make it go away? :P
Arcaelyx_ has joined #nixos
fusion809 has quit [Remote host closed the connection]
<joepie91>
(also, this seems like rather an... obvious issue. was the upgrade path from 17.09 to 18.03 not tested before release?)
<joepie91>
"If it's on 2.0pre5889_c287d731 and you still get this error try restarting your nix-daemon service (or just restarting the computer)."
<joepie91>
"That said, Nix should have a better way of handling this especially with lots of people upgrade from Nix 1.11 to Nix 2.0. Maybe the "nix" CLI should check the nix-daemon version before running?"
<joepie91>
... this is going to be a serious problem when people are going to upgrade en masse
<joepie91>
restarting the service did exactly nothing
<joepie91>
time for a full system restart I guess?
<joepie91>
:|
<zybell_>
Nix2.0 does these errors. That means the upgrade Nix1.11->Nix2.0 did already work. But maybe it is not needed for 18.03. Try downgrade (if there aren't known issues with it) to Nix1.11.
sigmundv has quit [Ping timeout: 255 seconds]
<zybell_>
(Its needed for unstable)
gspia has joined #nixos
<zybell_>
(Nix2.0 to be clear is for unstable)
<joepie91>
zybell_: Nix 1.11 does not work on 18.03
<joepie91>
afaik
cript0nauta has quit [Read error: Connection reset by peer]
<joepie91>
due to new language features
cript0nauta has joined #nixos
<zybell_>
I know these features are in unstable, but in 18.03? idk
<acowley>
It seems strange that the daemon doesn't get upgraded
<zybell_>
can't,as long its running.
hellrazo1 has joined #nixos
<acowley>
joepie91: You've rebooted?
<joepie91>
yep, just rebooted, daemon is still old daemon
<joepie91>
interestingly it seems it only changes to Nix 2.x for the current shell?
<joepie91>
yeah, so if I set back the channel to 17.09 and then rebuild from *another* shell it works fine?
jperras has quit [Ping timeout: 255 seconds]
hellrazor has quit [Ping timeout: 256 seconds]
blonkhart has quit [Quit: WeeChat 1.9.1]
dj_goku has joined #nixos
dynamicudpate has quit [Ping timeout: 276 seconds]
<joepie91>
well
<joepie91>
I now have a working Nix 1.x and I managed to add myself to trusted users
<joepie91>
let's see if an upgrade to 18.03 doesn't break this time
<joepie91>
ergonomics definitely leave some to be desired here :)
<joepie91>
nope! still breaks in the exact same way
<joepie91>
so as far as I can tell, the 17.09 -> 18.03 upgrade process is just totally broken...
hakujin4 has joined #nixos
<zybell_>
Did that trial update you to 2.0?
<joepie91>
zybell_: I've found no way yet to upgrade to Nix 2.0 properly, ie. including daemon
<joepie91>
fusion809: did you manage to upgrade from 17.09 to 18.03?
<fusion809>
Nope, I did a clean install.
<joepie91>
ah, hm :(
<Guest57550>
joepie91: what's the trick?
<Guest57550>
I'm about to try :o
<Guest57550>
Fortunately, nothing too important on this laptop
<joepie91>
Guest57550: precisely what I'm trying to find out, far as I can tell it's basically impossible right now
<joepie91>
:/
<Guest57550>
I can't get dropbox working :\ this might mean I need to use a different OS for my workstation
<joepie91>
even just setting nix.package = nixUnstable breaks on 17.09
<zybell_>
It could be that you need a running nix2.0 daemon first
<joepie91>
yes, okay, sure, but how do I *get* that?
<joepie91>
that has been the unanswered question so far
jperras has joined #nixos
<zybell_>
upgrading nix *in channel* 17.09 seems the last option
<joepie91>
just tried that, failed
<joepie91>
same way
<zybell_>
only nix, not nixos
<joepie91>
yes
hakujin4 has quit [Ping timeout: 265 seconds]
iyzsong has quit [Ping timeout: 240 seconds]
<zybell_>
-p current-system ?
<zybell_>
Don't know syntax, I mean the profile the daemon runs in
jperras has quit [Ping timeout: 268 seconds]
<joepie91>
I've found an additional data point
<joepie91>
if I disable each and every additional channel and overlay, it works
<joepie91>
in my case, that includes the unstable channel that I'm manually importing, and the rust overlay
<joepie91>
or well, mozilla overlay
<acowley>
fusion809: I mention the gnome shell extensions I'm using in environment.systemPackages in configuration.nix
<fusion809>
Thanks, I should have thought of that one.
<joepie91>
well then
<joepie91>
no 18.03 for me tonight I guess
<joepie91>
:(
<joepie91>
meh, time to sleep
gm152 has quit [Ping timeout: 256 seconds]
hellrazo1 has quit [Ping timeout: 255 seconds]
hellrazo1 has joined #nixos
blankhart has quit [Ping timeout: 265 seconds]
<fusion809>
acowley: just tried a rebuild after specifying them and it's not working so I'm guessing you're doing something different to me. I added `gnome-shell-dash-to-panel chrome-gnome-shell gnome-shell-system-monitor` (that's what they're called in their .nix file) and it said `error: undefined variable 'gnome-shell-dash-to-panel' at /etc/nixos/configuration.nix:41:60`. Also tried without the gnome-shell- prefix same error.
<bpa>
hello, I am trying to commit to github my configuration.nix from inside the Atom Editor but it gives me some errors as if Atom is not aware that the package git is installed in my system
reinzelmann has joined #nixos
<bpa>
"fatal: cannot run send-pack: No such file or directory"
<bpa>
is there a way to tell to the Atom editor that Git is available
<fusion809>
bpa: I think that's a question best posed at discuss.atom.io, as it seems to pertain mostly to the editor. Ask if a custom PATH can be used as it is likely NixOS' non-compliance to FHS that is the problem here.
rauno has quit [Ping timeout: 260 seconds]
<bpa>
ty fusion809
xy2_ has joined #nixos
iyzsong has joined #nixos
Ariakenom has quit [Quit: Leaving]
rauno has joined #nixos
hakujin4 has joined #nixos
rauno has quit [Ping timeout: 264 seconds]
michas_ has joined #nixos
hakujin4 has quit [Ping timeout: 256 seconds]
oahong has quit [Quit: 暂离]
oahong has joined #nixos
rauno has joined #nixos
<rsa>
"post-installation fixup"-phase moves documentation to a new store path, but everything built before that expects the original store location. any tips? how can i know the new store location for the docs in advance? (in this particular case i'm attempting to build the docs for sage)
phdoerfler has joined #nixos
xy2_ has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
hakujin4 has joined #nixos
davidlt has joined #nixos
thblt has joined #nixos
<thblt>
Hi! How can I configure ownership of /sys/ nodes in NixOS? More specifically: I'd like to be able to change my laptop's monitor brightness without sudo :)
<thblt>
FWIW, I'm on a Dell XPS 9560, using only the intel monitor
<thblt>
Thanks!
hakujin4 has quit [Ping timeout: 276 seconds]
slyfox has quit [Ping timeout: 256 seconds]
<sphalerite>
thblt: if you're running X, you'll probably want to use xbacklight
bpa has quit [Remote host closed the connection]
<sphalerite>
that is, the x backlight protocol. Be it through the xbacklight command-line tool or something higher-level
<thblt>
sphalerite: "No outputs have backlight property"...
<sphalerite>
huh, it works on mine, same model
<thblt>
sphalerite: strange (yet interesting). Which NixOS channel?
<sphalerite>
17.09
<sphalerite>
but I did have the problem of it not associating the backlight right on a previous laptop, let me dig up the relevant config
thblt has quit [Remote host closed the connection]
<vaibhavsagar>
what's the consensus on "error: imported archive <hash>-source lacks signature"?
<sphalerite>
vaibhavsagar: happens most frequently when accidentally using nix 1.x when globally running 2.x. Try running whatever command gave you that with NIX_REMOTE=daemon
<vaibhavsagar>
ah, in this case I'm globally running nix 1.x and locally trying to use nix 2.0 in a nix-shel
<vaibhavsagar>
nvm, will try it again after I'm running Nix 2.0 globally
<mgttlinger>
First of all congrats on the 18.03 release
thblt has joined #nixos
<mgttlinger>
I have trouble upgrading from 17.09 to 18.03
<mgttlinger>
I have switched the channel for th eroot user
<thblt>
sphalerite: no improvement
<mgttlinger>
but when I rum a `nixos-rebuild switch --upgrade`
<mgttlinger>
there are a few warnings about signed binary caches
<sphalerite>
thblt: huh.
<sphalerite>
mgttlinger: those warnings are safe to ignore, it's because the option changed from signed-binary-caches to require-sigs
<mgttlinger>
and is sais its building system configuration but kinda lingers there wthout using much CPU
<vaibhavsagar>
mgttlinger: wait for a bit longer
<sphalerite>
how long have you been waiting?
<thblt>
sphalerite: do you have your full config online somewhere maybe?
<mgttlinger>
Well I haven't stopped the time but it seemed odd to me that things take a long time without using a noticeable amount of CPU
<sphalerite>
thblt: no, and I can't really publish it as is
hakujin4 has joined #nixos
<sphalerite>
mgttlinger: 30 seconds, 5 minutes, an hour?
hjst has joined #nixos
asuryawanshi has joined #nixos
<mgttlinger>
sphalerite: something between 30 seconds and 5 minutes
<mgttlinger>
Ok, now it resumed doing things
<mgttlinger>
Out of interrest what is happening there that causes it to take such a long time?
<thblt>
sphalerite: OK, thank you anyway :-)
<sphalerite>
evaluating nixos I think
<sphalerite>
thblt: I'm curious to get to the bottom of this though, since I just found I'm having the same issue on my chromebook
<thblt>
sphalerite: just out of curiosity, you don't happen to have got Optimus working? :-)
<mgttlinger>
The download time/speed outputs seem broken
<sphalerite>
thblt: I do. It involved some kernel command line parameters, just a minute
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @sveitser to master « python3Packages.black: init at 18.4a0 (#38386) »: https://git.io/vxDSG
mduggie has quit [Ping timeout: 265 seconds]
<sphalerite>
and you get that when tryign to use primusrun?
<thblt>
sphalerite: no this is in the syslog, primusrun and optirun both complain something along the lines of primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card
<thblt>
the log I pasted above happens when trying to modprobe nvidia
<thblt>
sphalerite: ok thank you! If you bring it in a sharable state, I'd be *really* interested to have a look at your config. That would at least allow me to rule at out a hardware issue.
<sphalerite>
I'll get there one day, but not sure when that day is
asuryawanshi has quit [Remote host closed the connection]
mduggie has joined #nixos
<{^_^}>
[nixpkgs] @Phreedom pushed to master « make gnomeExtensions visible to users »: https://git.io/vxDS7
rauno has joined #nixos
zipper has joined #nixos
marek_ has quit [Changing host]
marek_ has joined #nixos
marek_ is now known as marek
hakujin4 has joined #nixos
coot_ has joined #nixos
<ertes-w>
how safe is enabling the hardware.cpu.intel.updateMicrocode option?
hakujin4 has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 246 seconds]
hakujin4 has joined #nixos
Bogdacutu has joined #nixos
<etu[m]>
Why wouldn't it be safe? It depends on your definition of safe. I'd always enable it on my intel systems to get the latest (for my channel) microcode since it can fix issues and such
kiloreux has joined #nixos
<{^_^}>
[nixpkgs] @peterhoeg opened pull request #38448 → home-assistant: requirement parser would ignore requirements specified with url → https://git.io/vxD95
owickstrom has quit [Remote host closed the connection]
<ertes-w>
etu[m]: well, it's off by default, which raises the question
hakujin4 has quit [Ping timeout: 255 seconds]
goibhniu has quit [Ping timeout: 240 seconds]
jensens has joined #nixos
<etu[m]>
ertes-w: Not really, there's loads of systems that doesn't use Intel CPU's. And the microcode is unfree code from intel distributed as a binary blob which some people may have objections about when it comes to licenses and such :)
<Aleksejs>
kiloreux: I guess you need allowUnfree
asuryawanshi has joined #nixos
<ertes-w>
good point
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<etu[m]>
And then back to safe, if you trust intel to not make things worse with newer microcode than what's already in your CPU, it's probably safe. Otherwise it's probably not, for you :p
<kiloreux>
Aleksejs, I already have an env variable allowing unfree.
<kiloreux>
Still not sure how to install it
<Lears>
I'm about to install NixOS on a UEFI system alongside Windows 10 and Debian, but the pre-existing ESP is probably too small at 100mb. So I made a 550mb fat32 partition in gparted with the "flags" boot,esp which I also removed from the old ESP, changed fstab to mount the new one then copied all the files over to it. Before I risk a reboot, does anyone know if that should suffice for the new ESP and its contents to be used while the old is ignore
<Lears>
d?
shoogz has joined #nixos
<etu[m]>
kiloreux: I have the following in my configuration.nix: `nixpkgs.config.allowUnfree = true;`, then I have google-chrome in systempackages :)
<ertes-w>
Lears: if in doubt, paste the output of 'sgdisk -p DEV'
<Aleksejs>
Lears: I have win10 alongside with NixOS on UEFI system.
<Aleksejs>
I haven't removed boot and esp flags
<Lears>
ertes-w: sgdisk (which I was not aware of and none of my googling mentioned, so thanks) reports the new one with code EF00 and the old with 0700. I gather that means it will be used.
<{^_^}>
→ 111cd883 by R. RyanTM: osrm-backend: 5.16.3 -> 5.16.4
<{^_^}>
→ a94e8e0b by @peterhoeg: Merge pull request #38191 from r-ryantm/auto-update/osrm-backend
thblt has joined #nixos
leat has quit [Ping timeout: 240 seconds]
<thblt>
OK I have no idea what happened but after merging my highly-modularized NixOS config into a single, stupid, simple file, everything works. Lesson learned: don't highly-modularize when you don't *really* need it.
<angerman>
sphalerite: so I can "dump" a nix-expression?
dpc has joined #nixos
techtangents[m] has joined #nixos
taohansen has joined #nixos
timokau[m] has joined #nixos
wizek[m] has joined #nixos
spacekitteh[m] has joined #nixos
<sphalerite>
kiloreux: doesn't look like there's anything wrong with that to me :?
<sphalerite>
:/ *
<kiloreux>
Does it work if you try on your machine ?
<sphalerite>
angerman: I'm not sure, I don't think so
<angerman>
sphalerite: say I have `let f = { x }: { y }: x + y;`. Now I have `let z = f { x = 1; };`, and I want to write that into some file, that would contain `{ y }: x + y`?
<sphalerite>
kiloreux: I don't have jq.nix or imagemagick.nix to test with, but with .jq instead of .callPackage ./jq.nix {} it seems to work
<Taneb>
Is it possible to do a garbage-collect but keeping build dependencies as well as runtime dependencies?
<thor_>
sphalerite: nope, it's also non-functional: "attribute ‘qtstyleplugin-kvantum’ in selection path ‘nixos.qtstyleplugin-kvantum’ not found"
<sphalerite>
Taneb: nix-store --gc --keep-outputs --keep-drvs should do it I think. Not 100% sure though, so depending on how attached you are to those deps you may not want to try it
<kiloreux>
still getting the same error --'
<Taneb>
sphalerite: where are those flags documented?
<sphalerite>
thor_: oh, are you on 17.09?
<sphalerite>
Taneb: man nix.conf
<thor_>
correct sphalerite
<sphalerite>
thor_: it's not in 17.09
hakujin4 has quit [Ping timeout: 245 seconds]
<sphalerite>
thor_: libsForQt5.qtstyleplugin-kvantum should work in either of the variations you try, if you actually have a package set that includes it
iyzsong has quit [Ping timeout: 240 seconds]
<thor_>
aha, how do you see that it's not in 17.09, quite new to nix/nixos
<sphalerite>
thor_: you'll probably want to upgrade to 18.03 anyway
<nick_l>
What program allows running a GUI program at a specific time?
<thor_>
ah, makes sense
<sphalerite>
it also has the lovely new `nix search` command
Bogdacutu has joined #nixos
<sphalerite>
and 17.09 is now the old release so only critical updates will be getting backported, and not for very long
<thor_>
Yeah, I see 18.03 is pretty fresh, time to give the upgrade path a try then, thanks!
jrolfs has joined #nixos
MP2E has quit [Remote host closed the connection]
lonokhov has joined #nixos
<{^_^}>
[nixpkgs] @fpletz pushed 5 commits to release-18.03: https://git.io/vxDNv
<{^_^}>
→ df66f311 by @volth: network-interfaces-scripted: wlanInterfaces have .device, no "${dev}-netdev.service"
<{^_^}>
→ b073b2d3 by @peterhoeg: syncthing: 0.14.45 -> 0.14.46
<{^_^}>
→ 846e3623 by @rnhmjoj: monero-gui: 2018-03-31 -> 0.12.0.0
<fusion809>
Hi folks. I tried installing Yakuake as user with nix-env, but it fails to launch with the error https://paste.pound-python.org/show/JSMl2TMrSPysMkmqxscU/. Also tried listing it as a system package in my system config and I got the exact same error. I'm mentioning this here instead of opening a bug report because I'm hoping I forgot something simple to get this working...
<fusion809>
system config and doing a rebuild^
<{^_^}>
[nixpkgs] @fpletz pushed commit from @lheckemann to master « 18.03 release notes: fix typo »: https://git.io/vxDN3
<{^_^}>
[nixpkgs] @fpletz pushed commit from @lheckemann to release-18.03 « 18.03 release notes: fix typo »: https://git.io/vxDNG
<manveru>
` When using services.xserver.libinput (enabled by default in GNOME), it now handles all input devices, not just touchpads. As a result, you might need to re-evaluate any custom Xorg configuration. In particular, Option "XkbRules" "base" may result in broken keyboard layout. `
<ertes-w>
(this is not a new problem, it just didn't bother me until today)
<manveru>
might not be related...
iyzsong has joined #nixos
<ikwildrpepper>
niksnut: never mind, running the script already
hakujin4 has joined #nixos
<tilpner>
sphalerite, manveru - libinput is still disabled, according to nix repl on my config
<goibhniu>
I kinda got bumblebee working yesterday \o/ ... If I boot with MSHYBRID enabled, rather than DISCREET for my GPU, without bumblebee enabled, then in the booted system, enable bumblebee, rebuild and switch, I can use optirun for glxinfo. But if I reboot, my system hardlocks ... it's somewhat promising
<manveru>
tilpner: ` Touchpad support should now be enabled through libinput as synaptics is now deprecated. See the option services.xserver.libinput.enable. `
<manveru>
though i assume it should still work?
* goibhniu
could just use rebuild boot, with bumblebee disabled ... hrm
rauno has quit [Ping timeout: 240 seconds]
<thor_>
I gave up on bumblebee, I could never get a 3rd monitor to work, even with connectDisplay = true;
<{^_^}>
[nixpkgs] @ktf opened pull request #38453 → Allow remake to build on darwin → https://git.io/vxDpg
<sphalerite>
goibhniu: I got hardlocks when the nvidia driver tried to talk to the card even though it was powered off
<goibhniu>
it sure would be nice to be able to plug in a monitor, and also have more than 1.5hrs battery life :/
<tilpner>
manveru - Even before 18.03, there sometimes were annoyances where I had to switch to a tty to get keyboard input back, but it was never this bad
<tilpner>
manveru - I'll try enabling libinput
<goibhniu>
sphalerite gah, not so promising :/
thblt has joined #nixos
<manveru>
i haven't updated my notebook to 18.03 yet... but will probably do that tonight
<sphalerite>
goibhniu: does it also happen if you run bumblebee's discrete_vga_poweron before rebooting?
<manveru>
just finished upgrading my desktop and it seems to work well :)
hakujin4 has quit [Ping timeout: 245 seconds]
<goibhniu>
sphalerite: I'll give that a shot, cheers!
<nick_l>
Is there an elixir IDE for NixOS?
<thblt>
OK, I actually found out what broke Bumblebee/Optimus and even the *loading* of NVidia drivers on the XPS \o/ It was the powertop --autotune service
<goibhniu>
oh! also useful!
<manveru>
nick_l: is there any elixir IDE?
<thblt>
(And of course, it's one of the very first thing I should have disabled)
<nick_l>
manveru: apparently, Sublime with some extensions, Atom with extensions and now I am trying Emacs.
<manveru>
nick_l: i just write elixir with emacs/neovim... there are excellent plugins for it
<sphalerite>
I've got a usb stick that's behaving a bit weirdly, might be misreporting its size... Anyone know a tool for testing that?
<nick_l>
manveru: does it need a lot of customization or does it work out of the box with alchemist?
<sphalerite>
I haven't used it for elixir (I haven't used elixir at all), but I've recently become a bit of an emacs fan
<manveru>
nick_l: well, i have some general nix-sandbox fixes for flycheck for example
<gillmanash>
Hi: I'm trying to run a NixOS live usb, but keep getting 'Invalid partition table!' on boot
<manveru>
nick_l: as long as you install alchemist in your global env it should be fine... otherwise you'll have to patch the execute command usages all over the place
<goibhniu>
hi gillmanash, I guess you checked the hash to ensure it was downloaded correctly?
<nick_l>
Machine was unresponsive for a minute just from the downloading part of nixos-rebuild.
<nick_l>
Perhaps it should run under cgroup by default?
<nick_l>
At least, I think that being able to click on a window should always have higher priority than rebuilding the system.
<gillmanash>
goibhniu: Thanks, but yes I have and yes it is
<sphalerite>
gillmanash: how did you put the image on the USB?
<gillmanash>
I tried cp to /dev/sdX at first as it says in the wiki (thought that seemed weird) so also dd
<gillmanash>
I'll try another drive
<sphalerite>
cp and dd do the same thing effectively
<thblt>
gillmanash: also verify checksum after dd
<tilpner>
sphalerite - I used to recommend cp too, but it apparently doesn't work with some non-GNU cp versions
<goibhniu>
gillmanash: you could also try to boot it via qemu (or similar) from a running system to see if it looks sane
<tilpner>
sphalerite - IIRC busybox has no idea what to do with device files like that
<sphalerite>
nice
<tilpner>
(Now I recommend pv or cat)
<gillmanash>
tilpner: shouldn't be an issue for me cp (GNU coreutils) 8.25
hyper_ch has left #nixos ["Konversation terminated!"]
<gillmanash>
thblt: You can just run on /dev/sdX? Cool
hyper_ch has joined #nixos
thblt has quit [Read error: Connection reset by peer]
hakujin4 has joined #nixos
Bogdacutu has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nick_l>
Does anyone already have cgroup configuration to give nixbld users less priority?
<gillmanash>
Another question, say I want to build an output from one of my overlays in ~/.config/nixpkgs/overlays, but I want to build it with a different nixpkgs I have in some folder. How do I tell nix-build to load the overlay
<gillmanash>
`nix-build /path/to/custompkgs -A overlayPackage` doesn't work by default
ma27 has joined #nixos
hellrazo1 has quit [Ping timeout: 240 seconds]
<gillmanash>
Looking through pkgs/top-level/impure.nix it looks like they should be loaded
<sphalerite>
gillmanash: it's normal for it to give a different hash because there's more data at the end
chisui has joined #nixos
ma27 has quit [Ping timeout: 276 seconds]
evax_ has joined #nixos
<ottidmes>
gillmanash: Maybe nix-build is being run under a different user so it does not pick up ~/.config/nixpkgs/overlays? Maybe try defining nixpkgs-overlays in NIX_PATH instead
<{^_^}>
[nixpkgs] @matthiasbeyer opened pull request #38456 → Update my packages → https://git.io/vxyv2
<nick_l>
manveru: I installed alchemist, but I don't get any symbols in scope in Emacs that suggest anything has installed?
<sphalerite>
I've got a USB stick that I'm trying to format with a GPT, but gdisk says "Warning! Read error 5; strange behavior now likely!". Any idea why this might happen?
<Dezgeg>
5 = EIO
martingale has joined #nixos
<Dezgeg>
throw it away, I guess
<nick_l>
manveru: my emacs daemon did not restart, I think. At least, that seems to be the only difference.
martingale has quit [Read error: Connection reset by peer]
<Dezgeg>
or maybe if you rewrite the problematic sectors it might behave
<nick_l>
With a line like this in ps aux output: /nix/store/ddh89jr7yxp8vhamdwd61gcdz1l9v8n3-emacs-25.3/bin/.emacs-wrapped --daemon, why doesn't killall .emacs-wrapped kill it?
martingale has joined #nixos
jperras has quit [Ping timeout: 264 seconds]
martingale has quit [Read error: Connection reset by peer]
martingale has quit [Read error: Connection reset by peer]
jensens has quit [Ping timeout: 260 seconds]
nick_l has quit [Ping timeout: 260 seconds]
<Lears>
I'm installing NixOS in UEFI mode and failing with an error: "Failed to create EFI Boot variable entry: No such file or directory". The traceback says: "subprocess.CalledProcessError: Command '['/nix/store/<hash>-systemd-237/bin/bootctl', '--path=/boot', 'install']' returned non-zero exit status 1."
martingale has joined #nixos
vidbina has joined #nixos
<Lears>
Anyone know what to do about that? I found a thread from an Arch user with a similar error and it was suggested to boot with "efi_no_storage_paranoia" kernel parameter, but I don't know how I would do something like that with the nixos install media.
sud0x3 has quit [Ping timeout: 260 seconds]
leat has joined #nixos
sud0x3 has joined #nixos
sigmundv has joined #nixos
pkill9 has joined #nixos
hakujin4 has joined #nixos
pkill9 has quit [Client Quit]
jperras has joined #nixos
pkill9 has joined #nixos
martingale has quit [Read error: Connection reset by peer]
<ij>
I rolled back the system generation, but the /run/current-system hasn't changed. How should I change it?
martingale has joined #nixos
zybell_ has quit [Ping timeout: 255 seconds]
hakujin4 has quit [Ping timeout: 245 seconds]
martingale has quit [Read error: Connection reset by peer]
<ij>
Ah, nixos-rebuild switch --rollback.
jperras has quit [Ping timeout: 260 seconds]
martingale has joined #nixos
<sphalerite>
Lears: did you boot in efi mode?
spear2 has quit [Ping timeout: 276 seconds]
vidbina has quit [Ping timeout: 265 seconds]
<Lears>
I'm fairly sure I did sphalerite; when I booted the USB from my UEFI/BIOS boot menu it had UEFI prepended to the option, and in the USB's boot menu I selected a UEFI option. nixos-generate-config also detects it as in UEFI mode, though if you know of a better test I'll try it.
<gillmanash>
error: value is a string while a list was expected, at /home/gil2a4/dev/NixOS@github.com/nixpkgs/pkgs/top-level/stage.nix:131:8
<gillmanash>
I know why I'm wrong, but I don't know how to be right :/
<gchristensen>
overlays = [ (import /home/gil2a4/.config/nixpkgs/overlays) ]; I think
pkill9 has joined #nixos
vidbina has joined #nixos
hakujin4 has quit [Ping timeout: 276 seconds]
<tfc[m]>
hi there. i have 2 machines. on one machine i did `nix-env -f default.nix -i`, then i did `nix copy --to ssh://machine2 -f default.nix` and now i would like to "activate" what i have copied over, so that it appears as installed as on the former machine. any idea how to do that?
<tilpner>
You can install the path it copied
<tilpner>
It should have printed it, but you can also nix-build it again
<tfc[m]>
tilpner: i guess this is easy, but how to i "install a path (that exists already because of nix-copy)"?
fusion809 has quit [Remote host closed the connection]
<LnL>
yep, you can install store paths if they exist locally
jtojnar_ has joined #nixos
xcmw has joined #nixos
<clever>
and `nix-store -r /nix/store/kmwd1hq55akdb9sc7l3finr175dajlby-hello-2.10` will just download it from a binary cache
jtojnar_ has quit [Remote host closed the connection]
<tfc[m]>
clever: yeah that's what i initially wanted to have, but nix-serve does not work for me and my github issue in the repo was not answered for 2 weeks now. so i am `nix copy`ing things around.
<testuser>
Also, I'm not even sure why the "3.3.5.3" version is used, since I've overriden the e1000e package to use the latest e1000e driver: http://dpaste.com/077DFEH
<testuser>
any ideas why the newer overriden "3.4.0.2" is not taken into account?
Rusty1_ has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 256 seconds]
<{^_^}>
→ 2bd7c3a9 by @jerith666: openjdk10: gtk2 -> gtk3
<{^_^}>
→ cb66a746 by @jerith666: eclipse: jdk8 -> jdk10
<{^_^}>
→ 59ddb3eb by @NeQuissimus: Merge pull request #38397 from jerith666/eclipse-jdk10-gtk3
<{^_^}>
[nixpkgs] @NeQuissimus merged pull request #38397 → Update OpenJDK 10 and Eclipse to GTK 3 → https://git.io/vxX44
<testuser>
sphalerite, I've added the "linuxPackages.e1000e = " instead of just "linuxPackages.e1000e = " when overriding the package and now a different error occurs ...
<testuser>
error: attribute 'virtualboxGuestAdditions' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/tasks/filesystems/vboxsf.nix:11:10
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oahong has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @qknight pushed to release-18.03 « nixos/dhcp: fix permissions of statedir »: https://git.io/vxyY0
<testuser>
sphalerite, is there any way to update the whole pkgs/os-specific/linux/e1000e/default.nix to disbale the assert at the beginning of the file?
<testuser>
sphalerite, the following produces an error: http://dpaste.com/1D21CNY, which is: error: attribute 'extend' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/kernel.nix:39:31
<testuser>
that line contains: " apply = kernelPackages: kernelPackages.extend (self: super: { "
hakujin4 has joined #nixos
<sphalerite>
testuser: same thing, you can't do linuxPackages.e1000e = … because it makes linuxPackages into an almost empty set
<sphalerite>
as I wrote, linuxPackages = super.linuxPackages // { e1000e = …; }
yorick_ has joined #nixos
hakujin4 has quit [Ping timeout: 265 seconds]
<testuser>
sphalerite, I'm still getting error: assertion failed at /nix/store/mfl5vszrisi6986zsn4q34y2hhrbzkgd-nixos-18.03.131792.becbe4dbe16/nixos/pkgs/os-specific/linux/e1000e/default.nix:3:1
<sphalerite>
testuser: well yes, as I said there's no way to disable the assertion from outside
<sphalerite>
you need to copy the file and callPackage it yourself
<testuser>
sphalerite, yeah, but the /nix/store/mfl5vszrisi6986zsn4q34y2hhrbzkgd-nixos-18.03.131792.becbe4dbe16/nixos/pkgs/os-specific/linux/e1000e/default.nix is still referencing 3.3.5.3 version ... not the overriden onw.
<sphalerite>
testuser: because it needs to evaluate in the first place before it can be overridden
<sphalerite>
testuser: and put e1000e.nix next to it, which is your modified version of pkgs/os-specific/linux/e1000e/default.nix
<sphalerite>
err, missed a semicolon and a {} there
<sphalerite>
so callPackage ./e1000e.nix {}; }; })
hakujin4 has joined #nixos
<testuser>
sphalerite, that works, thank you! Now I'm getting a different kind of error when building the package: http://dpaste.com/1YF30G6 ... I've used the same 3.3.5.3 version (with the assert removed) just to see whether that works first.
stabbmesiter has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
<sphalerite>
testuser: you might need to add buildInputs = [ libelf ]; in the set passed to mkDerivation, and libelf to the function's signature at the top of the file
hakujin4 has quit [Ping timeout: 245 seconds]
ThatDocsLady has joined #nixos
knupfer has joined #nixos
ndrei has quit [Remote host closed the connection]
sud0x3 has quit [Read error: Connection reset by peer]
<testuser>
sphalerite, after doing that, the old version doesn't compile, while the new version does ...
pie_ has joined #nixos
vaninwagen has quit [Ping timeout: 264 seconds]
<testuser>
sphalerite, however, no wireless interface, even after doing "modprobe e1000e"
<sphalerite>
isn't e1000e for ethernet anyway?
<NinjaTrappeur>
Hey, how long does it takes for nixpkgs master to appear on the unstable channel? Looks like this is automated though hydra, what's the triggering condition? Is this documented somewhere, I'm interested :P. Tor browser is broken on the current unstable channel, the fix is available on the master, that's a bit annoying...
<{^_^}>
→ 37210d49 by @teto: castxml: init at 20180403
<{^_^}>
→ 604aa24f by @teto: pygccxml: init at 1.9.1
<{^_^}>
→ 94c1b10d by @teto: pybindgen: init at 0.18.0
coot_ has joined #nixos
xcmw has joined #nixos
<testuser>
Dezgeg, I have the wifi interface now, does the hardware.enableRedistributableFirmware enable the firmware that is under specific license, which is not enabled by default?
hakujin4 has quit [Ping timeout: 260 seconds]
<Dezgeg>
I think it's the same package that's called linux-firmware in other distros
shoogz has quit [Ping timeout: 268 seconds]
<testuser>
Dezgeg, ah great, thanks for the heads-up.
<testuser>
Dezgeg, one other thing that I've observed in dmesg when reloading iwlwifi is the following: http://dpaste.com/0BE91GR
<testuser>
Should I be concerned about the "hwmon_device_register() is deprecated." ?
<Dezgeg>
I think it's harmless, I remember seeing that same thing at some point
iyzsong has quit [Ping timeout: 240 seconds]
aarvar has quit [Ping timeout: 260 seconds]
<testuser>
Dezgeg, thank you
<testuser>
sphalerite, also, thank you!
<sphalerite>
np!
<sphalerite>
Dezgeg: I just got the stock nixos kernel booting on my chromebook :D
<sphalerite>
no display output yet though, and an oops
michiel_l has quit [Ping timeout: 260 seconds]
<Dezgeg>
do you know what the previous problem was?
testuser has quit [Quit: Leaving]
michiel_l has joined #nixos
<sphalerite>
missing cmdline parameters I think >.>
<Dezgeg>
huh
<Dezgeg>
what's the oops then?
<thefloweringash>
what bootloader are you using?
<sphalerite>
thefloweringash: depthcharge. I have no choice in the matter
<sphalerite>
or rather, if I wanted to use anything else I'd have to build my own firmware for it
<Dezgeg>
chainloading u-boot from that would be the best, IMHO (assuming u-boot is ported to that)
<sphalerite>
does anyone know if it's possible to use a /dev/disk/by-id/* path for root= on the kernel command line?
<clever>
ah right, you can just manually aim at the right generation with test
<yorick_>
sphalerite: yes
<nioncode>
yorick_: sweet thanks
<nioncode>
I'm now on the generation I want, but I can't boot it, because my boot device changed. when I change the boot device in configuration.nix and nixos-rebuild, it rebuilds the latest channel updates though and not the state of my generation
<yorick_>
nioncode: you can set the nixpkgs version with NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/your_nixpkgs_revision_here.tar.gz nixos-rebuild build
<clever>
yorick_: it will fail to find configuration.nix when you do that
<yorick_>
ah, I thought that had a default
<clever>
yorick_: <nixos-config> has to be in NIX_PATH to use nixos-rebuild, so you want to use -I to prepend to the search path
<clever>
the default is in $NIX_PATH
<nioncode>
yorick_: I don't have a specific nixpkgs revision anyhow. I just want to use the entire system I built in gen 117, but change the `boot.initrd.luks.devices` entry. is this somehow possible?
<clever>
nioncode: the only way to modify 117 is to know the exact configuration.nix that originally made 117
<yorick_>
nioncode: well, I keep my configuration.nix (and nixpkgs version) in git so I can check out an old one. I'm afraid it doesn't store the configuration.nix in the built system
<{^_^}>
[nixpkgs] @veprbl opened pull request #38468 → mesos: fix on darwin by disabling java interface → https://git.io/vxyED
xcmw has joined #nixos
coconnor has joined #nixos
jensens has quit [Ping timeout: 265 seconds]
coot_ has quit [Quit: coot_]
abbradar has quit [Remote host closed the connection]
logzet has joined #nixos
<nioncode>
clever, yorick_ : thanks guys, I'm up and running again :)
<nioncode>
while we're at it: is it possible to pin e.g. VirtualBox to a specific version so that I don't have to rebuild it all the time whenever a new version gets added to nixos-unstable? I'm perfectly fine with updating VirtualBox only now and then when I can control it
martingale has quit [Read error: No route to host]
ThatDocsLady has joined #nixos
<clever>
nioncode: virtualbox is a bit more complex to pin, because it involves kernel components
martinga_ has joined #nixos
cript0nauta1 has joined #nixos
sigmundv has joined #nixos
<nioncode>
I don't have much in my system configuration anyway, so I can probably just pin the entire config right? but then I don't receive security patches
nuncanada has joined #nixos
blankhart has quit [Read error: Connection reset by peer]
blankhart has joined #nixos
nuncanada has quit [Client Quit]
chimay has joined #nixos
cript0nauta1 has quit [Remote host closed the connection]
<sphalerite>
yorick_: it doesn't seem to be working with the by-id. Although it might be failing for another reason. I'm sort of in the dark here because I don't actually have any output on the screen, and the serial header in here is too small for me to use
chimay has joined #nixos
<sphalerite>
symphorien: are you mixing 1.x daemon and 2.x client or vice versa?
<symphorien>
no, pure nix2
<infinisil>
jgt: nix-env -q to get the exact name of the npm package, then use that with -e
<sphalerite>
symphorien: does it work if you run whatever command with NIX_REMOTE=daemon?
<infinisil>
jgt: But i think nix-env also has -u which should upgrade it
xcmw has quit [Ping timeout: 256 seconds]
<symphorien>
sphalerite: nope, same
<jgt>
infinisil: Ah ok, thanks! I think maybe nix-env should include your comments as help text if there's no installed package that matches what the user tried to uninstall
<infinisil>
Yeah it's UX is kinda bad..
<infinisil>
its*
<Dezgeg>
sphalerite: /dev/disk/by-id/* are created by udev
<sphalerite>
Dezgeg: but that's in the initrd isn't it?
<sphalerite>
I've managed to get back to not being able to reproduce booting a nixos kernel :(
<sphalerite>
I've probably just forgotten something stupid, but it's so hard to tell what the problem is when all you have is a white screen
sanscoeu_ has quit [Remote host closed the connection]
<Dezgeg>
if you have initrd then it's the initrd who parses root= from the kernel command line
bara has quit [Read error: Connection reset by peer]
jrolfs_ has quit [Ping timeout: 276 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
rauno has joined #nixos
freusque has quit [Quit: WeeChat 2.0]
Guanin_ has quit [Ping timeout: 240 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
Ariakenom has joined #nixos
coot_ has quit [Ping timeout: 260 seconds]
emilis has quit [Quit: Leaving]
<tilpner>
How does one debug cycles in multiple-output packages?
<nick_l>
tilpner: this feature is absolutely fantastic. It allows me to get rid of having git clones on my system and having to manage those.
bara has quit [Read error: Connection reset by peer]
<tilpner>
Does it? These are read-only
<tilpner>
And you can't push/pr with them
bara has joined #nixos
fresheyeball has quit [Read error: No route to host]
bara has quit [Read error: Connection reset by peer]
<nick_l>
tilpner: there are many pieces of software for which in most cases I only want to have the source. For those small number of cases where I want to make upstream changes, I can do a git checkout, but even that could likely be automated.
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<nick_l>
tilpner: e.g. when I type a character in emacs in that buffer, it could ask "Do you want to get a git checkout that you can edit?".
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<nick_l>
tilpner: I suspect that a similar command like the one you posted could be used to do that.
* hodapp
stabs systemd in the face
coot_ has joined #nixos
bara has quit [Read error: Connection reset by peer]
<nick_l>
systemd is great... after you have configured it ;)
bara has joined #nixos
<nick_l>
And then it still has design flaws, but let's ignore that.
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
ixxie has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
knupfer has quit [Ping timeout: 265 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
martinga_ has quit [Read error: Connection reset by peer]
martingale has joined #nixos
bara has quit [Read error: Connection reset by peer]
vaninwagen has quit [Ping timeout: 264 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<nick_l>
How does Nix 2.0 end up on 17.09? I thought only 18.03 would have it?
bara has joined #nixos
<hodapp>
nick_l: the crap I'm running into now is that it's blatantly ignoring the "After=" directive I gave a service
<nick_l>
hodapp: I used that same feature 3 days ago and it worked, if that helps.
goibhniu has quit [Ping timeout: 260 seconds]
jrolfs_ has joined #nixos
coot has joined #nixos
<nick_l>
hodapp: most likely you should find a green park, walk there for 15 minutes, go back in and it will work in 5 minutes.
bara has quit [Read error: Connection reset by peer]
<ocharles>
Can anyone on 18.03 tell me if `nix-shell -p haskellPackages.bytes` tries to download prebuilt binaries, or builds from scratch?
<nick_l>
hodapp: or you can post your definition and I can compare it to mine.
<hodapp>
nick_l: it "works" for a lot of people, but I can look in the journalctl timestamps and see that it's trying to start a service 4-5 seconds before the service I explicitly told it to start *after*
<ocharles>
For me it looks like it's going to build from scratch, but I don't know why
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
coot_ has quit [Ping timeout: 240 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
xcmw has joined #nixos
bara has joined #nixos
<hodapp>
nick_l: now, I can make it work by adding a "Requires" there but there is no reason why that should be required (the service in After is already being started for other reasons)
<nick_l>
hodapp: when using NixOS service definitions, it is "after", not "After".
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
jrolfs has joined #nixos
bara has quit [Read error: Connection reset by peer]
lonokhov has quit [Quit: Lost terminal]
tony__ has joined #nixos
<tony__>
test
rihards has joined #nixos
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
ryanartecona has quit [Quit: ryanartecona]
Jetien has quit [Ping timeout: 265 seconds]
bara has joined #nixos
<nick_l>
hodapp: if you are already a layer lower and you are really, really sure, then I feel for you.
bara has quit [Read error: Connection reset by peer]
<hodapp>
nick_l: there is next to nothing in this test aleady. foo.service has "After=... ... bluetooth.service". bluetooth.service is already being run. 'systemctl status bluetooth.service' shows me the time that bluetooth.service successfully started, journalctl lines up with this timestamp, and in all cases it is trying to start foo.service first (by 4-5 seconds).
hakujin4 has quit [Read error: Connection reset by peer]
sud0x3 has joined #nixos
bara has quit [Read error: Connection reset by peer]
<ocharles>
In fact, even `nix-shell -p haskellPackages.ghc` seems to be compiling texinfo from scratch (?)
blankhart has quit [Ping timeout: 268 seconds]
jrolfs_ has joined #nixos
vidbina has quit [Ping timeout: 260 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
Neo--- has quit [Ping timeout: 256 seconds]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<nick_l>
hodapp: I read the documentation again and you are right that if what you said is correct, that this is a bug. I'd still find it really unlikely that such a simple feature doesn't work.
jabranham has joined #nixos
bara has joined #nixos
<hodapp>
nick_l: this is not the first time I've had something incredibly simple fail to work in systemd
bara has quit [Read error: Connection reset by peer]
<ocharles>
urgh, if I collect garbage it seems to want to build gcc from scratch too.
bara has joined #nixos
Lisanna has quit [Ping timeout: 260 seconds]
<nick_l>
hodapp: I have also reported bugs in systemd, but they got fixed.
sanscoeur has joined #nixos
<nick_l>
hodapp: it's most effective if you write a small test case and report that upstream. Alternative is that you join SLNOS.
<{^_^}>
→ bf44cf71 by @dtzWill: mesa: 17.3.7 -> 17.3.8
<{^_^}>
→ a137be55 by @dtzWill: Merge pull request #38479 from dtzWill/update/mesa-17.3.8
bara has joined #nixos
<nick_l>
mightybyte: it is possible to find the git version for which the test succeeded and then to use that git checkout for your NIX_* variables.
bara has quit [Read error: Connection reset by peer]
<mightybyte>
But they have essentially the same contents?
alex`` has joined #nixos
<nick_l>
mightybyte: i.e., they have the same contents if you pick the right version.
<mightybyte>
I see
<mightybyte>
Are git hashes for nixpkgs the same for nixpkgs-channels?
jrolfs_ has quit [Ping timeout: 260 seconds]
<coconnor>
the branches of nixpkgs-channels are the targets of the hydra CI system
bara has joined #nixos
jtojnar has quit [Quit: jtojnar]
<coconnor>
which sources from nixpkgs
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
silver_hook has joined #nixos
<nick_l>
mightybyte: I don't know, but if you just pick the release-17.09 branch from the nixpkgs-channels repository you have the most stable possible within the NixOS world.
silver_hook has quit [Changing host]
silver_hook has joined #nixos
<maurer>
I'm _guessing_ (though I don't know) tha tthe comment about nixup in 18.03 was a joke about how it's always right around the corner
<fresheyeball>
I am looking to impliment one of the requested changes
Ariakenom has quit [Read error: Connection reset by peer]
bara has joined #nixos
deba5e12 has joined #nixos
Ariakenom has joined #nixos
<ixxie>
FRidh: if all the non-callPackaged stuff in top-level/python-packages.nix was ported to seperate files, could it be replaced by something that would build the namespace automatically from pkgs/development/python-modules
<fresheyeball>
how can I use makeWrapper in this context?
<fresheyeball>
does buildPythonApplication have an installPhase hook?
<fresheyeball>
If so, what else would need to happen inside that hook
<fresheyeball>
?
ottidmes has joined #nixos
<FRidh>
ixxie: not really. We sometimes need to specify what version of a package from the main package set is needed. If we would pass in the package set (`pkgs`) to each expression then I think it would be possible. In that case we would likely want something similar to Haskell.
bara has quit [Read error: Connection reset by peer]
thblt has quit [Remote host closed the connection]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<FRidh>
ixxie: regarding your earlier warning. Like LnL mentioned, its a a Nix 2.0-related change (which was introduced with 18.03). Certain options were changed.
MP2E has joined #nixos
<LnL>
yeah, those should disappear after the initial upgrade
<deba5e12>
hey folks. i just got a new mechanical usb keyboard (the redragon kumara), and my system, sadly, doesn't seem to detect it (no sign of it in lsusb, lspci, dmesg, or xev). a bit of googling suggests that some sort of tinkering with the hid modules in configuration.nix might fix this up, but random guessing at which combination hasn't gotten me anywhere. any suggestions?
bara has joined #nixos
<FRidh>
fresheyeball: what do you need it for in that PR?
bara has quit [Read error: Connection reset by peer]
coot has quit [Read error: Connection reset by peer]
<FRidh>
you can call it in any phase, typically in postFixup or fixupPhase if you want to override the default phase
<ottidmes>
I just updated my desktop to 18.03 but I no longer got sound, I checked my journal and found errors about amixer missing, do I need to enable it now explicitly somewhere, or should I be using a different command?
<fresheyeball>
FRidh: to ensure that an installed version of pywal has access to imagemagick
<ixxie>
FRidh: I see
bara has joined #nixos
<gchristensen>
ottidmes: the release notes indicate you have to explicitly enable sound. did you do that?
<FRidh>
fresheyeball: its better to patch the places it calls imagemagick than to use a wrapper
<FRidh>
better -> preferred
bara has quit [Read error: Connection reset by peer]
<ixxie>
FRidh: I was just suprised because I don't use the option
bara has joined #nixos
jensens has quit [Ping timeout: 260 seconds]
bara has quit [Read error: Connection reset by peer]
<ixxie>
kinda offtopic but, which terminal emulator would you folks recommend?
<ottidmes>
gchristensen: Thanks, I only have it disabled on my servers, but since the default changed, no I did not have sound enabled
<ottidmes>
gchristensen: I actually did scan the release notes, but somehow missed it, but it was before the upgrade, I should have double checked (which I will be doing right now)
<FRidh>
fresheyeball: the application at some place needs to execute some imagemagick executable, or load some imagemagick binary. The preferred solution is identifying where this happens, and patch it, replacing it with an absolute path to the imagemagick store path
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<ottidmes>
I am always suprised how unstable my lemonbar is, every time some GUI related thing is updated it seems t change a little bit, sometimes the fonts, sometimes aligning issues, sometimes flickerings on redraw.
bara has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @FRidh pushed 135 commits to python-unstable: https://git.io/vxyjz
<{^_^}>
→ 6cbc8606 by @FRidh: python: python-dateutil: 2.6.1 -> 2.7.2
<{^_^}>
→ fd38752f by @FRidh: python: dbf: 0.96.8 -> 0.97.2
<{^_^}>
→ ff444aa5 by @FRidh: python: python-debian: 0.1.23 -> 0.1.32
bara has joined #nixos
<{^_^}>
[nixpkgs] @edolstra pushed commit from @dtzWill to release-17.09 « nix: fix conditional so brotli is used w/2.0 builds, needed for logs! »: https://git.io/vxyj6
endformationage has quit [Ping timeout: 268 seconds]
endformationage has joined #nixos
<ottidmes>
Hmm, with my USB audio adapter sound works again, seems like it no longer recognizes the audio module of my motherboard :( at least I have a workaround for now
chessai has joined #nixos
MichaelRaskin has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
JosW has quit [Quit: Konversation terminated!]
jperras has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
ndrei has joined #nixos
bara has quit [Read error: Connection reset by peer]
endformationage has joined #nixos
bara has joined #nixos
raynold has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
Brejick has joined #nixos
Brejick has quit [Client Quit]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
Brejick has joined #nixos
Brejic has quit [Ping timeout: 240 seconds]
bara has quit [Read error: Connection reset by peer]
<{^_^}>
→ 9f447ca3 by R. RyanTM: rdkafka: 0.11.3 -> 0.11.4
<{^_^}>
→ 9d999d32 by @nlewo: Merge pull request #38215 from r-ryantm/auto-update/rdkafka
krey has quit [Ping timeout: 260 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
fendor has quit [Remote host closed the connection]
fendor_ has joined #nixos
<joepie91>
ottidmes: if using pulseaudio, look at the config panel in pavucontrol
<joepie91>
it does weird stuff sometimes when you have multiple soundcards
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
knupfer has quit [Remote host closed the connection]
bara has quit [Read error: Connection reset by peer]
coot has joined #nixos
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<ottidmes>
joepie91: Thanks for the tip, but unfortunately that was the first thing I did, somehow it only lists my GPU and built-in is grayed out, if I plug in my USB audio adapter and turn of the others, that ones does work correctly. I believe the "built-in" one is the one I used (definitely not the GPU, not sure why that is listed)
fendor_ has quit [Ping timeout: 260 seconds]
bara has quit [Read error: Connection reset by peer]
<ottidmes>
Probably, never used that, I do not own any displays with built-in boxes
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
ndrei has quit [Remote host closed the connection]
waleee has quit [Quit: WeeChat 2.1]
bkchr has quit [Quit: Konversation terminated!]
dmitry-zen[m] has joined #nixos
coot has quit [Ping timeout: 276 seconds]
<ottidmes>
fixed it! I really need to find a better pavucontrol, I had to run: for x in `amixer controls | grep layback` ; do amixer cset "${x}" on ; done
sud0x3 has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 176 commits to python-unstable: https://git.io/vxSJN
<{^_^}>
→ 3aca9f8b by @FRidh: python: aws-xray-sdk: 0.95 -> 0.97
<{^_^}>
→ 7045e23e by @FRidh: python: batinfo: 0.3 -> 0.4.2
<{^_^}>
→ d45b9a56 by @FRidh: python: bayespy: 0.5.12 -> 0.5.14
bara has quit [Read error: Connection reset by peer]
Bugworm[m] has joined #nixos
<ottidmes>
It seemed to have muted the sound card and I could not get it to unmute from the GUI
bara has joined #nixos
<{^_^}>
[nixpkgs] @FRidh opened pull request #38483 → Python package set: major updates → https://git.io/vxSUe
bara has quit [Read error: Connection reset by peer]
<clever>
ottidmes: alsamixer, f6
bara has joined #nixos
<clever>
ottidmes: nixos will also save those levels at clean shutdown, and restore them on bootup, so its only ever an isue for fresh boots and maybe newly hot-plugged devices
bara has quit [Read error: Connection reset by peer]
vidbina has quit [Ping timeout: 260 seconds]
bara has joined #nixos
coot has joined #nixos
hellrazo1 has joined #nixos
hellrazor has quit [Ping timeout: 260 seconds]
bara has quit [Read error: Connection reset by peer]
<ottidmes>
clever: I will probably just update my increase sound volume keyboard handler to check if its muted or not.
bara has quit [Read error: Connection reset by peer]
<ottidmes>
clever: I am not sure how I would have unmuted it from that interface, but now I know it should have been the HDA Intel one.
<ottidmes>
clever: Creating a wrapper for firefox that writes to /dev/null was enough to prevent those journal entries appearing in xsession, so no more JavaScript error noise in my journal
bara has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 91 commits to python-unstable: https://git.io/vxSUN
<{^_^}>
→ 9d9d72c8 by @FRidh: python: matplotlib: 2.1.2 -> 2.2.2
<{^_^}>
→ 86745da4 by @FRidh: python: moto: 1.2.0 -> 1.3.1
<{^_^}>
→ 1b1065ee by @FRidh: python: msgpack-numpy: 0.4.1 -> 0.4.3
<abcrawf>
I'm trying to write a derivation for a project which depends on libclang. It tries to find libclang.so using llvm-config. I've added a dep on llvm and llvmPackages.libclang, but llvm-config points to the llvm installation which is at a different store path from libclang. Am I missing something obvious?
<abcrawf>
I'd much prefer just to use pkg-config, but I can't find a libclang.pc provided by anything.
fendor_ has joined #nixos
jrolfs_ has quit [Ping timeout: 265 seconds]
<clever>
abcrawf: there is a clangStdenv.mkDerivation that may help somethings
<ottidmes>
Should I do anything about this message: systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling. Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
MercurialAlchemi has joined #nixos
kiloreux_ has joined #nixos
<abcrawf>
clever: I'll take a look. Thanks.
humanoyd has joined #nixos
<ottidmes>
Could this be due to running kernel 4.4? (I have to due to my stupid proprietary GPU driver)
<Dezgeg>
IIRC yes
<Dezgeg>
that needs a recent-ish kernel
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
civodul has joined #nixos
kiloreux has quit [Ping timeout: 268 seconds]
<ottidmes>
Dezgeg: Good to know :) But its not less secure than it has always been, right? With the new feature it would be more secure, but that's all, right?
<Dezgeg>
yeah
fresheyeball has left #nixos ["WeeChat 2.0"]
<ottidmes>
Dezgeg: Thanks for clearing that up, always scary if your log contains stuff in bold, with caps, and exclamation marks :P
xxxnasheedxxx has joined #nixos
<abcrawf>
clever: Do you know where clangStdenv is defined? I can't seem to find the source.
<xxxnasheedxxx>
how can i modify the url where the source of a package is downloaded? I can do nix build nixpkgs.minetest, but that doesnt build the master branch, only the release
<xxxnasheedxxx>
i want to build specifically the release
<xxxnasheedxxx>
s/release/master/
bara has quit [Read error: Connection reset by peer]
<abcrawf>
clever: Thanks a neat trick. Thanks!
<clever>
xxxnasheedxxx: you want to use overrideAttrs to change the src
<LnL>
abcrawf: libclang is in a separate output, llvm-config doesn't know where that is
fendor_ has quit [Ping timeout: 264 seconds]
<xxxnasheedxxx>
clever: can you provide an example?
<infinisil>
abcrawf: I can also recommend just using ripgrep: `rg 'clangStdenv = '`, finds it instantly
bara has quit [Read error: Connection reset by peer]
<abcrawf>
LnL: I ended up using shellHook in mkDerivation to set LIBCLANG_PATH. It seems to work well.
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
rauno has joined #nixos
bara has joined #nixos
<{^_^}>
[nixpkgs] @LnL7 pushed 26 commits to release-18.03: https://git.io/vxSLL
<{^_^}>
→ 4ea4af71 by @LnL7: caffe2: mark linux only
<{^_^}>
→ ac05363f by @LnL7: axel: mark linux only
<{^_^}>
→ 82c6d92c by @LnL7: catfish: mark linux only
<LnL>
abcrawf: ah nice, you can just use an attribute that also works during a build
bara has quit [Read error: Connection reset by peer]
chreekat has joined #nixos
bara has joined #nixos
ona has quit [Read error: Connection reset by peer]
bara has quit [Read error: Connection reset by peer]
<chreekat>
When download-from-binary-cache.pl says, "NAR info file '...' lacks a signature; ignoring", what is it ignoring? The NAR info file, or the warning?
bara has joined #nixos
ona has joined #nixos
<xxxnasheedxxx>
clever: so fetchFromGithub has a rev attribute, how do I make it just grab the latest from the repo?
<xxxnasheedxxx>
the master branch?
taktoa has quit [Remote host closed the connection]
ryanartecona has joined #nixos
<ottidmes>
chreekat: Only the source code can tell for sure, so I checked, its the NAR info file. That particular warning is emitted in an if-block that checks for requireValidSig and if no signature is defined it return undef
<chreekat>
ottidmes: cool, thanks. Suppose I could have checked src myself :)
hph^ has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
stabbmesiter has joined #nixos
stabbmesiter has quit [Client Quit]
<chreekat>
We are experimenting with setting up a binary cache. Are there any pointers on that? Where does the signature come from, or how can we make it optional during testing/setup?
<chreekat>
I suppose the latter is a setting on the nix client side.. to the manual I go
coot has quit [Ping timeout: 255 seconds]
<ottidmes>
chreekat: Basically you generate a public/private key pair with nix-store (see the manual) and then assign the private key file to the secret-key-files Nix option and the public key to the trusted-public-keys Nix option, then run `nix sign-paths --all --key-file <secret-key-file>` so all your existing paths in the Nix store will become signed with the private key (new paths will be signed automatically by the
<ottidmes>
keys defined in secret-key-files)
cruxeternus has quit [Ping timeout: 265 seconds]
cruxeternus has joined #nixos
rauno has quit [Ping timeout: 260 seconds]
sud0x3 has joined #nixos
<chreekat>
ottidmes: oh! that's a step I would never have figured out. Is that documented somewhere?
<chreekat>
thanks a ton
<chreekat>
(I mean specifically about signing existing paths)
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<{^_^}>
[nixpkgs] @dotlambda pushed 2 commits to python-unstable: https://git.io/vxSq2
<{^_^}>
→ 1be645bf by @dotlambda: python.pkgs.Babel: move expression
<{^_^}>
→ c6712faf by @dotlambda: python: Babel: 2.3.4 -> 2.5.3
bara has quit [Read error: Connection reset by peer]
<ottidmes>
chreekat: Some of it is mentioned in the manual, and some of it I learned from this IRC by people inspecting the actual Nix store database and source code to see what was happening
bara has joined #nixos
<xxxnasheedxxx>
clever: how can I use fetchFromGitHub in that command?
bara has quit [Read error: Connection reset by peer]
bara has quit [Read error: Connection reset by peer]
FRidh has quit [Quit: Konversation terminated!]
<clever>
xxxnasheedxxx: put it in place of fetchurl
Ariakenom has quit [Ping timeout: 265 seconds]
<chreekat>
xxxnasheedxxx: Since 'the master branch' can mean different things at different points in time, Nix can't rely on it. It has to use a rev so it knows it definitley is building the same thing as last time
bara has joined #nixos
<xxxnasheedxxx>
chreekat: so is there any way to compile the latest? nix-shell didn't seem to work for me
ndrei has joined #nixos
kiloreux_ has quit [Ping timeout: 265 seconds]
MercurialAlchemi has quit [Ping timeout: 276 seconds]
abbradar has quit [Remote host closed the connection]
<chreekat>
ottidmes: Sadly I tried setting nix.requireSignedBinaryCaches to false (for testing, mind) and it didn't change nix's behavior. Hm perhaps that is a deprecated/useless option; it's not listed in the manual. I'll try nix.extraOptions = 'require-sigs = false' instead... nope.. both?... nope... ah well, guess I'll just bug the guy with access to set up the cache's key
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<srhb>
Is there any pitfall to adding new inputs to declaratively generated jobsets?
<chreekat>
xxxnasheedxxx: find the rev of the latest. 'git rev-parse master'
<ottidmes>
chreekat: The nix executable only exists in nix 2.0, so yeah, I assumed you used nix 2.0, I am not sure how to deal with that in Nix 1.11, sorry
goibhniu has joined #nixos
rauno has quit [Ping timeout: 265 seconds]
scribbler has joined #nixos
<chreekat>
ottidmes: np. Looks like the func used to live in nix-push. Now we have to figure out how that interacts with nix-server...
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<ottidmes>
enterprisey: Try this instead: nix-build --expr 'with import <nixpkgs> {}; callPackage ./. {}' (in the directory with the default.nix)
freeman42x]NixOS has quit [Remote host closed the connection]
<enterprisey>
ottidmes: I got the same error
freeman42x]NixOS has joined #nixos
<enterprisey>
(the stack trace was also the same)
<xxxnasheedxxx>
clever: do not know how to unpack source archive /tmp/nix-build-source.drv-0/minetest
<xxxnasheedxxx>
why does this happen? i use "nix-build -E 'with import <nixpkgs> {}; minetest.overrideAttrs (drv: { src = fetchFromGitHub { url = "https://github.com/minetest/minetest"; owner = "minetest"; repo = "minetest"; rev = "c6975febbab02db306329a93d4ccc3249df209e3"; sha256 = "0x0s7qc68124d5mmkl043nf5hiidlpdh71w74mddqfcya0p0f85l"; }; })'"
<ottidmes>
I am getting /nix/store/...samba-4.7.6/sbin/samba_kcc: ImportError: No module named talloc (python2 error)
aarvar has left #nixos [#nixos]
TonyTheLion has joined #nixos
michas_ has joined #nixos
<ottidmes>
When I check other references to talloc in nixpkgs 18.03 I see other packages with talloc and python as well, but nothing special
ertes-w has quit [Read error: Connection reset by peer]
TonyTheLion has quit [Quit: leaving]
ertes-w has joined #nixos
TonyTheLion has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
orivej has quit [Ping timeout: 276 seconds]
aarvar has joined #nixos
jrolfs_ has joined #nixos
<clever>
xxxnasheedxxx: oh, minetest is doing weird things with its src
<clever>
xxxnasheedxxx: it needs both minetest and minetest_game
<{^_^}>
[nixpkgs] @dotlambda pushed 6 commits to python-unstable: https://git.io/vxSnL
bara has quit [Read error: Connection reset by peer]
<{^_^}>
→ 404a5a88 by @dotlambda: beancount: move to pythonPackages
<{^_^}>
→ 91d29797 by @dotlambda: python.pkgs.google_api_python_client: move expression
<{^_^}>
→ 203c9d53 by @dotlambda: python: google-api-python-client: 1.5.1 -> 1.6.6
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
jrolfs_ has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @xeji opened pull request #38488 → shogun: disable parallel building → https://git.io/vxSns
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
TonyTheLion has quit [Quit: leaving]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
ryanartecona has quit [Quit: ryanartecona]
bara has joined #nixos
<scribbler>
Hi All, got a couple of newbie questions if that's ok.. First question is; If I add bash as a buildInput in shell.nix, then nix-shell installs a deriviation that has no executuable called bash in to the scope for that shell (btw the name in the derivation is suffixed with "-dev" if thats significant. If however i just do nix-env -i bash, then it installs a sane workable bash deriviation. What am i missing conceptually in my expect
xxxnasheedxxx has quit [Ping timeout: 260 seconds]
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<ottidmes>
scribbler: nix-shell builds a development environment if you give it a deriviation, or a environment with the packages available if you supply it a list of packages via -p/--packages, so you probably want: nix-shell -p bash
telent has joined #nixos
dan_b has joined #nixos
jabranham has joined #nixos
<scribbler>
ottidmes, oic, so a development environment here would mean the headers/includes etc etc to develop against, not the executables? or will that vary package by package?
<scribbler>
as, somethings seem to install a useful runnable verision, for eg postgres.
logzet has quit [Remote host closed the connection]
<scribbler>
So, my next question is.. that in my foolish ignorance, i thought, if i delete the derivation, do some channel --update etc, i might get a more useful derivation installed. Instead it turns out nix-shell just can't continue now that this has been deleted. is there away to force the re download/installation of the derivation(s) associated with the shell?
chisui has quit [Ping timeout: 260 seconds]
blankhart has quit [Ping timeout: 260 seconds]
<ottidmes>
scribbler: with development environment I indeed meant those things, basically the evironment available at nix-build, which could include executables needed to build the derivation in question, but if you just want a shell with the output (binaries and such) of a specific package, you would use -p instead
<scribbler>
got it
<scribbler>
ok, thanks
jayq has joined #nixos
<ottidmes>
scribbler: define "delete the derivation", you should never delete things from /nix/store yourself
<scribbler>
:D yes, so i've learned.. and yes you assume the correct definition
bara has quit [Read error: Connection reset by peer]
<ottidmes>
scribbler: Most starting out with NixOS do that at one point or the other, its one of the first things I did myself too, I will check the manual, I think verify or repair would fix this for you
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
<ottidmes>
scribbler: If you still know the full path of the thing you deleted, you might try this: nix-store --repair-path /nix/store/dj7a81wsm1ijwwpkks3725661h3263p5-glibc-2.13
<{^_^}>
[nixpkgs] @bendlas pushed 5 commits to release-18.03: https://git.io/vxSCt
<{^_^}>
→ cb285ddd by @jtojnar: gnome3.webkitgtk: fix build
<{^_^}>
→ d9a25524 by @bendlas: webkitgtk: 2.18 -> 2.20
<{^_^}>
→ ed6c49f0 by @bendlas: webkitgtk: patch shebangs in postPatch
<scribbler>
ohh.. thanks.. i do.. trying..
<scribbler>
bingo, thanks ottidmes
<infinisil>
scribbler: I'm a bit confused, what's your actual goal? What's the problem you're trying to solve, what error do you get?
<infinisil>
Ah well then
chessai has quit [Remote host closed the connection]
bara has quit [Read error: Connection reset by peer]
<ottidmes>
scribbler: If that does not help, you could also do a full Nix store check: nix-store --verify --repair
<jtojnar>
bendlas: wait do we have enchant2 in 18..
<jtojnar>
s/18../18.03/
<jtojnar>
?
bara has joined #nixos
xeji has joined #nixos
<scribbler>
infinisl, goal one was to create a working isolated environment for working on a ruby project.. goal two was to fix the damage i caused by deleting a derivation.. which has been fixed with `nix-store --repair-path /nix/store/pjaf5d6gzjx93l1mk1a0kcipca4ssixc-bash-4.4-p12-dev`
<{^_^}>
[nixpkgs] @bendlas pushed to release-18.03 « webkitgtk: use enchant instead of enchant2 »: https://git.io/vxSC1
<scribbler>
sorry, actually goal one was to get a working 'bash' executable in my nix-shell'd enviornment..
<ottidmes>
Anyone knowledgable about Python in NixOS that can tell me why Samba 4 would now fail on talloc missing as an import, while in 17.09 I had the exact same package description that did not fail? Seems something changed with the Python packages. I am now trying: (python2Packages.python.withPackages (pyPkgs: with pyPkgs; [ talloc ]))
<bendlas>
jtojnar: is enchant2 important for webkitgtk?
goibhniu has quit [Ping timeout: 265 seconds]
<jtojnar>
bendlas: I do not think so
<jtojnar>
I think only recent gspell needs it
<bendlas>
I assume it's part of the latest gnome release?
<bendlas>
are you going to backport that as well?
<bendlas>
jtojnar:
<jtojnar>
bendlas: no, too much work
<jtojnar>
sticking to old enchant should be probably fine
bara has quit [Read error: Connection reset by peer]
<bendlas>
(y)
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
xy2_ has quit [Ping timeout: 260 seconds]
lverns has joined #nixos
bara has quit [Read error: Connection reset by peer]
<{^_^}>
→ 39db8ac1 by @coreyoconnor: godot: add application metadata and man page to share.
<{^_^}>
→ 583a8512 by @Mic92: Merge pull request #38444 from coreyoconnor/add-godot-meta
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @coreyoconnor to release-18.03 « godot: add application metadata and man page to share. »: https://git.io/vxSgH
Arcaelyx has quit [Read error: Connection reset by peer]
frankqux has joined #nixos
Arcaelyx_ has joined #nixos
kerrhau has joined #nixos
kerrhau has quit [Changing host]
kerrhau has joined #nixos
timbod7 has quit [Read error: Connection reset by peer]
timbod7 has joined #nixos
TonyTheLion has joined #nixos
dan_b has quit [Ping timeout: 265 seconds]
telent has quit [Ping timeout: 265 seconds]
Guest12920 is now known as shapr
shapr has quit [Changing host]
shapr has joined #nixos
<timbod7>
Quick beginners nix question: If I run 'nix-shell -p htop' then I get a new shell with htop on my PATH. If I run nix-shell -p gtk2' in what sense are the gtk2 libs and include files in the resulting shell? How do I locate them?
bara has quit [Read error: Connection reset by peer]
bara has joined #nixos
bara has quit [Read error: Connection reset by peer]
<timbod7>
gillmanash: Thanks, but LD_LIBRARY_PATH isn't set, and even if it were that would not point to the header files.
<boxscape>
is there ever a reason to delete old, unneeded configurations from your system? For example, do they take a significant amount of space?
scribbler has quit [Remote host closed the connection]
<gillmanash>
timbod7: I don't have a lot of experience e.g., with gtk. But for example, I use CMake with C++ libs. If I drop into a shell with a cmake dep, then when I build CMake will find the dependencies and link them and provide the headers
<gillmanash>
But after build, the linker paths have been set in binary's rpaths, so there is no actual change in the evnironment
<gillmanash>
If you are doing developemnt, write a default.nix for your local project (look at similar projects for examples), then use nix-shell on the expression rather than pulling in libs
pkill9 has quit [Ping timeout: 260 seconds]
johnw has joined #nixos
davidlt has quit [Ping timeout: 276 seconds]
scribbler has joined #nixos
hakujin2 has joined #nixos
<timbod7>
gillmanash: That's interesting, do you know how cmake finds the header files in that circumstance?
hakujin1 has quit [Ping timeout: 276 seconds]
michas_ has quit [Ping timeout: 260 seconds]
<nyberg>
I'm having issues with haskell+opengl with nix as it seems to fail to load the drivers. Currently it fails on `GLIBCXX_3.4.22 not found' after a symlink to the nix store driver to /run/opengl-driver. Wondering if there's a better approach than symlinking everything.