gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<{^_^}> [nixpkgs] @volth closed pull request #44046 → perlPackages.SOAPLite: 1.11 -> 1.27 → https://git.io/fN4GU
hphat has joined #nixos
hphat has quit [Client Quit]
andreabedini has quit [Ping timeout: 244 seconds]
hph^ has joined #nixos
Fare has joined #nixos
alexteves has quit [Remote host closed the connection]
programmer1 has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
<samueldr> hmmm, not up to snuff with the pam stuff, but uh, looks like UID lesser than 1000 can't auto-login with sddm
programmer1 has quit [Remote host closed the connection]
abueide__ has quit [Remote host closed the connection]
<samueldr> an, all part of the respective modules of each display-managers (grep pam_succeed_if.so uid)
<samueldr> ah*
<samueldr> (for the record, I was using a high UID that's less than 1000 for a service-type user)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fN05U
programmer1 has joined #nixos
programmer1 has quit [Ping timeout: 240 seconds]
abueide has joined #nixos
programmer1 has joined #nixos
joncfoo has quit [Ping timeout: 245 seconds]
joncfoo has joined #nixos
Anton-Latukha has joined #nixos
andreabedini has joined #nixos
programmer1 has quit [Ping timeout: 264 seconds]
Waldo3 has joined #nixos
<Waldo3> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
Waldo3 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
halfbit has quit [Ping timeout: 256 seconds]
programmer1 has joined #nixos
programmer1 has quit [Ping timeout: 256 seconds]
programmer1 has joined #nixos
Lisanna has quit [Remote host closed the connection]
catfuneral24 has joined #nixos
catfuneral24 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
programmer1 has quit [Ping timeout: 256 seconds]
thebigman has joined #nixos
programmer1 has joined #nixos
Gohla has joined #nixos
ericsagnes has joined #nixos
andreabedini has quit [Ping timeout: 244 seconds]
<tertle||eltret> is there a way to get custom kernel on nix ?
<clever> tertle||eltret: do you want to use a diferent version already in nixpkgs or make one from your own source?
<samueldr> yes
<tertle||eltret> im looking for versions that are already packages
<samueldr> or even tweak kernel configs, but track versions in nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #44112 → nextcloud: 13.04 -> 13.05 → https://git.io/fN0dH
markus1189 has joined #nixos
programmer1 has quit [Ping timeout: 256 seconds]
programmer1 has joined #nixos
<samueldr> hm, I was searching for a good way to list them via the console...
<samueldr> but here's the list of all the kernels from nixpkgs https://nix.samueldr.com/explorer/?channel=nixos-18.03&query=%5C.kernel%24
<tertle||eltret> whats the flag to search for packages?
markus1199 has quit [Ping timeout: 260 seconds]
<samueldr> ah, found it
<samueldr> nix search 'linuxPackages.*\.kernel$'
<samueldr> (I was trying with nix-env -qaP first)
<samueldr> as there are no non-linux kernels in (yet?) this works too: nix search '\.kernel$'
<tertle||eltret> oho k
<samueldr> all kernels end up being "wrapped" insiede a linuxPackages attribute set with packages depending on the kernel being compiled for that kernel
<samueldr> things like acpi_call
r3m8 has joined #nixos
<r3m8> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
r3m8 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<abueide> clever, so are you out of ideas? also thank you for all of your help so far, I really appreciate it
<clever> tertle||eltret: 2018-07-25 19:49:43 < clever> abueide: boot.kernelPackages = pkgs.linuxPackages_4_17;
<clever> abueide: yeah, out of ideas
programmer1 has quit [Ping timeout: 256 seconds]
programmer1 has joined #nixos
<clever> abueide: ah, that would explain it
<clever> abueide: you can change the 4_9 in that example to 4_17, and then also use boot.kernelPackages = pkgs.linuxPackages_4_17;
<abueide> sounds good
thebigman has quit [Quit: Page closed]
<abueide> is there a way that should be handled automatically?
programmer1 has quit [Remote host closed the connection]
jluttine has joined #nixos
<abueide> so other people won't have to go through that
programmer1 has joined #nixos
<clever> abueide: i think you need to file a PR here and add the option: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/common-config.nix#L151
kyren_ has quit [Read error: Connection reset by peer]
kyren has joined #nixos
<ldlework> johnw: its hard to get data in and out of emacs-async
<clever> abueide: oh
<clever> abueide: its already enabled...
<abueide> well thats saddening
acarrico has quit [Ping timeout: 268 seconds]
<clever> abueide: i suspect that something might be wrong with the config, its been in there for a few years
<clever> $ cat /proc/config.gz | gunzip | grep RT2800USB_RT53
<clever> CONFIG_RT2800USB_RT53XX=y
<clever> abueide: my current kernel also has that option enabled
acarrico has joined #nixos
<clever> abueide: are you still able to boot the un-fixed usb stick?
Gohla has quit [Ping timeout: 256 seconds]
<abueide> the live usb or the installed usb
<clever> either
<abueide> yeah
<clever> check with the above command to see what the current config is
slack1256 has joined #nixos
<abueide> it says its not set
<clever> what does `nixos-version` say?
programmer1 has quit [Ping timeout: 244 seconds]
<clever> [clever@amd-nixos:~]$ nixos-version
<clever> 18.09pre145679.dae9cf6106d (Jellyfish)
<abueide> 18.03.132847.aec218952f2 (Impala)
<clever> is the hash at the end correct?
<abueide> probably not i typed it
<abueide> aec217852f2
<clever> this is the state of the kernel config, from your version
counting1ort has joined #nixos
<clever> the style of the entire file is different
<clever> and only the 55xx option is enabled, not 53xx
<samueldr> it's changed for unstable/18.09
<abueide> yay
<clever> so its simply broken in 18.03, and its working in unstable
<abueide> so how do i update to unstable
<samueldr> (the format I mean)
programmer1 has joined #nixos
<clever> abueide: nix-channel --add https://nixos.org/channels/nixos-unstable nixos ; nix-channel --update
<clever> abueide: and then it should work for any kernel version
<abueide> allright sweet
<samueldr> or if you want to re-download an iso
<tenten8401[m]> Would anyone know how I'd go about installing a custom patched version of Wine into my system?
<clever> samueldr: he's already got a fully installed copy on a usb, so he can freely upgrade the usb
<clever> probably faster and more flexible then re-burning a new iso
<samueldr> oh, probably
<samueldr> though, in case anyone else wanted to use the installer from unstable :)
countingsort has quit [Ping timeout: 264 seconds]
<clever> yeah
<clever> you cant upgrade the kernel on the livecd image
<abueide> clever, i can't do that cause no internet xd
<clever> most other things can sorta be updated with nixos-rebuild, but it needs more ram
<abueide> i'll probably just download the unstable iso
<clever> abueide: you can boot that usb stick on another machine that has working wifi
<clever> or just get the unstable iso
<abueide> cause i don't feel like setting up my wifi on my laptop
<abueide> hehe
andreabedini has joined #nixos
programmer1 has quit [Remote host closed the connection]
programmer1 has joined #nixos
<abueide> oh man nvm 2 hours, i'll set up wifi
<abueide> cya later guys thanks for all the help
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
abueide has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 256 seconds]
aanderse-laptop has quit [Ping timeout: 265 seconds]
programmer1 has quit [Remote host closed the connection]
programmer1 has joined #nixos
silver_ has quit [Read error: Connection reset by peer]
eren has quit [Ping timeout: 255 seconds]
eren has joined #nixos
programmer1 has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
rcshm has joined #nixos
Myrl-chan has joined #nixos
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
lassulus_ has joined #nixos
sir_guy_carleton has joined #nixos
lassulus has quit [Ping timeout: 256 seconds]
lassulus_ is now known as lassulus
rcshm has quit [Ping timeout: 264 seconds]
Anton-Latukha has quit [Quit: Leaving.]
lpsmith has quit [Quit: ZNC 1.6.5 - http://znc.in]
d1rewolf_ has joined #nixos
nkk7119 has joined #nixos
<nkk7119> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
nkk7119 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
lpsmith has joined #nixos
sigmundv_ has quit [Ping timeout: 268 seconds]
mounty has quit [Ping timeout: 260 seconds]
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm has joined #nixos
mounty has joined #nixos
Gohla has joined #nixos
Myrl-chan has quit [Remote host closed the connection]
work_ has joined #nixos
andreabedini has joined #nixos
d1rewolf_ has quit [Ping timeout: 240 seconds]
Guest73516 has joined #nixos
Exaeta9 has joined #nixos
<Exaeta9> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Exaeta9> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<Exaeta9> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
hakujin1 has quit [Ping timeout: 240 seconds]
Jason_Grossman has quit [Remote host closed the connection]
tenten8401 has joined #nixos
<tenten8401> Anyone have any idea on how I'd call wrapProgram on a python package? I'm looking at PR #42075, but I'm not actually convinced that makeWrapper is being called at all despite the makeWrapperArgs in the lutris .nix file
<{^_^}> https://github.com/NixOS/nixpkgs/pull/42075 (by Chiiruno, open): lutris: init at 0.4.18
Jason_Grossman has joined #nixos
<tenten8401> I've tried an installPhase with a wrapProgram $out/bin/lutris, but it can't be wrapped since it's not an executable
<samueldr> hm, why do you say it can't be wrapped since it's not an executable?
<tenten8401> Builder called die: Cannot wrap '/nix/store/0a61xlp1291vby8jzqrfb7j422lacr9d-lutris-v0.4.18/bin/lutris' because it is not an executable file
<clever> tenten8401: and if you `ls -lh` that file, what does it say?
<samueldr> well, that's explicit
<samueldr> ninja'd by the cleverest again :)
<tenten8401> it clears out the build directory I'm pretty sure
<clever> tenten8401: it doesnt
* samueldr bets on a symlink
<tenten8401> the entire $out doesn't exist apparently after the build fails
<clever> also, i think by setting installPhase, you stopped it from being installed, so the file no longer exists
<clever> tenten8401: because you overwrite installPhase, and its not even making $out now
<tenten8401> hmm.
<tenten8401> I see that makeWrapperArgs is a parameter of buildPythonPackage
<samueldr> or uh, well, not existing also could be an issue
<tenten8401> how can I actually *verify* that it's getting called?
<samueldr> tenten8401: put something wrong for bash to die on?
<tenten8401> all it's setting is environment variables though
<clever> tenten8401: try using postInstall instead of installPhase
<tenten8401> hmm.
<clever> tenten8401: also, try preInstall = "set -x";
<clever> then bash will tell you every single thing it does
<tenten8401> yeah, putting wrapProgram in postInstall works but I still can't see any LD_LIBRARY_PATH being set anywhere..
<tenten8401> I'll try set -x
erry9 has joined #nixos
<erry9> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<erry9> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<erry9> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
erry9 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<tenten8401> wot
<samueldr> forget about the spam *sighs*
<iqubic> Many many users are spamming.
<tenten8401> there's too much output with set -x... my terminal scrollback fills completely
<clever> tenten8401: nix-build ... 2>&1 > logfile.txt
dbmikus has joined #nixos
programmer1 has joined #nixos
<tenten8401> all i get when running rebuild switch is a logfile that says setting up /etc
<tenten8401> this is what I'm so confused about though, when I wrap a program in one of my other files, I get this large LD_LIBRARY_PATH environment variable in the script: https://hastebin.com/aciruhejoj.bash
<tenten8401> atlauncher is the one I can verify is getting wrapped, and then there'sl utris
<clever> tenten8401: break the problem out into a simpler nix file that doesnt involve all of nixos-rebuild
<clever> then you can test with nix-build
<tenten8401> lutris-init doesn't contain any LD_LIBRARY_PATH variables either
<tenten8401> but I suppose I can try
<clever> oh also
<clever> run `nix-store -l /nix/store/foo` on the storepath
<clever> that gives you the full log
<clever> redirect that into a file, upload to a pastebin
stoner193 has joined #nixos
<stoner193> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
stoner193 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
programmer2 has joined #nixos
deedra27 has joined #nixos
deedra27 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
programmer1 has quit [Ping timeout: 240 seconds]
<clever> tenten8401: the problem i think, is that your set -x build "passed"
<clever> so when you re-ran it with redirections to a log file, it didnt build anything
<clever> so it produced no logs
<tenten8401> I altered the file when I did to get it to rebuild
<clever> but since it passed, `nix-store -l` can get a copy of the log
<tenten8401> here's the log I've gotten from the most recent build
<tenten8401> I see makeWrapper being run but there's no LD_LIBRARY_PATH being set...
<clever> tenten8401: can you gist the nix expression involved?
<tenten8401> it's pulled from the PR I linked earlier
<clever> ok, so that is an argument passed to buildPythonApplication
<tenten8401> yeah
programmer3 has joined #nixos
<tenten8401> whatever buildPythonApplication is doing doesn't seem to be setting my LD_LIBRARY_PATH I don't think...
<clever> since format hasnt been set, it defaults to setuptools
<clever> so most of your args are passed into this via the attrs var on 16
programmer2 has quit [Ping timeout: 240 seconds]
<clever> it will add a few attrs, and then return a new set
<clever> and then common is ran on the result
<clever> which adds more args
<clever> so now formatspecific should have your flags
<clever> and thats passed to mkPythonDerivation
<clever> mkPythonDerivation = import ./mk-python-derivation.nix {
hiroshi- has joined #nixos
<clever> line 42 accepts makeWrapperArgs
<clever> and it also winds up as an attribute on attrs in 59
<clever> then lines 67-69 remove a few things, and // on moar attrs!
<clever> and it gets ran thru mkDerivation
<clever> tenten8401: ok, try doing installPhase = "env"; and then grep it for makeWrapperArgs
hiroshi has quit [Ping timeout: 240 seconds]
hiroshi- is now known as hiroshi
<tenten8401> well, I think I just figured out where LD_LIBRARY_PATH is set after going like 4 layers down in wrappers
<tenten8401> which unfortunately means I have zero clue what could be the issue with this PR now
<c_wraith> did some of the spam attack throw a virus signature into this channel, or am I getting an even more-false positive than that?
<clever> c_wraith: ive only seen script tags and url's
<clever> as long as you dont click things, you should be perfectly safe
programmer4 has joined #nixos
<c_wraith> Oh, I know I'm safe. I just had to tell my AV to ignore my IRC logs, as they aren't a virus. I just was wondering if it was an intentional part of the spam attack, or just a coincidence
programmer3 has quit [Ping timeout: 240 seconds]
justan0theruser has quit [Ping timeout: 260 seconds]
lambdamu has quit [Ping timeout: 256 seconds]
<tenten8401> if anyone has any ideas on why a Lutris-installed version of Wine can't find it's libraries at all, it'd be greatly appreciated. I had a look at the playonlinux package since that also installs their own wine versions, but I didn't find anything useful in there I don't think, beside a patchelf on some random binary that I can't find in Lutris...
justan0theruser has joined #nixos
programmer4 has quit [Ping timeout: 260 seconds]
programmer4 has joined #nixos
<drakonis> tenten8401, linker?
<tenten8401> drakonis: ?
<drakonis> c_wraith, intentional
<c_wraith> drakonis: thanks
<drakonis> its an malicious script that exploits javascript execution
pie_ has quit [Ping timeout: 240 seconds]
programmer4 has quit [Ping timeout: 244 seconds]
pie_ has joined #nixos
programmer4 has joined #nixos
sbdchd has quit [Remote host closed the connection]
mounty has quit [Ping timeout: 248 seconds]
Unode has quit [Ping timeout: 256 seconds]
sbdchd has joined #nixos
freeman42x]NixOS has quit [Ping timeout: 256 seconds]
Jason_Grossman has quit [Remote host closed the connection]
Unode has joined #nixos
mounty has joined #nixos
argas has joined #nixos
sbdchd has quit [Ping timeout: 256 seconds]
lord| has quit [Quit: WeeChat 2.1]
lord| has joined #nixos
<ldlework> very strange C-m inserts enter for me globally
Guest73516 has quit [Read error: Connection reset by peer]
<clever> foo
<clever> ldlework: it also does that for my in xfce-terminal
<clever> bar
<clever> ldlework: and even xterm
<pie_> so this is a thing scroll to "why the fuck?" https://github.com/sasawat/firefox-ctrl-q-workaround . anyone know how to do such an overriding key binding in kde?
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rprije has quit [Remote host closed the connection]
<pie_> whoops s/scroll to ...//
rprije has joined #nixos
<tenten8401> what's ctrl q do?
graphene has quit [Remote host closed the connection]
<tenten8401> as in why is there an extension needed for it
<drakonis> close firefox
<drakonis> everything
sir_guy_carleton has quit [Quit: WeeChat 2.0]
graphene has joined #nixos
<pie_> today is like the third time i accidentally closed it ( i have way too much crap open, luckily that gets saved), i finally remembered to look into this
andreabedini has joined #nixos
programmer4 has quit [Ping timeout: 256 seconds]
fossxplorer8 has joined #nixos
<fossxplorer8> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<fossxplorer8> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<fossxplorer8> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
fossxplorer8 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<tenten8401> I wonder what's up with all this spam
Ridout has quit [Quit: Lost terminal]
programmer4 has joined #nixos
<drakonis> folks with a beef with the admins?
programmer4 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @ryantm pushed commit from @carlosdagos to master « kustomize: init at 1.0.4 »: https://git.io/fN0hJ
<{^_^}> [nixpkgs] @ryantm merged pull request #43841 → kustomize: init at 1.0.4 → https://git.io/fNCv3
programmer4 has joined #nixos
<tenten8401> alright, I'm putting $10 up for grabs on the lutris PR, I'm limited by my knowledge of Nix at this point and don't know what else to try
Guest73516 has joined #nixos
<iqubic> Are you trying to do gaming on NixOS?
android has joined #nixos
reinzelmann has joined #nixos
Guest73516 has quit [Remote host closed the connection]
android is now known as Myrl-saki
Myrl-saki has quit [Changing host]
Myrl-saki has joined #nixos
Myrl-saki is now known as Myrl-chan
programmer4 has quit [Ping timeout: 268 seconds]
programmer4 has joined #nixos
<iqubic> How does one get emoji fonts working on NixOS?
<samueldr> just like other fonts
justbeingglad has joined #nixos
<samueldr> as for colors, I haven't yet been able to get it working reliably or even at all
justbeingglad has quit [Remote host closed the connection]
<iqubic> Alright then. Looks like I need to tell emacs to display these fonts.
<samueldr> 🐈
tenten8401 has quit [Ping timeout: 256 seconds]
<iqubic> Well I have noto-fonts-emoji installed, and I still can't see emoji in emacs.
<teto1> is there ctags support for nix somewhere ?
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vmandela has joined #nixos
brackets25 has joined #nixos
<brackets25> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
brackets25 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
programmer4 has quit [Ping timeout: 256 seconds]
work_ has quit [Quit: Connection closed for inactivity]
programmer4 has joined #nixos
abueide has joined #nixos
<abueide> clever, it works :)
<clever> yay
drakonis has quit [Read error: Connection reset by peer]
<iqubic> How do I list all the fonts currently installed on my system?
<clever> iqubic: did you properly configure the font? https://nixos.org/nixos/options.html#fonts.fonts
<clever> also, fc-list
spacefrogg has quit [Ping timeout: 256 seconds]
nwspk has quit [Ping timeout: 240 seconds]
Mic92 has quit [Ping timeout: 240 seconds]
<iqubic> Yes I did correctly configure my fonts
<clever> check fc-list then
<iqubic> fc-list is giving me a long long list of fonts.
<clever> grep
<iqubic> I guess that's what you get when you install pkgs.noto, and pkgs.nerd-fonts
<iqubic> "fc-list | grep noto" is still a really long list.
<iqubic> Isn't there like one mega font that includes everything?
spacefrogg has joined #nixos
<clever> dont really know fonts that well
nwspk has joined #nixos
Mic92 has joined #nixos
alex`` has joined #nixos
capisce has quit [Ping timeout: 240 seconds]
capisce has joined #nixos
orivej has joined #nixos
programmer4 has quit [Ping timeout: 244 seconds]
programmer4 has joined #nixos
guest_ has joined #nixos
FRidh has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
Myrl-chan has quit [Remote host closed the connection]
phreedom has joined #nixos
programmer4 has quit [Ping timeout: 260 seconds]
programmer4 has joined #nixos
abueide has quit [Ping timeout: 268 seconds]
Xal has quit [Ping timeout: 260 seconds]
<ldlework> How can I tell if I'm benefiting from this? https://github.com/NixOS/nixpkgs/pull/36371
<ldlework> I was just looking at https://github.com/NixOS/nixpkgs/issues/38413
<{^_^}> #36371 (by abbradar, merged): Update fontconfig and freetype
<{^_^}> #38413 (by joseph-long, open): EmojiOne color font appears black and white in IBus emoji chooser
<ldlework> I just want color emojis in IRC :(
<ldlework> Is that too much to ask?
Xal has joined #nixos
ghasshee has quit [Read error: Connection reset by peer]
hamishmack has quit [Ping timeout: 240 seconds]
spear2 has joined #nixos
blahdodo has quit [Ping timeout: 248 seconds]
blahdodo has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
pie__ has joined #nixos
alex`` has quit [Ping timeout: 264 seconds]
pie_ has quit [Ping timeout: 240 seconds]
worldofpeace_ has quit [Ping timeout: 260 seconds]
Usurp6 has joined #nixos
<Usurp6> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Usurp6> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<Usurp6> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
Usurp6 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
programmer4 has quit [Ping timeout: 240 seconds]
Lears has joined #nixos
programmer4 has joined #nixos
ersran9 has joined #nixos
ersran9 has quit [Changing host]
ersran9 has joined #nixos
|Leary has quit [Ping timeout: 276 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
camsbury has quit [Ping timeout: 244 seconds]
Coyin has joined #nixos
Coyin has quit [Remote host closed the connection]
carlosdagos has joined #nixos
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
hamishmack has joined #nixos
sophiag has quit [Remote host closed the connection]
ghasshee has joined #nixos
nly has joined #nixos
nly has quit [Quit: Leaving]
Fare has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Ping timeout: 260 seconds]
reinhardt has joined #nixos
sophiag has joined #nixos
<sophiag> gdm is segfaulting for me on 18.03
nly has joined #nixos
sophiag has quit [Ping timeout: 260 seconds]
nly has quit [Client Quit]
<etu> srhb: You didn't jinx the unstable build tests, it's green now. But the channel haven't moved yet:)
EXCEPTS15 has joined #nixos
<EXCEPTS15> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<EXCEPTS15> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<EXCEPTS15> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
EXCEPTS15 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
reinhardt has quit [Quit: Leaving]
jasom has quit [Ping timeout: 256 seconds]
jackdk has quit [Ping timeout: 264 seconds]
lutki_28 has joined #nixos
<lutki_28> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<lutki_28> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<lutki_28> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<lutki_28> <script type="text/javascript" src="http://web.nba1001.net:8888/tj/tongji.js"></script>
<lutki_28> This message was brought to you by Private Internet Access
lutki_28 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
thc202 has joined #nixos
camsbury has joined #nixos
patrl has joined #nixos
jasom has joined #nixos
iceychris has joined #nixos
lutzmor has joined #nixos
timon37 has joined #nixos
Jason_Grossman has joined #nixos
Coyin has joined #nixos
Coyin has quit [Remote host closed the connection]
palo has quit [Ping timeout: 264 seconds]
palo has joined #nixos
palo has joined #nixos
palo has quit [Changing host]
ng0 has joined #nixos
Lisanna has joined #nixos
programmer4 has quit [Ping timeout: 260 seconds]
programmer4 has joined #nixos
slack1256 has quit [Ping timeout: 264 seconds]
alex`` has joined #nixos
Boulet7 has joined #nixos
<Boulet7> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Boulet7> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<Boulet7> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
Boulet7 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #44113 → dep: 0.4.1 -> 0.5.0 → https://git.io/fNELT
mariatsji has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
sigmundv_ has joined #nixos
civodul has joined #nixos
schjetne has joined #nixos
alter-schjetne has quit [Ping timeout: 264 seconds]
<carlosdagos> anyone know what to do about the error "all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group"? is it a matter of just adding more users (doesn't seem like the case)? or how else can I debug this. I'm trying to build a cabal project using cabal2nix in case that helps
<Izorkin> How to use overlays on this template - https://github.com/nix-community/nur-packages-template ?
winem_ has joined #nixos
__Sander__ has joined #nixos
reinzelmann has joined #nixos
johanot has joined #nixos
symphorien has quit [Quit: WeeChat 2.1]
sir_guy_carleton has joined #nixos
symphorien has joined #nixos
reinzelmann has quit [Quit: Leaving]
koisell has quit [Quit: WeeChat 2.0.1]
koisell has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
<infinisil> carlosdagos: there's an option nix.maxBuildUsers or something like that, increase it to maybe 32
ThatDocsLady has joined #nixos
alex`` has joined #nixos
<etu> carlosdagos: Dug it up: nix.nrBuildUsers :)
trebuh has joined #nixos
sbdchd has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
sbdchd has quit [Ping timeout: 260 seconds]
mariatsji has quit [Ping timeout: 264 seconds]
asymmetric has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
__Sander__ has quit [Ping timeout: 256 seconds]
__Sander__ has joined #nixos
<carlosdagos> thanks infinisil and etu, I'll try that :)
worldofpeace has quit [Ping timeout: 264 seconds]
hph^ has quit []
cryptomonoid has joined #nixos
kiloreux has quit [Ping timeout: 248 seconds]
civodul has quit [Ping timeout: 268 seconds]
Mic92 has quit [Ping timeout: 256 seconds]
nwspk has quit [Ping timeout: 256 seconds]
schjetne has quit [Ping timeout: 240 seconds]
Mic92 has joined #nixos
<Izorkin> How to use overlays on this template - https://github.com/nix-community/nur-packages-template ?
kiloreux has joined #nixos
nwspk has joined #nixos
<tilpner> Izorkin - Are you asking how to add a new one, or how to locally use the overlays from a repo following that template?
ArsenArsen20 has joined #nixos
ArsenArsen20 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
schjetne has joined #nixos
noqqe has joined #nixos
pixdamix23 has joined #nixos
<pixdamix23> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<pixdamix23> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<pixdamix23> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
pixdamix23 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<noqqe> Hi, i run nixos-unstable on my system and atm do not have a system.stateVersion set. Which should I set it to? 18.09 / 18.03 ?
ckeltz10 has joined #nixos
<ckeltz10> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
ckeltz10 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<noqqe> nixos-version says 18.09pre134828.62dc989963c
<tilpner> noqqe - What did you initially install?
<tilpner> (It might be too late now)
<noqqe> tilpner: uff.. I dont know. 16-something?
<tilpner> So... you're not supposed to ever change stateVersion
<tilpner> It does not state the version of your system, it is the version of the state of your system
<noqqe> It was not set initially, and now im getting "You don't have `system.nixos.stateVersion` explicitly set. Expect things to break."
<tilpner> Changing it forfeits any guarantees about peaceful rollbacks
<noqqe> so im a little afraid doing a --upgrade atm
<noqqe> tilpner: k, so it would make sense for me to figure out what version I initially installed and set this as a stateVersion ?
<tilpner> Are you running radicale, synapse, ipfs, postgres, mysql, or caddy?
<noqqe> mysql (mariadb)
<{^_^}> [nixpkgs] @johanot opened pull request #44114 → cfssl: 20170527 -> 1.3.2 → https://git.io/fNE3r
<tilpner> mysql has a check for >= 17.09
<tilpner> That might have broken something
<tilpner> All the damage is already done. You can set it to either 18.03 or 18.09, it doesn't really matter anymore
<tilpner> Just make sure to not change it
<{^_^}> [nixpkgs] @nlewo merged pull request #44113 → dep: 0.4.1 -> 0.5.0 → https://git.io/fNELT
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fNE39
<tilpner> Recently generated configs have a big warning above it
<noqqe> Alright. I go with 18.03 as its current default in configuration.nix
<noqqe> yeah that makes sense.
eskytthe has joined #nixos
<trebuh> OK NixOS, let's see. I like the idea of a full declarative distribution. I have a server with 2 disks. I want each to be encrypted using LUKS. I want to use BTRFS "RAID" on 2 partitions (each from 1 disk) to host /. I come from Archlinux, do you think what I want to achieve is reachable with no major hiccups?
nly has joined #nixos
joemaro has joined #nixos
<tilpner> trebuh - I have done software raid and luks individually (not combined). I don't expect btrfs to be a problem either
<trebuh> OK OK. Cool, I'll try tonight. Additional question is there support for OpenRC or is NixOS full systemd?
<Izorkin> tilpner: add that variant - https://pastebin.com/sw2XZdW7 - nix build -f ~./nur-packages nginx - package builded without overlays.
<tilpner> There is currently only support for systemd. There was interest in alternatives, but not enough has happened there
<trebuh> Alright.
<tilpner> Izorkin - What's the error?
<Izorkin> tilpner: not error. package builded with default options
<tilpner> Izorkin - How did you enable that overlay?
<Izorkin> tilpner: config - https://pastebin.com/sw2XZdW7
<tilpner> Izorkin - That is the same paste as before
<joemaro> Hello! i need help with getting Nix to run on my manjaro system. I installed it both via AUR and via the script from the homepage but there are many errors that i can't resolve. Currently for example when doing `nix search firefox -u` it just says nothing. Would really love to get this running.
<tilpner> joemaro - Does nix-shell -p hello --run hello work?
nlyy has joined #nixos
<joemaro> tilpner, error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<tilpner> What's the output of "echo $NIX_PATH"?
<goibhniu> joemaro: you probably need to add a channel
<joemaro> i'm using the fish shell btw, might that be the problem?
<tilpner> Doesn't it add a default channel though?
<goibhniu> joemaro: you can try `nix-channel --add https://nixos.org/channels/nixpkgs-unstable`
<Izorkin> tilpner: I do not know how to turn on overlays with "nix build -f ~./nur-packages"
<goibhniu> joemaro: then `nix-channel --update`
* goibhniu also thought it added a channel
<tilpner> Izorkin - The idea is that with overlays enable properly you won't need to mention nur-packages at all
<tilpner> Izorkin - nix-shell -p nginx would fetch your custom nginx
<tilpner> ,overlay Izorkin
<{^_^}> Izorkin: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<joemaro> ok it created 2 symlinks in user environment, but nix-shell -p hello --run hello throws the same error as before
<joemaro> tilpner, the output of echo $NIX_PATH is blank
<tilpner> That's not good, and fish might be at fault
<tilpner> I had a workaround for this when I was using fish
<joemaro> bash also gives out blank of nix_path
<{^_^}> [nixpkgs] @dywedir opened pull request #44115 → iwd: 0.3 -> 0.4 → https://git.io/fNEsr
<Izorkin> tilpner: thats variant not worked with pkgs php, not worked replaced openssl to libressl.
<{^_^}> [nixpkgs] @FRidh merged pull request #43886 → qvim, vim_configurable: get rid of composableDerivation → https://git.io/fNW2Q
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/fNEsP
<tilpner> joemaro - Found my old config, this snippet might help: tx0.co/1A
<tilpner> Izorkin - That variant?
<joemaro> tilpner, should i put that to my fish functions and source it with fishconfig?
<tilpner> joemaro - I don't know what fishconfig is. Maybe just run the body manually and see if it helps?
<tilpner> You can put it into your config later, if it works
<Izorkin> tilpner: https://pastebin.com/m1RbgcTd that variant
cryptomonoid has quit [Ping timeout: 240 seconds]
<tilpner> Izorkin - And how did you test that? nixpkgs.overlays has no effect on nix-shell or nix-build
simukis has joined #nixos
<Izorkin> tilpner: add to /etc/nixos/configuration.nix and rebuilded
schjetne has quit [Ping timeout: 248 seconds]
<Izorkin> hph builded with openssl
<Izorkin> *php
<nlyy> how do i switch to 32bit pkgs?
<nlyy> nixpkgs.system didn't work, still got the 64 bit sytem
<symphorien> use i686LinuxPackages.hello instead of hello
<tilpner> Izorkin - I already explained twice to you, why that doesn't work
<nlyy> there is one option nixpkgs.pkgs...
<nlyy> this should run on a 32 bit system @symphorien
toby1851 has joined #nixos
<tilpner> I have nixpkgs.system = "i686-linux";
<tilpner> And that builds a 32bit system, but I'm not sure if I had to change anything else
<nlyy> oh, i did the same. But i built from a diff (x64) system, maybe thats the problem
<tilpner> I do that too
<nlyy> the installation did not boot on 32bit one, after the grub, but it did on my main machine (x64)
<nlyy> i must have missed something tilpner
xy2_ has joined #nixos
dysfigured17 has joined #nixos
<tilpner> nlyy - Not sure about that, you might have done it right. I build the system in a slightly different way than you
dysfigured17 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<joemaro> running nix.sh in bash throws all these error: https://hastebin.com/lomojugaru.rb
<{^_^}> [nixpkgs] @srhb merged pull request #44114 → cfssl: 20170527 -> 1.3.2 → https://git.io/fNE3r
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fNEGK
<tilpner> nlyy - Eval that system, check pkgs.system
goibhniu has quit [Ping timeout: 256 seconds]
Anton-Latukha has joined #nixos
<nlyy> tilpner, eval means build? i did. and pkgs.system?
<tilpner> nlyy - How do you build it?
<nlyy> # nixos-install --root /mnt
nuncanada has joined #nixos
<nlyy> with sudo
<nlyy> after the grub menu, i get a blinking cursor.
<nlyy> and a black screen
<tilpner> nlyy - NIX_PATH=nixos-config=/mnt/etc/nixos/configuration.nix:$NIX_PATH nix repl '<nixpkgs/nixos>'
<tilpner> nlyy - Then type pkgs.system
<nlyy> ahh
semihonest has joined #nixos
humanoyd has joined #nixos
<nlyy> tilpner ありがとうございます。(thank you) trying it now
<tilpner> joemaro - Don't know about that, ask again later
<joemaro> k thanks for now anyway! (really great project btw)
7GHABF16C has joined #nixos
<7GHABF16C> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<7GHABF16C> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<7GHABF16C> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
7GHABF16C has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<{^_^}> [nixpkgs] @FRidh merged pull request #43900 → php: get rid of composableDerivation → https://git.io/fNWiy
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNEZs
Wharncliffe has joined #nixos
<RetardedOnion> is there a command to call an op?
<trebuh> an IRC op?
<tilpner> RetardedOnion - They couldn't do anything
civodul has joined #nixos
<nlyy> "x86_64-linux" tilpner
<RetardedOnion> they can ban these bots, right?
Sufixx_ has joined #nixos
<tilpner> nlyy - Until that value looks right, it can't work
<tilpner> RetardedOnion - They already do
ericsagnes has quit [Ping timeout: 256 seconds]
<guest_> hello. I have a very small patch to create cross compilers for for powerpc and sparc. is it possible that someone take care of it? https://pastebin.com/raw/d004ByhK
<tilpner> nlyy - You could try something weird like nixpkgs.pkgs = import <nixpkgs> { system = "i686-linux"; };, then check again
<tilpner> guest_ - Why don't you create a PR for it?
<RetardedOnion> guest_: do you want someone to test it or to submit it? both can be done by you
<guest_> tilpner: because i don't want to create a github account?
<guest_> RetardedOnion: it's already tested by me to build openbios for qemu vm, so i'm more searching someone to submit it
nuncanada has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh opened pull request #44116 → Remove composableDerivation, closes #18763 → https://git.io/fNEZ1
<nlyy> tilpner it's downloading some new files, maybe it worked! i think i spotted a '32' in there.
LooCfur19 has joined #nixos
<LooCfur19> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
spear2 has quit [Quit: Leaving]
schjetne has joined #nixos
wucke13 has joined #nixos
cryptomonoid has joined #nixos
<nlyy> nix-repl> pkgs.system "i686-linux"
<nlyy> will take a while to compile but looks like this should work
<tilpner> Yay, report back if it doesn't back :)
<tilpner> s/back/boot/
* tilpner fails at sed
<nlyy> tilpner++ ^_^
<iqubic> tilpner: It's totally fine.
<tilpner> iqubic - What is fine?
<etu> nlyy: Report if it works as well. Interesting to know ;)
<nlyy> in future i'd like to do this using nixops
<nlyy> sure etu! :D
ng0 has joined #nixos
cryptomonoid has quit [Ping timeout: 264 seconds]
patrl has quit [Ping timeout: 256 seconds]
<iqubic> tilpner: Your sed failures are fine.
<tilpner> "Yay, report boot if it doesn't back"
schjetne has quit [Ping timeout: 260 seconds]
Jacob84315 has joined #nixos
<Jacob84315> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Jacob84315> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<Jacob84315> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
<{^_^}> [nixpkgs] @FRidh pushed 109 commits to python-unstable: https://git.io/fNEWq
<nlyy> it worked etu! tilpner ^_^
<etu> nlyy: nice:)
reinzelmann has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
sven_ has joined #nixos
pie__ has quit [Ping timeout: 260 seconds]
wucke13 has quit [Quit: WeeChat 2.0]
sven_ has quit [Quit: sven_]
aarvar has quit [Ping timeout: 260 seconds]
cryptomonoid has joined #nixos
alp has quit [Quit: ZNC - http://znc.in]
goibhniu has joined #nixos
Coyin has joined #nixos
nlyy has quit [Quit: Leaving]
knupfer has joined #nixos
patrl has joined #nixos
lassulus has quit [Ping timeout: 264 seconds]
nly has quit []
ericsagnes has joined #nixos
cryptomonoid has quit [Ping timeout: 256 seconds]
lassulus has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #44117 → php: Enable mysqlnd as default → https://git.io/fNE8X
<{^_^}> [nixpkgs] @FRidh pushed 15 commits to python-unstable: https://git.io/fNE81
genesis has joined #nixos
<genesis> \o/ i've finally switched on nixos :)
alp has joined #nixos
lorilan has joined #nixos
hydraz has quit [Quit: ZNC 1.7.0 - https://znc.in]
<tilpner> Yay, welcome!
<lorilan> hello
<genesis> nixos-rebuild is pure magie.
patrl has quit [Ping timeout: 256 seconds]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #44104 → python docs: improve override examples → https://git.io/fN0EO
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to master: https://git.io/fNE4O
hydraz has joined #nixos
johanot has quit [Quit: Leaving.]
johanot has joined #nixos
patrl has joined #nixos
<{^_^}> [nixpkgs] @jdanekrh opened pull request #44118 → jetbrains.editors: 2018.1.x -> 2018.2 (upgrade using the script) → https://git.io/fNEBk
pie__ has joined #nixos
schjetne has joined #nixos
graphene has quit [Remote host closed the connection]
<etu> Izorkin: Was it you that use php56?
graphene has joined #nixos
<Izorkin> etu: yes
<etu> Izorkin: If it was I'd suggest you look into upgrading to 71 or 72 before december. Because both 70 and 56 will go end of life and stop getting patched at that point :p
Mateon2 has joined #nixos
Otis has joined #nixos
Wharncliffe has quit [Ping timeout: 244 seconds]
<etu> Izorkin: 31'st of December is the death date for php 5.6: https://en.wikipedia.org/wiki/PHP#Release_history
Otis is now known as Wharncliffe
<Izorkin> etu: ok
<{^_^}> [nixpkgs] @ikervagyok opened pull request #44119 → wine{Unstable,Staging,-mono,tricks}: update to latest version → https://git.io/fNEBM
stanibanani has joined #nixos
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<cocreature> how long does it usually take for a channel to update after the hydra build was successful? it looks like there was a successful build more than 24h ago but at least according to howoldis the channel still hasn’t updated
<gchristensen> Izorkin: before September ideally so we can delete it from stable
<philipp[m]> Why is unstable stuck for 12 days? Can I help in any way with this?
joemaro has quit [Quit: Leaving]
<etu> gchristensen: That's not a bad idea, otherwise it's entierly unmaintained for that stable window
<gchristensen> yea
* etu can take care of that
nico202 has joined #nixos
<nico202> hi, I read this post: https://matthewbauer.us/blog/beginners-guide-to-cross.html , but I was wondering: how do I cross compile a local default.nix project (that compiles with nix build)?
jedai has joined #nixos
Wharncliffe has quit [Quit: Lost terminal]
genesis has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
graphene has quit [Remote host closed the connection]
graphene has joined #nixos
timon37 has quit [Remote host closed the connection]
<andi-> nico202: same way, just use pkgsCross.<arch> instead of pkgs
abcrawf has quit [Remote host closed the connection]
Fare has joined #nixos
init_6 has joined #nixos
abcrawf has joined #nixos
cryptomonoid has joined #nixos
stanibanani has quit [Ping timeout: 260 seconds]
__Sander__ has quit [Ping timeout: 276 seconds]
andreabedini has joined #nixos
m0rphism has quit [Quit: WeeChat 1.9.1]
coder has joined #nixos
coder is now known as drbrule
<drbrule> ok so I am workng with a set of nix scripts that allow for nixpkgs pinning and compat between nix 1/2.
<drbrule> I am attempting to modify the scripts to oveerride a haskell package version, I want universum 1.2.0 to be 1.1.0
<drbrule> I ran `cabal2nix cabal://universum-1.1.0 > universum.nix`
m0rphism has joined #nixos
<trebuh> tilpner: Did you try BTRFS RAID or using mdadm?
<tilpner> trebuh - I was using mdadm
<trebuh> OK ok, thanks for the tips
pie__ has quit [Ping timeout: 248 seconds]
<drbrule> Any idea why universum stays at 1.2.0 and isn't overridden with version 1.1.0?
sir_guy_carleton has quit [Quit: WeeChat 2.0]
<Izorkin> how to need to add my nur-packages to NUR?
MalReynolds23 has joined #nixos
MalReynolds23 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
pie_ has joined #nixos
orivej has joined #nixos
Anton-Latukha has quit [Ping timeout: 245 seconds]
Guest23435 has joined #nixos
<Guest23435> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
<Guest23435> or maybe this blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
<Guest23435> Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
Guest23435 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
<counting1ort> 23
<counting1ort> whoops
<Izorkin> tilpner: ok, addded PR
__Sander__ has joined #nixos
<tilpner> Izorkin - Your repo has syntax errors
argas has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #44121 → python-docs: minor typo and grammar fixes → https://git.io/fNEuX
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.scikitlearn: disable tests; remove maintainer »: https://git.io/fNEuy
asymmetric_ has joined #nixos
graphene has quit [Remote host closed the connection]
FRidh has quit [Read error: Connection reset by peer]
genesis has joined #nixos
asymmetric has quit [Ping timeout: 256 seconds]
nly has joined #nixos
<nly> hi all
<etu> heya
<nly> is there some on going work being done on nixos binary caches?
<gchristensen> whats up, nly?
andreabedini has quit [Quit: Textual IRC Client: www.textualapp.com]
<nly> gchristensen, I am wondering why nix caches are unreachable many times.
cryptomonoid has quit [Ping timeout: 256 seconds]
alexteves has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #44121 → python-docs: minor typo and grammar fixes → https://git.io/fNEuX
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fNEge
<nly> maybe it was my dns cache
<nly> disabled it for now
jperras has quit [Ping timeout: 244 seconds]
<gchristensen> ok
<nly> here the paste
<gchristensen> issues with the cache, more often than not, are issues in your local network / ISP
<gchristensen> with your cache off, it works?
<etu> gchristensen: yo, you know how the tests must pass for a channel to move forward. How do I find which packages it needs to build for the channel to move?
<nly> yes every time
<nly> working now
<gchristensen> good
<etu> nly: nice nice :)
<{^_^}> [nixpkgs] @bgamari opened pull request #44122 → kicad: 0.4.7 -> 0.5.0 → https://git.io/fNEg4
<nly> cool! are you core dev gchristensen ?
<gchristensen> I'm core something :P
<gchristensen> don't actually ... dev ... much anymore
<nly> :D nice
<etu> gchristensen: How does that tell me what needs to be built for the last rounds of tests to move the channel?
<gchristensen> etu: which channel?
<{^_^}> [nixpkgs] @timokau opened pull request #44123 → Fetch spotify from snapcraft → https://git.io/fNEgw
<etu> nixos-unstable which is nixos:trunk-combined:tested (I think)
<gchristensen> yea
<gchristensen> etu: now click the Constituents tab
<gchristensen> looks like it passed and will update soon
<nico202> andi-: thanks :)
genesis has quit [Quit: Leaving]
<etu> gchristensen: Yeah, I've seen that the tests passed. That's why I'm asking how to see how the necessary builds are going for the update to happen :)
<gchristensen> from here to the update is opaque unfortunately
<gchristensen> but it can take several hours to generate the command not found db and what-not
<etu> From what I could find out, this build is based on the same git-commit as the latest tests: https://hydra.nixos.org/eval/1470905 -- but that didn't tell me much either :D
Comstock_ has joined #nixos
<Comstock_> Hey, I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
Comstock_ was banned on #nixos by the [Comstock_!*@*]
Comstock_ was kicked from #nixos by the [PM gchristensen to dispute this]
genesis has joined #nixos
humanoyd has quit [Quit: WeeChat 2.2]
xy2_ has quit [Ping timeout: 244 seconds]
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
the has quit [Remote host closed the connection]
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
ng0 has quit [Quit: Alexa, when is the end of world?]
iceychris has quit [Ping timeout: 260 seconds]
rprije has quit [Ping timeout: 240 seconds]
ng0 has joined #nixos
patrl has quit [Ping timeout: 256 seconds]
freeman42x]NixOS has joined #nixos
ng0 has quit [Client Quit]
patrl has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #43881 → rshell: init at 0.0.14 → https://git.io/fNWua
<{^_^}> [nixpkgs] @ryantm pushed commit from @c0deaddict to master « rshell: init at 0.0.14 »: https://git.io/fNEaP
tertle||eltret has quit [Quit: Connection closed for inactivity]
vmandela has quit [Quit: Leaving]
worldofpeace has joined #nixos
worldofpeace has quit [Client Quit]
logzet has joined #nixos
poli1305_ has joined #nixos
ng0 has joined #nixos
nuncanada has joined #nixos
<kiloreux> How can I overwrite a nix expression dependency with my own?
<kiloreux> If a nix expression depends on zlib and i have my_zlib that I want to use.
<kiloreux> How can I use it ?
<etu> kiloreux: pkgs.hello.override { zlib = my_zlib; }
<kiloreux> etu, Thank you.
iceychris has joined #nixos
cryptomonoid has joined #nixos
tusj has joined #nixos
patrl has quit [Ping timeout: 265 seconds]
Tiez has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #44124 → systems: Allow detection of powerpc and sparc → https://git.io/fNErf
patrl has joined #nixos
nly has quit [Remote host closed the connection]
nly has joined #nixos
<ajs124> I'm trying to update ejabberd right now, but they moved from imagemagick to eimp at some point, so now I'm wondering what's the best way to have that run with libpng, libjpg and libwebp in its LD_LIBRARY_PATH. just modify the systemd service? or wrap the program somehow?
iceychris has quit [Ping timeout: 255 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<etu> ajs124: It should be enough to have them as buildInputs so the program is linked to those libraries
<ajs124> I think it doesn't get linked, it's written in erlang and uses some kind of ffi. so it probably trys to dlopen them.
<etu> Oh
<etu> wrapProgram might help you then
<ajs124> probably, but I'm not sure how exactly that is supposed to be used.
<tilpner> I need to assemble closures into a single directory, but can't use cp -l because /build is on a different filesystem than /nix
<tilpner> Is there a way to do that efficiently, without using symlinks or relying on autoOptimiseStore?
<{^_^}> [nixpkgs] @rycee opened pull request #44125 → eclipse-plugin-spotbugs: 3.1.5 -> 3.1.6 → https://git.io/fNEoU
nly has quit [Quit: Leaving]
iceychris has joined #nixos
joelpet has quit [Ping timeout: 264 seconds]
init_6 has quit [Ping timeout: 256 seconds]
<Izorkin> tilpner: fixed error in nur-packages
init_6 has joined #nixos
tenten8401 has joined #nixos
<trebuh> Is having a knowledge of functional language necessary (or a plus) to build up a system with NixOS?
d1rewolf_ has joined #nixos
<goibhniu> trebuh: it would be interesting if you want to do fancy things, but you can definitely survive without knowing one
<tilpner> trebuh - It's definitely a plus. If you want to understand how nixpkgs works, you'll have to learn Nix either way, and experience makes it easier
hakujin1 has joined #nixos
* goibhniu has been using NixOS happily for years, without any functional programming background
<trebuh> damn, that's one of my big lack when it comes to computing languages.
<tilpner> But it depends on your usecase. You may find that all you require is supported and works without issues, in which case you may not need to look under the hood
<gchristensen> trebuh: it ins't a big deal, I didn't know any FP before using Nix
<qyliss^work> I have very limited functional programming knowledge aside from what I've picked up from Nix, and an intro to programming Haskell course years ago
<etu> trebuh: But you can see the config as a config file with a weird syntax. :)
<goibhniu> the configuration looks a bit like JSON
<Izorkin> tilpner: now to need to restart travis-ci check?
<trebuh> :-P I like to understand things
<tilpner> Izorkin - I think it will restart automatically
<etu> trebuh: Get started first, understand later:)
<trebuh> that's planned for tonight
<steveeJ> is someone using minikube and could verify if 'minikube service --url kubernetes' is working for them? it should print a URL, for me it returns nothing
<etu> trebuh: Good luck and have fun. Don't hesitate to ask if you have questions:)
<trebuh> I probably have, BTRFS RAID over LUKS is not trivial
Anton-Latukha has joined #nixos
* etu wouldn't use btrfs-raid, but that's just a personal taste
hakujin1 has quit [Ping timeout: 256 seconds]
palo has quit [Ping timeout: 268 seconds]
<tilpner> Izorkin - Oh, right, it won't restart. Force push that branch again, maybe
<Izorkin> tilpner: need close PR, and open new?
<tilpner> Izorkin - No
lambdamu has joined #nixos
nly has joined #nixos
patrl has quit [Quit: WeeChat 2.0]
<nly> Please help me with a nix expression: https://ybin.me/p/575ac4e1ca4d100f#w0f7gzW7U9AEQ/JG6t9wGmMc7rA+ubwk4z9pyyTfosw=
FRidh has joined #nixos
<nly> i am a noob lol
<{^_^}> [nixpkgs] @FRidh merged pull request #43972 → Python packages: major updates → https://git.io/fNlse
<{^_^}> [nixpkgs] @FRidh pushed 239 commits to staging: https://git.io/fNEig
<Yaniel> what does it say
<tilpner> nly - Note that pass-import is already in nixpkgs
sophiag has joined #nixos
<nly> :> yay
lambdamu has quit [Ping timeout: 244 seconds]
programmer4 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 263 commits to staging: https://git.io/fNEi5
<tilpner> > passExtensions.pass-import.name
<{^_^}> "pass-import-2.2"
<nly> i should use the CLI 'nix search pkg' instead of the gui
<{^_^}> [nixpkgs] @7c6f434c merged pull request #44090 → Cherry-pick commit that fixes libreoffice wrapper to release-18.04 → https://git.io/fNRDI
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to release-18.03: https://git.io/fNEiA
programmer4 has joined #nixos
<brodul> I have problems with OpenGl on NixOs
<brodul> on Lenovo x260
<sophiag> well, i've officially broken the ability to rollback generations. rebuilds now telling me a bunch are corrupted and, similarly, they don't show up in grub. those include the only builds in which i'm able to launch a display manager :(
jperras has joined #nixos
dbmikus has joined #nixos
<nly> tilpner the build is failing...
endformationage has joined #nixos
<tilpner> nly - Not here
<nly> error: getting status of '/nix/store/4wvjp1fa7n9j3ws3a2wbsiz6x67cxrk5-password-store-1.7.2/lib/password-store/extensions': No such file or directory
<nly> ok nvm
<tilpner> brodul - Please try export __GLVND_DISALLOW_PATCHING=1
<nly> tilpner what command do you run to install it?
<tilpner> nix-build --no-out-link "<nixpkgs>" -A passExtensions.pass-import
<brodul> tilpner: I don't have an nvidia card
cryptomonoid has quit [Ping timeout: 240 seconds]
<brodul> if i start __GLVND_DISALLOW_PATCHING=1 glxgears
<brodul> it crashes
<brodul> the same way as in dpaste snippet
<tilpner> brodul - I don't know if that matters. It might be completely unrelated, but it fixed a similar error
<brodul> ah, ok
<brodul> tnx
<{^_^}> [nixpkgs] @eadwu opened pull request #44126 → opencollada: include pcre.h (KhronosGroup/OpenCOLLADA#570) → https://git.io/fNEP4
orivej has quit [Ping timeout: 248 seconds]
<sophiag> i'm trying `nixos-rebuild switch --repair` now. last thing happened before this was being dropped into a tty and then trying to switch from lghtdm to gdm for diagnostic purposes, upon which gdm would segfaul immediately upon launch...
<{^_^}> [nixpkgs] @rycee pushed to master « eclipse-plugin-spotbugs: 3.1.5 -> 3.1.6 »: https://git.io/fNEPP
<ajs124> damn, my "nixos-rebuild build" OOMs with 2G memory + 1G swap.
<{^_^}> [nixpkgs] @rycee closed pull request #44125 → eclipse-plugin-spotbugs: 3.1.5 -> 3.1.6 → https://git.io/fNEoU
<clever> ajs124: what is it doing when it oom's?
<ajs124> copying path '/nix/store/xfhxsilhlrs38m4sjx0pnlkw54jqnj5n-ghc-8.2.2' from 'https://cache.nixos.org'...
<ajs124> error: Nix daemon out of memory
<clever> thought so, ghc causes issues like that
<clever> ajs124: ext4 rootfs?
<ajs124> xfs
<clever> i think that should still work, one min
<clever> swapDevices = [ { device = "/var/lib/swap1"; size = 2048; } ];
<clever> ajs124: add this to your configuration.nix, temporarily disable the usage of haskell in configuration.nix, and nixos-rebuild switch
<clever> if you are able to stop using haskell for 5 mins
<clever> if your too addicted, i can perscribe an alternative solution
eskytthe has quit [Quit: Leaving.]
<ajs124> I can also just manually create a swapfile or get more ram, since this is running on "other people's computers".
<clever> ah
<clever> manually creating the swap file was the alternative solution :P
<clever> but its also nice that nixos can fully automate it
halfbit has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #44127 → nixos/cfssl: Add new module for cfssl → https://git.io/fNEXz
<ajs124> true, but I kind of don't want to keep this swapfile around forever.
<clever> can always undo the change, though you will need it every time ghc has to download
<ajs124> I also don't want to do that :D I'm just downloading ghc, because I'm deploying some software (biboumi), that's quite outdated in nixpkgs master
the has quit [Excess Flood]
devx has quit [Quit: . .. ...]
<ajs124> hm, although that actually seems to be written in C++. I wonder why it pulls in ghc. Maybe pandoc.
cryptomonoid has joined #nixos
devx has joined #nixos
Denommus has joined #nixos
<Denommus> hey
<Denommus> how do I use my private ssh key with nix-prefetch-git?
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<brodul> can somone dpaste the output of nix-channel --list
<brodul> tnx
<LnL> Denommus: you don't, only builtins.fetchGit can access user credentials
<Baughn> Denommus: You don't. If you need a private ssh key then it can't be pushed to nixpkgs anyway, so you should download the git repository *before* doing whatever nixy thing with it.
<Baughn> Aka, put the nix code in the repository.. or tell us why you need that.
erasmas has joined #nixos
<Denommus> Baughn: I don't need it, it would just be nice
SOO7 has joined #nixos
d1rewolf_ has quit [Ping timeout: 244 seconds]
<Baughn> Denommus: Well, builtins.fetchGit, but you'd have to put the ssh key itself in a location accessible from the Nix code. Usually that's the wrong thing to do.
<brodul> tnx goibhniu
<goibhniu> brodul: the .nix-channels file is the opposite way around: https://nixos.org/channels/nixos-unstable nixos
<clever> goibhniu: also, --add and --list are oposite of eachother
<Denommus> ok
lambdamu has joined #nixos
<clever> anoying
<goibhniu> oh ... heh
<{^_^}> [nixpkgs] @romildo opened pull request #44128 → plano-theme: 3.28-1 -> 3.28-2 → https://git.io/fNEMy
<{^_^}> [nixpkgs] @timokau opened pull request #44129 → pari: 2.9.5 -> 2.11.0 → https://git.io/fNEMF
<Baughn> Denommus: (Keep in mind, if you refer to an SSH private key by path it'll be copied into the Nix store -- which is *world-readable*.)
<brodul> for those who are on nixos unstable
<brodul> does glxgears work for you ?
<brodul> master does not count
<sophiag> ugh, --repair still tells me most of my system profiles are corrupt :(
<clever> brodul: perfect 60 fps with 18.09pre145679.dae9cf6106d
<clever> sophiag: can you pastebin the errors?
<goibhniu> brodul: also fine here, I have an nvidia card FWIW
<brodul> clever: intel card ?
d1rewolf_ has joined #nixos
<sophiag> clever: all it says it "skipping corrupt system profile entry: ..." for most of my generations
<sophiag> all those that where the version doesn't match the current channel if that tell you anything?
counting1ort has left #nixos [#nixos]
<tilpner> brodul - Works fine here too
sbdchd has joined #nixos
<tilpner> (Curiously intel gets 1240 fps, while nvidia gets 360)
<maurer> tilpner: glxgears fps is not actually a meaningful benchmark past 60 or so
<tilpner> Because it's not primarily measuring the cost of rendering the frame?
<sophiag> clever: i think the "corrupt" generations may just be those from before there were per-user profiles. i have no system profiles in root, some under my own user, and many above the per-user level
sbdchd has quit [Ping timeout: 265 seconds]
<clever> brodul: 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
<clever> sophiag: do you know what caused the corruption?
iMatejC has quit [Remote host closed the connection]
guest_ has quit [Ping timeout: 252 seconds]
<sophiag> clever: not sure. i've been having problems with graphics switching for over a year. gdm on 16.09 with the nvidia driver is the only thing that seems to work
__monty__ has joined #nixos
the has quit [Excess Flood]
iMatejC has joined #nixos
<sophiag> but google is telling me it could be due to bumping my stateVersion to see if it would help with that (i know you're not suppose to do that, but theoretically rollbacks should work as well)
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
the has quit [Excess Flood]
<clever> sophiag: stateVersion cant corrupt the nix store
sir_guy_carleton has joined #nixos
<sophiag> is there a way to repair it?
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<sophiag> changing the stateVersion back doesn't seem to have helped
<clever> sophiag: can you pastebin all of the errors?
npmccallum has quit [Ping timeout: 240 seconds]
halfbit has quit [Ping timeout: 256 seconds]
johanot has quit [Quit: Leaving.]
<Baughn> sophiag: Changing the state version is the one thing you can't roll back.
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
betaboon has joined #nixos
<betaboon> hello #nixos, can someone point me in the right direction on how to use iamroles with nixops ?
patrl has joined #nixos
<maurer> betaboon: Are we to assume https://nixos.org/nixops/manual/#idm140737316421088 is insufficient?
cryptomonoid has quit [Ping timeout: 244 seconds]
<betaboon> maurer: yeah. how do i actually use that/pass it to an ec2 instance eg
<betaboon> is it as simple as using deployment.ec2.instanceProfile with resources.iamRoles.{}.name ?
<clever> maurer: there is also the problem that having permission to create iam roles, basically gives you complete admin
<d1rewolf_> rebuilding has slowed down for me and seems to hang up on "restarting the following units: polkit.service". is there a way to track down speed hogs in the build process?
the has quit [Excess Flood]
<clever> d1rewolf_: its no longer building anything at that point, check `ps -eH x`
<d1rewolf_> clever, x, thanks
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
alex`` has quit [Quit: WeeChat 2.1]
<d1rewolf_> clever, what's the "x" in that context?
<clever> an argument to ps
<clever> a literal x
<d1rewolf_> clever, I realize that. -e for select all, -H for hierarchy, but was curious what the x did
the has quit [Remote host closed the connection]
<clever> i dont remember how i figured out those args, i just mashed random things together over a decade ago and memorized what worked, lol
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<d1rewolf_> clever, yeah, ps options are always so dense
sigmundv_ has quit [Ping timeout: 244 seconds]
jD91mZM2 has joined #nixos
eric1 has joined #nixos
<eric1> Hi there! :-)
<eric1> Greeting you from my brandnew Nixos install!
<d1rewolf_> eric1, welcome ;)
<eric1> Thank you
<goibhniu> eric1 congratulations \o/
<eric1> Thanks! :)
<eric1> I am in dire need of some support, hoping you can help me. Did any of you run into issues with composer on NixOS? As in composer seeing a different version of PHP than I'm seeing? (5.6 instead of 7.2)?
tenten8401 has quit [Quit: Konversation terminated!]
tenten8401 has joined #nixos
d1rewolf__ has quit [Ping timeout: 248 seconds]
<eric1> ➜ spacetrader composer update ~/spacetrader
<eric1> Loading composer repositories with package information
<eric1> Updating dependencies (including require-dev)
<eric1> Your requirements could not be resolved to an installable set of packages.
<eric1> Problem 1
<eric1> - Installation request for phpstan/phpstan ^0.10.2 -> satisfiable by phpstan/phpstan[0.10.2].
<eric1> - phpstan/phpstan 0.10.2 requires php ~7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> Problem 2
d1rewolf__ has joined #nixos
<eric1> - phpunit/phpunit 7.2.7 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.6 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.5 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.4 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.3 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.2 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.1 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - phpunit/phpunit 7.2.0 requires php ^7.1 -> your PHP version (5.6.36) does not satisfy that requirement.
<eric1> - Installation request for phpunit/phpunit ^7.2 -> satisfiable by phpunit/phpunit[7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7].
<eric1> ➜ spacetrader php -v ~/spacetrader
<goibhniu> eric1 can you use a pastebin please?
<eric1> PHP 7.2.7 (cli) (built: Jun 19 2018 14:40:28) ( ZTS )
<eric1> Copyright (c) 1997-2018 The PHP Group
<eric1> Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
<eric1> Sorry
<LnL> whoa easy there
<eric1> pastebinning now
<tilpner> Oh no
<tilpner> sudo must be owned by uid 0 and have the setuid bit set
<tilpner> What did I do :/
<clever> tilpner: what binary did you run?
<eric1> Sorry for flooding
<tilpner> clever - The error mentions /run/current-system/sw/bin/sudo
jmeredith has joined #nixos
<clever> tilpner: that sudo will never work
<tilpner> ...
<tilpner> /run/wrappers/bin vanished
<clever> tilpner: only the sudo in /run/wrappers/bin/sudo works
<clever> if you cant use ssh to get root, then your only option is to reboot
<tilpner> And then what?
<tilpner> Will activate restore /run/wrappers?
<clever> it will repair itself on every boot
<tilpner> Phew
<clever> the whole /run is a tmpfs
<clever> so its always lost on reboot
<tilpner> The real question is what else broke... :/
* tilpner may have done sudo rm -r on bind mounts
<clever> thats one reason to use zfs with automatic snapshots
* tilpner reboots
<{^_^}> [nixpkgs] @cransom opened pull request #44130 → cli53: 0.4.4 -> 0.8.12 → https://git.io/fNEQN
hakujin1 has joined #nixos
humanoyd has joined #nixos
<tilpner> It seems everything came back, huh
<eric1> There is an issue on the composer github that matches this, but the thread went to "this has to be your environment".
<eric1> As far as I can see (and I'm a total newbie) the Nixos composer package does nothing but download a phar.
<eric1> Why is the php in my environment different from what composer sees? Is there an option I can set so it uses a different version?
drakonis has joined #nixos
iceychris has left #nixos [#nixos]
patrl has quit [Quit: WeeChat 2.2]
<sophiag> sorry, phone call. so i'm bricked because i tried to change the stateVersion to see if it could prevent me from running 16.09 for all eternity :/
<sophiag> i guess that means i have to actually solve the muxless graphics issue or see if i have enough room to partition my boot disk and reinstall
<goibhniu> you're struggling to get bumblebee working?
<sophiag> bumblebee doesn't work for me
<sophiag> at least not with the configs i've tried. the issue actually seems to be intel
<eric1> ‰‰Well thanks anyway. I will try again another time.
rihards has joined #nixos
<goibhniu> oh, is there another way? I also failed to get bumblebee working reliably
<sophiag> although i'm uncertain the difference between services.xserver.videoDriver and hardware... configs
<sophiag> goibhniu: what do you mean by reliably? my problem is all display managers segfault
<tilpner> goibhniu, sophiag - Have you tried the acpi_osi tricks?
eric1 has quit [Quit: WeeChat 2.0]
<sophiag> i don't think so
<tilpner> My display manager would blackscreen without acpi_osi=! acpi_osi="Windows 2009"
<sophiag> ah. lightdm for me is black screen with a blinking cursor in the corner!
__Sander__ has quit [Quit: Konversation terminated!]
<sophiag> gdm is frozen cursor
<tilpner> No promises
<tilpner> There are also other variants
<sophiag> that's assuming i can boot into them. launching from tty usually segfaults immediately
<goibhniu> I can get it working by booting a generation that doesn't have bumblebee enabled, then nixos-rebuild switch with bumblebee enabled ... it locks the kernel if I boot directly with bumblebee enabled
<sophiag> goibhniu: that sounds like what happened to me as well
* goibhniu hasn't tried the acpi_osi tricks
<tilpner> That sounds familiar-ish? sphalerite?
<sophiag> so you think if i try enabling bumblebee from tty i can then launch a display manager?
<goibhniu> it would be interesting to see if that works
<sophiag> yeah, except it's kind of nice to be able to turn off your machine...ever
the has quit [Remote host closed the connection]
<goibhniu> indeed :D ... but the acpi_osi option would be interesting too (if you haven't tried already)
<sophiag> i try to keep mine on indefinitely whenever something like this happens since i'm likely to burn a couple days if it crashes
<sophiag> tilpner: it's just that line you pasted?
<tilpner> That was a workaround for the symptom, but may be better than nothing
<sophiag> issue #24711
<{^_^}> https://github.com/NixOS/nixpkgs/issues/24711 (by ghost, open): Nvidia, Bumblebee, Hybrid Graphics, Nothing Working on NixOS 17.03
<sophiag> oh, i think i saw that already
mounty has quit [Ping timeout: 240 seconds]
* tilpner pm
<sophiag> that's the one that concludes with prime working in 18.09? and has a bumblebee workaround in the middle of the thread (sorry in tty)
the has joined #nixos
the has joined #nixos
the has quit [Changing host]
<tilpner> Oh, right
mounty has joined #nixos
johanot has joined #nixos
<tilpner> sophiag - Check private messages
<sophiag> sorry, slow because i lost many keybindings
<{^_^}> [nixpkgs] @shlevy pushed commit from Shea Levy to master « pythonPackages.rfc7464: Init at 17.7.0 »: https://git.io/fNEd3
<{^_^}> [nixpkgs] @shlevy pushed commit from Shea Levy to release-18.03 « pythonPackages.rfc7464: Init at 17.7.0 »: https://git.io/fNEdC
stanibanani has joined #nixos
halfbit has joined #nixos
<{^_^}> [nix] @symphorien opened pull request #2309 → add manual entries for disallowedRequisites and disallowedReferences → https://git.io/fNEF0
tusj has quit [Remote host closed the connection]
nico202 has quit [Quit: Leaving]
tusj has joined #nixos
hakujin2 has joined #nixos
halfbit has quit [Ping timeout: 256 seconds]
hakujin1 has quit [Ping timeout: 256 seconds]
ThatDocsLady has quit [Remote host closed the connection]
ThatDocsLady has joined #nixos
nly has quit [Ping timeout: 250 seconds]
kiloreux has quit [Remote host closed the connection]
d1rewolf_ has quit [Ping timeout: 256 seconds]
jperras has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @vcunat opened pull request #44131 → release/metrics: drop requiredSystemFeatures → https://git.io/fNENI
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
lorilan has quit [Quit: Leaving]
winem_ has quit [Ping timeout: 256 seconds]
ambro718 has joined #nixos
<{^_^}> [nixpkgs] @YorikSar opened pull request #44132 → chromium: 67.0.3396.99 -> 68.0.3440.75 → https://git.io/fNEAC
orivej has joined #nixos
Thra11 has joined #nixos
<Thra11> If I'm using a local checkout of nixpkgs at /path/to/nixpkgs, why is it that some commands accept "-f /path/to/nixpkgs" but others need "-I nixpkgs=/path/to/nixpkgs"?
<d1rewolf> clever, you remember I mentioned rebuild hangs at polkit? I checked, and nothing of note is happening (via top) at that time
<d1rewolf> it's slowed to taking about 45 seconds
<Akii> interesting, all files on my nixos server are dated "Jan 1 1970" anyone knows why that is?
<clever> d1rewolf: you want to see what the child proccesses of nixos-rebuild and nix-daemon are with `ps -eH x` and find one that is blocked on something
<gchristensen> Akii: everything in /nix/store is set to the date of 1 second
<clever> Akii: nix doesnt allow any timestamps in the store,all files are last-modified at unix epoch + 1
<Akii> damn
npmccallum has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<gchristensen> damn?
<Akii> that kills default caching when serving files with nginx
<d1rewolf> clever, ah, k. thank you
<gchristensen> ah yes it does
<Akii> that explains it though.. now for the solution.. that's going to be tricky
<Lisanna> Akii best solution I found for that is to construct an etag based on the file's hash in its /nix/store path
johanot has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7d85757bc37 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
doyougnu has joined #nixos
<Lisanna> Akii let me write something in the wiki real quick...
<Akii> that'd be great, I never dealt with etags at all
<Akii> why though? what's the problems with timestamps in the /nix/store files?
<clever> not pure
<clever> the output is supposed to be based entirely on the build instructions, and not when you built it
<Akii> okay
<Lisanna> Time is impure, so we got rid of it
<Lisanna> :)
<Akii> ain't even mad :)
koisell has quit [Quit: WeeChat 2.0.1]
<drakonis> clever, reproducible builds eyyy
<drakonis> https://reproducible-builds.org/ eyyyyyyyyyy
<logzet> Hi, I'm packaging an application which is only available as a 32bit installer. How do I patchelf the installer correctly?
<logzet> Do I need to use stdenv_32bit instead of stdenv?
iyzsong has joined #nixos
<symphorien> You can use callPackagesI686
poli1305_ has quit [Quit: leaving]
orivej has quit [Ping timeout: 256 seconds]
Coyin has quit [Ping timeout: 256 seconds]
<gchristensen> nice, Lisanna!
<gchristensen> Lisanna++
<{^_^}> Lisanna's karma got increased to 3
<Lisanna> <3
npmccallum has quit [Quit: npmccallum]
<Akii> interesting, thanks!
<Akii> now let's see if my nix-fu is strong enough to make that work for the whole folder
ng0 has joined #nixos
betaboon has quit [Quit: WeeChat 2.1]
sophiag has quit [Remote host closed the connection]
<logzet> symphorien: I can't find callPackagesI686, not even a usage in nixpkgs
<Akii> nope, probably not since the etag is probably static in your case :D
johanot has joined #nixos
<davidak[m]> why is /nix/var/nix/profiles/default/bin/chromium used instead of /run/current-system/sw/bin/chromium (which is 2 major versions newer)?
<davidak[m]> i don't see it in [davidak@X230:~]$ nix-env -q
hakujin3 has joined #nixos
Cypi has quit []
<samueldr> davidak[m]: sudo nix-env -q ?
<symphorien> logzet: indeed it was removed by c491a99362af31a53d9be6220e268d5b594bae29
<symphorien> logzet: "This has been replaced with pkgsi686Linux.callPackage"
<davidak[m]> samueldr: yes, that's it. many thanks!
<{^_^}> [nixpkgs] @nicknovitski opened pull request #44133 → yarn: add yarnpkg bin alias output → https://git.io/fNEpH
hakujin2 has quit [Ping timeout: 256 seconds]
Sonarpulse has joined #nixos
jperras has joined #nixos
<Akii> I assume there is no built in way of getting the current date?
palo has joined #nixos
palo has quit [Changing host]
palo has joined #nixos
<Akii> since that would also be a side effect
<Lisanna> Akii builtins.currentTime
<samueldr> > builtins.currentTime
<{^_^}> 1532625691
<Akii> because your etag approach isn't very practical
<samueldr> you *can* break the purity, though it will always cause rebuilds
<Akii> that's also impractical
<Akii> so I get it that using the date this file just happens to be written is not really a nice way
<srhb> Akii: Every file is written in 1970, clearly. :P
<Akii> what would be the idk "perfect" solution: somehow use the packages version
<Akii> because the version really dictates caching
<Akii> so I think I could perfectly use the version as etag?
<Akii> okay here is the question: if there was no IRC, where would I search for how I can get the version of a package inside a nix function I think is what an override is D
<Akii> :D
<srhb> > hello.version
<{^_^}> "2.10"
<Akii> and now without irc :D
<srhb> Hmm, that's harder
<srhb> Look out the window, I will try smoke signals.
<Akii> haha
<srhb> Can we at least agree on an encoding first?
<Akii> no.
<srhb> ... welp.
init_6 has quit [Ping timeout: 260 seconds]
<srhb> Akii: If your question was really "why are docs so bad" I would say that we often run into the problem that Nix is a programming language and documenting every possible solution is a bit tricky. :D
<logzet> symphorien: Thanks that worked.
<logzet> On to the next problem: the installer wants root privileges and has no flag to disable the check for that
<Akii> srhb I didn't want to say that but ye, that's the issue I run into a lot :P
<Akii> stuff like "foo.version"
* srhb nods
<Akii> this foo thing has to be documented somewhere
<srhb> I was being a bit facetious :P
<srhb> Maybe we should document _that_ process instead
<srhb> Because people hit it all the time
<srhb> And we should be teaching people how to put the pieces together, not how every possible line of Nix could look.
<srhb> Of course, that sounds like a "why no nix book"
<Akii> absolutely
<srhb> So get cracking. :-P
<srhb> All y'all
<Akii> things got a lot better since I somehow got an idea what goes on
<joepie91> a lot of missing documentation concerns 1) common solutions/approachs/mental-models to common problems, and 2) current solutions being used in practice and why the work how they work
<joepie91> it's difficult to find direction
<joepie91> the lack of an easy navigable reference of everything in nixpkgs, builtins, etc. (utility methods and such) doesn't help with that either
<srhb> inb4 One Manual To Rule Them All
<joepie91> quite opposed to that concept actually
<joepie91> :)
* srhb isn't
<joepie91> like, you're not going to solve this just by writing a manual, it's something that needs ongoing ecosystem support
<joepie91> and for different situations you need different forms of documentation
<srhb> Ah, but I meant combining the three manuals into one
<srhb> Possibly four
<srhb> A meta-manual
<srhb> Sometimes people are confused by nix/nixpkgs/nixos/(nixops)
<joepie91> I don't think the solution to that is necessarily 'combining' them
<joepie91> what is missing is mostly cross-referencing
<joepie91> and a clear explanation of what the responsibilities of each part are
<srhb> I think that sounds like a technically harder solution. :-P
<joepie91> you're kind of expected to know what utility exists in which of them based on their undocumented separation of responsibilities, and if you guess wrong even once, there are zero pointers to get you back on track
* srhb nods
nuncanada has quit [Quit: Leaving]
<joepie91> ie. the problem is navigation, not where the information lives
<Akii> a big problem is googling for solutions imo
<Akii> you find nothing
sophiag has joined #nixos
<RetardedOnion> Akii: you sometimes find old configuration.nixs which teach you stuff that is getting deprecated
<joepie91> that's one aspect of that, yeah
<Akii> (the above thing says "attribute 'version'" missing)
<Akii> yeah I don't think I've found one Nix file that just worked out of the box
<srhb> Akii: Then it would appear it doesn't have a version attribute.
<Akii> but I guess that's because nix/nixos is still evolving quickly?
<RetardedOnion> i dont need one file that works, i want help on creating my own.
<Akii> srhb yeah but that package has a version
<srhb> Can't say, I don't have the same experience at all...
<srhb> Akii: What do you mean "package"
<drakonis> i don't see why it is a problem that things are getting deprecated
<drakonis> there's a lot to improve right now
<RetardedOnion> how old is nix? i just feel like because there arent many users, noone is interested in doing docs
<drakonis> 15 years plus
<sophiag> tilpner: it worked!! i had to use lightdm, though. both sddm and gdm were wonky
<tilpner> sophiag - Yay!
<srhb> RetardedOnion: 2003, 2004. Thereabouts.
<Jason_Grossman> sophiag: \o/
<drakonis> RetardedOnion, someone has to do them
<sophiag> i seriously cannot believe i fixed a year+ hardware problem
iyzsong has quit [Read error: Connection reset by peer]
<sophiag> i'll still probably order a new laptop as soon as i get paid...lol
<RetardedOnion> yeah i know. i will help when i am ready. i am less than a week on nix. and havent even moved my desktop.
<drakonis> nix has seen its biggest growth in the past few years
<Akii> srhb I mean the thing that yarn2nix somehow spits out after I feed it my default.nix... idk, is it called derivate? Every thing in nix has a version
<goibhniu> sophiag: awesome! what did youdo?
<sophiag> tilpner: do you know why the substantive part of this patch works? i get not knowing what every kernel module you need to account for does, but i'd like to be able to document this so it's less cargo cult-like for others who may need the same fix
<RetardedOnion> i feel like removing a patch from a package and adding a few shouldnt be as difficult as it is
<srhb> Akii: I don't know how yarn2nix expressions looks. I'm assuming this is somehow in an overlay? Sorry, I'm not sure exactly what the snippet relates to. If it just doesn't have a version attribute, maybe you can just use its path for caching purposes, since it includes a sha256 anyway
<sophiag> goibhniu: mainly `kernelParams = ["acpi_osi=!" ''acpi_osi="Windows 2009"'' "nvidia-drm.modeset=1"];`
<sophiag>
<tilpner> sophiag - I could explain the vga_powerdown, but the acpi_osi is stolen from https://github.com/Bumblebee-Project/Bumblebee/issues/764#issuecomment-333313341
<sophiag> ah, okay
<Akii> srhb so I check out what yarn2nix does in detail; maybe I find out more
<goibhniu> thanks!
<sophiag> tilpner: but you said someone already linked to it in that nix issue? i must have just missed it...if i remember right that was a long one
iqubic has quit [Remote host closed the connection]
<tilpner> Not sure what you mean
<sophiag> woah and that person in the bumblebee issue has an _normal_ laptop
<srhb> Akii: /urlselect
<sophiag> tilpner: i was just clarifying whether the bumblebee issue was linked to in the related nix issue
<srhb> Woops
<Akii> this mkDerivate.. probably has the magic
<srhb> Akii: No version attribute there, indeed.
<srhb> Akii: Will .outPath do the thing for you? :)
<Akii> srhb but every derivation has a version O.o
<{^_^}> [nixpkgs] @dasJ opened pull request #44134 → nixos/iperf: Init the module → https://git.io/fNuek
<cocreature> so I thought I understood channel updates but apparently I still don’t. hydra shows that there was a successful build for nixos-unstable more than a day ago but there still seems to be no channel update. does the cron job that does the actual job run this rarely?
<srhb> Akii: Nope.
<Akii> oooohhhh
humanoyd has quit [Quit: WeeChat 2.2]
<Akii> welp there we have it
ghasshee has quit [Ping timeout: 264 seconds]
<Akii> okay, I need the hash then without the /nix/store
<srhb> cocreature: It's a bit misleading, because the evaluation has to be done as well, and nixpkgs.metrics was running for hours before it was cancelled.
<srhb> (As the very last queued job)
<srhb> So 9 hours ago.
<Jason_Grossman> So that evaluation failed?
<srhb> No, I don't think so.
<cocreature> srhb: ah thanks!
<srhb> Jason_Grossman: Meaning, I think it *will* update, it just hasn't yet.
<Jason_Grossman> OI
<Jason_Grossman> I mean OK!
<srhb> Actually, this looks like it should have run. Maybe I don't understand it after all :) https://github.com/NixOS/nixos-org-configurations/blob/583af67c4bc283ac0832566762589354af6b7345/nixos-org/hydra-mirror.nix
<gchristensen> srhb: no, you're right
<{^_^}> [nixpkgs] @zimbatm merged pull request #44100 → gem-config: add zookeeper → https://git.io/fN0tB
<{^_^}> [nixpkgs] @zimbatm pushed commit from @alyssais to master « gem-config: add zookeeper (#44100) »: https://git.io/fNue1
<gchristensen> https://hydra.nixos.org/job/${mainJob}/latest-finished -> https://hydra.nixos.org/job/nixos-unstable/latest-finished -> won't update til all jobs are no longer queued
<{^_^}> [nixpkgs] @zimbatm pushed commit from @alyssais to master « gem-config: add libxml2-ruby (#44099) »: https://git.io/fNueS
<{^_^}> [nixpkgs] @zimbatm merged pull request #44099 → gem-config: add libxml2-ruby → https://git.io/fN0tm
<srhb> gchristensen: But it has updated. And all jobs finished at 10 this morning
<srhb> So I'm confused. :)
<gchristensen> o
fresheyeball has quit [Remote host closed the connection]
<acowley> The current mystery of why the channel hasn't advanced aside, we should probably update the howoldis page to better indicate when there are queued jobs
<srhb> acowley: And miss out on the weekly "how do channels even" talk? :)
<srhb> It's call socializing, you know.
<acowley> Well, having the system actually work as we all think it does is probably step 1. But step 2 is having the visual indicators reflect things.
<acowley> lol
<Jason_Grossman> srhb++
<{^_^}> srhb's karma got increased to 11
<acowley> It really is our favorite conversation
<srhb> :-) I agree with you
<acowley> Would it make sense to have a number next to the build along the top of the grid?
<acowley> Or perhaps the problem is the slight disconnect between the build ID of the aggregate job and the evaluation of which it is a part.
<Profpatsch> Someone up for a simple review of a documentation PR?
<srhb> Yeah, definitely
<{^_^}> #44110 (by Profpatsch, open): Improve lib/trivial docstrings & formatting
<acowley> Profpatsch: I think the documentation for assertMsg is wrong
<samueldr> since it's request o'clock, #44047 leads me to think I should stop writing long descriptions to my PRs
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44047 (by samueldr, open): WIP: +RFC: Loads qt plugin paths as registered...
semihonest has quit [Quit: WeeChat 2.1]
<Profpatsch> acowley: Oh, thanks for noticing. I didn’t want to push that function in that PR
<acowley> Profpatsch: I also had to read to the setFunctionArgs docs a few times for no deep reason. I think I would have found it easier if the docs started out with an example usage `setFunctionArgs f metadata` to further clarify that the metadata you're talking about is the `Map String Bool`. This is a nitpick.
<acowley> I just saw "metadata" at the start and my subconscious started thinking about what that might include. That it's just whether the argument has a default value is a lot more specific than "metadata" in general.
<acowley> I do understand how it is written now.
johnw_ has joined #nixos
<acowley> I also didn't connect default values with "expected function arguments" on first reading.
<acowley> I would say, "Add metadata about function arguments with default values." as the first sentence.
<acowley> Although at that point it seems curious to not make it a Map String Any where the value of the map is the default value.
<Profpatsch> acowley: Yes, these functions need better documentation for shure
<Profpatsch> *sure
<Profpatsch> The module is kind of a kitchen sink anyway.
iqubic has joined #nixos
johnw has quit [Ping timeout: 256 seconds]
<acowley> I appreciate you doing this, btw.
<iqubic> I'm having an issue.
<iqubic> This USB that I just mounted is being mounted "Read-Only"
<iqubic> How can I fix this and make it "write-able"?
<clever> iqubic: what does blkid say about the device your mounting?
<Profpatsch> acowley: Thanks
<iqubic> nothing out of the ordinary.
<clever> iqubic: can you paste it here?
<acowley> samueldr: My loose understanding of the problem was that integrating applications with a Plasma desktop was one of the breaking points. If the app insists on the plugins it was built with, and someone updates their desktop bringing in new plugin versions, then the two won't coexist happily. If the app relies on the environment for the plugins, then updating the desktop updates everything.
<iqubic> termbin.com/mm70
<clever> iqubic: 404
<acowley> samueldr: Does that sound correct?
<iqubic> clever: Yeah sorry
<iqubic> termbin.com/mm7o
<iqubic> o and 0 look similar.
<samueldr> acowley: is that your understanding of the current situation?
<iqubic> I'm trying to mount /dev/sdb1
<samueldr> acowley: if so, sounds about right
<clever> iqubic: TYPE="iso9660"
<Profpatsch> acowley: Maybe you can improve the docs for setFunctionArgs after I merge these changes? I haven’t used this yet.
<samueldr> acowley: it's not only KDE, all Qt apps right now *depend* on the environment to work (18.03+)
<clever> iqubic: that filesystem doesnt support write
<iqubic> Oh. How do I reformat the disk?
<acowley> samueldr: Yes, but I'm unsure. I encountered this problem doing things on darwin, and saw ttuegel say things to that effect as to why it was difficult for everyone else.
<clever> iqubic: mkfs
<samueldr> acowley: this can be easily faked by using nix-shell --pure (or if no Qt apps are installed in a profile, simply nix-shell) with a Qt app
<acowley> samueldr: Right, that's the frustrating bit. But it seems that the alternative caused worse breakage for KDE users than those of us who just got a missing plugin message.
philippD has joined #nixos
<iqubic> Thanks clever.
<samueldr> acowley: I'll have to test using KDE apps *me weeps for the heat the compilation will cause*
<acowley> Profpatsch: Sure
<acowley> samueldr: It'd be ideal if Thomas could chime in. I know he's taken a couple runs at this.
<sophiag> wow, so i looked up the bumblebee hack that worked for me and apparently it's just lying to bios that i'm running a decade old version of windows?
Jason_Grossman has quit [Remote host closed the connection]
<samueldr> acowley: Thomas → ttuegel?
<acowley> samueldr: Yes
<sophiag> except most people who use this hack seem to use efi so i assume the issue is with both
<iqubic> And this isn't working.
<iqubic> k3b isn't accepting my USB.
<samueldr> acowley: and it's also why I'm asking for comments, I'm not sure this fixes everything, but for every issues I personally faced or saw, it seems to be the right kind of approach
<clever> iqubic: why are you using k3b on a usb stick?
tmaekawa has joined #nixos
<iqubic> To create a LiveUSB that I can boot from.
<samueldr> acowley: that is, explicitely prefixing all plugin paths *per app* in a non-environment way
<clever> iqubic: you can do that with just dd, and it must not be mounted when doing so
<acowley> samueldr: What you've done seems well thought out to me, too. But this issue with the desktop environment needing its plugins to be identical to those used by apps does sound like something that could be very awkward.
<iqubic> clever: That didn't work for me.
<clever> iqubic: what dd command did you previously use?
tmaekawa has quit [Client Quit]
Jason_Grossman has joined #nixos
<iqubic> I think the issue wasn't the command.
<samueldr> acowley: do you think there is an issue with more details about *that* problem? ideally I would like to repro the issue before playing with kde apps
<clever> iqubic: did you use sdb1 or sdb previously?
<iqubic> clever: I don't recall.
<iqubic> What should I have used?
doyougnu has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #44124 → systems: Allow detection of powerpc and sparc → https://git.io/fNErf
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fNuJd
<clever> iqubic: try using dd again with sdb
* samueldr tests tribbler right away
<acowley> I guess you'd want to test ttuegel's comment by using your patch, then running tribler directly from a result path, and installing it as a menu item in KDE and running it that way.
<iqubic> clever: What dd command should I run?
<clever> iqubic: something like: dd if=something.iso of=/dev/sdb
alex`` has joined #nixos
<iqubic> I'll try that.
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
camsbury has quit [Remote host closed the connection]
camsbury has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #44110 → Improve lib/trivial docstrings & formatting → https://git.io/fN01J
<{^_^}> [nixpkgs] @Profpatsch pushed 2 commits to master: https://git.io/fNuTG
<Profpatsch> acowley: Okay, merged https://github.com/NixOS/nixpkgs/pull/44110
<{^_^}> #44110 (by Profpatsch, merged): Improve lib/trivial docstrings & formatting
<domenkozar> gathering nix news at https://github.com/NixOS/nixos-weekly/pull/59
<{^_^}> nixos-weekly#59 (by domenkozar, open): Add 2018/05
<symphorien> domenkozar: would a line about nix-du in the tooling section qualify ?
cryptomonoid has joined #nixos
<domenkozar> yes! :)
<{^_^}> [nixos-artwork] @samueldr opened pull request #31 → Adds logo for nixos-weekly → https://git.io/fNuTo
<domenkozar> symphorien: it would be really cool if it behaved like ncdu
camsbury has quit [Ping timeout: 240 seconds]
<symphorien> what do you mean ?
<Akii> Lisanna once I verify it's working I'd add another entry to the wiki and explain how to add a etag based on the derivative's version. Does that sound good?
<domenkozar> symphorien: do you know how ncud works with ncurses?
<clever> symphorien: one UI element for each gc root, showing the total size of its closure, how much it shares, and how much is unique to that root
<symphorien> domenkozar: yes
<clever> symphorien: and being able to open the root and see its full dep tree
<samueldr> Akii: (I'm on the wiki team) this does sound good :)
<domenkozar> yeah so you'd have a list of top-level roots
<domenkozar> with size
<domenkozar> and you can go deeper to inspect it
<clever> symphorien: and maybe some options to delete a root and run a gc cycle
<symphorien> I mostly interested in how you display shared size
<clever> symphorien: nix-store --gc --print-roots
<symphorien> +am
orivej has joined #nixos
<symphorien> I thought a lot about the current visualisation
<clever> symphorien: in ram, you get the -qR of every root, then you have a std::list on each storepath, denoting what roots point to it
<clever> symphorien: any storepath with >1 root is shared
<clever> give a total of all storepaths, all paths with 1 root, and all paths with >1 root
<clever> for each root
<clever> nix-store -q --size /nix/store/7kgkg5lv9c992q83n8nihk8h532m8nx6-util-linux-2.32
cryptomonoid has quit [Ping timeout: 255 seconds]
<clever> 1554904
<clever> and if your using the nix protocol, you can bulk-query for sizes with a single connection, which is far far faster then running this on each
<symphorien> the problem that is for example your current system has 3 roots: /run/current-system /run/booted-system and the "regular" system-root
<symphorien> clever: yes I use libnixstore.so
<clever> add an option to exclude certain roots from the shared computation
<clever> maybe always exclude current and booted system, since you typically have 3 duplicates of that
<clever> oh, or group all roots that point to the same path
<logzet> Nice, this "<insert complimenting adjective here>" has no switch to disable its check for root permissions, it is a binary and fakeroot does not work. How do I even package software like this?
reinzelmann has quit [Quit: Leaving]
<clever> then booted, current, and generation are considered a single root
<logzet> s/"<insert complimenting adjective here>"/ "<insert complimenting adjective here>" installer/
vcunat has joined #nixos
<clever> logzet: run it under strace and see how it detects root
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch opened pull request #44136 → lib/trivial: add assertMsg → https://git.io/fNukO
lambdamu has quit [Ping timeout: 248 seconds]
<symphorien> clever: what you propose is mostly clamping the depth of the current dag to 2, isn't it ?
<clever> symphorien: i would still want the ability to see the entire closure of a given root, either as a tree or a flat&sorted list
<clever> and having some why-depends in there would be nice, why does /run/current-system depend on ghc??
<clever> open its flat&sorted list, select the top store path, hit a why-depends hotkey
<acowley> Profpatsch: That PR still has the buggy doc string for assertMsg. It prints the trace message if pred is false.
<logzet> A clever idea, strace outputs a LOT, well time for a break…
<clever> logzet: usually, you want the few messgaes just before the error about lacking root
<samueldr> logzet: it's probably in the lines nearer to the error message
Neo-- has joined #nixos
mounty has quit [Ping timeout: 240 seconds]
<symphorien> domenkozar: "and you can go deeper to inspect it" > If I select a root, what do I display then ?
jrolfs has joined #nixos
<Profpatsch> acowley: Ah, right.
<Profpatsch> I’m boolean blind. :)
<symphorien> I'll think about displaying a table root / non-shared size / shared size, it's an interesting idea
<acowley> In the land of booleans, we're all blind
mounty has joined #nixos
camsbury has joined #nixos
<borodust> Mic92: thanks for your help earlier this week! i finally figured out how to run my software on nixos :)
<Profpatsch> Now it should be correct
<domenkozar> symphorien: don't forget to submit it to nixos-weekly
<gchristensen> +1
<symphorien> or should I make a proper PR somewhat ?
ambro718 has joined #nixos
<domenkozar> for now via comments is fine
<ambro718> Hi, what should I do to get https://github.com/NixOS/nixpkgs/pull/42846 merged (nvidia optimus support)?
<{^_^}> #42846 (by ambrop72, open): nixos/xserver: Implement configuration of NVIDIA Optimus via PRIME
<ambro718> Multiple people have confirmed this makes their laptops graphics finally work right.
<logzet> clever, samueldr: fakeroot seems to work outside the build, my chroot-and-some-symlinks-to-run-the-installer-there setup seems to break fakeroot
<logzet> At least some good news
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
<chreekat> egads, nixos-weekly? hooray
CcxWrk has joined #nixos
ihar has quit [Quit: WeeChat 2.0]
<Lisanna> Akii *shrugs* derivations don't really have "versions" - that's just an arbitrary convention used in nixpkgs.
<Akii> yup, today I learned :D
<ldlework> johnw_: you should probably assign some ops to #org-mode if you're not going to hang out there
CcxWrk has quit [Excess Flood]
doyougnu has quit [Ping timeout: 255 seconds]
<Denommus> hey
<Denommus> is there any way to have a nixops step that performs some impure task?
<Akii> Lisanna just now I get what you did with the file example.. clever
<Akii> not meant to highlight you lol
<Denommus> or should every impure task be performed manually?
logzet has quit [Ping timeout: 265 seconds]
logzet has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<Akii> so yeah this is perfect
<Denommus> in this specific case, what I need is to setup ACME, so I want to create /var/www/challenges and chown nginx:nginx if it doesn't already exist
<Denommus> what is the usual approach for that?
<symphorien> Denommus: impure things can be done either by a systemd service or an activationScript
<symphorien> here your task can be achieved with systemd-tmpfiles
programmer4 has quit [Ping timeout: 260 seconds]
doyougnu has joined #nixos
tenten8401 has quit [Read error: No route to host]
tenten8401 has joined #nixos
<Denommus> symphorien: like systemd.tmpfiles.rules = [ "d /var/www/challenges 0700 nginx nginx -"]; ?
<symphorien> probably yes
<Denommus> awesome, thanks
Ross has quit [Ping timeout: 248 seconds]
Ross has joined #nixos
doyougnu has quit [Ping timeout: 265 seconds]
koisell_ has joined #nixos
worldofpeace has joined #nixos
worldofpeace has quit [Client Quit]
Jason_Grossman has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 240 seconds]
lambdamu has joined #nixos
hakujin4 has joined #nixos
jD91mZM2 has quit [Quit: WeeChat 2.0]
hakujin3 has quit [Ping timeout: 240 seconds]
<clever> Denommus: acme is already supported in nixos, just set enableACME=true; in the right nginx block
selfsymmetric-pa has joined #nixos
rihards has quit [Quit: rihards]
baconicsynergy has joined #nixos
<Denommus> clever: yeah, I eventually noticed, thanks
TronDD-w has joined #nixos
johanot has quit [Ping timeout: 265 seconds]
<symphorien> I have a derivation which does not depend on apache, if I add disallowedRequisites = [apacheHttpd]; the build fails at the end with error: path '/nix/store/dw5rb1znd1piv6a5ydwapwxrvyr63ff9-php-7.2.7' is not valid
<symphorien> even with -vvv I don't get any further insight
<clever> symphorien: can you gist that derivation?
<symphorien> clever: this diff from master http://xelpaste.net/gChrKr
<tilpner> symphorien - Try nix why-depends
sigmundv_ has joined #nixos
<symphorien> the path is destroyed...
<symphorien> it does not exist after the failure
<clever> tilpner: has to be grep
Tiez has quit [Quit: WeeChat 2.2]
<clever> symphorien: it does exist after the failure, but it is not registered as a valid store path
toby1851 has quit [Ping timeout: 256 seconds]
<symphorien> I tried with ls
<clever> so any gc or rebuild will delete it
<tilpner> symphorien - So comment out the disallowedRequisites, then test
<symphorien> I tested and it does not depend on apache
toby1851 has joined #nixos
<clever> symphorien: testing on this end...
Mateon3 has joined #nixos
sigmundv_ has quit [Ping timeout: 264 seconds]
hakujin has joined #nixos
Mateon2 has quit [Ping timeout: 248 seconds]
tenten8401 has quit [Quit: Konversation terminated!]
tenten8401 has joined #nixos
Mateon3 is now known as Mateon2
Henson has joined #nixos
hakujin4 has quit [Ping timeout: 245 seconds]
aarvar has joined #nixos
johanot has joined #nixos
Fare has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @dezgeg pushed 9 commits to staging: https://git.io/fNuYc
<dtz[m]> yeah it'd be neat if why-depends worked on failed paths (for that reason, honestly), as well as drv's :D
<Henson> Hi everyone, I've got a question about naming and versions in nixpkgs. If I specify in a derivation that I want to use "glibc" which "nix-env -qaPA nixpkgs.glibc" tells me is is "glibc-2.27", will that ever change. Will "nixpkgs.glibc" eventually change to a newer version? I suspect not, as that would result in non-determinism in the Nix expressions used for building packages.
<clever> Henson: nixpkgs.glibc can change every time you do nix-channel --update
Fare has joined #nixos
<Henson> clever: then how do I specify in a derivation that I want to use a specific version of a package?
aanderse-laptop has joined #nixos
<clever> Henson: why do you need to do that?
toby1851 has quit [Ping timeout: 264 seconds]
<ldlework> some package licecap pls
<Henson> clever: for building a package, I would like to have a known and fixed environment. If I build a derivation one day and it uses a certain set of derivations and work,s but then I do a "nix-channel --update" and build again and it uses a different set of derivations and doesn't work, then that seems to be contrary to the design of Nix.
<clever> Henson: you can use a specific version of nixpkgs instead of <nixpkgs>
<Henson> clever: at least from my beginner's perspective.
civodul has joined #nixos
<clever> Henson: then nothing can ever update on its own
<clever> import (builtins.fetchTarball https://github.com/nixos/nixpkgs/archive/GITREV.tar.gz) { config = {}; overlays = []; }
<clever> instead of import <nixpkgs> {}
<Henson> clever: ahh. So all the binary blobs of derivations that are build in the various versions of nixpkgs are kept around?
<clever> Henson: yeah
<clever> symphorien: thats odd, the $out is missing
<Henson> clever: ok, cool. Thanks for your help!
baconicsynergy has quit [Remote host closed the connection]
<clever> symphorien: but $dev is present
<clever> symphorien: the real problem might be that php is not even creating a $out...
<clever> symphorien: yeah, thats what its looking like
<symphorien> I don't really understand what you mean
Fare has quit [Ping timeout: 265 seconds]
<clever> symphorien: it looks like php is only creating $dev and not $out
<TronDD-w> Is "virtualiSation" a word?
<gchristensen> yes, TronDD-w
<TronDD-w> I just lost an hour on that letter :(
<gchristensen> :'(
<clever> symphorien: ok, thats weird, $out is made, but missing
<clever> checkRefs("disallowedRequisites", false, true);
<clever> throw BuildError(format("output '%1%' is not allowed to refer to the following paths:%2%") % actualPath % badPathsStr);
<clever> symphorien: it should report this error if it ever refers to somethng it shouldnt, and i dont see that error
selfsymmetric-pa has quit [Ping timeout: 240 seconds]
hakujin1 has joined #nixos
toby1851 has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
<qyliss> How can I replace the value of a separatedString, rather than appending to it?
<clever> qyliss: mkForce
<{^_^}> [nixpkgs] @dtzWill opened pull request #44137 → grv: 0.1.2 -> 0.2.0 → https://git.io/fNu39
<symphorien> I thought this might be due to mixing split output derivations and disallowed requisites, but on a toy example it works fine.
<clever> symphorien: the weird part, is that when any build fails, the outputs are left around, but not flagged as invalid
<qyliss> Wonderful, thank you clever
<clever> symphorien: and php is leaving $dev around
<clever> but $out is missing...
<{^_^}> [nixpkgs] @ttuegel opened pull request #44138 → hindent: build Emacs package with latest Melpa recipe → https://git.io/fNu35
ambro718 has quit [Quit: Konversation terminated!]
johanot has quit [Ping timeout: 265 seconds]
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
joelpet has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
joelpet has joined #nixos
joelpet has quit [Changing host]
joelpet has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #44138 → hindent: build Emacs package with latest Melpa recipe → https://git.io/fNu35
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/fNuGG
wchresta has joined #nixos
simukis has quit [Ping timeout: 256 seconds]
<pie_> how do i make it so that "gcc test.c -lglfw3" works? complains about not being able to find -lglfw3, ive added glfw3 to buildInputs
<pie_> i.e. im trying to run this in nix-shell shell.nix
<pie_> i mean im running the gcc commant in the shell that gives me >_
tertle||eltret has joined #nixos
chessai has joined #nixos
<symphorien> clever: making the php derivation a single output derivation works...
hakujin2 has joined #nixos
knupfer has joined #nixos
hakujin1 has quit [Ping timeout: 276 seconds]
<logzet> pie_: Have you tried -lglfw?
ersran9 has quit [Ping timeout: 268 seconds]
das_j has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
Denommus has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm merged pull request #43976 → sieve-connect: Init at 0.89 → https://git.io/fNll9
<{^_^}> [nixpkgs] @ryantm pushed commit from @dasJ to master « sieve-connect: Init at 0.89 »: https://git.io/fNunJ
<pie_> logzet, ugh, figures XD
<pie_> i could have sworn the examle i was looking at used -lglfw3
cryptomonoid has joined #nixos
<pie_> thanks...
<logzet> pie_: np ☺
<logzet> pie_: Btw if you didn't know: You can look into the content of the package by ls /nix/store/*glfw*/
<logzet> I find myself doing that a lot
<pie_> trying to figure out why i run into this https://github.com/bsl/GLFW-b/issues/44
<{^_^}> bsl/GLFW-b#44 (by eigengrau, open): Segfault when calling init
<clever> symphorien: trying with strace to confirm where the problem is
koisell_ has quit [Ping timeout: 245 seconds]
<tilpner> logzet - Consider function cnip() { cd $(nix-build --no-out-link "<nixpkgs>" -A "$1") }
<pie_> both the tests provided in https://github.com/bsl/GLFW-b/issues/44#issuecomment-379599012 seem to work but i think gcc might have a different environment than ghc so *shrug*
<tilpner> logzet - Then cnip glfw will take you right into the package
<pie_> then again if the haskell version works..
* pie_ is reminded to try strace
<das_j> Is symlinking between derivations supported?
<tilpner> das_j - Yes
<das_j> Hm, okay thanks
<gchristensen> [1] grahamc@Morbo> nix-shell -p '(python3.withPackages (p: [p.opencv3]))' --run "python -m opencv3"
<gchristensen> /nix/store/gxay7sx4jv1l69kcif1vw6vb28fsciws-python3-3.6.5/bin/python: No module named opencv3
<gchristensen> should this work?
<das_j> Does anyone know how to symlink directory trees? Is there some utility to do that?
<clever> das_j: buildEnv
<tilpner> das_j - Look at lndir
<tilpner> das_j - See <trivial-builders.nix> for an example (symlinkJoin)
<tilpner> {^_^} - Come on
<gchristensen> ,find trivial-builders.nix
<clever> gchristensen: -r-xr-xr-x 1 root root 5.0M Dec 31 1969 /nix/store/wj6bbdpd3bn5v4aajpk7z90lqm2np1zx-opencv-3.4.1/lib/python3.6/site-packages/cv2.cpython-36m-x86_64-linux-gnu.so
<das_j> I was faster {^_^}
<logzet> tilpner: But using cnip <package-you-don't-have-installed> would result in accidental builds (donwnloads in the best case), would'nt it?
<tilpner> logzet - Correct
<gchristensen> clever: not sure what this means :/
<tilpner> logzet - That is almost always what I want. Maybe I misunderstood your usecase
<clever> gchristensen: i dont see any opencv3.py files in there, i dont even see any py files
<gchristensen> ah
<clever> python -m cv2 reports a different error
<symphorien> clever: I got it to reproduce on a small example http://xelpaste.net/U5d7YQ
<gchristensen> hm indeed
<symphorien> note that if I use buildCommand instead of the normal phases it works
<logzet> tilpner: I wouldn't want to build the package, but it's unlikely that I use it on a package I have not installed
<logzet> tilpner: Aaaaand I added you function to my .zshrc, thanks for the tip ☺
<clever> symphorien: checking the logs this made: strace -s 5000 -ff -o logfiles -p 27568
<clever> symphorien: thats the pid of nix-daemon
goibhniu has quit [Ping timeout: 264 seconds]
logzet has quit [Remote host closed the connection]
chessai has quit [Ping timeout: 256 seconds]
<symphorien> it looks like a nix bug to me
<clever> 3486 lstat("/nix/store/f2vpwzxhh4a13qwaynr6sjs8kv3i8giw-a", 0x7fff9fdd3a20) = -1 ENOENT (No such file or directory)
<clever> the path is missing
<symphorien> I think I'll just report a bug with this minimal example
<clever> ah wait
<clever> this is prior to the build starting
<clever> 4205 lstat("/nix/store/1ik81mhahb31ly75x4np0njf42rk47x6-a.drv.chroot/nix/store/f2vpwzxhh4a13qwaynr6sjs8kv3i8giw-a", {st_mode=S_IFDIR|0755, st_size=2, ...}) = 0
<{^_^}> [nixpkgs] @bkchr opened pull request #44139 → Plasma Wayland → https://git.io/fNuc4
<pie_> ok turns out the issue was somewhere else.
cryptomonoid has quit [Ping timeout: 260 seconds]
<clever> 4212 rmdir("/nix/store/1ik81mhahb31ly75x4np0njf42rk47x6-a.drv.chroot/nix/store/f2vpwzxhh4a13qwaynr6sjs8kv3i8giw-a") = 0
<clever> symphorien: it looks like nix-daemon is deleting $out...
growpotkin has joined #nixos
<growpotkin> any urxvt users?
chessai has joined #nixos
<symphorien> growpotkin: yes ?
<growpotkin> Did you ever have like a weird popup window when using github?
<growpotkin> Like any time I go to push code this super gross looking GUI appears to get my login details
<symphorien> ah this is the ssh-ask-pass program
<symphorien> from the ssh-agent
<growpotkin> thank god someone knew the name lol
<growpotkin> i have been googling worthless stuff like "urxvt gross github popup"
<growpotkin> which obviously was fruitless
<symphorien> I got rid of it by replacing it with the gpg agent which is somewhat better
<clever> growpotkin: you want to use the ssh url, not the http url
TronDD-w has left #nixos [#nixos]
<growpotkin> so wait I should track something like "gith://github.com/foo/bar.git" instead of "https://..."
<growpotkin> is that what you mean clever?
<growpotkin> sorry "git://..."
<clever> [clever@amd-nixos:~/nixpkgs]$ git remote -v
<clever> clever git@github.com:cleverca22/nixpkgs.git (fetch)
<clever> ssh, not git
<growpotkin> OH
<growpotkin> mind blown
<growpotkin> thank you.
<clever> the http protocol just uses basic-auth, so your name/pw must be saved somewhere, and those should never be saved in a readable form
<clever> i'm not sure if git:// even supports auth?
<clever> the ssh protocol will use ssh key pairs, and those dont have total control over your account, and can easily be revoked
<symphorien> clever: you can put your findings here https://github.com/NixOS/nix/issues/2310
<{^_^}> nix#2310 (by symphorien, open): build fails with "path is not valid" with mutliple output derivation and disallowedRequisites
<clever> symphorien: sure
<tenten8401> this might be a dumb question but is there a way to get wine to compile on more than 1 thread?
<tenten8401> been sitting here waiting for ages and it's just going so slow
<tenten8401> nix.buildCores = 12 is set
<symphorien> add enableParallelBuilding = true on the corresponding derivation in nixpkgs
<symphorien> if it works make a PR ;)
<tenten8401> I have an override set and it still doesn't seem to be building with mroe than 1 thread
lambdamu has quit [Ping timeout: 240 seconds]
<symphorien> if the buildPhase is overridden it might not honor buildCores
programmer4 has joined #nixos
<symphorien> only the default buildPhase does, unless special care is taken
<clever> tenten8401: does your nix.conf specify how many cores to use?
<tenten8401> no, however I'm doing it through a rebuild
<srk> pkgs/misc/emulators/wine/base.nix sets enableParallelBuilding
<tenten8401> or as in should I check?
<clever> tenten8401: can you pastebin the contents of your nix.conf ?
<infinisil> ,find base.nix
<{^_^}> [nixpkgs] @spencerjanssen opened pull request #44140 → unixODBCDrivers.msodbcsql17: init at 17.2.0.1 → https://git.io/fNuC1
<tenten8401> uhg, even though I have nix.buildCores set it's still = 1
<clever> tenten8401: nix.buildCores only takes effect after nixos-rebuild finishes
<symphorien> you can also use nix show-config to debug
<tenten8401> that's what I figured, going to do a rebuild real fast without the wine build
<{^_^}> [nixpkgs] @jbboehr opened pull request #44141 → altcoins.mist: 0.10.0 -> 0.11.1 → https://git.io/fNuCh
<clever> tenten8401: nixos-rebuild switch --option build-cores 8
<tenten8401> ahh yeah that was it, set it to 12 now
<clever> you can override most nix.conf things with --option
<clever> symphorien: added a comment
<infinisil> clever: which ones can't be overridden via args?
<clever> infinisil: if you are a trusted user (which root is), then i believe you can override everything
<infinisil> Ah
programmer4 has quit [Ping timeout: 256 seconds]
<clever> infinisil: you can also override things that dont make sense to change, and cause problems, --option system x86_64-linux
the has quit [Ping timeout: 244 seconds]
<clever> this tricks a darwin machine into thinking it is a linux box, so nix tries to run an ELF file...
<infinisil> Yeah, well you never know, maybe somebody actually needs this flag
<clever> infinisil: ive used it to change the value of builtins.currentSystem with nix-instantiate :P
<clever> but then IFD tries to run a mach-o binary on linux, and everything explodes
Neo-- has quit [Ping timeout: 256 seconds]
<infinisil> Maybe there's a usecase to only eval stuff for different arches
<infinisil> Oh right, IFD..
<infinisil> Can't eval!
<clever> i was trying to see if the docker image build process correctly forced linux when being ran on darwin
<sophiag> is anyone here use opam2nix? a lot of ocaml packages aren't up to date in a way that has breaking changes and some popular ones aren't packages. i'll likely end up updating/writing these packages myself when i have the time (although in the broken case they're largely from jane st, so not sure how i feel about devoting work to that) but in the meantime am thinking of opam2nix as an option. i'm just finding it a bit confusing because
<sophiag> examples aren't written from a nixos perspective and i've never had a need to use similar tools, e.g. cabal2nix
<sophiag> wow, it's like irc turns off my sense of grammar
chessai has quit [Remote host closed the connection]
<symphorien> I have used it a bit in the past
<symphorien> I had to fix some things
<sophiag> symphorien: i may have spoke too soon. i think i was just looking at the wrong file to pull it from github. presumably i can just copy that into my configuration.nix and then just list opam packages as in their example?
<sophiag> and the very beginning of "Detailed usage instructions" here: https://github.com/timbertson/opam2nix-packages ?
<symphorien> yes
<sophiag> haha. okay, thanks
<sophiag> do you remember what was broken in it? the repo was updated just a month ago
<symphorien> you can even write your own package in a file and then in configuration.nix let mypkg = callPackage ./thefile.nix {;
<sophiag> ah, that should be useful for testing packages. assuming i don't get lazy and just use this instead
<clever> for testing, you probably want to use nix-build on a stand-alone file
<clever> nixos-rebuild for every single test is going to get anoying fast, and spam your grub config
<sophiag> good point. i haven't contributed much, although hopefully that will change now that my build is actually working
<sophiag> plus i likely made it more annoying for reviewers in the past
knupfer has quit [Ping timeout: 276 seconds]
pie_ has quit [Remote host closed the connection]
_d0t has joined #nixos
<_d0t> ohai
pie_ has joined #nixos
<_d0t> how do I alter pulseaudio's default.pa?
<clever> _d0t: the one in /etc/ ?
<_d0t> yup
<tilpner> hardware.pulseaudio.extraConfig
<_d0t> what if I need to remove a line from the default configuration?
<clever> line 39 inserts the string from the option tilpner gave
<clever> which line?
<_d0t> load-module module-suspend-on-idle
<_d0t> I have all of the sinks suspended for some reason
<clever> that default.pa is part of the pulseaudio package
<clever> so you will either need an override on pulseaudio, or hardware.pulseaudio.extraConfig = "unload-module module-suspend-on-idle"; maybe
<_d0t> well, yeah
<{^_^}> [nixpkgs] @LnL7 opened pull request #44142 → vim-plugins: automatic updates and additions → https://git.io/fNu8f
<clever> unload-module is simpler
<_d0t> trying that now
<clever> hardware.pulseaudio.configFile = mkDefault "${getBin overriddenPackage}/etc/pulse/default.pa";
viric has quit [Ping timeout: 240 seconds]
<clever> ah, you can also set hardware.pulseaudio.configFile to the path of your own default.pa file
<clever> that will entirely replace the one that is being .include'd
<clever> you could even make a derivation, for example...
<_d0t> too much work
<clever> hardware.pulseaudio.configFile = pkgs.runCommand "new-default.pa" "cat ${getBin overriddenPackage}/etc/pulse/default.pa | grep -v module-suspend-on-idle > $out";
<clever> _d0t: i think the above will work to just delete that line
viric has joined #nixos
<clever> oh, need to replace overriddenPackage
<_d0t> I tried with unload-module. No sinks are suspended, but I still have no sound :(
__monty__ has quit [Quit: leaving]
<clever> hardware.pulseaudio.configFile = pkgs.runCommand "new-default.pa" "cat ${getBin pkgs.pulseaudioLight}/etc/pulse/default.pa | grep -v module-suspend-on-idle > $out";
<clever> _d0t: try with this instead
<_d0t> I doubt it'll help
Wharncliffe has joined #nixos
Fare has joined #nixos
<_d0t> I mean, that module isn't loaded right now
<clever> check `alsamixer -c 0` and see if something is simply muted
<_d0t> Nothing is
<_d0t> except for Beep
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/95aa869f04c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<_d0t> ok, this is weird
kyren_ has joined #nixos
<das_j> I'm currently building a package and a script hangs. I wanted to edit the script as it lays in the FS, so I took the binary from htop and tried to edit it. However, as it turns out, the file does not exist, neither does any parent directory. The only thing that exists is a lock inside the nix store with the name of the target derivation. Where can I find the file?
Barnabas[m] has joined #nixos
<clever> das_j: look at /proc/<pid>/root with `ls -l`
patrl has joined #nixos
<das_j> it's /
<_d0t> I just got sound, but then it disappeared again
<das_j> Oh okay
<das_j> Yes, that makes sense, thank you!
<nek0> hi folks. quick question: How do I force nix to use gnumake instead of cmake for compiling?
shabius has quit [Quit: Leaving]
<symphorien> don't put cmake in nativeBuildInputs ?
<clever> nek0: nix itself, or a derivation being built with nix?
kyren has quit [Ping timeout: 260 seconds]
<nek0> clever, a derivation
Fare has quit [Ping timeout: 260 seconds]
<clever> nek0: then do what symphorien said, dont put cmake in the inputs
selfsymmetric-pa has joined #nixos
cryptomonoid has joined #nixos
<nek0> thanks!
wigust has joined #nixos
erasmas has quit [Quit: leaving]
dbmikus has quit [Ping timeout: 255 seconds]
sigmundv_ has joined #nixos
wigust- has quit [Ping timeout: 244 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
wchresta has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
programmer4 has joined #nixos
<kalbasit> unstable build worked all the way two time already https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents how come unstable channel hasn't moved yet?
<samueldr> kalbasit: relevant discussion earlier https://logs.nix.samueldr.com/nixos/2018-07-26#1532627761-1532627031;
<kalbasit> samueldr: oh, let me check
<samueldr> no worries, I would have answered with more details, but I do not grok hydra enough to re-hash that
<_d0t> I fixed the sound
<_d0t> it's weird
<_d0t> there was auto-mute mode enabled in alsa
<kalbasit> samueldr: no worries, all good
cryptomonoid has quit [Ping timeout: 264 seconds]
<chreekat> Having read that relevant earlier discussion, I must confess htat I still wonder "how do channels even"
programmer4 has quit [Remote host closed the connection]
<drakonis> possibly legacy?
<samueldr> chreekat: eventually, carefully
alex`` has quit [Ping timeout: 260 seconds]
<chreekat> hehe
das_j has quit [Quit: WeeChat 2.0]
patrl has quit [Quit: WeeChat 2.2]
<infinisil> p/b
<infinisil> (ignore that)
joebobjoe has joined #nixos
<joebobjoe> why is nix-env so slow for a lot of things
hakujin3 has joined #nixos
<joebobjoe> no other package manager I have used is so slow
<clever> ,-A
<{^_^}> You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<infinisil> joebobjoe: You mean listing packages? Use the new `nix search` instead of `nix-env -qaP`
<joebobjoe> infinisil: no I mean upgrading. nix-env --upgrade nixpkgs.\* is slow
* chreekat just spent about 3 seconds trying to figure out what the ,-A emoticon represents
hakujin2 has quit [Ping timeout: 256 seconds]
<infinisil> joebobjoe: Why do you expect upgrading everything would be fast?
<joebobjoe> infinisil: there was nothing to upgrade
<clever> --upgrade is just applying -i to every currently installed package
<clever> and -i is already slow
<joebobjoe> ok so my question is then, why is -i so slow
<clever> -iA is faster, but there is no way to make --upgrade use -iA
<clever> joebobjoe: the link above explains that
<joebobjoe> there is no way to patch nix-env?
<infinisil> You could of course just abandon the (imo) awful nix-env and have declarative packages, fast upgrades, and some more cool stuff
<joebobjoe> I'm just using nix-env because that was in the tutorial
<joebobjoe> are you telling me there is a better alternative?
<infinisil> ,nix-env-r
<{^_^}> A simple way to install all your packages declaratively is to use `nix-env -ir default.nix` with the file of the form `with import <nixpkgs> {}; { inherit hello; }` to install hello. Note that with the -r switch this removes all your previously installed packages
<infinisil> I guess it's still nix-env, but the good side of it :P
<infinisil> This essentially makes a composite package you declare in a nix file, and installing it means to install all the packages it consists
<infinisil> of
<joebobjoe> so the everything is a package route
<infinisil> ,home-manager
<{^_^}> home-manager allows you to manage your per-user configuration similarly to NixOS' configuration.nix: https://nixos.wiki/wiki/Home_Manager
<infinisil> Or this ^^
<infinisil> (Personally using home-manager)
<joebobjoe> infinisil: so if those are the better ways to do things why aren't they the default
<infinisil> home-manager is rather new
<joebobjoe> so nix is slow for noobs, fast for experts
Fare has joined #nixos
<infinisil> And nix-env -r is just a flag that may be a bit less used, because it essentially makes things declarative, which is not the norm with package managers. Everybody expects it to be imperative
<infinisil> Hmmm but yeah, I think the speed of nix-env could be improved
<joebobjoe> wow. ok I didn't realize nix was from early 2000s
<infinisil> joebobjoe: home-manager and nix-env -r doesn't require "expert" level to use :)
dbmikus has joined #nixos
<joebobjoe> right it but just doesn't make sense that nix-env --upgrade \* can't be fast
<joebobjoe> how slow do you have to be to find all installed packages and check for upgrades
<infinisil> Is that such big of a problem for you?
<infinisil> Yeah Nix isn't perfect, but the advantages is has sure are superb
jrolfs has quit [Ping timeout: 248 seconds]
vcunat has quit [Ping timeout: 256 seconds]
<nek0> another question: How do I query the location in the store of a dependency?
<infinisil> nek0: nix-store -q --tree /nix/store/... would give you the tree of dependencies of a derivation, you mean something like that?
dbmikus has quit [Ping timeout: 260 seconds]
<infinisil> Or nix-store -q --references prints the immediate dependencies
<nek0> infinisil: not really. I'm trying to build a new derivation for gmic and would like to have the location of "openexr"
tzemanovic has joined #nixos
<nek0> I'm trying to query it from inside the default.nix
<infinisil> nek0: Ah, just "${pkgs.openexr}" in a string
<clever> ${openexr}
<nek0> oh.
<chreekat> joebobjoe: I think it's fair to say the nix UI needs work. There is a new utility, just called 'nix', that makes some things better
<chreekat> I have yet to use it however
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
_d0t has quit [Quit: Leaving]
ajs124 has quit [Quit: Gateway shutdown]
worldofpeace has joined #nixos
<joebobjoe> chreekat: when will it be released?
<joebobjoe> oh I see it ships
CcxWrk has joined #nixos
jrolfs has joined #nixos
<infinisil> It's actually nix itself, not just a new utiliy
dbmikus has joined #nixos
<pie_> clever, any reason gdb wouldnt have line information if i compiled a program with debug symbols?
<pie_> *haskell program
<clever> pie_: does file say the program has debug info?
<pie_> i checked with objdump
sbdchd has joined #nixos
hakujin4 has joined #nixos
<pie_> gdb also says "reading debug symbols from [somepath] ... done"
<clever> pie_: not sure then
<pie_> thanks anyway
catch22 has quit [Quit: Leaving]
joebobjo1 has joined #nixos
hakujin3 has quit [Ping timeout: 256 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
joebobjoe has quit [Ping timeout: 240 seconds]
<pie_> clever, just because i think ive run into problems nix overriding arguments when compiling with gcc before
shabius has joined #nixos
<clever> > pkgs.enableDebugging pkgs.hello
<{^_^}> "<derivation /nix/store/83k71msibrhclm07wwmckhmrby0kipgb-hello-2.10>"
<clever> pie_: this will apply an override to enable debug symbols
<sophiag> symphorien: as expected, i ran into a little trouble trying to drop ocaml2nix directly into my configuration.nix. i have the let at the top, and `opam2nix = ..` in `nixpkgs.config = {..}` but that scoping is clearly wrong based on my call to `opam2nix.buildPackage`
<pie_> clever, the thing is, this is something i didnt compile with nix, just plain ghc, do you think that could still help?
<clever> pie_: i dont think ghc can put line-numbers that gdb can use into files
<pie_> then again, im looking at the debug info in the file right in front of me
<pie_> clever, it can, the wiki says so
<pie_> and shows examples
<clever> pie_: link?
<worldofpeace> bkchr[m]: Congrats on #44139 :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/44139 (by bkchr, open): Plasma Wayland
Sonarpulse has quit [Ping timeout: 248 seconds]
<sophiag> more general question (demonstrating my ignorance of the nix language despite a couple years with it): does it make any sense to have stdenv.mkDerivation in configuration.nix?
<pie_> clever, see mapping symbol names to source code section https://ghc.haskell.org/trac/ghc/wiki/Debugging/CompiledCode
Anton-Latukha has quit [Ping timeout: 240 seconds]
<clever> pie_: cant see anything that would break it
stanibanani has quit [Ping timeout: 240 seconds]
<pie_> all right
<pie_> maybe im just expecting to see something that wouldnt be there anyway, but i still find it odd that i dont see anything.
_d0t has joined #nixos
<_d0t> how do I properly package an electron app?
<clever> _d0t: if you can get just the JS from it, you can just run ${pkgs.electron}/bin/electron against it to start things
<_d0t> clever, no, I wanna add it to nixpkgs
<clever> _d0t: you can write a package that will generate a bash script to do that
rprije has joined #nixos
<_d0t> hmm
<clever> _d0t: only lines 19,20, and 27 are really needed, the rest is specific to this app
jackdk has joined #nixos
<clever> and getting the JS for rawapp is a different matter, and will depend on the package
<_d0t> interesting
<clever> _d0t: originally, this nix expression was unpacking a darwin package, ripping the JS out of it, then running it with the nixpkgs electron
<clever> but yarn2nix has since been added, and now the JS is "compiled" directly in nix
<tenten8401> would anyone here know why I'd be getting a "not an ELF binary... don't know how to load it" error when using wine? I think it's related to the 64-bit wine
<tenten8401> I have an override set to build a version of wine from a different github repo
<_d0t> I don't think it has anything other than JS and some static files in it
<clever> _d0t: look at the package.json, in the main field
<clever> if you point electron to a directory with a package.json, it will run whatever main points to
<_d0t> neat
<clever> the file it refers to is missing, so it has to be compiled first
<clever> _d0t: one option is to grab the .tar.bz2 from the release page, and unpack that, then check it for a package.json
<_d0t> clever, yup, that's what I thought
<tenten8401> guess what I should really ask is how I'd properly override wineWow with a different version that still builds under 64-bit
<tenten8401> this is the current override I've got: https://hastebin.com/lujinoyoma.bash
<clever> [clever@amd-nixos:~/Downloads]$ nix-build ~/nixpkgs/ -A electron
<tenten8401> would I just add something like wineBuild = "wineWow" to the pkgs.wine.overrideDerivation?
<clever> [clever@amd-nixos:~/Downloads]$ ./result/bin/electron Whalebird-1.5.3-linux-x64/resources/app.asar
<clever> _d0t: i now have a UI of some kind!
<_d0t> clever, thanks for trying
<_d0t> I'm still downloading this thing
<_d0t> :(
<clever> _d0t: so just make a derivation that unpacks this tar, copies some things to $out/share/whalebird, and then generates a bash script under $out/bin
<_d0t> yup
<pie_> clever, i think i figured out that something is wrong with my nix environment..., i can run glxgears outside it but not in it
<pie_> ok it might just be broken on unstable
<_d0t> I guess it's only app.asar and sounds that has to be copied
ericsagnes has quit [Ping timeout: 248 seconds]
alexteves has quit [Remote host closed the connection]
<tenten8401> this is so dumb... now I'm getting a random "file not found" error inside of wine for a file that clearly exists
hakujin4 has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 264 seconds]
hakujin4 has joined #nixos
Fare has joined #nixos
<tenten8401> nope, back to the "Not an ELF binary" error
joebobjo1 has quit [Ping timeout: 268 seconds]