jrolfs has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
seanparsons has joined #nixos
ckauhaus has joined #nixos
krey has joined #nixos
ckauhaus has quit [Ping timeout: 256 seconds]
<ottidmes>
redfish64: here its being reported as being 10 days old: https://howoldis.herokuapp.com/ and this issue seems relevant: https://github.com/NixOS/nixpkgs/issues/27502, so from what I gather, nixos-unstable is just more error prone at getting stuck, and nixos-18.03 is just out, and every stable release they aim for an as low failure count as possible, so at those turning points I think your actually better of at
<ottidmes>
the stable branch, but as time progresses nixos-unstable will be the better choice again if you like bleeding edge versions
silver_ has quit [Read error: Connection reset by peer]
ryanartecona has joined #nixos
astrofog has joined #nixos
xcmw has quit [Ping timeout: 264 seconds]
Turion has joined #nixos
nuncanada has quit [Quit: Leaving]
<{^_^}>
[nixpkgs] @jwiegley pushed to master « Fix a typo: types.openSignifiantByte -> types.openSignificantByte »: https://git.io/vxjNO
raynold has quit [Quit: Connection closed for inactivity]
Ariakenom has quit [Quit: Leaving]
Wharncliffe has quit [Quit: leaving]
Wharncliffe has joined #nixos
markus1199 has joined #nixos
markus1189 has quit [Ping timeout: 264 seconds]
shoogz has quit [Quit: shoogz out]
pie__ has quit [Ping timeout: 264 seconds]
thc202 has quit [Ping timeout: 256 seconds]
shoogz has joined #nixos
astiles has quit [Remote host closed the connection]
astiles has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<rizary>
hi, do we still need docker if we want to build microservice using nixos?
colonel_john_by has joined #nixos
astiles has quit [Read error: Connection reset by peer]
astiles has joined #nixos
<elvishjerricco>
rizary: I avoid docker like the plague
acarrico has quit [Ping timeout: 265 seconds]
astiles has quit [Ping timeout: 240 seconds]
astrofog has quit [Quit: Quite]
<rizary>
yep i would like too, but now the client wants microservice style, so I am considering the best possible way. Reading some article that says must be in docker make me wonder, "is it necessary?"
<elvishjerricco>
What does docker have to do with micro services? Seems orthogonal
<elvishjerricco>
Also, be careful. Micro services are only necessary in very specific circumstance, and add massive maintenance burden
<gchristensen>
Lol they finally changed their spam to not match my trivial ban bot rules
<jperras>
irc bots: where the effort vs. reward graph really doesn't tilt in anyone's favour
<ashkitten>
i don't get why anyone even tries lol
astiles has joined #nixos
<rizary>
elvishjerricco: i see
xcmw has joined #nixos
rosa has quit [Quit: rosa]
<mkaito>
I can't even read that shit, what are they trying to accomplish
<ThatOtherGuy>
Likely add revenue from whatever link they are trying to get you to click.
<gchristensen>
I accidently published on GitHub the source to the ban bot which targets their spam, and they found it. I'm pretty sure they now target us specifically
<ThatOtherGuy>
How did you accidently publish to github? :<
<kini>
by "us" do you mean #nixos? Because I'm seeing the same spam on various freenode channels
sanscoeur has quit [Remote host closed the connection]
<gchristensen>
I am as transparent as possible, and it was a mistake
* TimePath
clicks one thing to ignore all future message and purge the spam from the backlog
<TimePath>
spam heuristic: high ratio of names:other words
astiles has quit [Ping timeout: 276 seconds]
alunduil has joined #nixos
<achambe>
It must gain them something more than what they spend doing it
<achambe>
but many it seems pointless
<achambe>
many*
<achambe>
man**
<zybell_>
rizary:Docker style with microservices:On nix thats called /nix/store. Think about it!
seafood has quit [Quit: seafood]
<alunduil>
Anyone seen an issue with cabal2nix erroring due to a missing nix-prefetch-zip command?
<ThatOtherGuy>
achambe, it's not hard to write an IRC bot. I'm assuming it doesn't take them much effort at all and so the cost:profit? ratio is small but there.
<achambe>
zybell_: nix can still help build docker images, and nix can be used to host kubernetes
<achambe>
so they are different things
<zybell_>
Yeah but microservices are aimed to reproducibility,isolation,immutability. On other linux you use docker for that.
<zybell_>
Its exactly the other way around as you thought.I warned you fair;-)
<clever>
zybell_: nix gives you reproducibility and immutability, systemd can easily add the isolation
<achambe>
docker doesn't help you make reproduceable builds, it helps you save the build artifact and use it again
<achambe>
sort of different
seafood has joined #nixos
<achambe>
so yeah, nix does it better
<zybell_>
reproducibility in deployment
<zybell_>
the isolation of different storepathes is enough for most microservices.
aarvar has joined #nixos
<Ralith>
docker mostly seems like an ugly hack to work around a problem nix doesn't have
<zybell_>
Thats the spirit!!
seafood has quit [Quit: seafood]
<achambe>
docker also decouples the infrastructure from the code, which in large orgs lets there be two teams
<achambe>
well, kubernetes or w.e.
<achambe>
Nix doesn't help there
<achambe>
but nix could be used by both teams
seafood has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 255 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spear2 has joined #nixos
justanotherus3r is now known as justanotheruser
seafood has quit [Ping timeout: 240 seconds]
rosa has joined #nixos
blankhart has joined #nixos
hakujin has joined #nixos
rosa has quit [Quit: rosa]
hakujin has quit [Ping timeout: 240 seconds]
stumble has joined #nixos
rosa has joined #nixos
rosa has quit [Client Quit]
Czen has quit [Ping timeout: 276 seconds]
stumble has quit [Ping timeout: 264 seconds]
maingo has joined #nixos
kerrhau has quit [Ping timeout: 260 seconds]
<colonel_john_by>
what's the 'right' way of installing packages on nixos? declaratively modifying configuration.nix and nixos-rebuild or using nix-env?
<clever>
colonel_john_by: mostly user preference
<clever>
colonel_john_by: ive had issues with environment.systemPackages stuff blocking a minor OS config change, because package xyz doesnt build today
<clever>
but i also get anoyed by nix-env stuff not being updated automatically
<clever>
so its a tricky choice
<colonel_john_by>
gotcha
<colonel_john_by>
i did run into some trouble install termite and newsboat.
<colonel_john_by>
termite wouldn't work and newsboat seems not to be in the repos, despite what the websites says.
<rizary>
so anyone running nixos on windows hyper-v? how to change xserver resolution? trying to `services.xserver.resolutions = { x = 1680; y = 1050; };` but got error "is not a list of attribute set"
astrofog has joined #nixos
hakujin has quit [Ping timeout: 268 seconds]
iqubic has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
seafood has quit [Quit: seafood]
<rizary>
ah nvm
<rizary>
:)
drakonis has joined #nixos
<rizary>
but still nothing happened
drewc has quit [Ping timeout: 264 seconds]
<{^_^}>
[nixpkgs] @matthewbauer pushed 8 commits to netbsd: https://git.io/vxjpj
<{^_^}>
→ 4541f825 by @matthewbauer: musl: use netbsd tools
<{^_^}>
→ 749777ad by @matthewbauer: netbsd: init netbsd userland stuff
<{^_^}>
→ da2fcd2d by @matthewbauer: fts: fixup references after removed musl-fts
rosa has joined #nixos
Guanin_ has quit [Ping timeout: 240 seconds]
<{^_^}>
[nixpkgs] @matthewbauer pushed 0 commits to netbsd: https://git.io/vxjhs
hakujin has joined #nixos
robstr has joined #nixos
Guanin_ has joined #nixos
hakujin has quit [Ping timeout: 265 seconds]
hakujin has joined #nixos
hakujin has quit [Ping timeout: 264 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
coot has joined #nixos
zarkone has joined #nixos
endformationage has quit [Ping timeout: 264 seconds]
endformationage has joined #nixos
jgt has joined #nixos
alex`` has joined #nixos
endformationage has quit [Quit: WeeChat 1.9.1]
astrofog has quit [Quit: Quite]
fractal has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
ckauhaus has joined #nixos
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
<unlmtd>
can I use a configuration.nix file to determine which paths to use with `nix-copy-closure` or its 2.0 equivalent?
bpa has joined #nixos
hakujin has joined #nixos
hakujin has quit [Ping timeout: 260 seconds]
<boomshroom>
unlmtd: I'm pretty sure you'd have to build it first. You can build a nixos system without installing it, after which point you can copy the resulting store path.
<unlmtd>
its built, but I have a subset of my system Id like to copy
<boomshroom>
unlmtd: So you just want to copy part of it but not the whole system?
<unlmtd>
hah I see what you mean now
<unlmtd>
yea so build that config then use than environment path
rosa has quit [Quit: rosa]
<unlmtd>
I was looking for a less roundabout way. right now I was just copying everything then garbage collecting on the other machine
ckauhaus has quit [Remote host closed the connection]
rosa has joined #nixos
ckauhaus has joined #nixos
Jetien has joined #nixos
rosa has quit [Client Quit]
drakonis has quit [Read error: Connection reset by peer]
<{^_^}>
→ 475c4e08 by @wizeman: luaPackages.mpack: fix hash
<{^_^}>
→ 4ce2af3e by @Mic92: Merge pull request #38912 from wizeman/u/fix-mpack-lua-hash
hotfuzz_ has quit [Quit: WeeChat 2.0]
<MichaelRaskin>
ottidmes: well, it is possible that all the extra packages you want are upstreamable, so you could find a few committers with similar tastes to merge your package additions/updates until you get commit rights…
hakujin has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 pushed commit from @apeyroux to master « c14: 2017-05-15 -> 0.3 (#38905) »: https://git.io/vpeve
<fusion809>
Hi, I've found something odd. My ~/XTerm file doesn't seem to be used to configure xterm on NixOS, on other distros this exact XTerm file works fine
<fusion809>
Any ideas what I need to do to get it loaded?
<boomshroom>
Akii: The manual says that it creates ~/.nix-profile/etc/profile.d/nix.sh to be sourced. Try making zsh run that when you open a new shell.
<fusion809>
Ah seems like it's because while I installed i3pystatus earlier it's gone since I rebuild my config
<Akii>
.nix-profile/etc/profile.d/nix.sh: No such file or directory
<Akii>
the symlink points to an empty directory
<Akii>
let me check the profile of root
<boomshroom>
Akii: what's in /nix/var/nix/profiles/per-user/$USER/?
<Akii>
nothin
<Akii>
g
<fusion809>
boomshroom: I'm trying to install the Python modules I need (I need the latest git release of i3pystatus, can't use that in the Nix repos) using pip3 but I keep getting setuptools missing error. I ran `nix-env -i python3.6-setuptools` (I'm using python3.6-pip from Nix repos as my pip) and I'm still getting these errors. Any ideas why?
<boomshroom>
Akii: Find a nix binary in the store (ls -d /nix/store/*-nix-*/) And load a channel with nix-channel followed by nix-env -i nix. That should get things working.
<boomshroom>
fusion809: Now we're moving from i3 to python and I know nothing about python. Sorry.
<LnL>
you might have to unload/load the service file
<Akii>
thanks!
<Akii>
that actually worked, how weird
hakujin has joined #nixos
<LnL>
keepalive is missing so launchd starts the service but never looks at it afterwards :/
hakujin has quit [Ping timeout: 260 seconds]
<Akii>
so, now the fun can start. Got a server running nixos and nix with nixops installed locally. What could possibly go wrong now :)
timokau has joined #nixos
fusion809 has quit [Remote host closed the connection]
timokau has quit [Client Quit]
cransom has quit [Ping timeout: 276 seconds]
Wharncliffe has quit [Ping timeout: 240 seconds]
dbe has quit [Ping timeout: 265 seconds]
olto has quit [Quit: hasta luego]
<juhe>
Hi, the libreoffice-still got a wrapper to include some java / dbus /... environment. This causes that "libreoffice-still = super.libreoffice-still.override { langs = [...]; };" in overlay doesn't work anymore (wrapper.nix:1:1 called with unexpected argument ‘langs’). What is the proper way of overriding libreoffice-still now?
<pjan>
I'm running nixos, but for some reason I can't run nix-shell without sudo
dbe has joined #nixos
<sphalerite>
pjan: what does it say? Which version are you running?
<sphalerite>
pjan: I suspect you've got nix 1.11.x with the system nix being 2.0, so you don't have NIX_REMOTE set and it's trying to access the store directly. Does NIX_REMOTE=daemon nix-shell … work?
Ariakenom has quit [Read error: Connection reset by peer]
<pjan>
sphalerite: that is very possible. How can that be addressed more fundamentally (rather than setting an environment variable)?
<sphalerite>
pjan: making sure you're using the right nix version in both places
<sphalerite>
compare `/run/current-system/sw/bin/nix-env --version` and `nix-env --version`. If they're different, check `which nix-env` to see where the wrong version is coming from
<sphalerite>
if it's in your user profile, nix-env --uninstall nix
<sphalerite>
if it's in the system profile (/nix/var/nix/profiles/default), sudo nix-env --uninstall nix
rosa has quit [Quit: rosa]
<pjan>
ok, this seems a very good pointer to check. As a side note: is it normal that I need to sudo the nixos-rebuild as well? I never needed to do this on nix-darwin, and I set it up in a similar way (my username being in the list of privileged nix users)
<juhe>
MichaelRaskin: The last suggestion you gave to wizeman makes perfect sense. I do not think extra interface function is needed - not sure how to make such function generic enough without bloating the code unnecessarily. The issue I have had was coming from my misunderstanding of your change in the code structure and my poor grasp of nix language... Still plenty to learn :). Thanks!
Jetien has quit [Ping timeout: 240 seconds]
<MichaelRaskin>
If you have an overlay, wizeman's reply is even more immediately applicable.
<juhe>
yes
ckauhaus has joined #nixos
<MichaelRaskin>
I dunno, maybe it is a good idea to make the wrapper auto-apply its own langs parameter to the wrapped libreoffice even if it is More Magic.
<{^_^}>
→ b65181d7 by @mpickering: grass: Fix Can't load GDAL library errors on darwin
<{^_^}>
→ a3de2258 by @mpickering: grass: Symlink include/ as well as bin/
<{^_^}>
→ a134b935 by @mpickering: QGIS: Allow plugins to find GDAL tools by looking on PATH
ckauhaus has quit [Ping timeout: 256 seconds]
rosa has quit [Client Quit]
<juhe>
It might be nice, though weak nix-ers, like me, will have hard time understanding it :-D.
rosa has joined #nixos
<juhe>
So from this point of view it is questionable whether to do it.
<MichaelRaskin>
If it were not LibreOffice (also: not Chromium, please), putting wrapper inside the main derivation would make sense, but I want to be able to fix further minor problems easily…
* juhe
nods
ottidmes has joined #nixos
rosa has quit [Quit: rosa]
<Akii>
How do I go about reading what's wrong in things like these: http://lpaste.net/364783 ? Trying to deploy the trivial example with nixops.
rosa has joined #nixos
hakujin has joined #nixos
thc202 has joined #nixos
stranger___ has quit [Quit: Connection closed for inactivity]
rosa has quit [Client Quit]
<ottidmes>
Akii: It looks like that log indeed is useless in figuring out what went wrong, so if you paste your config, maybe I or others could take a look and figure out what went wrong.
hakujin has quit [Ping timeout: 265 seconds]
<LnL>
pjan: yeah, darwin-rebuild itself uses sudo where neccecary
<LnL>
Akii: that looks like you it's trying to build the linux kernel for darwin
<Akii>
no?
xy2_ has joined #nixos
<Akii>
I think I completely misunderstood what nixops is or does
<Akii>
nixops deploy -d vserver
<LnL>
did you specify what system the target is?
<Akii>
I thought I could set up a remote NixOS then use nixops to deploy services and configuration from my local machine
<Akii>
all I can do is read that little bit of manual to kinda figure out how any of this works
<Akii>
so frustrating
<LnL>
I think by default it will use builtins.currentSystem but if your local system is different that will have weird results
<LnL>
1. you need to set nixpkgs.system = "x86_64-linux"; in your deployment
<LnL>
2. you'll need some way for your local machine to build stuff for that system
<Akii>
I thought all that was required is to copy over config and run nixos-rebuild
<LnL>
nixops builds everything on the local host and pushes it to the machines
rosa has joined #nixos
<LnL>
a simple alternative is rsync nixos-configuration.nix foo:/etc/nixos/configuration.nix && ssh foo -- sudo nixos-rebuild switch
<Akii>
yeah
<LnL>
for a production deployment you generally don't want to build stuff on the live host
<musicmatze[m]>
I'm currently trying to install nixos from an existing nixos installation and am getting a "no such file or directory" error during `nixos-install`... should I report this in nixpkgs?
<day|flip>
system.stateVersion = "18.03"; ? and update like normal?
<tilpner>
day|flip - What do you want to do? You should never touch stateVersion without reinstalling, in general
<tilpner>
LnL - Why wouldn't x86_64 darwin be able to build linux?
<tilpner>
musicmatze[m] - Does it tell anything else? --show-trace
logzet has joined #nixos
<LnL>
system = "x86_64-linux" uses a x86_64-linux compiler, etc. you can't run that natively on darwin
Yarny has joined #nixos
rosa has quit [Quit: rosa]
<LnL>
cross compiling would work in theory, but that's considered to be a different system in nix
<musicmatze[m]>
tilpner: yes, but the ouptput is too long for pasting in IRC IMO
<musicmatze[m]>
--show-trace does not result in any more output.
<tilpner>
musicmatze[m] - Of course, but that's what pastebins are for :)
<musicmatze[m]>
I guess I'll oen an issue :-)
<day|flip>
I figure if you change system.stateVersion. it should update to the new repo channel
<tilpner>
day|flip - No, that will not happen. stateVersion does not "state the version of your NixOS channel", it's the version your state has
<day|flip>
ahh
<tilpner>
day|flip - If you've installed recently there should be a big comment above it. Changing this option will forfeit any guarantees NixOS gives wrt. safe rollbacks
<LnL>
day|flip: no, don't change stateVersion :/
<day|flip>
ok. thanks. I did not know that
<day|flip>
still so much I don't know yet. nixos is a fun montain to clim
<musicmatze[m]>
tilpner: Yes, the /dev/sda1 is a ESP boot partition with 1GB
<musicmatze[m]>
MichaelRaskin: okay... how to check?
eldad has joined #nixos
<Akii>
LnL with all that hassle and even using docker you might as well just set up a VM for that
eldad has left #nixos [#nixos]
<lejonet>
Hmm, I've forgotten, to override the version of a package, I need to do it with overrideAttrs, it can't be done with "just" override, right?
<tilpner>
lejonet - That depends on the package in question. .override can work if the package was written to allow for it, but .overrideAttrs will always work
<lejonet>
tilpner: ah I see, well, I doubt systemd was written to allow for it (I need to ensure that I don't get 237, because 237 wreak havoc on my system with a stupid bug that is fixed in 238)
<MichaelRaskin>
musicmatze: actually, maybe you don't even need that step…
<tilpner>
lejonet - Correct, systemd doesn't allow that. There's a problem though: postFixup uses the version
<lejonet>
tilpner: crap, so its possible that overriding it causes problems then?
<tilpner>
lejonet - Yes, if you're not careful
MP2E has quit [Remote host closed the connection]
<tilpner>
You can postFixup = builtins.replaceStrings ["libsystemd-shared-237"] ["libsystemd-shared-238"] old.postFixup;
<tilpner>
It's not pretty, and quite brittle
<lejonet>
tilpner: what do I need to take care with? Because honestly, hosing my system because I want to change something because both nixos-unstable and nixos-18.03 pulls in 237 and crashes shit
day|flip has quit [Remote host closed the connection]
<lejonet>
is not fun
rosa has quit [Quit: rosa]
<tilpner>
lejonet - master has 238. You *could* overlay masters systemd onto your system, but I don't know what'll happen
<lejonet>
(and what is even more fun is that the setup nixos uses shouldn't be able to hit the bug, because the bug is related to non-root owned files in /run having root-owned pidfiles put in them, that creates a potential security hole)
<lejonet>
non-root owned directories*
<lejonet>
tilpner: or just run everything from master, I've done that before so if that fixes my problem, I'm all game with that :P
<tilpner>
I would try overlaying masters systemd before switching my entire systemd to master, but that's your tradeoff to make
<tilpner>
master might even be okay on a server
<musicmatze[m]>
MichaelRaskin: what do you mean?
<tilpner>
*my entire system to master
<lejonet>
Well this is a desktop, so I'll try to overlay it first, gotta learn how to do overlays anyway :P
<MichaelRaskin>
musicmatze: well, bootx64.efi is the default loader anyway
toby1851 has quit [Ping timeout: 260 seconds]
<tilpner>
lejonet - Just make sure to keep previous generations to boot if something goes wrong. Either way is risky
<{^_^}>
→ bca79a97 by Timo Kaufmann: fplll: 5.0.2 -> 5.2.0
<{^_^}>
→ 633f6944 by Timo Kaufmann: pythonPackages.fpylll: init at 0.3.0dev
<{^_^}>
→ 2a093423 by @dotlambda: Merge pull request #38790 from timokau/fpylll-init
simukis has joined #nixos
<lejonet>
tilpner: yeah, I have one generation, that I'm running now, that works like a charm, I'm sure as heck not going to GC it :P
<lejonet>
what is the command to tell it to automatically boot into this generation? nixos-rebuild boot? (I have 3 non-functional generations after this one, so its annoying to have to poke in the bootloader everytime)
rosa has joined #nixos
rosa has quit [Client Quit]
<tilpner>
lejonet - Here's your overlay: tx0.co/o
<tilpner>
But I don't know enough about systemd to tell if it can be upgraded in isolation like that
<lejonet>
tilpner: only one way to find out then :) iirc its fairly self-contained due to its monolithic-ishness
<lejonet>
thx for snippet
Yarny has quit [Quit: Page closed]
Mic92 has quit [Quit: WeeChat 2.0.1]
rosa has joined #nixos
ottidmes has quit [Quit: WeeChat 2.0]
<{^_^}>
[nixpkgs] @xeji opened pull request #38930 → qemu: add option to build with gtk support → https://git.io/vpeTS
thblt has quit [Remote host closed the connection]
humanoyd has quit [Quit: WeeChat 2.1]
xAFFE has left #nixos [#nixos]
thblt has joined #nixos
xAFFE has joined #nixos
ma27 has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
knupfer has joined #nixos
disasm has quit [Ping timeout: 256 seconds]
coot has joined #nixos
rosa has quit [Quit: rosa]
rosa has joined #nixos
zybell_ has quit [Ping timeout: 276 seconds]
coot has quit [Client Quit]
coot has joined #nixos
bpa has joined #nixos
xy2_ has quit [Read error: No route to host]
xy2_ has joined #nixos
iyzsong has joined #nixos
<{^_^}>
[nixpkgs] @svanderburg opened pull request #38932 → Fix stdenv-native and fix rebasing on cygwin → https://git.io/vpeL3
zybell_ has joined #nixos
<ryantm>
cinimod: It's a hack, but you can get around this kind of problem sometimes by making your own "install" directory that sym links to the files in the nix store installation directory.
<monokrome>
hmm... When attempting to build a custom ISO, I see to be getting the issue "nixosLabel" is missing with this nix expression:
<monokrome>
Seems with te same command you ran, I get called without required argument 'closureInfo'""
<monokrome>
in /home/polar/Projects/monokrome/nixos/nixpkgs/nixos/lib/make-iso9660-image.nix
<tilpner>
Oh, and I don't think you want to use 18.03 as the branch name
<monokrome>
Oh?
<monokrome>
That's what the docs say
<tilpner>
That's the tag for the 18.03 release, not actually where the nixos-18.03 channel is
<monokrome>
and channel.nix won't use 18.03 channel in that branch?
<tilpner>
I would use nixos-18.03 from github.com/nixos/nixpkgs-channels
<monokrome>
now this is failing? assert builtins.langVersion >= 5;
ckauhaus has joined #nixos
<monokrome>
w/ your command
<tilpner>
Are you on Nix 1.*?
<monokrome>
17.09.3205 (Hummiingbird)
<tilpner>
That's the NixOS version, not the Nix version
<monokrome>
oh hmm
<monokrome>
How can I check my Nix version?
<monokrome>
I don't know what comes w hummingbid
<tilpner>
You're probably on 1.* if you don't know you changed it
<tilpner>
(nix-daemon --version)
<monokrome>
1.11.16
<disasm>
got a prometheus alert for first time in a long while that services failed to start and couldn't reach some hosts not in my LAN. Turns out power went out an hour ago and the two hosts needed `nixops deploy` ran to get their deploy keys. Gotta love it when monitoring tells you stuff you need to know :)
<tilpner>
Option 1: Upgrade your Nix to 2.0
<tilpner>
Option 2: Use older nixpkgs, e.g. nixos-17.09
<monokrome>
ey
<monokrome>
17.09 works
<tilpner>
To do 1, either upgrade your system to at-least nixos-18.03, or set nix.package = pkgs.nixStable2;
<monokrome>
Is updating risky / potentially unstable?
<monokrome>
I installed this NixOS system yesterday
<tilpner>
Huh
<tilpner>
Why did you install 17.09 instead of 18.03?
<monokrome>
which is weird, because they seem to be 18 now?
* monokrome
shrugs
<disasm>
monokrome: NixOS is most likely the most stable update you've ever done in your life. If it doesn't work, you just rollback :)
<tilpner>
Yeah, that is weird
<monokrome>
yeah
<monokrome>
Sounds like I should figure out how to update
<tilpner>
monokrome - Just replace root's channels, from nixos-17.09 to nixos-18.03
<monokrome>
Do I just change stateVersion and go?
<tilpner>
No!
<monokrome>
O_o
<tilpner>
stateVersion is "your state has this version", not "please state the version of NixOS you want to use"
<monokrome>
ah
<tilpner>
If you change it, you may not be able to rollbac safely
Rusty1_ has joined #nixos
rosa has joined #nixos
<tilpner>
Never change that option without a full reinstall
<monokrome>
:)
fendor has joined #nixos
<MichaelRaskin>
It is basically «which year's defaults you use for database placement»
<joepie91>
I feel like maybe stateVersion should be renamed to something that more clearly describes you shouldn't change it, like originalStateVersion or so
pie__ has joined #nixos
<joepie91>
because this seems to be a recurring problem
<tilpner>
joepie91 - 18.03 has a big comment above it, it should be fine
<monokrome>
I asked because it clearly says not to touch it :)
<tilpner>
These are just the remaining pre-18.03 people upgrading
<MichaelRaskin>
And then it is not as much stateVersion as «defaultVersion»
<tilpner>
Oh
<MichaelRaskin>
Dunno how to say it
<monokrome>
Doesn't seem like I've specifically configured channels in my configuration.nix though?
iyzsong has joined #nixos
<monokrome>
Is that not in there by default?
<disasm>
you can change stateVersion, but you have to read through ALL the release notes and find out all the things that were changed between states. For example, I changed my stateVersion between 17.03 and 17.09 I think it was because I wanted the different postgresql layout per version that was introduced. but other than things like that, you shouldn't touch it.
<monokrome>
Yeah, I have no intention of changing stateVersion
<tilpner>
monokrome - Unfortunately you can't configure channel via your nixos-config by default, so you'll have to use nix-channel from the CLI (as root)
<monokrome>
I'm trying to understand how to move to 18.03 channels
<monokrome>
ooooh
<monokrome>
wow
<monokrome>
how do you reinstall once you add channels?
<tilpner>
You just nixos-rebuild switch as usual
<disasm>
but you have to use `nixos` as the label for nixos-rebuild switch to use it.
Turion has quit [Read error: Connection reset by peer]
<tilpner>
disasm - It works with <nixpkgs> too
<monokrome>
hmm
<monokrome>
Now it just says the "search path enity" does not exist
<tilpner>
Running what command? We need more context :)
<monokrome>
Forgot to run update :)
<elvishjerricco>
joepie91: Agreed. Took me a while to take the time to lookup what stateVersion does. And by that point I'd already changed it :P
b has joined #nixos
<monokrome>
hmm
<monokrome>
now a bunch of packages are marked broken
<sphalerite>
seequ__: yes, if running out of space is your problem. Using 18.03, which uses nix 2.0, is the nicer solution though
<seequ__>
sphalerite: I'm assuming that's the only benefit of using 18.03's installer?
<MichaelRaskin>
monokrome: doesn't give hints what it does
NightTrain has quit [Quit: Lost terminal]
<sphalerite>
seequ__: well it's faster as well, and you install 18.03 without any extra commands
<seequ__>
Well in my case it'll be faster to install nixos thrice. :P
<monokrome>
MichaelRaskin: no?
<sphalerite>
seequ__: oh, because downloading the installer takes long?
b has quit [Ping timeout: 256 seconds]
<seequ__>
sphalerite: yeah and I'd need to set up some other pc to do it
<MichaelRaskin>
monokrome: I think people who thought that it is a good idea to migrate the state to be up to date will not be comforted by the state version.
<sphalerite>
seequ__: since you'll need to use 18.03 anyway, it'll have to download all the stuff in the installer and more for the installation anyway
<MichaelRaskin>
Even if it is «initially installed version» — it shouldn't matter and the name gives no hints why it should
<sphalerite>
seequ__: in fact if you boot the 17.09 installer with copytoram, you could download the 18.03 installer and write it over the old one from there, without setting up another machine, assuming it's a USB one :D
phdoerfler has joined #nixos
<monokrome>
MichaelRaskin: Because referring to an initial state that isn't the real state sounds like a dangerous thing to do if it is referenced like that
<MichaelRaskin>
Or something
<seequ__>
sphalerite: Heh, that'd be fun. I just removed extraneous things from the config so I can get things running without messing anything up.
<monokrome>
My boot partition was full of kernels and stuff it seemed like
rosa has quit [Quit: rosa]
<monokrome>
seems that when you use systemd and switch to GRUB, it leaves systemd there for instance
<monokrome>
(probably for a rollback or something)
<monokrome>
I moved the files off the drive, re-ran nixos-rebuild and then rebooted and it booted properly
<monokrome>
so deleted the files and ran collect-garbage
<monokrome>
and it fixed it :)
rosa has joined #nixos
phdoerfler has quit [Quit: Leaving.]
hamishmack has joined #nixos
<{^_^}>
[nixpkgs] @FRidh pushed 586 commits to python-unstable: https://git.io/vpe3E
<{^_^}>
→ dce2c258 by @ryantrinkle: dockerTools: optionally preserve directory symlinks
<{^_^}>
→ ded1281f by @ryantrinkle: Merge branch 'master' into docker-dirlinks
<{^_^}>
→ cbe48055 by @xrvdg: hl1110 : init at 3.0.1-1
<seequ__>
> Failed to create EFI boot variable entry: no such file or directory
<seequ__>
18.03 installer
<seequ__>
seems like it tried to write to /boot
<Dezgeg>
no I presume that happens when trying to write to /sys/firmware/efi/efivars.
<seequ__>
dunno
<seequ__>
any ideas how to fix that?
astrofog has quit [Quit: Quite]
<Dezgeg>
is that directory (/sys/firmware/efi/efivars) empty?
<Dezgeg>
is it listed in mount?
rosa has quit [Quit: rosa]
<seequ__>
no, but /sys/firmware/efi/efivars is there
<jgt>
I have this shell.nix. It has an overriden Haskell package (persistent). The version number in the overriden package is 2.8.2. When I run `nix-shell` and then `ghc-pkg list`, it shows I have persistent-2.7.1. Why? http://ix.io/17Lx
<seequ__>
..I misread you
rosa has joined #nixos
<Unode>
hi all, I've recently updated to 18.03 and now a weird sound issue (one which I haven't been able to identify source) re-appeared. The problem is that when I connect headphones to my laptop sound loses all bass.
<jgt>
I know it's building that package too, since I watched it
<seequ__>
Dezgeg: it's not empty
pkill9 has quit [Quit: WeeChat 2.1]
<Unode>
This is independent of which software I use (mpv, mpd,...)
<Dezgeg>
does it start to work if you do `mount -t efivarfs efivarfs /sys/firmware/efi/efivars` ?
<Unode>
so if I use the headphone jack to connect to an external amplifier the sound is all glitchy and weird.
<Unode>
Is anyone aware of any such issue? and do you know how to address this?
vaninwagen has joined #nixos
hakujin has joined #nixos
<seequ__>
Dezgeg: says it's already mounted
jperras has quit [Ping timeout: 260 seconds]
<Dezgeg>
huh
<seequ__>
'bootctl --path=/boot install' is the failing command
<seequ__>
it manages to copy two files before erroring
<ambro718>
sphalerite: I would preferably use "nix build mything -o ~/somewhere" but for a reason unknown to me that just gives: error: attribute 'mything' in selection path 'mything' not found
<ambro718>
sphalerite: default.nix is an attrset with a single attribute mything, and "nix-build -A mything" works
<ambro718>
I am really confused
Lears has quit [Remote host closed the connection]
<Dezgeg>
and what do you get instead of i3 when you login?
<seequ__>
it opens urxvt
<seequ__>
in a plain X session
<Dezgeg>
and if you close it you get logged out?
<seequ__>
yes
<Dezgeg>
I guess you need services.xserver.desktopManager.xterm.enable = false; since the default is true
<Dezgeg>
but of course more interesting is why the behaviour has changed
<seequ__>
Yeah, my two other devices don't have that and are running unstable
rosa has quit [Quit: rosa]
<Dezgeg>
which display manager it is?
ambro718 has quit [Quit: Konversation terminated!]
<seequ__>
lightdm
<Dezgeg>
so does it have some option in the UI to switch between i3 and xterm?
xy2_ has quit [Ping timeout: 265 seconds]
<Dezgeg>
as the session type
jgt has quit [Ping timeout: 260 seconds]
<seequ__>
apparently so!
xy2_ has joined #nixos
<seequ__>
never noticed that
<seequ__>
thanks a lot
<Dezgeg>
I guess one day some solution should be figured out that services.xserver.desktopManager.xterm.enable = false; would be the default without breaking some existing configs
<justanotheruser>
you can't have a variable named nixos-18.03 after all
grp has quit [Ping timeout: 240 seconds]
<ij>
manveru, It seems like passing a filterSource expression that evaluates to a string doesn't lead to the same behavior as passing the evaluted string itself.
knupfer has quit [Ping timeout: 260 seconds]
<justanotheruser>
sphalerite: sorry, I copied and pasted the error from a few days ago when I named it nixos-18.03. Right now the line is "nixos-1803 = import <nixos-1803> {};'
<ij>
manveru, That doesn't happen when I point nixpkgs to a locally checked out release-17.09. :(
<justanotheruser>
error: file ‘nixos-1803’ was not found in the Nix search path
<zybell_>
did you try what it prposes in the last line?
<tnks>
Turion: hmm... part of me is unsure about that... I kind of feel like it's something set with X.
<tnks>
but I'm using i3.
Acou_Bass has quit [Ping timeout: 276 seconds]
Piece_Maker is now known as Acou_Bass
drakonis has joined #nixos
Guest70023 is now known as judson
<tnks>
but I did just notice that NixOS is defaulting my DPI to 96, which is way too low.
<tnks>
when it starts X, it needs to pass in --dpi 280 or whatever.
FRidh has quit [Remote host closed the connection]
hakujin has quit [Ping timeout: 260 seconds]
hakujin has joined #nixos
<{^_^}>
[nixpkgs] @Mic92 opened pull request #38945 → nixos/pulseaudio: pulseaudio.enable should imply sound.enable → https://git.io/vpeWZ
<winsome>
I've got an external monitor plugged into my computer, and it shows up in xrandr, but there's no display
<winsome>
googling around a bit hasn't revealed much, maybe I'm just not finding the right way to describe the problem
logzet has quit [Remote host closed the connection]
<winsome>
does anybody know anything about that?
winsom has joined #nixos
<winsome>
or know a forum that would?
bpa has quit [Read error: Connection reset by peer]
bpa has joined #nixos
xeji has quit [Ping timeout: 276 seconds]
hakujin has quit [Ping timeout: 260 seconds]
Ross has quit [Ping timeout: 260 seconds]
<Turion>
tnks, maybe services.xserver.dpi?
winsome has quit [Remote host closed the connection]
Ross has joined #nixos
<Turion>
winsome, is the question more like "How to work with xrandr?" or "How to get nixos pass the right config to x?"
<tnks>
Turion: yeah, sounds like it might be.
hakujin has joined #nixos
<Turion>
tnks: I haven't tried it, but from the options it sounds like this is the place where you can tinker
<winsom>
Turion: (this is me from a different computer) I just restarted my session with KDE Plasma5 as my desktop manager instead of just i3wm, and now it works as expected
<winsom>
I've never had trouble with xrandr and i3 on my past computers, though
<tnks>
Turion: yeah, I forgot that `man configuration.nix` is a good starting point.
epl692 has joined #nixos
FareTower has joined #nixos
<tnks>
Turion: okay, so that good part is I have the DPI set correctly... but my mouse pointer is still tiny.
boomshroom has joined #nixos
<boomshroom>
Hello!
rauno has quit [Ping timeout: 256 seconds]
spear2 has joined #nixos
<Unode>
sphalerite: so the issue is now gone. Can't say if booting to windows helped or reconnecting the jack so many times helped
xy2_ has quit [Ping timeout: 240 seconds]
freeman42x]NixOS has joined #nixos
<boomshroom>
I see nixpkgs has an emscripten stdenv. Is it possible to use it to compile to wasm?
<Turion>
tnks, I forget that constantly. The mouse pointer though should be a window manager issue
FareTower has quit [Ping timeout: 265 seconds]
<Turion>
I don't know i3 though
<tnks>
Turion: so Debian has a package called "big-cursor" that just has a replacement pcf pack of images.
<tnks>
that's how I resolve it there, so not at the i3-level, but at the X level.
ckauhaus has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 240 seconds]
ckauhaus has quit [Remote host closed the connection]
ckauhaus has joined #nixos
<tnks>
Turion: yeah, so I just looked at the install scripts on the Debian "big-cursor" package, and it swaps out the cursor.pcf.gz for another one. In Nix, this package is provided by font-cursor-misc
odi has joined #nixos
hakujin has joined #nixos
xy2_ has joined #nixos
<boomshroom>
Let's see if hello wants to build with emscripten.
rauno has joined #nixos
nD5Xjz has quit [Ping timeout: 265 seconds]
odi has quit [Ping timeout: 264 seconds]
coot has joined #nixos
stepcut has joined #nixos
xy2_ has quit [Ping timeout: 245 seconds]
hakujin has quit [Ping timeout: 268 seconds]
xy2_ has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
<Turion>
Hmm, then I don't know :/ maybe need to write a new package?
vaninwagen_ has joined #nixos
<boomshroom>
Currently trying to build hello with emscripten. Unfortunately it needed overriding because it was complaining about a lack of ./autogen.sh, but it seems to be working now.
knupfer has joined #nixos
<boomshroom>
It complained about being unable to test, but that's an easy fix: "doCheck = false;"
<sphalerite>
thanks MichaelRaskin
<sphalerite>
oopps
<sphalerite>
Mic92 &
dbe has joined #nixos
Izorkin has joined #nixos
<dbe>
My laptop does not boot info nixos-unstable. The last emssage I get is something about seeding random. Is this a known bug?
hakujin has quit [Ping timeout: 240 seconds]
vaninwagen_ has quit [Ping timeout: 256 seconds]
<boomshroom>
Managed to build hello. Now to see if it runs.
<zybell_>
dbe:seeding random takes a lot of time, especially so if no human interacts with the computer at that time.
toby1851 has joined #nixos
hakujin has joined #nixos
ckauhaus has quit [Remote host closed the connection]
<dbe>
zybell_, ok... let's say I'm fine with starting my desktop manager anyway; seeding can continue in the background. Can I do that? Do I have to turn off the service entirely?
<{^_^}>
[nixpkgs] @dotlambda pushed commit from @etu to master « testssl: 2.9.5-4 -> 2.9.5-5 (#38936) »: https://git.io/vpeBv
<boomshroom>
For some reason, hello was compiled to LLVM bitcode rather than WASM.
jgt has joined #nixos
grp has quit [Quit: box shutting down...]
ckauhaus has quit [Ping timeout: 260 seconds]
<Dezgeg>
I doubt that seeding the random number generator is related, it's simply the last thing that successfully happened
jperras has joined #nixos
<dbe>
Dezgeg, yeah, I think so too, and I see now that rngd is running on this environment too. so something else is up I guess.
<dbe>
Can I jump into "the last biuld that grub would boot into" with a shell and inspect stuff somehow? Without actually activating the services, since that fucks my system up
<sphalerite>
I'm trying to reproduce a build failure for a kernel derivation in a nix-shell, but it's not going too well — is running `genericBuild` in `nix-shell --pure` not the right way to do this?
fresheyeball has joined #nixos
<fresheyeball>
hey out there
<fresheyeball>
I have been using nix-shell -p for short term access to things
<fresheyeball>
is there a version where I can access by attribute?
<fresheyeball>
I assumed nix-shell -pA but it doesnt do what I expect
<boomshroom>
fresheyeball: nix run
<boomshroom>
fresheyeball: It doesn't have all the features of nix-shell, but it's perfect for running packages without installing.
<fresheyeball>
nice
<zybell_>
sphalerite:if you try to *reproduce* sth it would be a good idea to do it like it was done first, not the 'right' way.
<fresheyeball>
boomshroom: I dont have the nix command, but I figured it out
<sphalerite>
zybell_: do you know how nix works?
<fresheyeball>
nix-shell -p gnome3.gnome-disk-utility worked
<fresheyeball>
while
<zybell_>
a little
<ma27>
boomshroom: `nix` is available in Nix 2.0
<fresheyeball>
nix-shell -p nixos.gnome3... did not
<ma27>
fresheyeball: `nix-shell -p pkgname` doesn't need the channel name at first (not sure why though)
<boomshroom>
fresheyeball: It requires nix 2.0. The easiest way I know to get it is `nix-env -iA nixpkgs.nixUnstable` followed by `nix upgrade-nix`
vidbina has quit [Ping timeout: 240 seconds]
<ma27>
boomshroom: isn't Nix 2.0 the default on 18.03?
thblt has quit [Ping timeout: 260 seconds]
<boomshroom>
ma27: It should be, but just in case or if he's running Nix on a non-NixOS system.
<ma27>
boomshroom: fair enough %)
vidbina has joined #nixos
<boomshroom>
I think it would be cool if nix was capable of building a full system in WASM.
fresheyeball has quit [Quit: WeeChat 2.0]
xcmw has joined #nixos
hakujin has quit [Ping timeout: 264 seconds]
toby1851 has joined #nixos
Havvy has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
<boomshroom>
Can wasm do things like make symlinks when run in Node?
jgt has quit [Ping timeout: 260 seconds]
hakujin has joined #nixos
dbe has quit [Quit: leaving]
day|flip has joined #nixos
<{^_^}>
[nixpkgs] @srghma opened pull request #38947 → node2nix: add nix as dependency (fix for #38946) → https://git.io/vpe0h
hakujin has quit [Ping timeout: 240 seconds]
hakujin has joined #nixos
MP2E has joined #nixos
boomshroom has quit [Quit: WeeChat 2.0]
jperras has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
hakujin has joined #nixos
nur0n0 has joined #nixos
grumblr has joined #nixos
grumble has quit [Quit: there ain't no second chance against the thing with forty eyes]
<neonfuz>
anyone have experience dealing with node binary packages on nixos?
<neonfuz>
like as part of a node project
<neonfuz>
I'm trying to get a node project built, which depends on jpegtran-bin, but the build fails for a few reasons, but I can't really fix it because it's all errors in an install script I can't touch in ./node_modules
<neonfuz>
so I tried with node2nix, thinking of making overrides to fix the build? not sure if I get a hook between unpack and running the install script
hakujin has quit [Ping timeout: 240 seconds]
hakujin has joined #nixos
<sphalerite>
neonfuz: sure, postUnpack :)
<sphalerite>
MichaelRaskin: you're maintainer for sauerbraten apparently, is it building for you??
<sphalerite>
I'm getting errors about '____gammaf128_r_finite' not being declared and similar
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<MichaelRaskin>
Interesting question
<MichaelRaskin>
Maybe should pin to an older gcc
<MichaelRaskin>
(I don't actually use it now)
<neonfuz>
ah, found preRebuild
<neonfuz>
I think that's what I want?
<neonfuz>
in the node-env generated by node2nix
nil has joined #nixos
<{^_^}>
[nixpkgs] @tadfisher opened pull request #38950 → quakespasm, vkquake: enable userdirs support → https://git.io/vpeuO
<neonfuz>
MichaelRaskin: yeah last I tried installing it I failed, and just checked out an older nixpkgs to get it to work lol
<neonfuz>
(I know how to do things better like pinning a gcc version), but yeah something's broken
<nur0n0>
hey guys, a couple of questions: is there a reference for functions such as 'fetchFromGitHub'? and is there a reference for error messages? is my best bet the source?
hakujin has quit [Ping timeout: 276 seconds]
xeji has joined #nixos
<nur0n0>
the nixpkg manual and nix pills have been good at setting up a mental model, but they have not been helpful with specific issues
<neonfuz>
I usually grep around the nixpkgs source and look for examples, there should be some sort of definitive examples source though maybe
<MichaelRaskin>
Argh. Nixpkgs manual does contain an example of fetchFromGitHub but not a description
<nur0n0>
yeah I've been looking throught the nixpkgs source for examples, but that only got me so far. For example: I know that fetchFromGitHub requires a sha256, and I assumed it was the hash of the tarball, but I'm getting an error seemingly related to that and I'm stuck
<sphalerite>
MichaelRaskin: I tried using an older gcc, didn't help
<MichaelRaskin>
(just recently tried to move LO to gcc6 from gcc5, nope, doesn't work without patches)
<sphalerite>
ooh but there's the SDL2 client which is better anyway, almost forgot about that
<sphalerite>
I need to put that in nixpkgs
<sphalerite>
I did package it at some point, just not in nixpkgs
rct has left #nixos ["WeeChat 1.9.1"]
hakujin has quit [Ping timeout: 260 seconds]
<MichaelRaskin>
Wait what
<MichaelRaskin>
That looks like a glibc packaging bug
hakujin has joined #nixos
nD5Xjz has joined #nixos
<sphalerite>
ouch
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iqubic has joined #nixos
<nur0n0>
neonfuz: could you point me to all-packages.nix? is that where 'fetchFromGitHub' is defined? I tried grepping through 'https://github.com/NixOS/nix' to no avail
<MichaelRaskin>
nix is the package manager
<MichaelRaskin>
nixpkgs is the package collection
<MichaelRaskin>
It is another repository
<zybell_>
you can find the def at the url Gchristensen gave.
<zybell_>
but the logic for rev is at another place
<zybell_>
idk where atm
xcmw has joined #nixos
hakujin has quit [Ping timeout: 264 seconds]
<nur0n0>
zybell_: thank you! I was confused as to what I was looking at. I'll try digging into the link
<zybell_>
.tar.gz contains 4bytes near the start that are nondeterministic. give diff hash everytime its packed.
<zybell_>
click on the line nr near it to zoom in
<sphalerite>
MichaelRaskin: the SDL2 client is failing with the same problem :/
<iqubic>
boomshroom: pulseaudio relies on ALSA, so if you want the advanced features, go with pulse.
<manveru>
ij: what's this cleansource thing?
<boomshroom>
iqubic: What kind of advanced features are those?
<MichaelRaskin>
If you know what you are doing — fully dynamic reconfiguration of sound output without application restart
<ij>
manveru, The result of a filterSource.
<manveru>
ij: if you wanted, you could simply pass the Gemfile/Gemfile.lock to bundlerEnv instead? gemdir is just a shortcut...
<MichaelRaskin>
And network support, although obviously JACK is better
<boomshroom>
MichaelRaskin: Like plugging in a headset and the sound switching automatically?
<manveru>
ah, also the gemset
<MichaelRaskin>
You mean a USB headset?
<MichaelRaskin>
I wouldn't rely on PulseAudio doing _anything_ automatically in the same way as you actually want
<ij>
manveru, Sure, but it seems counterintuitive that it wouldn't work since filterSource should evaluate to a path, but the resulting hardcoded path works.
<boomshroom>
MichaelRaskin: or jack. So don't bother with Pulse?
<MichaelRaskin>
But you will most likely be able to switch from the headset back to the dynamics without application restart or anything like that.
<manveru>
ij: yeah, i don't have a clue what's going on there :|
<MichaelRaskin>
There is a problem that Firefox manages to do some things wrong with pure ALSA
<boomshroom>
MichaelRaskin: That sounds like a reason to use Pulse.
<MichaelRaskin>
So stuff live videochat in browser does require PulseAudio with Firefox
hiratara has quit [Ping timeout: 276 seconds]
<boomshroom>
Also, media keys: Will they require any addition configuring for a macbook?
bara has quit [Read error: Connection reset by peer]
<MichaelRaskin>
These instances of Firefox do get a personal temporary PA instance on my laptop.
<iqubic>
boomshroom: It depends on what DE/WM you use.
<boomshroom>
iqubic: i3
<ij>
manveru, I'll try to come up with a better/isolated bug report.
<iqubic>
Yeah, just configure the media keys like you normally would, and it should work.
<boomshroom>
iqubic: I've never configured them before. They just work on macOS and I haven't bothered to set them up on linux before.
hiratara has joined #nixos
<boomshroom>
I only use the volume buttons because I can't just turn a knob.
<iqubic>
Well i3 doesn't manage the media keys for you. You have to bind them your self iirc.
* jack[m]
agrees with MichaelRaskin -- JACK is better.
<iqubic>
What is JACK? A PulseAudio alternative?
<zybell_>
Could be
<zybell_>
It doesnt do balace,vol onth other hand it does MIDI
<zybell_>
s/balace,vol onth/balance, volume on the/
<jack[m]>
Low latency pro-grade audio stuff for linux.
<zybell_>
pulse is more mixer,jack more switchboard
<sphalerite>
I'm trying to reproduce a build failure for a kernel derivation in a nix-shell, but it's not going too well — is running `genericBuild` in `nix-shell --pure` not the right way to reproduce the build in the case of the kernel?
<ij>
manveru, https://clbin.com/RtZ1M try out nix-build -E 'import ./. { print = true; }' and fail = true/false on this nix file.
<ij>
manveru, prints out the same path, but acts differently
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chessai has quit [Ping timeout: 256 seconds]
hakujin has quit [Ping timeout: 264 seconds]
<ij>
manveru, but seemingly… not on 17.09 :)
<sphalerite>
oooh right I needed to change $out and $dev
<zybell_>
genericBuild is no kernel script. if it is a nix-function I would expect it to call configure first, which the kernel doesnt have.
<Dezgeg>
it calls all the phases just as defined in the derivation
hakujin has joined #nixos
<zybell_>
and where does a --pure nix-shell get the settings for the phases`
<zybell_>
?
<sphalerite>
zybell_: please don't try to help me since you clearly don't know what you're talking about
drakonis has quit [Read error: Connection reset by peer]
<MichaelRaskin>
sphalerite: looks like the kernel uses the generic build, though
<sphalerite>
MichaelRaskin: yeah, it was failing because I needed to change not only $out but $dev too
<sphalerite>
and it tries to create $dev before actually building anything
xcmw has joined #nixos
<boomshroom>
Enabling sound now. It looks like sound.enableMediaKeys automatically sets the volume keys.
<sphalerite>
whereas most other derivations don't touch their output paths until installPhase
knupfer has quit [Ping timeout: 265 seconds]
phreedom has quit [Ping timeout: 268 seconds]
phreedom has joined #nixos
wangoe has joined #nixos
<nur0n0>
Is there a preferred way of porting python packages to nix? I am trying to do one by hand, but I keep getting stuck. Will pypi2nix work, or is there something better?
<sphalerite>
nur0n0: pypi2nix is usually a good starting point
<card[m]>
hi, i'm having a really weird issue with gnome 3 on nixos. apps installed as a user w/ nix-env -i start out with icons, but eventually after some number of reboots disappear & apps are rendered with the theme's default icon (a cog). i havent been able to get the icons back even after uninstalling and reinstalling
pie__ has quit [Read error: Connection reset by peer]
<{^_^}>
[nixpkgs] @xeji opened pull request #38954 → extundelete: fix build with e2fsprogs 1.44 → https://git.io/vpeVA
pie_ has joined #nixos
<card[m]>
anyone had a similar experience ? any way to fix it, or work around it ?
nur0n0 has joined #nixos
blahdodo has quit [Read error: Connection reset by peer]