schoppenhauer has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
schoppenhauer has joined #nixos
Lisanna_ has joined #nixos
<Lisanna_>
Is anyone else having trouble deploying nixops? It's stuck at "starting the following units" and journalctl on one of the target machines is continuously printing messages from systemd-timesyncd timing out on *.nixos.pool.ntp.org
stepcut has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
marusich has joined #nixos
<yrashk>
what is the best way to install vmware workstation *on* NixOS?
<yrashk>
(I've tried qemu, and it was no match to running the same VM with Windows 10 -- at least on Ubuntu; so I am trying to figure out the most idiomatic way have VMWare Workstation installed)
gspia_ has quit [(Quit: Leaving)]
timon37 has quit [(Remote host closed the connection)]
andrewrk_ is now known as andrewrk
pxc has joined #nixos
cybrian has quit [(Ping timeout: 248 seconds)]
cybrian has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
oida has joined #nixos
marusich has quit [(Quit: Leaving)]
mkoenig has quit [(Ping timeout: 240 seconds)]
oida_ has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
mkoenig has joined #nixos
marusich has quit [(Client Quit)]
marusich has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
Lisanna_ has quit [(Ping timeout: 260 seconds)]
<unlmtd>
I used overrideAttrs to change the 'src' of dwm, but my display manager keeps booting the unmodified derivation
<unlmtd>
how do I modify the attributes on the 'global' derivation?
odi has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<fearlessKim[m]>
is there a flag to bypass checksum check ?
sibi_ has quit [(Quit: Connection closed for inactivity)]
U007D has joined #nixos
<rotaerk>
oops, made the mistake of going to the .com version of nixos.org... porn site
<unlmtd>
fearlessKim: what checksum check?
<fearlessKim[m]>
when installing a package. I have a list of generated derivations without checksum (yet) I would like to test installing
tg has quit [(Ping timeout: 255 seconds)]
odi has quit [(Ping timeout: 248 seconds)]
odi has joined #nixos
freeman42x has joined #nixos
<clever>
unlmtd: which file did you apply that override to?
<fearlessKim[m]>
the -I flag is not documented for nixos-rebuild
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/v5ytw
<NixOS_GitHub>
nixpkgs/release-17.09 fd1b9e3 Jan Tojnar: gnome-disk-utility: fix missing schemas for gnome-disk-image-mounter...
NixOS_GitHub has left #nixos []
<unlmtd>
clever: thanks for the pointer
<unlmtd>
clever: youre unto something
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nwspk has joined #nixos
<unlmtd>
fearlessKim: I dont think you can bypass the declarative nature of nix, but you can script something that computes the checksums and adds them to the derivation
<unlmtd>
im no expert but im pretty sure thats how the language-specific derivation generators work
<fearlessKim[m]>
unlmtd: that 's what I feared. I have to do the script that computes the checksum anyway so it's not much of a problem
<unlmtd>
if you have no checksum you dont have a complete expression
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<unlmtd>
thats by the nature of the beast
U007D has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
phreedom has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v5ytj
<NixOS_GitHub>
nixpkgs/master 97ac29c Vladimír Čunát: hpsa service: fallout from #28557 merge and revert
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/v5yqe
<NixOS_GitHub>
nixpkgs/release-17.09 0b131df Vladimír Čunát: hpsa service: fallout from #28557 merge and revert...
NixOS_GitHub has left #nixos []
tg has joined #nixos
silver_hook has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
aloiscochard has joined #nixos
odi has quit [(Ping timeout: 260 seconds)]
jsgrant has quit [(Quit: jsgrant)]
<hyper_ch>
clever: you seem like you're bored and hence open for a challenge ;)
anderslundstedt has quit [(Quit: leaving)]
jsgrant has joined #nixos
fresheyeball has joined #nixos
<fresheyeball>
hey
<fresheyeball>
is there a way I can tell which rev of nixpkgs I am using
jsgrant has quit [(Read error: Connection reset by peer)]
<fresheyeball>
as in what rev of the nixpkgs repo is on my system currently
joehh has quit [(Ping timeout: 240 seconds)]
<cocreature>
fresheyeball: at least for figuring out what revision your channel is on, you can use "readlink -f ~/.nix-defexpr/channels/nixpkgs" and the part after the dot in the filename is a commit hash
<cocreature>
not sure if there is something that takes into account that you can override what nixpkgs refers to (e.g via NIX_PATH)
<fresheyeball>
cocreature: I don't seem to have that file
<fresheyeball>
nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion' works
<fresheyeball>
but doesn't give me the rev
anderslundstedt has joined #nixos
<cocreature>
fresheyeball: how did you install nix?
<fresheyeball>
I'm on nixos
<cocreature>
oh ok
<fresheyeball>
can I do an import of nixpkgs based on nixpkgsVersion instead of rev?
<rotaerk>
if you want to fix the version of nixpkgs, perhaps pull a specific commit from github
<fresheyeball>
rotaerk: right, so that is what I am trying to do
<fresheyeball>
and it's working right now, not locked to a specific rev
<fresheyeball>
which is why I want to figure out how to get my current rev, so I can lock it.
<fresheyeball>
I just need to lock to the current rev
<rotaerk>
okay, so you've got your servantRef
<rotaerk>
you'll want to do something very similar, but for nixpkgs
<fresheyeball>
rotaerk: look at the 2 lines of commented code above
<fresheyeball>
if I can know the rev, that's all I should need
<rotaerk>
basically you'll use import <nixpkgs> {} to get access to fetchFromGitHub, and then use *that* to fetch nixpkgs from github in the same way as servant
<rotaerk>
and you import THAT as pkgs, which you use for the rest of the file
<fresheyeball>
yes
<fresheyeball>
I already have that, commented out in that same paste
<fresheyeball>
I just need to find out what rev my system is currently using
<rotaerk>
does it matter? why not just pick the latest, confirm it still works under THAT version, and lock it down to that
<fresheyeball>
I tried the latest rev from master
<fresheyeball>
and it failed
<fresheyeball>
I tried the 17.03 release rev
<fresheyeball>
and it failed
<fresheyeball>
my current rev succeeds
<rotaerk>
hmm
<fresheyeball>
so, yes it matters
<fresheyeball>
I'm on "17.03.1641.d95660168d"
<fresheyeball>
but I don't know what git rev that is
<rotaerk>
in that case, I'm not sure how to tell which github commit ID your installed nixpkgs is based on
<fresheyeball>
crapes
<rotaerk>
might just have to go back into the github history and find a commit that works
<fresheyeball>
cocreature: I apparently did have that file
<fresheyeball>
but the path doesn't seem to contain the rev either
<fresheyeball>
I get this /nix/store/hz4swirxpmbx7ngms5lim94dkmajf9sx-user-environment/nixpkgs
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v5y3N
<NixOS_GitHub>
nixpkgs/master 47dcf63 Frederik Rietdijk: python.pkgs.joblib: move expression
NixOS_GitHub has left #nixos []
sibi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/v5y3p
<NixOS_GitHub>
nixpkgs/release-17.09 64478a0 Frederik Rietdijk: python.pkgs.joblib: move expression...
NixOS_GitHub has left #nixos []
pie_ has joined #nixos
anderslundstedt has quit [(Quit: leaving)]
stepcut has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v5ysU
<NixOS_GitHub>
nixpkgs/master 1ba197f Jean-Philippe Bernardy: make my maintainer handle match my github username
<NixOS_GitHub>
nixpkgs/master 7aa2e6b Frederik Rietdijk: Merge pull request #29263 from jyp/jyp-rename-maintainer...
NixOS_GitHub has left #nixos []
anderslundstedt has joined #nixos
eacameron has joined #nixos
<fearlessKim[m]>
trying to debug "nix/store/g8prw6jy2yvrww8kfmsdyzja66dbm0sl-python3-3.6.2/bin/python3.6m: No module named ipykernel_launcher" what's the m in python3.6m ?
<fearlessKim[m]>
.jupyter_console_wrapped does site.addsitedir('/nix/store/by8yl4r11xp8lnx9abwa2anqjhvr0q8j-python3.6-ipykernel-4.6.1/lib/python3.6/site-packages') and in that folder there is a "ipykernel_launcher.py" so the "No module named ipykernel_launcher" is strange. Maybe it lacks a __init__.py ?
chakerbenhamed has quit [(Quit: WeeChat 0.4.2)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] nlewo opened pull request #29302: dockerTools.pullImage: use skopeo to pull the image (master...pr/dockerpull) https://git.io/v5yZk
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/v5ycL
<NixOS_GitHub>
nixpkgs/release-17.09 6076d9f Frederik Rietdijk: python.pkgs.jupyter_console: 5.0.0 -> 5.2.0...
NixOS_GitHub has left #nixos []
thc202 has joined #nixos
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] woffs opened pull request #29304: oysttyer-2.9.1 (master...oysttyer) https://git.io/v5ycy
NixOS_GitHub has left #nixos []
Ivanych has joined #nixos
<woffs>
if anyone wants oysttyer, here it is
<goibhniu>
hi woffs, could you add yourself as the maintainer and (assuming you've tested that it works) check the relevant boxes, cheers!
<fearlessKim[m]>
FRidh: I noticed you tend to push each python derviation into its own file. Any reason ? (btw thanks for the update, I was lost in my strace log)
Jacoby6000 has joined #nixos
jensens has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
<FRidh>
fearlessKim[m]: several. Easier tracking of changes, reduces the chances of merge conflicts, and makes it somewhat easier to automatically update expressions
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
marusich has quit [(Quit: Leaving)]
Jacoby6000 has quit [(Ping timeout: 248 seconds)]
elninja44 has quit [(Remote host closed the connection)]
<fearlessKim[m]>
FRidh thanks, so you can run jupyter-console fine ? I still have the error :s I tried on nixpkgs-unstable + cherry-picked your commit and then on master. Everytime via user nix-env.
mudri has quit [(Ping timeout: 240 seconds)]
<woffs>
goibhniu, thanks for the hints. Done.
<woffs>
I have tested on 17.03. Master fails because Params/Validate/XS/XS.so cannot build (blib/arch/auto/Params/Validate/XS/XS.so: hidden symbol `__stack_chk_fail_local' isn't defined).
<FRidh>
fearlessKim[m]: nix-env -iA python3.pkgs.jupyter_console is not supported as explained in the Nixpkgs manual
<danbst1>
nixer: nix-build '<nixpkgs>' -I nixpkgs=https://github.com/nixos/nixpkgs/archive/90e78aafadba43f9ec1190d9411720d561f1e09b.tar.gz -K -A avahi
<jophish>
"Qt applications cannot be run from the store anymore, but need to be installed." D:
<NixOS_GitHub>
[nixpkgs] vanschelven opened pull request #29305: Python-kivy: init at 1.10.0 (master...kivy) https://git.io/v5ylQ
NixOS_GitHub has left #nixos []
<FRidh>
fearlessKim[m]: you'll need to use 'python.withPackages(ps: with ps; [ jupyter_console ])' and also add any other libraries you want to be accessible
<goibhniu>
thanks woffs!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dywedir opened pull request #29306: mpv: 0.26.0 -> 0.27.0 (master...mpv) https://git.io/v5y8J
<fearlessKim[m]>
FRidh: where should I put that ? right now I've uninstalled jupyter* and am installing the global jupyter package that seems to encompass everything
orivej has quit [(Ping timeout: 248 seconds)]
<FRidh>
fearlessKim[m]: please read the using python section,preferably what is available on master by building it locally
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<manveru>
might be a good idea to write that on the page ;)
<goibhniu>
I think there's a repo for the website, if you wanna open a PR. Personally, I think it's quite clear though (I'm not involved in the organisation).
<fearlessKim[m]>
FRidl : I suppose the "package" in "As explained in the user’s guide installing individual Python packages imperatively with nix-env -i or declaratively in environment.systemPackages is not supported" refers to "library" packages else it contradicts with "The same goes for Python applications and libraries. Python applications can be installed in your profile, but Python
<fearlessKim[m]>
libraries you would like to use to develop cannot." ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5y4x
<NixOS_GitHub>
nixpkgs/release-17.09 7c1278d Antoine Eiche: dockerTools.pullImage: change the docker deamon readiness mechanism...
NixOS_GitHub has left #nixos []
joepie91 has quit [(Excess Flood)]
joepie91 has joined #nixos
joepie91 has quit [(Changing host)]
joepie91 has joined #nixos
eacameron has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
joepie91 has quit [(Read error: Connection timed out)]
<fearlessKim[m]>
the manual really intertwines user aspects with developer aspects, which is awkward, like you have to really read all of it while usally you can by reading the part you are interested in. From a usability perspective the first (python) FAQ entry is clearer than the python introduction (IMO). Putting into "bold" key user aspects might improve readibility.
<fearlessKim[m]>
jupyter-console is an (interactive) application so shouldn't I be able to imperatively install it ? " applications can be installed in your profile,"
<FRidh>
fearlessKim[m]: There's definitely improvements possible, and I would welcome those. I guess its just hard to write good docs. When writing such instructions you have to assume a certain prior knowledge of the read, so there already there may be a mismatch. Then, there's the question of whether you want to provide quick solutions, or want to actually teach something. And, to come back to your first point - what are user aspects and what are developer aspects
<FRidh>
when talking about Python environments?
<FRidh>
fearlessKim[m]: yes, that *should* work, at least mostly. I don't know why it does not work, however, because the console is typically used together with other Python libraries, I don't see any point in investigating.
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v5ywp
<NixOS_GitHub>
nixpkgs/master 2cd2ee5 Tuomas Tynkkynen: prelink: Disable on Darwin...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/v5yrv
<NixOS_GitHub>
nixpkgs/release-17.09 221a743 Tuomas Tynkkynen: prelink: Disable on Darwin...
NixOS_GitHub has left #nixos []
joehh has quit [(Ping timeout: 240 seconds)]
<goibhniu>
sure, but at least it is still used (AFAIK) in production, by the person who develops it
<vegai>
mm, okay
tmaekawa has quit [(Quit: tmaekawa)]
<goibhniu>
last I heard, it was an important part of the infrastructure for their company ... so, it's not like it's a hobby project, or proof of concept
Wharncliffe has quit [(Quit: Lost terminal)]
<__Sander__>
vega: yes I'm dogfooding my own stuff
<gchristensen>
the other obvious problem is someone needs to be brave enough to adopt it to fix the problem that nobody else is using it
pxc has joined #nixos
<__Sander__>
vegai
acarrico has joined #nixos
iyzsong has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 255 seconds)]
joehh has joined #nixos
<joehh>
hi there - anyone offer nix consulting services
<gchristensen>
yep!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v5yoH
<NixOS_GitHub>
nixpkgs/master 21298fd Tuomas Tynkkynen: x86info: only works on x86...
<joehh>
gchristensen: just for reference (as I've seen you here so often) - are you affiliated with any of these companies?
<gchristensen>
I'm not :)
<joehh>
:)
simukis has joined #nixos
<gchristensen>
I work for Tumblr
<danbst1>
joehh: I'm curious: what category of support are you looking for: mentoring, preparing new infra, maintaining existing or refactoring old one to Nixos based?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/v5yK8
<clever>
musicmatze: its best to do it in config.nix, or 6 months down the road, you wont remember how to reproduce the install when upgrading
<clever>
WinchellsM: just add cmake to the buildInputs, and it will run cmake for you, completely automatically
<musicmatze>
clever: okay. Seems like despite the package definition setting the variable to false, the binary is the same when installing with said variable set to true...
<musicmatze>
anyways, thanks.
<clever>
musicmatze: which .override variant did you use?
<clever>
cmake has one that replaces the default ./configure code
iyzsong has quit [(Ping timeout: 248 seconds)]
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
<vegai>
__Sander__: may I ask what's the magnitude of the deployments where you work?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] offlinehacker opened pull request #29315: pkgs/telepresence: init at 0.65 (master...pkgs/telepresence/init) https://git.io/v5yNM
NixOS_GitHub has left #nixos []
<musicmatze>
clever: pulse seems to work as expected and OBS works now, too!
<musicmatze>
clever: but MPD does not.
tghume has quit [(Ping timeout: 240 seconds)]
<__Sander__>
vegai: you mean the size of the system that I deploy with disnix?
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
tghume has joined #nixos
orivej has joined #nixos
nh2 has quit [(Quit: Leaving.)]
cement has joined #nixos
mkoenig has quit [(Ping timeout: 260 seconds)]
<musicmatze>
clever: unfortunately it seems that mpd is not able to contact dbus (or is it pulse that contacts dbus)? In my journalctl -u mpd I get: pulseaudio[4575]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
<goibhniu>
musicmatze could it be that you have some mpd.extraConfig that's disrupting things?
<avn>
musicmatze: possible you need systemwide pulseaudio daemon
<musicmatze>
goibhniu: I assumed I have to manually configure pulseaudio in the mpd configuration as audio_output ... or was this assumption wrong?
<musicmatze>
avn: I think I have this with hardware.pulseaudio.enable = true; right?
* goibhniu
doesn't know
<goibhniu>
can you post your mpg config?
<avn>
`pulseaudio.systemWide = true;` as well
<avn>
(if you want user mpd and your own user access pulse same time)
<musicmatze>
avn: ah... okay. Do I have to reboot for this?
<avn>
build/switch
<musicmatze>
`nixos-rebuild test`? :-)
<musicmatze>
hm. Now I get: exception: Failed to open mixer for 'default detected output': no such mixer control: PCM
<musicmatze>
with journalctl -u mpd -fe
mkoenig has joined #nixos
<avn>
well, mpd still try to use direct access to mixer even if use PA?
<musicmatze>
I entered the audio_output in the mpd configuration and now there are no errors anymore. But no sound either -.-'
<clever>
musicmatze: i think the issue is that pulseaudio sets env variables and talks via x11 to find the daemon
<clever>
musicmatze: but services ran by systemd lack that access
Ralith_ has joined #nixos
<Infinisil>
musicmatze: Actually I had (not using it anymore) a setup for mpd with pulseaudio without having to have a systemwide pulseaudio
<pbogdan>
musicmatze: here's my config in case that helps http://dpaste.com/1XTDN38 (that's without systemWide)
<musicmatze>
Infinisil What was your trick?
<musicmatze>
pbogdan: trying yours
<WinchellsM>
Is there a way to make fetchFromGitHub do a recursive clone?
<musicmatze>
pbogdan: with yours I get a "connection refused" in the journal
<Infinisil>
`load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1` in hardware.pulseaudio.extraConfig. And `audio_output { type "pulse" name "MPD pulseaudio" server "127.0.0.1" }` in services.mpd.extraConfig
<avn>
Infinisil: I still think, that system-wide is best one for PA
<musicmatze>
Infinisil: Okay... mpd and "mplayer" (as of user-sound) work now, but not my mic anymore -.-' aaaaah why can't this be easy?
<musicmatze>
But thank you so far.
rauno has quit [(Ping timeout: 246 seconds)]
<musicmatze>
ah, restarting the software that used the mic worked.
<musicmatze>
Everything seems to work right now.
<Infinisil>
avn: Probably yeah
<musicmatze>
Thank you very much everyone! Hopefully I can make it to nixcon, so I can have a beer with you (Or clubmate if you're alc-free)!
erictapen has quit [(Ping timeout: 248 seconds)]
<Infinisil>
:D
<Infinisil>
(I may or may not be at nixcon, don't know)
<musicmatze>
Me too. Still have no idea where to sleep and so on... can't afford that much (student)=
<musicmatze>
And I'm also thinking whether it is worth it. I mean, Nixcon will be great,... but I'm not sure I can benefit that much from it.
<Infinisil>
I'm also not very social in general, so not sure
bkchr has quit [(Ping timeout: 248 seconds)]
<musicmatze>
Infinisil: well that's not the problem with me. The point is that I'm rather busy with my own project and therefor do not participate that much in nixos right now. I maintain a few packages and discuss a few things, but I'm not that involved in discussions around hot topics right now. So one part of me thinks that it'd be better if someone else can get my place and get the opportunity to actually participate
<musicmatze>
in discussions and such
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 4 new commits to master: https://git.io/v5Svr
<NixOS_GitHub>
nixpkgs/master 4b28da6 Tuomas Tynkkynen: diffoscope: 85 -> 86
<NixOS_GitHub>
nixpkgs/master 890d4a2 Tuomas Tynkkynen: diffoscope: Revive hard links patch
<NixOS_GitHub>
nixpkgs/master ab5bd5e Tuomas Tynkkynen: diffoscope: Remove obsolete and unreferenced patch
NixOS_GitHub has left #nixos []
odi has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 3 new commits to master: https://git.io/v5SvP
<NixOS_GitHub>
nixpkgs/master 741839a John Ericson: lib: Add `*Platform.extensions`...
<NixOS_GitHub>
nixpkgs/master 5aec3f9 John Ericson: treewide: Use `*Platform.extensions`
<NixOS_GitHub>
nixpkgs/master 8fccaa2 John Ericson: Merge pull request #29282 from obsidiansystems/soext...
<sphalerite>
I'm having an interesting audio issue… When I plug my headphones into my laptop, I only get sound on the left hand side of the headphones, and the right channel comes out of the laptop speakers. Anyone have any idea what might cause this or how to fix it?
jmeredith has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v5SUZ
<NixOS_GitHub>
nixpkgs/staging 720e88b Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
<sphalerite>
goibhniu: oh boy. Tried running lspci to work out what I have, and everything seems to have frozen
<__monty__>
Having some trouble with nix-shell for haskell development. The cabal configure step complains about missing dependencies, among others mtl and text. I've specified these as build-depends in the cabal file (without version bounds) and generated default.nix and shell.nix with cabal2nix.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29317: ld-wrapper: Use .dylib not .so on Darwin (staging...ld-wrapper-dylib) https://git.io/v5SU5
NixOS_GitHub has left #nixos []
<goibhniu>
sphalerite: eek ... is this a new machine?
<sphalerite>
goibhniu: somewhat, I've had it for about 4 months
<sphalerite>
It's a pretty recent model
<goibhniu>
oh, did you notice this audio problem before?
<sphalerite>
Dell XPS 15, 9560 I think
<sphalerite>
No, I think it might be related to my recent switch to 17.09
bkchr has joined #nixos
<sphalerite>
I'll try booting a 17.03 generation
<sphalerite>
❤ nixos
<sphalerite>
I've had no end of trouble with the nvidia graphics too though
<sphalerite>
tilpner: ^
<sphalerite>
I suspect that might be involved in the lspci freeze
* goibhniu
thought those machines were supposed to have good Linux support :/
<hyper_ch>
I just go for Intel video card and wifi
<hyper_ch>
they just work
<goibhniu>
so boring, hyper_ch :D
<sphalerite>
Oh, not when nvidia is involved
<sphalerite>
Yeah I've had no trouble whatsoever with the Intel graphics, besides performance
<hyper_ch>
if I want to play games, I'd use Win XP :)=
bkchr has quit [(Ping timeout: 246 seconds)]
bkchr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v5SkO
<NixOS_GitHub>
nixpkgs/master 753d114 Silvan Mosberger: s-tui: init at 0.6.0
<NixOS_GitHub>
nixpkgs/master 4871946 Frederik Rietdijk: Merge pull request #29310 from Infinisil/s-tui...
NixOS_GitHub has left #nixos []
<sphalerite>
Ok so it works fine on 17.03
<sphalerite>
Just tried booting 17.09 again...
<hyper_ch>
what about 18.03?
sellout- has quit [(Quit: Leaving.)]
<sphalerite>
This time I get only the left speaker when the headphones aren't plugged in
sellout- has joined #nixos
<sphalerite>
And when they are, only the right headphonr
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
<lewo>
Someone know when nix 1.12 release will become the stable one?
sellout- has quit [(Ping timeout: 240 seconds)]
bkchr has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] nlewo closed pull request #29274: [WIP] paths-from-graph.pl: generate the hash of the store path (master...pr/generate-hash) https://git.io/v5MKH
NixOS_GitHub has left #nixos []
<sphalerite>
lewo: I too would love to know that, I've asked a number of times but never got a satisfactory answer. I suspect it's "when it's ready"
<sphalerite>
oh boy, now I get a kernel panic on shutdown
<NixOS_GitHub>
[nixpkgs] savannidgerinel opened pull request #29318: haskellPackages.statgrab: fix #29297 system library dependency failure (release-17.03...release-17.03) https://git.io/v5SIE
NixOS_GitHub has left #nixos []
marusich has joined #nixos
<sphalerite>
Trying nixos-unstable, it's fine without the headphones plugged in and with the headphones I'm only getting sound from the right headphone
<sphalerite>
I suspect it's not deterministic though
<lewo>
sphalerite: don't shutdown it: -> 16:01pm up 999 days 20:58, 0 users, load average: 4.44, 4.48, 3.88
<sphalerite>
lewo: not entirely feasible for my laptop. Especially given how often the nvidia GPU causes the kernel to lock up entirely
orivej has quit [(Ping timeout: 240 seconds)]
<sphalerite>
17.03 seems to be consistently good though
<sphalerite>
So, back to 17.03!
<disasm>
lewo: that's scary, there's been a few major kernel and systemd vulnerabilities in the last year, I'd recommend a reboot
Wizek_ has joined #nixos
<bennofs>
ksplice? :d
<sphalerite>
that too
<lewo>
disasm: I don't manage this machine. But it's fun, tomorrow 1000 days :/
<lewo>
(
LexLeoGryfon has joined #nixos
<sphalerite>
aw ffs
<sphalerite>
now my kernel/initrd are corrupted
nh2 has joined #nixos
<goibhniu>
could be a hardware issue (RAM, or harddrive maybe?)
pshendry has joined #nixos
<sphalerite>
nah the kernel/initrd corruption I believe is just from an unclean shutdown, because yay EFI System Partition using FAT
Jackneilll has joined #nixos
<sphalerite>
I'd be very irritated if there was a RAM issue or a problem with the SSD in my shiny new laptop :(
<sphalerite>
But I haven't noticed anything like that in the past few months so I'd be surprised if it was tha
glenn has joined #nixos
Jacoby6000 has joined #nixos
<sphalerite>
I guess I'll run the firmware-provided diagnostics tool just in case
<pshendry>
If I have multiple .nix files imported into my configuration.nix, what's a good way to define environment.systemPackages lists in each file and have the configuration combine them?
<sphalerite>
pshendry: don't import them directly, just use the imports option and provide systemPackages in each one
<sphalerite>
they will be merged automatically
<disasm>
hmmm... why does clang say configure: error: C++ compiler cannot create executables
Jackneill has quit [(Ping timeout: 252 seconds)]
<__monty__>
Having trouble with nix-shell for haskell development. .cabal: http://ix.io/zTX shell.nix: http://ix.io/zTZ Running cabal configure reports missing dependencies for mtl, network, optparse-applicative and text (all -any). I'm on nixpkgs-unstable and just updated the channel. Anything I'm doing wrong?
<bennofs>
disasm: check configure.log (or config.log? dont remember)
<sphalerite>
disasm: clang as in?
<pshendry>
sphalerite: Oh wow I knew sets were merged but I didn't know lists were as well, I couldn't seem to find that info in the Nix manual. Thanks a lot
<sphalerite>
pshendry: yeah the module system is a bit magical
<bennofs>
__monty__: how are you launching nix-shell?
<__monty__>
bennofs: "nix-shell"
<bennofs>
__monty__: try nix-shell -A env
reinhardt has quit [(Quit: Leaving)]
<sphalerite>
__monty__: I know there have been some issues with ghc.withPackages the past week or so
<__monty__>
Someone in #haskell asked to try nix-shell --pure with a setup.hs but that reported the same issues.
<sphalerite>
might be related to that
<__monty__>
bennofs: Attribute env in selection path env not found. Do I need another argument?
<sphalerite>
I think the easiest solution for now is to stick with an older nixpkgs version
<bennofs>
__monty__: oh sorry, nix-shell -A env shell.nix
<__monty__>
apparently shell.nix doesn't have an env attribute.
<__monty__>
It was generated with cabal2nix --shell.
<bennofs>
oh, hmm. just looked at shell.nix, it uses lib.inNixShell already
<bennofs>
so perhaps try an older nixpkgs version, as sphalerite said
<disasm>
sphalerite: trying to fix openmodelica and it recommends compiling with clang. I switched stdenv -> libcxxStdenv but that seemed to make things worse.
<sphalerite>
I don't work with haskell much and when I do it's on the stable nixpkgs branch so I don't actually know much about what's going on but there has been a fair bit of chat about it being broken in the past week or so as I said
<disasm>
the error before I switched stdenv was src/netstream-storage.h:17:10: fatal error: 'vector' file not found
ertes-w has quit [(Ping timeout: 240 seconds)]
<sphalerite>
that's weird, my best guess at what would cause that is trying to compile C++ as C
<disasm>
nm, just overriding the configurePhase to have the steps I need in it works :)
<__monty__>
sphalerite: I specified the channel with -I ~/.nix-defexpr/channels/nixos. Nix-shell complained about that path not being in the search path and said ignoring. Cabal configure still had the exact same problem.
<sphalerite>
does nixos-install copy the channels from the live system into the target system?
<sphalerite>
__monty__: how did you set up the channel? COuld you nix-channel --list? And actually rather than changing the nix files it's probably neater to do nix-shell -I nixpkgs=$HOME/.nix-defexpr/channels/nixos
<__monty__>
That's what I was doing. Apparently ~ doesn't work there instead of $HOME.
<sphalerite>
__monty__: and nix doesn't interpret a ~ in NIX_PATH, usually that's up to the shell but it won't do it if it's preceded by nixpkgs= for instance hence $HOME
<sphalerite>
yeah
<__monty__>
Ok, thanks. Now cabal is satisfied.
erictapen has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
erictapen has joined #nixos
<disasm>
this is just insane... ./pkgs/applications/science/misc/openmodelica/fakegit.nix
<sphalerite>
disasm: actually for me I think that falls under the category of "awesome" :p
<clever>
disasm: i would have just patched the build scripts directly
aanderse has quit [(Remote host closed the connection)]
jellowj has joined #nixos
takle has joined #nixos
<Infinisil>
:P
<andy__>
oh ok
freeman42x has quit [(Ping timeout: 264 seconds)]
<mbrock>
andy__: to clarify, you don't need to download a file at all, you only need that configuration.nix line. NixOS knows where to find all the packages necessary
<andy__>
so typically i would search there and just add what I want to the configuration.nix file
revtintin has joined #nixos
<sphalerite>
It depends on what sort of software it is
<andy__>
ok
<sphalerite>
if it's something on the system level, like a display manager or generally anything that's shared between all users, yes, configuration.nix
<sphalerite>
if it's at the user level you can install it just for a specific user using nix-env
<andy__>
and I'm just trying to prepare myself haha
eacameron has joined #nixos
<sphalerite>
re configuration.nix: the advantage of the manpage is that it corresponds to your installed version, which the online ones won't necessarily (e.g. there's currently none published on nixos.org for nixos-unstable)
<sphalerite>
or the 17.09 beta for that matter, AFAIK
<andy__>
ok thanks I'll keep that in mind!
<andy__>
thanks for the help everyone!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #29125: firehol: init at 3.1.4, iprange: init at 1.0.3 (master...firehol-3.1.4) https://git.io/v5KES
NixOS_GitHub has left #nixos []
takle has quit [(Ping timeout: 240 seconds)]
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
<Infinisil>
andy__: This repository should really 'just work' since it's built with nix
hotfuzz has joined #nixos
mizu_no_oto has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] mguentner opened pull request #29322: emscriptenfastcomp: move wrap magic to own file, use newScope (master...move_emscripten_from_top_level) https://git.io/v5SZD
NixOS_GitHub has left #nixos []
pxc has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
goibhniu has quit [(Ping timeout: 248 seconds)]
<cocreature>
is there a way to use another machine as a binary cache via SSH? (just using nix on both, not nixos)
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<catern>
cocreature: yes, look in the manual for ssh substitutes
<cocreature>
catern: nice, thanks!
pshendry has quit [(Quit: Konversation terminated!)]
TheAppleMan has joined #nixos
jellowj has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
oida_ has joined #nixos
erictapen has joined #nixos
<rootnode>
I'm running my builds from inside vim (via VimuxRunCommand), but then it doesn't know about the nix-shell environment
sellout- has quit [(Quit: Leaving.)]
oida has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v5SCb
<NixOS_GitHub>
nixpkgs/master f47ab6c Andreas Rammhold: afewmail: update meta.homepage (#29313)
NixOS_GitHub has left #nixos []
takle has joined #nixos
orivej has joined #nixos
mudri has joined #nixos
pie_ has joined #nixos
jellowj has quit [(Ping timeout: 255 seconds)]
<andy__>
hello, i have another question... I am running nixos in virtual box and would like to install the virtualbox guest additions. however, when I try to run the vboxadditions shell script, it says /bin/rm no such file or directory. is there something I can do to allow the script to see the rm that is installed in /run/current-system/sw/bin/rm?
mudri has quit [(Ping timeout: 248 seconds)]
<sphalerite>
andy__: third-party software won't generally work out of the box on NixOS
python476 has quit [(Read error: Connection reset by peer)]
<sphalerite>
andy__: Try setting virtualization.virtualbox.guest.enable = true; in your config, that shoudl get you the guest additions. https://nixos.org/nixos/options.html#virtualbox.guest.enable
<sphalerite>
virtualisation*
<andy__>
oh ok i'll look into that... thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch opened pull request #29323: Remove Profpatsch from the CODEOWNERS file (master...codeowners) https://git.io/v5Sl4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Profpatsch pushed 1 new commit to master: https://git.io/v5SlR
<NixOS_GitHub>
nixpkgs/master 4cbe7bd Profpatsch: Remove Profpatsch from the CODEOWNERS file...
NixOS_GitHub has left #nixos []
seanparsons has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v5S8Z
<NixOS_GitHub>
nixpkgs/master cc5491d Vincent Laporte: proverif: 1.95 -> 1.97pl1
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/v5So9
<NixOS_GitHub>
nixpkgs/staging 41458f7 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos []
swflint has quit [(Ping timeout: 240 seconds)]
<jtojnar>
How does linking on Nix work? appstream-util from appstream-glib is not able to find libappstream-glib.so from the same package https://paste.gnome.org/pzdr8duoa
odi has quit [(Ping timeout: 240 seconds)]
<JosW>
Infinisil: Please note that we will give preference to people from underrepresented groups in tech and people who have written blog posts, code or given talks related to NixOS. Please provide some information about you.
<JosW>
Hardly "public" registration..
<Infinisil>
JosW: Yeah, I'll gladly have a more involved person get a place instead of me ;)
<orbekk>
Ditto. Good policy, well done!
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5S6U
<NixOS_GitHub>
nixpkgs/master 56ea313 Daiderd Jordan: prometheus-node-exported: fix output cycle on darwin
NixOS_GitHub has left #nixos []
<JosW>
you are much involved I believe, but this does not seem to be a place for NixOS newbies
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5S6Y
<JosW>
so how then do "we" get more not so tech people involved?
<Infinisil>
I wouldn't consider myself a newbie anymore in my modest opinion :P
Havvy has joined #nixos
pie_ has joined #nixos
<Infinisil>
JosW: You want not-so-tech people involved? I have no idea how that could work
<JosW>
I didn't mean you as being a newbie :)
<cocreature>
not-so-tech might be taking it a bit too far but generally conferences can also serve as a place to attract people that haven’t been involved too much so far
<JosW>
Been using Linux for some years now but Nixos is a bit overwelming
<catern>
hey #nixos
<MP2E>
Not sure NixOS is in the best spot for non technical people just yet, but I have faith it can get there :)
<catern>
is there a way to use "nix-shell -p" with a specific default.nix expression file to evaluate?
<MP2E>
right now i jokingly refer to the situation as 'a bit user hostile, but very developer friendly'
<MP2E>
and i say that cause lack of docs
<MP2E>
and need to have a good do it yourself mentality
<MP2E>
it's definitely worth it, just a tough sell for someone not as technical as of yet
<JosW>
MP2E: Amen
nh2 has quit [(Ping timeout: 260 seconds)]
jellowj has quit [(Quit: WeeChat 1.7.1)]
<JosW>
Realy like the concept and keep reading a thesis here and there to get some more history insight
nh2 has joined #nixos
<joachifm>
JosW: I think the policy is not meant to say you're unwelcome if you've yet to get involved, just a heads up that if space is tight others may be given preference :)
<joachifm>
which I think is fair, tbh
<JosW>
and how thing compare to the Docker hyped stuff, somehow Nix(OS) seems to feel much better but can not get it into my old brain right now..
<catern>
oh wait I can override NIX_PATH
<catern>
awesome
ertes has joined #nixos
<JosW>
joachifm: I agree, I do notice that their is lots of work to be done and one can hardly keep up with docs etc.
<JosW>
So it seems fair that the conference is aimed at more Dev people
cement has quit [(Ping timeout: 240 seconds)]
silver_hook has quit [(Quit: Konversation terminated!)]
hook has joined #nixos
<JosW>
I hope the video's will provide great stuff
<disasm>
JosW: if you are able to go, I'm doing a hack day event on improving docs :)
<MP2E>
nice :D
Filystyn has quit [(Quit: Konversation terminated!)]
<Infinisil>
I couldn't get docker into my head just yet (probably because I've never actually used it significantly)
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5SyQ
<NixOS_GitHub>
nixpkgs/release-17.09 9483d16 Sarah Brofeldt: steam: Get rid of newStdcpp option, always on...
NixOS_GitHub has left #nixos []
stepcut_ has joined #nixos
stepcut has quit [(Ping timeout: 248 seconds)]
<Infinisil>
Ah I see, you can update the submitted registration info
<tokudan[m]>
Infinisil: as far as I see c3voc will be doing the nixcon stream. they might not be professionals, but could well be more professional than most professionals due to their experience with the yearly chaos communication congress ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5SSm
<NixOS_GitHub>
nixpkgs/master 74065fc Jan Tojnar: sublime3: 3126 → 3143
takle has quit [(Remote host closed the connection)]
hook has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
17SAAJX6Y has joined #nixos
<17SAAJX6Y>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5SSN
<17SAAJX6Y>
nixpkgs/master 03187c3 Emanuele Peruffo: epson-alc1100: init at version 1.2-0...
<17SAAJX6Y>
nixpkgs/master 9580baf Joachim F: Merge pull request #25525 from emanueleperuffo/alc1100...
17SAAJX6Y has left #nixos []
92AABXK1X has joined #nixos
<92AABXK1X>
[nixpkgs] joachifm closed pull request #25525: epson-alc1100: init at version 1.2-0 (master...alc1100) https://git.io/v92cR
92AABXK1X has left #nixos []
<sphalerite>
Yep, absolutely agree on previous stuff about nixos being user hostile but developer friendly
<catern>
tokudan[m]: oh! it will be streamed?
<sphalerite>
I'd also definitely use nixos to set up my grandma's computer — I think NixOS is definitely suitable for basic use by end users if it's being maintained by someone else
<tokudan[m]>
catern: c3voc is usually doing streams as well as recordings
<tokudan[m]>
catern: I'm not part of c3voc, so I'm just guessing
mahalel_ has quit [(Remote host closed the connection)]
<catern>
an actually question again for you #nixos: has anyone set up Apache httpd, installed from Nix, on a non-NixOS system? I am still horrified by how much Apache httpd assumes it is being run system-wide, with write access to its binaries directory...
aanderse has joined #nixos
<sphalerite>
Write access to its binaries directory!?
<catern>
and under that ServerRoot is both its loadable modules, in the "modules" directory, and the place it puts its logs, in the "logs" directory
<catern>
it's trash
<catern>
:)
<sphalerite>
Surely you can just make that directory contain modules as a symlink to /nix/store/foobar-httpd-modules and logs as a symlink to /var/log/httpd
predator117 has quit [(Ping timeout: 240 seconds)]
erasmas has quit [(Quit: leaving)]
<alphor>
is nixpkgs still getting flooded with python packages?
<Infinisil>
no idea, what do you mean?
<alphor>
A long while ago there was discussion here and on the tracker of python-packages becoming an unbearable mountain
<alphor>
reason I ask is because I want to contrib a package but don't want to step on toes doing it
acarrico has quit [(Ping timeout: 264 seconds)]
<mguex>
contributing to python packages is like playing whac-a-mole
<Infinisil>
FRidh seems to be the python expect
<Infinisil>
expert*
<MP2E>
generally I don't mind tracing through nixpkgs errors and fixing them when i get eval errors on my machine. Python packages are the exception where I just rollback and wait :P
<MP2E>
mostly cause I don't know much python but still!
<Infinisil>
alphor: Just do what you think is right, and FRidh will probably point out what you did wrong in the PR :P
<pxc>
Infinisil: weirdly, when I do it manually it seems to work
<Infinisil>
pxc: When does it fail?
<alphor>
Infinisil: neat, thanks
<pxc>
Infinisil: just a `nix-env -f '<nixpkgs>' -iA <packagename>`
<Infinisil>
pxc: I think I saw cacert being updated when rebuilding to latest unstable recently
<Infinisil>
Maybe this has something to do with it
<Infinisil>
Curl error 77 seems to be "curl: (77) Problem with the SSL CA cert" (via google)
orivej has quit [(Remote host closed the connection)]
<pxc>
yup
<pxc>
I'm getting a ton of these error messages because the package I'm installing is a custom texlive distribution, so it has like a million dependencies
<pxc>
I hope it doesn't slow me down too much
<pxc>
oh, looks like I'm hosed
<Infinisil>
pxc: Do you have cacert in systemPackages?
<pxc>
Infinisil: I don't think I've explicitly put it there. I'm on Darwin, if that matters
<pxc>
I got a more explicit error message... it looks like somehow my cert file got garbage collected
<Infinisil>
Ah, not using nixos then
<Infinisil>
maybe worth filing an issue
bennofs has quit [(Read error: Connection reset by peer)]
<pxc>
I have a different nss-cacert package in the store. I wonder if this is a nix-darwin issue with not switching generations or an environment variable not being set right or osmething