<NixOS_GitHub>
[nixpkgs] gavinrogers opened pull request #22973: Fix: Darwin (OSX) doesn't have util-linux (master...fix/e2fsprogs-darwin) https://git.io/vD7jm
markus1219 has quit [(Ping timeout: 240 seconds)]
markus1209 has quit [(Ping timeout: 240 seconds)]
erlandsona has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] Unode opened pull request #22974: luaPackages.luaposix: init at 33.4.0 (master...master) https://git.io/vD7jC
schneefux has quit [(Ping timeout: 240 seconds)]
schneefux has joined #nixos
stepcut has quit [(Ping timeout: 255 seconds)]
ibrahims has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
roconnor has quit [(Quit: Konversation terminated!)]
<ndowens08>
Starting to like emacs more than vim
<simpson>
ndowens08: Then switch. Nobody cares.
<ndowens08>
simpson: dont have to be rude :) nobody may care, just trying to talk
<ttuegel>
ndowens08: Go Evil. :-)
<ndowens08>
ttuegel: :)
indi_ has quit [(Remote host closed the connection)]
<gchristensen>
ndowens08: #emacs has a nice salespitch
<simpson>
ndowens08: Your comment is indistinguishable from flamebait, sorry.
<ndowens08>
simpson: not trying to start a flamewar :) not at all
indi_ has joined #nixos
<gchristensen>
the official #emacs salespitch is "We aren't gonna lie. Emacs sucks. Some of us tolerate it, but we can't tell you if YOU'LL be able to. Try it and make up your own mind."
<ndowens08>
hmm that is crazy lol
<erlandsona>
Hey guys, anyone here know how to get a usb audio interface setup with (alsa, pulse, jack, etc...)? I'm super stumped. I've tried all the defaults but none of them seem to detect my usb device. And yes I know I could get the card id and set it manually but that's a huge PITA... Any suggestions?
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
kampfschlaefer has quit [(Ping timeout: 255 seconds)]
<ttuegel>
ndowens08: I may... have quit vim out of spite after I had a patch rejected.
<makefu>
my answer to these kinds of things is usually "A man chooses his own poison"
<ndowens08>
ttuegel: i was getting irritated with hitting insert to start typing and would end up messing other text up when it started to type after i realized what happened :)
MP2E has joined #nixos
<ttuegel>
After many years using Nix, Haskell, Emacs... things I was very enthusiastic about years ago... I hate them all. I desperately, miserably hate them.
<ttuegel>
And you can pry them from my cold dead hands. :-)
<ndowens08>
:p
<simpson>
ttuegel: Ah, another user of computers. I, too, hate computers.
<ttuegel>
:D
<gchristensen>
can I join that club too? :)
<MP2E>
so I saw a bug report on nixpkgs that was closed shortly after, in which someone's sudo binary broke because it isn't owned by uid 0 but they said it was 'just a broken environment'
<MP2E>
my whole system has this issue now basically heh
<gchristensen>
reading CVEs every week has crrushed my remaining spirit.
<MP2E>
any way to work around it?
<MP2E>
su and sudo don't work but i can still log in to root
<MP2E>
using a tty
indi_ has quit [(Remote host closed the connection)]
<MP2E>
nixos unstable isn't really an option because I maintain a few patches on the side over nixpkgs
<MP2E>
and also maintain some packages
<gchristensen>
MP2E: I think you need to fix your PATH (to include /run/wrappers/bin), or reboot in to
<MP2E>
unfortunately rebooting doesn't seem to fix the issue :(
<MP2E>
i'm using zsh if that has anything to do with it, not modifying the path though
<ttuegel>
gchristensen: Here's one you (won't) like. I just discovered that we weren't using some of the core KDE 4 library updates from KDE 5 that I thought we were, so we may have unknown vulnerabilities.
<MP2E>
will do, i'll modify that PATH and see if that fixes it too
indi_ has joined #nixos
<gchristensen>
ttuegel: well ... ! ... good riddance!
peterhoeg has joined #nixos
<ToxicFrog>
ttuegel: all software is awful; all hardware is awful; anything that appears not-awful only does so because you aren't yet familiar enough with it; death is certain.
MP2E has quit [(Quit: reboot)]
<ToxicFrog>
In conclusion, make sure to always have a cat on hand when using technology or, indeed, in any other circumstance.
MP2E has joined #nixos
ibrahims has joined #nixos
<MP2E>
aha
<MP2E>
okay if someone comes in complaining about the same thing i just was, tell them to check out both their .zshrc *and* .zshenv
<MP2E>
the PATH was being changed in .zshenv
<MP2E>
I don't really recall ever adding a line to do that in there
<MP2E>
but now it works with the line deleted
<MP2E>
i'll add a comment on the bug report about it
ibrahims has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] xpe opened pull request #22976: Update RocksDB to 5.1.2 (master...master) https://git.io/vD5eG
<NixOS_GitHub>
[nixpkgs] rushmorem pushed 2 new commits to master: https://git.io/vD5en
<NixOS_GitHub>
nixpkgs/master af6c722 rushmorem: intecture-cli: init at 0.3.2
<erlandsona>
Anyone here know how to hook up a usb audio interface in NixOS?
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vD5vz
<NixOS_GitHub>
nixpkgs/master d738ac4 sternenseemann: ocaml-angstrom: init at 0.3.0
<davidak>
erlandsona: have you tried to just plug it in?
<davidak>
maybe it get's recognized by the kernel automatically
<gchristensen>
peterhoeg: sometimes you may want to use staging (ping vcunat) but usually I'll just make sure to be prepared to merge them all together, if I have several
<peterhoeg>
erlandsona: I'm running with one right now
<gchristensen>
peterhoeg: do you know how many "pretty much all" is? b/c like 5,000 packages isn't so many, really
<peterhoeg>
It's just plug and play
<peterhoeg>
gchristensen: checking
<MP2E>
yep my USB audio sound card + headset just works when i plug it in as well
alx741 has quit [(Quit: alx741)]
<gchristensen>
I've had problems, myself
<gchristensen>
I think I had to play with pactl to make it work
ttuegel has joined #nixos
Wizek__ has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
ibrahims has quit [(Ping timeout: 260 seconds)]
<erlandsona>
gchristensen: what's pactl? Like pavucontrol?
<gchristensen>
pulseaudio's controller
<peterhoeg>
gchristensen: maybe I was blowing things ever so slightly out of proportion. it was 170 packages.
<gchristensen>
oh, hehe, just merge it! :)
<erlandsona>
Hmm... man, these past few days have made me really miss osx again. There's just so much I want to do that should be seemingly trivial that I seemingly can't do without spending non-trivial amounts of time on Linux/NixOS?
<peterhoeg>
erlandsona: yes, pavucontrol to choose which output to use
<peterhoeg>
but by default it should just work
<peterhoeg>
headsets take priority over speakers
<gchristensen>
erlandsona: OSX no doubt has far more people paid a lot of money to work full time on its usability
<erlandsona>
peterhoeg: So for some reason Nix must not be recognizing my hardware then, which I guess is not surprising since I can't even get the audio to work with my internal speakers... It's a stupid 2.1 Dolby surround thing and the sound only comes out of the subwoofers.
<avn>
peterhoeg: auto-mute-mode in alsa can helps, if you need switch between headphones/speakers w/o unplugging headphones physically
<davidak>
erlandsona: maybe you try elementary OS for desktop (also not perfect but they do a lot for usability)
<avn>
but idk how to delegate this work to PA
<peterhoeg>
erlandsona: what's the actual device name/model?
<avn>
(actually I want delegate all audio work to PA, and make only systemwide pulseaudio having access to /dev/snd*
<erlandsona>
peterhoeg: Acer Predator G9-792-74YC
<avn>
erlandsona: most of stuff should work in nixos, if it work on most of common linuxes as well
<erlandsona>
It's a gaming laptop I bought because I wanted "up to date specs" but I wasn't thinking as much as I probably should've about "Linux Compatibility".
<peterhoeg>
erlandsona: I mean the usb audio device
<erlandsona>
Not sure, I thnik the model number is... MOSC0008
<peterhoeg>
According to their website, the 1st gen says: "The Scarlett 18i8 is a class compliant device" which means it should be supported by the snd_usb_audio kernel module.
<erlandsona>
Serial... S865252034423
<peterhoeg>
The 2nd gen device doesn't say this
<erlandsona>
I'm pretty sure it should be compliant with that kernel module. That said, not sure if I have that kernel module loaded? How do I do that again?
<erlandsona>
Yeah I don't have that listed in my kernelModules line. I'm assuming I should add that then?
<peterhoeg>
you can manually load it
<peterhoeg>
sudo modprobe snd_usb_audio
<peterhoeg>
But it really should load automatically if the device is supported
<peterhoeg>
You can also try force loading it for your device:
<peterhoeg>
1) do lsusb to get a list of USB devices
<peterhoeg>
2) you will see a line that hopefully mentions focusrite or scarlett. In my case, my usb audio looks like this: Bus 003 Device 004: ID 1852:50d0 GYROCOM C&C Co., LTD
<peterhoeg>
3) we then tell the module to load for that device "sudo modprobe snd_usb_audio ven=1852 pid=50d0"
<peterhoeg>
You don't need to rebuild the config for now - just do it from a terminal
indi_ has joined #nixos
<erlandsona>
Alright...
acarrico has joined #nixos
<erlandsona>
Well except that I need to install busybox / usbutils?
<erlandsona>
Which would you suggest?
<peterhoeg>
usbutils
<peterhoeg>
Whenever nix suggests an option that includes busybox, ALWAYS pick the other unless you have a specific reason for busybox.
* ndowens08
hears the hate of busybox in peterhoeg
<ndowens08>
:)
<peterhoeg>
Ha ha ha
<erlandsona>
Okay? Will do I suppose. Busybox just have a lot of dependencies?
<erlandsona>
Okay so...
hamishmack has quit [(Quit: hamishmack)]
<peterhoeg>
Busybox is a slimmed down version of a large range of utilities often used in the embedded world.
<peterhoeg>
For a desktop you pretty much always wants the full versions
<peterhoeg>
s/wants/want
<erlandsona>
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp.
<erlandsona>
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
<erlandsona>
Bus 001 Device 003: ID 0bda:57cc Realtek Semiconductor Corp.
<erlandsona>
Bus 001 Device 002: ID 0cf3:e300 Atheros Communications, Inc.
<erlandsona>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
<erlandsona>
yy
<erlandsona>
That makes sense.
<NixOS_GitHub>
[nixpkgs] rushmorem opened pull request #22980: intecture-agent: init at 0.3.0 (master...intecture) https://git.io/vD5fK
<peterhoeg>
Can you try this:
<peterhoeg>
1) switch off the usb audio device
<peterhoeg>
2) run lsusb
<peterhoeg>
3) switch it on
<peterhoeg>
4) run lsusb
<peterhoeg>
Do you then see an additional line?
<erlandsona>
Aha!
<erlandsona>
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp.
<erlandsona>
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
<erlandsona>
Bus 001 Device 003: ID 0bda:57cc Realtek Semiconductor Corp.
<erlandsona>
Bus 001 Device 002: ID 0cf3:e300 Atheros Communications, Inc.
<erlandsona>
Bus 001 Device 004: ID 1235:8014 Focusrite-Novation Scarlett 18i8
<erlandsona>
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ibrahims has joined #nixos
nslqqq has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] davidak opened pull request #22981: [WIP] PyZufall: init at 0.13.2 (master...PyZufall) https://git.io/vD5fM
<peterhoeg>
So it wasn't on before?
spacekitteh has left #nixos []
<peterhoeg>
Is the module loaded now?
<erlandsona>
It was plugged in and on but I don't think the device was recognized during the boot process?
<erlandsona>
Also how do you scroll back in the irc history?
MP2E has quit [(Quit: reboot! (again))]
<ndowens08>
one weehcat is it is page up
<erlandsona>
OMG. :facepalm:
<erlandsona>
Thank you ndowens08 !
<ndowens08>
:)
ibrahims has quit [(Ping timeout: 255 seconds)]
<peterhoeg>
Is it working now?
MP2E has joined #nixos
<erlandsona>
peterhoeg: not working per se. That said, I only have alsa and qjackctl installed. Not sure what combo of sound utils / daemons I need to be using. EG: alsa, pulseaudio, jack?
<erlandsona>
All of the above?
nslqqq has joined #nixos
<peterhoeg>
No
<peterhoeg>
They serve different roles
<erlandsona>
Yay! Time for me to learnz!
<peterhoeg>
pulseaudio makes the regular use cases work really well, but it isn't great for audio production
<peterhoeg>
It introduces too much latency afaik
<peterhoeg>
For audio prod you want jack
<erlandsona>
Well long term I'd like to get this box working for Audio Production. I've got Musnix installed for the realtime kernel patches.
<peterhoeg>
Then jack it is
<peterhoeg>
I'm not an audio prod guy btw
<erlandsona>
So then seemingly I have what I need :)
<peterhoeg>
Well, what you could do is to start out with pulse
<peterhoeg>
NixOS makes this really neat
<peterhoeg>
See if it works for normal playing of audio
<erlandsona>
peterhoeg: I'm less of an audio prod guy than you given my Nix barrier to entry. lol
<mguentner>
erlandsona: have a look at pasuspender, it suspends pulseaudio while another application is running (e.g. jack)
<peterhoeg>
And if it does, great, then swap it over to jack while disabling pulse and off you go
<mguentner>
so you can produce music w/ jack and have rt-caps and after you are done, pulse switches on again and you can listen to your produced stuff in mpd :)
indi_ has quit [(Remote host closed the connection)]
<peterhoeg>
To enable pulse:
<peterhoeg>
hardware.pulseaudio = {
<peterhoeg>
enable = true;
<peterhoeg>
package = pkgs.pulseaudioFull;
<peterhoeg>
};
indi_ has joined #nixos
<mguentner>
To suspend pulse while jack is running:
<mguentner>
pasuspender -- jackd2
<erlandsona>
Yup so I'll add that back in.
<peterhoeg>
Actually, you probably want this:
<peterhoeg>
hardware = {
<peterhoeg>
pulseaudio = {
<peterhoeg>
enable = true;
<peterhoeg>
package = pkgs.pulseaudioFull;
<peterhoeg>
}:
<peterhoeg>
sound = {
<peterhoeg>
enable = true;
<peterhoeg>
enableOSSEmulation = false;
<peterhoeg>
};
<peterhoeg>
};
<peterhoeg>
mguentner absolutely makes a valid point. It may just be easier to try one thing at the time.
<erlandsona>
Oh I was literally just going to ask you if I needed the sound part too.
<gchristensen>
also I recommend using a pastebin for further help :)
danharaj has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #22982: creduce: Use wrapper instead of propagatedUserEnvPkgs (master...fix/creduce-wrapper) https://git.io/vD5J3
<erlandsona>
:) nixpaste right? I can pipe to that in the future :)
<Unode>
I guess 'singularity' was only added to nixpkgs later.
s33se_ has quit [(Ping timeout: 260 seconds)]
<Unode>
Yup, Nov 2016. Great
derjohn_mobi has joined #nixos
<erlandsona>
Okay so still no sound... pavucontrol is metering chrome and I should theoretically be hearing sound out of my speakers but I'm not getting anything?
<Unode>
erlandsona: I've had some strange issues with my soundcard + pulseaudio. If you use alsamixer, switch to the hardware level controls and make sure nothing is muted.
derjohn_mob has quit [(Ping timeout: 260 seconds)]
<Unode>
in my soundcard, pulseaudio sometimes gets confused and mutes the wrong channel which I then need to unmute manually.
ibrahims has joined #nixos
<Unode>
also something to do with how controls are changed when a headset is plugged... Tries to be smart and fails in annoying ways.
<erlandsona>
Okay so does pulse depend on Alsa? Because it's working!!!! WOOO!!! Win for NixOS IRC!
<erlandsona>
Unode: Everything was metering but I wasn't getting any sound... I opened alsamixer and sure enough all the channels we're muted.
<Unode>
erlandsona: alsa is still the actual system doing all the work. Pulse just pretends and looks busy
<Unode>
erlandsona: most likely the same problem I have
<Unode>
I tried patching the pulseaudio files myself (there's tons of them...) but every time a new update comes out hell breaks loose again. You can't (couldn't?) override these files. Had to changed them in the installation directory.
<erlandsona>
Ugh. :/ Okay so alsa is necessary... so then what do I need pulse for?
ibrahims has quit [(Ping timeout: 268 seconds)]
<Unode>
erlandsona: hehe, that's what I've been asking myself since pulseaudio became default on most systems.
<erlandsona>
Rather how do the Desktop Environments handle it? They all just "shell out" to pavucontrol? or something?
<Unode>
I'm still pulseaudio free on my gentoo box but that one is rather minimalistic.
<erlandsona>
I like minimalistic. Do you just use an alsa.conf file?
<Unode>
erlandsona: they talk to pulseaudio via some interface. libpulse if not mistaken.
<erlandsona>
Unode: "they" ?
<Unode>
erlandsona: no alsa.conf. Most alsa works out of the box.
<Unode>
they = desktop manager / applications that interact with pulse
<erlandsona>
So the whole F6 to switch audio cards thing doesn't seem to do what I'd expect. It's not actually switching the output device just showing the different card settings right?
<Unode>
yes
indi_ has joined #nixos
<Unode>
I don't think you "switch" audio like that. Instead you tell the application to send sound to a different device (alsa device).
<erlandsona>
Ah okay, except Chrome doesn't have sound output settings does it?
<Unode>
if they don't they use the "default" sound card.
tm__ has joined #nixos
<erlandsona>
Yeah so if I wanted "auto-detection" for my usb interface, isn't there something in alsa where you can set "default" to a card if it's registered otherwise fall back to internal speakers?
panostimos has quit [(Ping timeout: 260 seconds)]
<erlandsona>
Or a simple way to switch to the sound card or pole for the connection? I suppose we start to see the reason for pulse now eh? It's like your machines default system preferences sound. But then for more advanced audio applications you need more control which is where Jack steps in?
<peterhoeg>
erlandsona: you can get sound without pulseaudio but it makes stuff like headsets, multiple outputs, bluetooth sound and so on FAR easier to deal with.
* jack[m]1
steps in.
<peterhoeg>
In general, for the regular desktop use case, audio will "just work" with pulseaudio.
<peterhoeg>
Of course, since this is linux, things would be right without an epic religious war about "the best way to do sound" and "omg, get rid of bloat".
<Unode>
or you simply get to know the quirks of it and live with them
<Unode>
I'm actually surprised that OSS3 isn't making that much sound.
<peterhoeg>
s/would be right/wouldn't be right/
mbrgm has quit [(Ping timeout: 240 seconds)]
<erlandsona>
I agree with all previously made sentiments.
<erlandsona>
See my need to leave OSX is still itchy enough for me to put up with the oddities of Linux. That and I like to learn all the things! Call me a masochist
<peterhoeg>
Most of the mainstream linux distributions have started using pulseaudio because it makes stuff just work. Audio production is different and you definitely want jack for that.
<erlandsona>
Y'all mind switching gears a bit and addresing a different question?
excelangue has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<erlandsona>
But before that, first of all thank you so much for all the time and help you've given me on this channel these past few days. And of course on and off for the past well I guess like half a year or so.
ttuegel has quit [(Remote host closed the connection)]
ibrahims has quit [(Ping timeout: 260 seconds)]
excelangue has quit [(Ping timeout: 260 seconds)]
indi_ has quit [(Ping timeout: 240 seconds)]
<erlandsona>
Currently I've got NixOS setup to boot from a normal SSD drive on my machine, that said, I have an NVME drive and a regular 1tb hd that currently are going unused. Obviously for Audio stuff I'll need to set those up eventually.
<peterhoeg>
I'll be around for another 30 minutes or so unless we can jointly come up with a great excuse for why I don't have go have lunch with the in-laws...
excelangue has joined #nixos
<erlandsona>
On OSX I just used disk utility to set my applications to be stored on my ssd while I kept all my documents and data on a HD.
edvorg has joined #nixos
<erlandsona>
Lunch with in-laws... uh... in-laws. Meaning not blood. Meaning...
<erlandsona>
Well do you love your significant other?
<erlandsona>
Are you on good terms at the moment?
<erlandsona>
Kekekek
<erlandsona>
Also why does the kernel recompile every time I nixos-rebuild switch --upgrade. It takes hours.
<gchristensen>
peterhoeg: experience shows ya better go :)
<peterhoeg>
erlandsona: you're using musnix, right?
<ndowens08>
elasticdog: you have something that installs into the kernel modules i assume so everytime it recompiles
<peterhoeg>
musnix adds a few kernel parameters that makes the kernel recompile
<peterhoeg>
while you are testing things out, maybe it makes sense not to apply those changes
<peterhoeg>
erlandsona and gchristensen: you are both wise men. I thank you for your counsel. Lunch with the in-laws it is then...
peterhoeg has quit [(Remote host closed the connection)]
peterhoeg has joined #nixos
s33se_ has joined #nixos
<erlandsona>
peterhoeg: yup... good point.
s33se has quit [(Ping timeout: 240 seconds)]
<erlandsona>
gchristensen: Are you savvy with configuring hard drives? Did you see my question about booting nix from my nvme drive?
indi_ has joined #nixos
<peterhoeg>
does it show as /dev/nvme_something
<erlandsona>
Yup /dev/nvme0n1
<erlandsona>
Or just /dev/nvme0
<erlandsona>
Currently I've got Nix installed on /dev/sda
davidak has quit [(Quit: Leaving.)]
<erlandsona>
But I figure it might boot faster from the nvme drive.
<peterhoeg>
You should be able to boot from it as normal.
<peterhoeg>
Can you pastebin your current configuration.nix ?
<peterhoeg>
Specifically the fileSystems part?
<peterhoeg>
Although in all fairness, I doubt you will be able to see much of an improvement in terms of boot times if you are already booting from an SSD
<peterhoeg>
Offhand, I would approach it like this:
<peterhoeg>
1) boot.kernelModules = [ "nvme" ];
<peterhoeg>
this is to ensure that the module is being loaded in the initrd
<peterhoeg>
2) modify fileSystems."/".device to reference the root fs by label if it isn't already (mine as an example: device = "/dev/disk/by-label/root"; )
<peterhoeg>
3) boot from the nixos usb
<peterhoeg>
4) dd everything over
<peterhoeg>
5) remove SSD
<peterhoeg>
6) reboot
<peterhoeg>
I need your hardware-configuration.nix as it has the file systems you mount
indi_ has quit [(Remote host closed the connection)]
<erlandsona>
I got step 1, step 2 makes less sense... Step 3: I'll need to find my nixos usb. Shouldn't I just be able to use the nix installation from the ssd? 4,5,6... Uh... :/?
<peterhoeg>
Yep, so basically do steps 1 to 6. Before you just need to label the FS: e2label /dev/sda1 root
spacekitteh has joined #nixos
<spacekitteh>
how do i load OTR in irssi in nixos? O.o
<erlandsona>
Yeah that last part is still a little fuzzy... FS: e2label /dev/sda1 root?
<peterhoeg>
You could technically leave it as is, but it's easier if you have multiple machines to simply use a convention like mounting by label
<peterhoeg>
The last part simply gives you root fs a label
hexagoxel has quit [(Ping timeout: 260 seconds)]
<peterhoeg>
You know if you stick in a usb stick into a mac, it will say "UNTITLED" if it doesn't have a label - same thing
<spacekitteh>
i've been thinking about nix/ninja interop lately
<erlandsona>
jack[m]1: Are you savvy with drive configurations?
ibrahims has quit [(Ping timeout: 260 seconds)]
edvorg has quit [(Ping timeout: 260 seconds)]
excelangue has quit [(Ping timeout: 268 seconds)]
<jack[m]1>
erlandsona; Heh, I build SSDs for a living. I have a long standing beef with one of our Firmware engineers about spending 10s intializing DRAM before booting...
athan has joined #nixos
<jack[m]1>
But I don't work for Samsung, so...
mizu_no_oto has joined #nixos
systemfault has quit [(Quit: Bye!)]
mguentner has quit [(Quit: WeeChat 1.7)]
erlandsona has quit [(Ping timeout: 240 seconds)]
excelangue has joined #nixos
fiddlerwoaroof has joined #nixos
<tnks>
hmm, I updated to a current snapshot of Nixpkg, and a lot of Haskell libraries don't seem to be cached in Hydra.
mguentner has joined #nixos
indi_ has quit [(Remote host closed the connection)]
<gchristensen>
tnks: how recent? you're probably too recent
<gchristensen>
try a9584c9
indi_ has joined #nixos
<jack[m]1>
erlandsona: Anyhow, to boot off a NVMe device, you need to be in UEFI mode, and have "nvme" in initrd.kernelModules and kernelModules.
alx741 has joined #nixos
indi_ has quit [(Ping timeout: 268 seconds)]
<tnks>
gchristensen: what's the best way to see what the most recent cached version is?
<tnks>
I've been using the version reported by a 'nix-channel --update'
<spacekitteh>
tnks: are you using stable or unstable?
<tnks>
which has been okay (maybe circumstantially) up til now.
<tnks>
spacekitteh: I am using unstable.
<tnks>
I thought that "stable" wasn't really used.
* spacekitteh
nods
<spacekitteh>
tnks: i'm having the same problem, i just realised
<spacekitteh>
i just pulled master.tar.gz as my nixpkgs
<spacekitteh>
and it grabs the correct cached packages
<tnks>
yeah, I've used Nix for about half a year now, and haven't had this problem.
<tnks>
though I don't bump nixpkgs that often
excelangue has quit [(Ping timeout: 255 seconds)]
<spacekitteh>
yeah it's a problem with this specific version
<spacekitteh>
this specific commit*
<spacekitteh>
give it a few hours and i'm sure hydra will have a newer channel for you :)
<tnks>
spacekitteh: okay, that's fine.
excelangue has joined #nixos
ibrahims has joined #nixos
athan has quit [(Quit: leaving)]
ibrahims has quit [(Ping timeout: 260 seconds)]
erlandsona has joined #nixos
tm__ has quit [(Quit: Leaving)]
IRCFrEAK has joined #nixos
IRCFrEAK has left #nixos []
mguentner2 has joined #nixos
ndowens08 has quit [(Ping timeout: 260 seconds)]
mguentner has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vD5tO
<NixOS_GitHub>
nixpkgs/master 4f0feb4 sternenseemann: ocaml-logs: init at 0.6.2
erlandsona has quit [(Quit: WeeChat 1.5)]
edvorg has joined #nixos
erlandsona has joined #nixos
edvorg has quit [(Remote host closed the connection)]
edvorg has joined #nixos
ibrahims has joined #nixos
edvorg has quit [(Remote host closed the connection)]
deepfire has quit [(Ping timeout: 260 seconds)]
sellout-1 has joined #nixos
ibrahims has quit [(Ping timeout: 268 seconds)]
edvorg has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vD5tE
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
dramforever_ is now known as dramforever
stepcut has quit [(Remote host closed the connection)]
dramforever has quit [(Quit: Leaving)]
endformationage has quit [(Quit: WeeChat 1.6)]
kier has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
Sonarpulse has quit [(Ping timeout: 260 seconds)]
indi_ has quit [(Ping timeout: 260 seconds)]
ibrahims has joined #nixos
takle has joined #nixos
jgertm has joined #nixos
kini has joined #nixos
ibrahims has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
iyzsong has joined #nixos
ibrahims has joined #nixos
ertesx has joined #nixos
posco_______ is now known as posco
wkennington has joined #nixos
indi_ has joined #nixos
ertes has quit [(Ping timeout: 260 seconds)]
ertesx is now known as ertes
<NixOS_GitHub>
[nixpkgs] anderspapitto opened pull request #22987: buildRustPackage: fix deprecated use of registry.index config key (master...rust-registry-index) https://git.io/vD53C
griff_ has joined #nixos
sivteck has quit [(Read error: Connection reset by peer)]
sivteck has joined #nixos
deepfire has quit [(Ping timeout: 268 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
MinceR has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Ping timeout: 260 seconds)]
MinceR has joined #nixos
ibrahims has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Quit: griff_)]
edvorg has quit [(Remote host closed the connection)]
ibrahims has joined #nixos
indi_ has joined #nixos
Kingsquee has joined #nixos
ToxicFrog has quit [(Ping timeout: 240 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Read error: No route to host)]
indi__ has joined #nixos
ToxicFrog has joined #nixos
ibrahims has joined #nixos
ToxicFrog has quit [(Ping timeout: 240 seconds)]
sivteck has quit [(Ping timeout: 260 seconds)]
ToxicFrog has joined #nixos
erlandsona has quit [(Quit: WeeChat 1.5)]
Kingsquee has quit [(Read error: Connection reset by peer)]
Kingsquee has joined #nixos
iclanzan has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vD5sx
<NixOS_GitHub>
nixpkgs/staging 7cbe538 Nikolay Amiantov: pythonPackages.wrapPython: fix for paths with spaces
<NixOS_GitHub>
nixpkgs/staging 429add6 Frederik Rietdijk: Merge pull request #22962 from abbradar/python-env...
srhb has quit [(Quit: Quit)]
indi__ has quit [(Remote host closed the connection)]
ibrahims has quit [(Ping timeout: 260 seconds)]
indi_ has joined #nixos
excelangue has quit [(Ping timeout: 260 seconds)]
iclanzan has quit [(Quit: WeeChat 1.7)]
excelangue has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh closed pull request #22712: garmin-uploader: init at version 1.0.1 (master...garmin) https://git.io/vDrnu
indi_ has quit [(Ping timeout: 240 seconds)]
<rycee[m]>
tnks: I use the nixpkg-channels repository for that purpose. I have it as an extra remote in my nixpkgs clone. It's at https://github.com/NixOS/nixpkgs-channels
ibrahims has joined #nixos
ambro718 has joined #nixos
danharaj has quit [(Ping timeout: 260 seconds)]
ibrahims has quit [(Ping timeout: 240 seconds)]
spacekitteh has left #nixos []
<tnks>
rycee[m]: good to know; let me try that.
MP2E has quit [(Quit: reboot)]
justbeingglad has joined #nixos
<tnks>
rycee[m]: though I appreciate the suggestion, I think that this doesn't get me much more than I already had just noting the version from the standard output of a `nix-channel --update` run.
<tnks>
because that version number strongly tracks HEAD of the "nixpkgs-unstable" branch in nixpkgs-channels.
<tnks>
so I think the real problem is just that Hydra is behind or the one commit I was pinning to didn't get cached.
ibrahims has joined #nixos
<tnks>
okay, so I just updated to a new version... maybe it's better?
sivteck has joined #nixos
<tnks>
(no... kind of the same problem)
ibrahims has quit [(Ping timeout: 240 seconds)]
MP2E has joined #nixos
justbeingglad has left #nixos []
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vD5ZV
<NixOS_GitHub>
nixpkgs/master b322271 Nikolay Amiantov: pythonPackages.webassets: 0.12 -> 0.12.1...
indi_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vD5ZA
<NixOS_GitHub>
nixpkgs/master 362ef37 Nikolay Amiantov: nvidia_x11.settings: link dlopen'ed libraries
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
kampfschlaefer has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vD5nf
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
<NickHu>
Hi, I'm trying to remove a package I installed with nix-env -i, but doing nix-env -e vimplugin-vimproc-vim-2016-08 just gives no output and does nothing - furthermore, the shell return is 0
<NickHu>
Is there a way to increase the verbosity so I can see what's going on?
peterhoeg has quit [(Remote host closed the connection)]
Mic92 has quit [(Quit: WeeChat 1.7)]
Mic92 has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 3 new commits to master: https://git.io/vD5zD
<NixOS_GitHub>
nixpkgs/master b53c53b Tuomas Tynkkynen: maintainers: Add script to patch version/sha256 in .nix files...
<NixOS_GitHub>
nixpkgs/master 9483359 Tuomas Tynkkynen: linuxPackages.tp_smapi: Use common-updater/update-source-version script...
<NixOS_GitHub>
nixpkgs/master e5e1bdc Tuomas Tynkkynen: firefox, thunderbird: Use common-updater/update-source-version script...
<NixOS_GitHub>
[nixpkgs] dezgeg closed pull request #21766: RFC: More common updater script implementations (master...updater) https://git.io/vMl3B
<kthnnlg>
Hi All, I have a usb drive that I would like to have load at boot time in my nixos machine. I would like to use luks to encrypt the partition. Unfortunately, I'm having trouble getting nixos to recognize the drive at boot time. My suspicion is that the uuid entry that appears in /dev/disk/by-uuid keeps changing every time I reboot. Does anyone have a pointer to the proper method for adding an encrypted USB drive to an exist
<NixOS_GitHub>
[nixpkgs] vbgl pushed 18 new commits to master: https://git.io/vD5zb
<NixOS_GitHub>
nixpkgs/master eec3973 Florent Becker: leo2: force ocaml-4.01
<NixOS_GitHub>
nixpkgs/master 11e4fcf Florent Becker: ocamlPackages.llpp: only allow with ocaml-4.04
<Dezgeg>
no, by-uuid is only changed if you repartition / reformat the partitions
<Dezgeg>
I'd guess you lack the necessary kernel modules in the initrd
arjen-jonathan has joined #nixos
<kthnnlg>
lack of kernel modules is a possibility
<kthnnlg>
i do load usb_storage manually
<kthnnlg>
however, there may be other kernel modules i'm missing
<kthnnlg>
does anyone know what kernel modules are required to load a usb drive at boot time?
<kthnnlg>
alternatively, if that's not the recommended solution, i'd be happy to find an explanation of the clean method to mount an existing usb encrypted partition manually
<kthnnlg>
strangely, my google searches lead me to one of the many articles that show how to configure with an encrypted root partition, but I have yet to find one that simply explains how to create and mount an encrypted partition.
<LnL>
gchristensen: you where working on something that gives some nice output for travis build right?
<gchristensen>
LnL: not "something" but a "horrible disgusting hack" :)
<LnL>
oh, was going to ask if you think it might be useful to run test builds for nix-darwin
<gchristensen>
I think something like it could be
<gchristensen>
but the implementation is disastrous lol
<LnL>
I already have a release.nix with jobs for some example configurations, I just have to plug that into travis
<gchristensen>
nice
<LnL>
yeah my local hydra builds it, but it doesn't send emails
<LnL>
and hydra doesn't complain enough about evaluation errors for my usecase
<gchristensen>
(brb, I have commentary)
<NickHu>
kthnnlg: Can't you just do a cryptsetup open /dev/sdX usbdrive ?
<NickHu>
If it's really luks/dm-crypt
FrozenCow has joined #nixos
<NickHu>
There are a plethora of "encrypted USB drives" which actually don't work with linux at all, if it's some sort of proprietary usb
FrozenCow has quit [(Remote host closed the connection)]
lambdamu has joined #nixos
ixxie has joined #nixos
<lambdamu>
Is the rendered nixpkgs manual for some recent head online somewhere?
<lambdamu>
Possibly built by hydra, I remember something along those lines but can't find it anymore
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
endformationage has joined #nixos
dramforever has quit [(Quit: Leaving)]
jgertm has quit [(Ping timeout: 240 seconds)]
ambro718 has joined #nixos
<endformationage>
Does nix-shell -p look specifically for the prefix 'nixpkgs' in $NIX_PATH? I tried: nix-shell '<myrepo>' -p pkg1 pkg2, and got versions I did not expect.
<endformationage>
Only after: nix-shell -I nixpkgs=path/to/cloned/repo -p pkg1 pkg2 did I get what I expected.
MinceR has quit [(Ping timeout: 240 seconds)]
<gchristensen>
endformationage: it either looks for NIX_PATH=nixpkgs=.... or with NIX_PATH=/a/dir , it'll look for /a/dir/nixpkgs
MinceR has joined #nixos
<endformationage>
I guess I expected -p to use the prefix path I specified, no matter its name.
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vD5oM
<NixOS_GitHub>
nixpkgs/master 77f5a50 Vladimír Čunát: lua-packages: fix my mass typo in meta
takle has joined #nixos
<gchristensen>
which lets nix-build do its thing, and then afterward can go back and figure out what happened
<LnL>
right
<LnL>
what do you need utillinux for?
<gchristensen>
`rev`
bennofs1 has quit [(Ping timeout: 255 seconds)]
bennofs has joined #nixos
<LnL>
is that the same as sort -r?
<gchristensen>
maybe? `echo foo | rev`
<gchristensen>
== oof
<LnL>
I don't understand what that line does
<gchristensen>
it converts /nix/var/log/nix/drvs/xi/z06pl946qh8x6ja1mnk27v3l53pwf5-unit-httpd.service.drv.bz2 to /nix/var/log/nix/drvs/xiz06pl946qh8x6ja1mnk27v3l53pwf5-unit-httpd.service.drv.bz2 ("xi/" to "xi"
freusque has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Quit: griff_)]
Sonarpulse has joined #nixos
<NixOS_GitHub>
[nixpkgs] rvl opened pull request #22995: haskellPackages.lentil: no longer needs overrides (master...lentil) https://git.io/vD5Kd
<LnL>
cool, so that includes the logs of all the steps?
<gchristensen>
so before this dumplogs.sh runs, nix-build ./whatever.nix --keep-going, then run this. _ideally_ the `drvs` function is better, ie: don't just start with _everything on the system_, but instead use just the things you're buliding
<gchristensen>
yep
<gchristensen>
the reason the "everything on the system" approach works here is, well, travis doesn't have much :)
<gchristensen>
travis only has logs for things it has built
<MichaelRaskin>
hyper_ch: it stays in the history, but in NixPkgs right now there is an attempt to replace everything KDE4 with KDE5
<hyper_ch>
kde5 isn't on par yet with kde4
<hyper_ch>
quite a few kde4 apps aren't ported yet
<MichaelRaskin>
You can try to complain in issue tracker…
<roconnor>
the "kde4" set of packages is no longer in unstable.
<MichaelRaskin>
Those that are not ported but are being ported — they are left alone for now
<MichaelRaskin>
At least should be
<hyper_ch>
MichaelRaskin: which issue tracker?
<MichaelRaskin>
But using KDE5-associated kdelibs4
<MichaelRaskin>
NixPkgs
<Drakonis>
wow a 3 year old bug
<Drakonis>
das something
<hyper_ch>
nov. 2014
<Drakonis>
KDE5 has some fairly nice things
<hyper_ch>
Drakonis: linke?
<hyper_ch>
like?
<hyper_ch>
it always screwed up my multi-monitor settings
derjohn_mobi has quit [(Ping timeout: 240 seconds)]
<hyper_ch>
it takes a lot longer to boot when external monitors are attached
deepfire has joined #nixos
<hyper_ch>
the new theme is a huge space waster
<gchristensen>
AFAIK, KDE4 as a whole doesn't receive updates from upstream, except for special circumstances, and only then for the core kdelib. that, plus the fact that kde4 has never had a proper maintainer in Nixpkgs ... it is outta here
danharaj has quit [(Ping timeout: 240 seconds)]
systemfault has joined #nixos
<MichaelRaskin>
It is so nice to use StumpWM… KDE users, Gnome users, they discuss some weird changes, new versions, deprecation…
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Drakonis>
doth protest too much
<NixOS_GitHub>
[nixpkgs] FlorentBecker opened pull request #22996: Apps out ocaml packages (master...apps_out_ocamlPackages) https://git.io/vD5ic
<hyper_ch>
well, I've heard many wonderful stories about wayland.. how it's supposed to be so much better than x11... but I've never seen it
<sphalerite>
Drakonis: cooked up?
<sphalerite>
hyper_ch: it's somewhat usable right now in nixos
mudri has joined #nixos
<hyper_ch>
:)
<sphalerite>
In a tty, nix-shell -p weston --run 'dbus-launch weston' and hey presto(n) you have a wayland session
ertesx has joined #nixos
<gchristensen>
MichaelRaskin: I'm an i3 user, and having to test kde stuff has given me a taste of the sugary kde... it has been hard to resist, but I don't like how it works as much.
layus__ has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
layus_ has quit [(Ping timeout: 260 seconds)]
roconnor has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
I remember long long ago (2005?) I had set up Enlightenment with all the candy. It was wonderful how it managed to make desktop effects work in pre-compositing days; it was also crazy annoying about approximately a day.
<MichaelRaskin>
Now I am disgusted by just seeing macOS UI
ixxie has quit [(Ping timeout: 260 seconds)]
bennofs has quit [(Quit: WeeChat 1.6)]
derjohn_mob has joined #nixos
Geraldus has quit [(Quit: Be back later ...)]
joelpet has quit [(Remote host closed the connection)]
<obadz>
gchristensen: really? kde looks horrible to me on top of being much harder to use than i3…
<obadz>
(well, meaning, given that I already know i3 ☺)
SuprDewd has quit [(Read error: Connection reset by peer)]
SuprDewd has joined #nixos
pi3r has joined #nixos
<gchristensen>
obadz: yeah I hate actually using it, but the candy is nice sometimes
<MichaelRaskin>
I think at some point I used a Beryl config where all the animations were suppressed but there was a keybinding to allow the candy-candy cube rotation with mouse with a nice sky background for all this
mudri has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 268 seconds)]
<LnL>
gchristensen: nice!
<Ralith>
sphalerite: huh, that does Just Work
<Ralith>
neat
<Ralith>
any idea what's missing before it can be used properly?
<sphalerite>
yeah, I was surprised too
<sphalerite>
specifically in nixos or in general?
<sphalerite>
In both cases the answer is idk to be honest :p
montag451_ has joined #nixos
<sphalerite>
I couldn't get firefox or chromium running, that might just be because the nixos gtk build doesn't support it though
<sphalerite>
I haven't looked at it in that much detail
<Ralith>
isn't fedora booting into wayland by default these days
<Ralith>
I think it's pretty ready in general
<Ralith>
if the nixos gtk build doesn't have wayland enabled, shouldn't that be fixed
derjohn_mob has joined #nixos
<gchristensen>
Ralith: that PR would likely be merged
fnljk has quit [(Quit: ^?^)]
* Ralith
doesn't know the first thing about wayland or the gtk build process, but is slightly confused that whoever does hasn't already done that
<Ralith>
well, I know some things about the wayland client-server protocol but that's different >_>
<obadz>
Ralith: it's possible that 'whoever does' = ø
<Ralith>
unfortunate
<obadz>
silver lining: plenty of room to make an impact :)
<gchristensen>
obadz++
<ekleog>
wow, anyone switch --upgraded on unstable today?
ilja_kuklic has quit [(Remote host closed the connection)]
<ekleog>
I don't have sudo or su setuid anymore
<NixOS_GitHub>
[nixpkgs] romildo opened pull request #22998: LXQt: update several packages (master...upd.lxqt) https://git.io/vD5Xk
<ekleog>
will have to reboot to fix this up, it looks like :/
<philipp[m]>
Relogin should be enough.
mw_ has joined #nixos
<philipp[m]>
I had the same thing yesterday and reported it. There will be a symlink in soon.
<NixOS_GitHub>
[nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vD5XL
<NixOS_GitHub>
nixpkgs/master 6dbb3ab anderspapitto: buildRustPackage: fix deprecated use of registry.index config key (#22987)...
mw_ has left #nixos []
<ekleog>
oh nice :)
<ekleog>
thanks!
<obadz>
ekleog: in general, I've found that nixos-rebuild boot && reboot is better than switch…
<spleeder>
Hello all! I am just starting out with NixOS, and trying to modularize my config. I cannot for the life of me figure out how to get the string representation of an integer. Anyone have any ideas?
<ekleog>
toString 42
ambro718 has quit [(Ping timeout: 240 seconds)]
<ekleog>
"The answer to Life, the Universe and the Rest is ${toString 42}", for example ;)
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] nyarly opened pull request #23000: bundlerEnv: add platforms + support `gemspec` (master...master) https://git.io/vD5Xu
<spleeder>
oh, wow. didn't even think to try toString because the docs (http://nixos.org/nix/manual/) says the argument can be a string or a path
<KABA>
Hi, I could not found Pmw (Python megawidgets) in nixpkgs. Is it available somewhere and only I can't find it, or should I package it as well?
<Drakonis>
looking at the chain, it makes it difficult to take rms seriously
<Drakonis>
when he undermines his own cause
m0rphism has joined #nixos
derjohn_mob has joined #nixos
alx741 has joined #nixos
deepfire has quit [(Ping timeout: 268 seconds)]
mudri has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] Ralith opened pull request #23003: vulkan-loader: fix search paths in suid processes (master...vulkan-suid) https://git.io/vD59Y
Geraldus has joined #nixos
yenzenz has joined #nixos
ilja_kuklic has joined #nixos
danielrf1 has quit [(Ping timeout: 240 seconds)]
<dtzWill>
Drakonis: whoa that repology thing is awesome, ty for sharing
griff_ has quit [(Quit: griff_)]
<Drakonis>
it is
<Drakonis>
yeah
<KABA>
"fatal error: libxml/xmlwriter.h: No such file or directory" What can I do with this? I have libxml2 as my package's dependency and I have seen that issue on github, that it is due to that "include" subdirectory, but using that C_INCLUDE_PATH no longer works.
takle has quit [(Remote host closed the connection)]
kampfschlaefer has quit [(Ping timeout: 255 seconds)]
henrytill has quit [(Changing host)]
henrytill has joined #nixos
<MichaelRaskin>
I like how they suggest 0ad-data
<KABA>
MichaelRasking: Could you please show me some sort of example? I don't quite understand what you mean..
kampfschlaefer has joined #nixos
<Drakonis>
this is important.
<Drakonis>
MichaelRaskin, that's only because lots of distros separate packages
<Drakonis>
poorly.
<NixOS_GitHub>
[nixpkgs] corngood closed pull request #20721: WIP: openssl: add ubuntu version symbols to openssl-steam (staging...steam-openssl-version) https://git.io/v1T8Y
<MichaelRaskin>
I know!
<MichaelRaskin>
That's why I knew where to look
<Drakonis>
i'm also going down the llvm chain on the gnu list and man
<Drakonis>
it is sad
<KABA>
MichaelRaskin: Nevermind, I understand how to use it, but irregardless I think the libxml2 package doesn't have xmlwriter.h or something like that
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #23005: vimPlugins.clang_complete: init at 2017-02-16 (master...clang_complete) https://git.io/vD5Hw
<sziszi>
what tools should I use if I want to run a program in NixOS? how can I list it's dependencies? I read that I probably need readelf but I didnt find it on my system installed nor as an installable package/derivation.
takle has joined #nixos
<c74d>
sziszi: if I try to run `readelf` I get told the attribute paths of packages I could get it from
<joachifm>
sziszi: are you talking about prebuilt software that assume FHS compliant host?
<sziszi>
joachifm: yes
<sziszi>
c74d: that is the problem, seems I dont have readelf installed
<sziszi>
or just my env cant find it
<c74d>
sziszi: if you try to run `readelf`, you should be given the attribute paths of some Nix expressions (packages) you could get `readelf` from, then you can choose one of those expressions and install it or open a nix-shell with it
<LnL>
KABA: inherit (pkgs) foo; is the same as foo = pkgs.foo;
<KABA>
LnL: Thanks
RchrdB has joined #nixos
takle has joined #nixos
simendsjo has quit [(Remote host closed the connection)]
kthnnlg has quit [(Ping timeout: 268 seconds)]
excelangue has quit [(Remote host closed the connection)]
excelangue has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
katyucha_ has quit [(Remote host closed the connection)]
katyucha has quit [(Remote host closed the connection)]
FRidh has quit [(Quit: Konversation terminated!)]
<Profpatsch>
manveru: Heh
deepfire has joined #nixos
MP2E has joined #nixos
<Profpatsch>
Is there one planned?
<Profpatsch>
If so, it’s not me hosting it this time. :)
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<johnw>
are there any good examples out there of using Nix with Jenkins
<dtzWill>
might wanna consider Hydra, if you haven't :). I use Nix on my Jenkins instance, mostly just nix-build -A $ATTRSET_THAT_TESTS_THINGS_WORK on our nixpkgs fork, nix-build using default.nix in projects that have it (grumble duplication grumble) or some nix-shell invocations for some other things
<dtzWill>
but AFAIK I've mostly ended up badly implementing Hydra features, like finding the log of the thing(s) that failed
slack1256 has joined #nixos
<dtzWill>
so I plan on migrating myself, got here in small steps xD :)
<johnw>
mainly I was thinking of jenkins because using it is easy
<johnw>
last time I checked out hydra, the docs were pretty impenetrable
<dtzWill>
can't comment on that, I honestly didn't even try yet. But maintaining my kludges is becoming increasingly burdensome so I'm willing to put up with a fair bit if it means I don't have to do that anymore xD
<johnw>
if you do it, let me know :)
<dtzWill>
oh and with Jenkins I mostly just a)report if things worked and save logs if not and b)add things to a special nix-env profile that ensures a particular machine has my group's attributes available for binary cache goodness
<dtzWill>
the profile being my kludge way of achieving "latest commit for past N days will be protected from GC"
hiratara has quit [(Ping timeout: 240 seconds)]
freusque has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
systemfault has quit [(Quit: Bye!)]
proteus-guy has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] Mounium opened pull request #23007: pymol: init at 1.8.4 (master...pymol) https://git.io/vD5FK
KABA has quit [(Quit: Page closed)]
<LnL>
I've setup a hydra instance on my desktop, it works pretty well FWIW
spleeder has quit [(Quit: Page closed)]
slack1256 has quit [(Remote host closed the connection)]
<LnL>
but I did have to override a service option and revert a hydra commit to get 16.03 + hydra master working properly
thc202 has quit [(Ping timeout: 260 seconds)]
<ndowens08>
Just looked at guixsd, doesnt seem they support uefi from what i can tell, was gonna remove arch and install it on that partition
<LnL>
I mean 16.09 and that part should work for unstable
takle has joined #nixos
Geraldus has quit [(Quit: Be back later ...)]
takle has quit [(Ping timeout: 240 seconds)]
Geraldus has joined #nixos
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
Geraldus has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vD5bx
<NixOS_GitHub>
nixpkgs/master a2b8ceb Eelco Dolstra: Create AMIs for ca-central-1 (Canada)
systemfault has joined #nixos
systemfault has quit [(Client Quit)]
defel has quit [(Remote host closed the connection)]
takle has joined #nixos
abrar has quit [(Quit: WeeChat 1.6)]
reinzelmann has quit [(Quit: Leaving)]
takle has quit [(Read error: Connection reset by peer)]
<Guest28167>
hi, i'm trying to disable the touchpad of my thinkpad so i changed services.xserver.synaptics.enable to false but it doesn't seem to do the job
<Guest28167>
do you have any idea why ?
<Guest28167>
btw i see a "touchpad" entry in my xorg conf file
<ndowens08>
Guest28167: i had that issue too but simple way is to use xinput
<ndowens08>
use that find the ID # that is for that device and do xinput --disable #
<Guest28167>
oh ok, i'll look at it thanks
takle has quit [(Ping timeout: 240 seconds)]
<Guest28167>
and, is the nix-mode for emacs broken ? indentation is really weird with it
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vD5A2
<NixOS_GitHub>
nixpkgs/master bfdfd6c Benjamin Saunders: vulkan-loader: fix search paths in suid processes...
<NixOS_GitHub>
[nixpkgs] mdorman opened pull request #23009: beets: enable gstreamer support (master...beets-gst) https://git.io/vD5A7
<Ralith>
it handles '' poorly, though; I often end up with a shell script that contains a glob ending in /* and nix-mode treats that as commenting out the entire remaining file
Ivanych has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vD5Ah
<Guest28167>
maybe my config file is wrong, i'll check but either it doesn't indent at all, either it idents but without any sense
griff_ has quit [(Quit: griff_)]
<Ralith>
lots of people have improved it
takle has joined #nixos
<lambdamu>
LnL: two commits in the last two years
<Ralith>
that doesn't mean it's finished
<Ralith>
Guest28167: I think indentation support is just outright missing, so it falls back on emacs' built in defaults, which are fine so long as you're not trying to mass-autoindent something
<lambdamu>
indentation is weird for me, too, I'm just not sure if spacemacs integration or nix-mode is to blame
<Guest28167>
ok
<Ralith>
basically you have to indent by hand but it does a decent job of guessing where to put the point on a new line
<LnL>
somebody told me that they sometimes use my vim-nix plugin to indent files :p
<Guest28167>
btw my emacs (no X) is installed system wise, and when i install packages from my user profile it reinstalls emacs in my user profile : is that normal ?
<Ralith>
your user profile is independent of the system profile
<Guest28167>
i know
takle has quit [(Ping timeout: 260 seconds)]
<Ralith>
glad that's cleared up then
<Guest28167>
it's not
<Guest28167>
does it mean that dependencies are not resolved by checking if it's present in the system profile ?
<Guest28167>
if yes, is there a reason ?
montag451_ has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
griff_ has joined #nixos
<vdemeester>
Guest28167: if it's not the same version (the nix-channel version) between you're user and system, it's normal (the package might be different, thus the hash is different, thus it reinstalls it)
<Profpatsch>
manveru: Oh, I see, the Guix talk. That one’s organized by c. :)
<NixOS_GitHub>
[nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vD5pk