gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || 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 ... nixcon videos: https://tinyurl.com/nixcon2018
<lbb> hm, i was wondering if the symlinks have something to do with that, but you're probably right
<lbb> will try there, thanks
<DigitalKiwi> gchristensen: is it better to use the substitute{inplace,allinplace,etc} or sed is there a difference I've had times I couldn't figure out how to make the substitute functions work only sed I don't know if it was my fault or some limitation
doyougnu has quit [Ping timeout: 245 seconds]
lbb has quit [Quit: Page closed]
<Church-> Hmm what is broken nixos...
<Church-> What
<gchristensen> DigitalKiwi: probably better to use the substitute functions
<infinisil> Church-: If you need any help then you should be a bit more descriptive than that :)
<gchristensen> infinisil: <3 :)
stepcut_ has quit [Ping timeout: 246 seconds]
<DigitalKiwi> gchristensen: ok, i've been tending towards that (other than the one i couldn't get to work)
scientist has joined #nixos
<Church-> infinisil: Just drunkenly rambling :)
<Church-> Diagnosising my nix on Android install
<scientist> hello guys, do you have any idea on how to fix these internal errors: https://hastebin.com/pukaqukequ.rb
<infinisil> scientist: Didn't you post exactly the same a couple weeks ago and I helped you there already?
<DigitalKiwi> what does a line like this mean in a python setup.py 'Pillow >= 4.0.0, != 5.1.0 ; sys_platform == "darwin"',
<scientist> this is my layout that I am trying to run: https://hastebin.com/ofiwebeluv.xml
erictapen has quit [Ping timeout: 268 seconds]
<Rusty1> npm -v
<DigitalKiwi> in the same one there's a 'pdfminer.six == 20181108 ; sys_platform != "darwin"', so does it want darwin or not darwin :|
<DigitalKiwi> or does it only want it if it's darwin and the other only if it's not darwin?
<scientist> infinisil: well those were different errors, I was wondering if you could try running this layout on your machine to see if you get the same errors ?
erictapen has joined #nixos
<infinisil> scientist: No, those are exactly the same errors
stepcut has joined #nixos
<scientist> infinisil: are you sure, i guess i am going in circles then
mko has joined #nixos
<mko> hey guys, new guy here, how can I set up my channels so that I can get latest changes from nixpkgs master branch?
<infinisil> DigitalKiwi: Go look at the python docs or ask some python devs, I heard there's lots of them in #python
rcshm has quit [Read error: Connection reset by peer]
Erasmus has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<scientist> infinisil: thanksi will fix it now, for some reason the shift keys haven't been working so lets see if i can fix this, almost done
growpotkin has joined #nixos
<DigitalKiwi> infinisil: i'm not a python dev i'm just trying to package this shitty fucking program for nix and it's fucking pissing me off i've spent fucking weeks on it and i'm sick as fuck of it :| about to say fuck it
rcshm has quit [Read error: Connection reset by peer]
<DigitalKiwi> and fuck #python
<growpotkin> hey are there any lispers on here right now? I'm just starting to dip my feet in the water with CLISP, and I haven't found much documentation on getting Nix to play nicely with "Quicklisp", which seems to be used in loads of Lisp projects.
<DigitalKiwi> ask me how i really feel about this shit :|
rcshm has joined #nixos
mko has quit [Quit: Page closed]
<growpotkin> I really agree with DigitalKiwi
<growpotkin> lol
<growpotkin> I have fought python so much trying to package stuff
<infinisil> DigitalKiwi: Swearing isn't really appreciated here, but yeah sometimes it's annoying
<DigitalKiwi> AND WHY DO I KEEP GETTING THIS waiting for locks or build slots...
<infinisil> I haven't had much trouble, oftentimes the right thing to do is to just patch setup.py
<growpotkin> I'm not a python dev, but I did manage to get a few packages working. Let me know if I can help.
doyougnu has joined #nixos
<clever> DigitalKiwi: are you building similar things in multiple windows?
<DigitalKiwi> infinisil: i know i try not to i'm just really frustrated with this
rycwo has quit [Ping timeout: 252 seconds]
utdemir has quit [Quit: WeeChat 2.2]
tshaynik has quit [Quit: WeeChat 1.0.1]
<gchristensen> DigitalKiwi: I know what you mean, it can be mind-numbingly, eye-poppingly frustrating sometimes :(
<infinisil> > filter (hasPrefix "quicklisp") (attrNames pkgs)
<{^_^}> [ "quicklispPackages" "quicklispPackagesClisp" "quicklispPackagesFor" "quicklispPackagesSBCL" "quicklispPackages_asdf_3_1" ]
<infinisil> growpotkin: Seen those ^
<infinisil> ?
scientist has quit [Quit: WeeChat 2.2]
<simpson> DigitalKiwi: The only solace I can offer is that doing Python professionally is not any more rewarding, but can get much stupider than what you've encountered so far.
kandinsk1 is now known as kandinski
<simpson> Are you working with public code, by chance?
<growpotkin> Thanks, I was going to take a gamble and try them out; just wanted to poke my head in and see if anybody could lend some pointers before I go wandering around in the dark haha
<DigitalKiwi> simpson: it's ocrmypdf
<growpotkin> Give up
<DigitalKiwi> clever: how do you mean?
<growpotkin> I've tried
<simpson> DigitalKiwi: Nifty. What's currently broken?
<growpotkin> lol
<growpotkin> I have literally dumped over 10 hours into OCR
<clever> DigitalKiwi: if you try to nix-build the same thing in 2 windows, one will build, and the other will wait on a lock
<growpotkin> I can give you the derivations I made; but it has an upstream dependency that absolutely refuses to build
scientist has joined #nixos
yl has quit [Ping timeout: 245 seconds]
mbrgm has quit [Ping timeout: 240 seconds]
<sm> when you're searching for builds on https://hydra.nixos.org , is there search syntax for limiting the results eg to nixpkgs only
<growpotkin> DigitalKiwi: You will need to package the dependencies: hocr-tools, pikepdf, setuptools_scm_git_archive, and then you can do ocrmypdf
<growpotkin> DigitalKiwi: sadly i cannot get hocr-tools to build
<DigitalKiwi> clever: oh i only do one at a time but i have distributed builds so it's probably got something to do with that but i've tried lots of different things and it more or less is always there the only thing that seems to fix is sometimes --builders '' gets it passed
<growpotkin> DigitalKiwi: I did get pikepdf and setuptools to work if you want those deriviations
mbrgm has joined #nixos
<infinisil> sm: Click on nixpkgs?
<scientist> infinisil: thanks, eveything seems to be working except for the shift keys, I have no idea ?
<DigitalKiwi> growpotkin: https://dpaste.de/fnJY/raw
<infinisil> sm: Oh you mean the search bar up top? No idea about that one, I never use it
ng0 has quit [Ping timeout: 256 seconds]
<sm> yes, unfortunately the search bar always searches all channels
<infinisil> sm: I'd just go to the job set you're interested in directly and search there
<DigitalKiwi> simpson: i got it to build at some point but not do the tests and the i started making it actually PR worthy and found i'd done some things wrong probably anyway and it's just been a hellhole of finding other broken stuff and more things to package :|
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<simpson> DigitalKiwi: Sounds about right for packaging an application. This app sounds like it deals with PDFs and does OCR; both of those sound like very customized packages.
Myhlamaeus has quit [Ping timeout: 252 seconds]
<sm> infinisil: drill down is better, you're right
<growpotkin> DigitalKiwi: here are my derivations - https://gist.github.com/BadDecisionsAlex/bad0e3eab9836675222971a1cd02559f
<sm> and I guess "master" is the unstable channel
stepcut has quit [Ping timeout: 252 seconds]
<sm> I mean, "trunk"
talqu has quit [Ping timeout: 245 seconds]
<infinisil> sm: nixpkgs / trunk I think is nixpkgs-unstable yeah
<DigitalKiwi> growpotkin: i couldn't get the setuptools_scm_archive i just patched it out like the only other thing in nixpkgs that needed it
<growpotkin> DigitalKiwi: to get OCRtoPDF to build you will need to get hocr-pdf packaged
<infinisil> (why does this have to be so confusing man)
<growpotkin> DigitalKiwi: you can use that derivation to get setuptools_scm_archive
<samueldr> infinisil: yes nixpkgs:trunk is nixpkgs-unstable
<infinisil> samueldr: Why can't it be named nixpkgs:unstable?
jluttine has joined #nixos
<samueldr> no idea, probably hold-over from svn trunk?
<infinisil> Ah yeah something something legacy
<infinisil> probably
<DigitalKiwi> growpotkin: i got it to build without that i was able to run it
<growpotkin> DigitalKiwi: did you disable tests or something? I couldn't get it to build without it
<DigitalKiwi> growpotkin: this is what i had at that point https://gist.github.com/Kiwi/9d69fd15419223b4d97c02881a431d14
<DigitalKiwi> yeah the tests were off
<growpotkin> oh I see you patched it out
<DigitalKiwi> (the stuff there has all been replaced with much better versions by now)
<sm> and I guess hydra only keeps build logs for a few days ? I am getting a lot of 404s
<sm> not 404s, but "The log file is not available."
rcshm has quit [Read error: Connection reset by peer]
<clever> sm: hydra uploads the logs to cache.nixos.org
<gchristensen> nix log $(which bash)
<growpotkin> DigitalKiwi: damn you've got a lot of work done here. I need to do some work; but keep in contact with me. I would love to get that working
rcshm has joined #nixos
<scientist> infinisil: could you try running this on your computer, I just want to see if your shift keys are working: https://hastebin.com/tubehakuwo.xml
<sm> "build log of hledger is not available"
<Ralith> rycee: you know, I don't think `home-manager switch` should kill emacs just because it's a systemd service now
jluttine has quit [Ping timeout: 245 seconds]
stepcut has joined #nixos
<sm> (from a different command, since I don't have nix-installed hledger right now: nix log -f '<nixpkgs>' hledger)
<growpotkin> Ralith: I strongly agree
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57613 → vscode: 1.32.1 -> 1.32.2 → https://git.io/fjecM
<infinisil> scientist: Works for me
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to master « vscode: 1.32.1 -> 1.32.2 »: https://git.io/fjeCl
<aanderse> there isn't really a convenient way to use dynamic user with a phpfpm service, especially when you start combining it with things like apache and other systemd services, is there...
<infinisil> scientist: Try running `nix-shell -p xorg.xev --run xev`, then press enter in the window that opened and look what it outputs
<DigitalKiwi> growpotkin: i also updated pdfminer and weboob had PR for that and there's someone elses pybind11 PR that i can't get the tests to work without it's broken right now too i think idk
<infinisil> aanderse: I found that dynamic user stops working well when it's not a neatly encapsulated service anymore and needs to interact with others
ng0 has joined #nixos
<aanderse> infinisil: mhm that was my suspicion... thx for confirming
<aanderse> i hate to make new user ids though :\
<infinisil> No need to make it static
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-19.03 « vscode: 1.32.1 -> 1.32.2 »: https://git.io/fjeCB
<aanderse> infinisil: i feel like static ids is a pretty big win for sysadmins using nixos
<aanderse> did you have a specific reason why i shouldn't make a static id?
<infinisil> aanderse: I mean, what's the point if NixOS keeps /var/lib/{g,u}id-map
<aanderse> i haven't looked deep enough or recently enough at the code, but if i say service.blah.enable = true; then switch to that, change to .enable = false, switch to that, and then rollback, am i guaranteed the service will work?
<aanderse> i thought the answer was no
<aanderse> i mean, given that /var/lib/blah is populated with data
<aanderse> and owned by user blah
<aanderse> etc...
<infinisil> aanderse: The answer is yes, because /var/lib/{g,u}id-map exists :)
<scientist> infinisil: thanks i'll try out this command now
stepcut has quit [Ping timeout: 245 seconds]
<infinisil> aanderse: NixOS keeps all user ids there, even if they were deleted
<clever> infinisil: i staticly assign uids, so they have the same uid on every box, and then nfs is simpler to manage
<infinisil> clever: I think with nfs4 this need disappeared
<infinisil> aanderse: And when you reenable a service and it finds a uid in uid-map, it resurrecs that user
<aanderse> ahhhh! so the static ids are pretty much just for when you migrate a service to a new server then?
scientist has quit [Quit: WeeChat 2.2]
alex`` has quit [Quit: WeeChat 2.4]
thc202 has quit [Ping timeout: 244 seconds]
jluttine has joined #nixos
<aanderse> infinisil: also, thanks for copying me in on that issue regarding nixos building speed
<aanderse> very interesting to hear
<infinisil> aanderse: Hmm, I wouldn't even use them then, I'd code the service so it always makes the state files have the correct uid on service start
<infinisil> aanderse: :)
<clever> infinisil: i'm used to the days when that didnt exist :P
<aanderse> infinisil: in that case... what do you (or would you) use them for?
<aanderse> or... you wouldn't?
<clever> infinisil: also, it makes things simpler when your doing recovery, and mounting disks in the "wrong" system
<infinisil> aanderse: I haven't found a good usecase if we have gid-map, so right now I wouldn't use them for anything
<aanderse> good to know, thanks
stepcut has joined #nixos
<infinisil> clever: Hmm I guess, that's a very specific set of circumstances though, I don't think static uid's are worth this
<clever> infinisil: though i only do that for users i have a shell as, and that own a lot of files
<clever> infinisil: for random nixos services, i dont bother
<{^_^}> #57555 (by Kiwi, 23 hours ago, merged): pythonPackages.weboob: fix build
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
o1lo01ol1o has joined #nixos
<infinisil> clever: Ah yeah, that admittedly makes sense, but it's nothing that could be done with the ids.nix map in nixpkgs
rcshm has quit [Read error: Connection reset by peer]
* sm finds https://nixos.wiki/wiki/FAQ#Why_.3Chash.3E-.3Cname.3E_instead_of_.3Cname.3E-.3Chash.3E.3F unclear
<samueldr> sm unclear how?
<simpson> DigitalKiwi: Ah, a happy ending.
rcshm has joined #nixos
<sm> samueldr: it didn't answer the question in a way that I understood
<sm> I'm still wondering why not names first
<samueldr> ah, the initial part is all of the same length
* sm read some old Debian rant about this from 200x
<samueldr> so visually parsing packages is easier
<clever> sm: you can uniquely identify almost any storepath with just the first 4-5 characters of the hash
<infinisil> That section should be adjusted yeah
<clever> sm: rather then having to type out the full package name, then 4-5 characters of the hash
<sm> those help, thanks
<{^_^}> [nixpkgs] @jtojnar opened pull request #57614 → Librem5 phone apps → https://git.io/fjeCX
ilmu has quit [Ping timeout: 272 seconds]
<infinisil> :O ^^^
<infinisil> jtojnar++
<{^_^}> jtojnar's karma got increased to 8
scientist has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
<jtojnar> I had them packaged for a while now, just updated them and pushed
<aanderse> phone apps? as in like sip/voip?
<samueldr> looks like a virtual keyboard, phosh is the shell IIRC and two apps
<samueldr> (shell as in gonme shell, not bash)
<aanderse> yeah never heard of them ok...
<aanderse> linphone seems broken in nixos
<aanderse> so had to resort to flatpak to install it
<aanderse> gross
<scientist> infinisil: https://hastebin.com/nazuloyalo.cs heres the output.
<samueldr> they're for the librem 5 phone, but in reality, they're "just" gnome apps, which is a good thing imo
<samueldr> (right? they are just gnome apps?)
<infinisil> samueldr: Yeah
<infinisil> Uh
<infinisil> Not sure about that, but if so, that would be great
jluttine has quit [Ping timeout: 252 seconds]
<georgew> Nix should really participate in this https://developers.google.com/season-of-docs/
growpotkin has quit [Quit: WeeChat 2.4]
iqubic has joined #nixos
camsbury has quit [Ping timeout: 252 seconds]
<scientist> infinisil: i am going to try another solution, i will let you know how it goes, thanks and later, I have to go
<infinisil> scientist: Well you can probably just add `key <RTRN> { [ Return ] };` to fix it too
<infinisil> Not sure why that would not be defined by default though
jluttine has joined #nixos
<scientist> infinisil: will this fix my shift keys
<infinisil> scientist: Ohhh, shift /= return, sorry I got confused there
<infinisil> scientist: Yeah shift doesn't work with your layout for me either
<infinisil> scientist: Well the reason for that is pretty obvious, you defined your keylayout to be one level only
<infinisil> scientist: key.type = "ONE_LEVEL";
<scientist> infinisil: Ok, I'll try that out one more time, will the command work for both left shift and right shift ?
<infinisil> ,tias scientist
<{^_^}> scientist: Try it and see! (then tell us what you saw)
<infinisil> aanderse: Btw, check out how I'm handling user+group here: https://github.com/Infinisil/system/blob/master/config/new-modules/murmur.nix
<infinisil> aanderse: It allows you to set user/group with `users.users.murmur.name = "foobar"`, the tmpfiles makes sure that the state directory always has the right permissions
jluttine has quit [Ping timeout: 240 seconds]
<aanderse> ah ok
<aanderse> i see
<infinisil> No need for a user/group option with this :)
<scientist> infinisil: ok, so is it a level for each row, i am confused :(
jasongrossman has joined #nixos
<infinisil> scientist: You have key.type = "ONE_LEVEL" in your config, this makes it so there's only one layer of your keyboard, so Shift can't switch to the capital-letter layer
<scientist> infinisil: key.type = "TWO_LEVEL" so do I put this and the two shift keys in the config ?
freeman42x has quit [Ping timeout: 252 seconds]
<infinisil> scientist: Just try to remove that ONE_LEVEL line
<scientist> infinisil: thanks for the tip, I will give it a try now
<{^_^}> [nixpkgs] @worldofpeace merged pull request #57338 → lightdm: disable writing dmrc files to home → https://git.io/fhjTg
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lightdm: disable writing dmrc files to home »: https://git.io/fjeCS
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-18.09 « vscode: 1.32.1 -> 1.32.2 »: https://git.io/fjeCQ
iqubic has joined #nixos
<scientist> i have to reboot, i'll be back in a bit
scientist has quit [Quit: WeeChat 2.2]
ng0 has quit [Quit: Alexa, when is the end of world?]
rcshm has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « lightdm: disable writing dmrc files to home »: https://git.io/fjeCA
rcshm has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjeCh
jluttine has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
scientist has joined #nixos
<scientist> infinisil: thanks for all your help I finally got the keyboard layout working correctly without any errors
<infinisil> Cool :)
* Android removes haskell.packages.ghc822.adb
vk3wtf has joined #nixos
* Android removes all haskell packages
hellauer has quit [Quit: WeeChat 2.4]
<Android> is this important
<Android> collision between `/nix/store/drsk4s06lrm98lp2daymiaiqamfj2d7d-android-sdk-26.1.1/bin/adb' and `/nix/store/6z87xnh2ndcn67lhkzrysxiy0irqxysg-android-platform-tools-r26.0.2/bin/adb'
<scientist> infinisil: I have one more question, I am going to give emacs a try but I keep hearing about the pinky problem, so I was wondering how do I switch ctrl left with caps lock and make ctrl left and right into sticky keys, I read the arch linux instructions but it is confusing
<{^_^}> [nixpkgs] @aaronduino opened pull request #57617 → nixos/manual: clarify declarative packages section → https://git.io/fjeWY
<infinisil> scientist: no idea
<infinisil> Well i do have some clues, but it's too late for me now
<{^_^}> [nixpkgs] @booxter opened pull request #57618 → Patch patchself for golang support → https://git.io/fjeWs
snajpa has left #nixos [#nixos]
<{^_^}> [nixpkgs] @jtojnar opened pull request #57619 → gnome3.totem: Add codecs to Nautilus extension → https://git.io/fjeWW
Glider_IRC has quit [Ping timeout: 252 seconds]
<scientist> infinisil: it's fine, i'll read the instructions again try to map the keys again, i'll let you guys know tomorrow if i still can't figure it out
goibhniu has quit [Ping timeout: 246 seconds]
<infinisil> scientist: btw this is not nixos specific, you can ask in all linux channels
<Android> how do do i update Android Studio https://imgur.com/a/VpQmuE0
silver has quit [Read error: Connection reset by peer]
<scientist> infinisil: ok I understand, it's just in nixos everything is done differently, I am still used to ubuntu
orivej has quit [Ping timeout: 245 seconds]
rcshm_ has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
hlolli has joined #nixos
rcshm_ has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
growpotkin has joined #nixos
<growpotkin> Is there any documentation for SBCL and LISP on NixOS?
<growpotkin> all i can find is some really old blogs floating around
<growpotkin> I cannot figure out how to get this setup :(
cryptomonad has quit [Ping timeout: 252 seconds]
iqubic` has joined #nixos
reallymemorable has quit [Ping timeout: 246 seconds]
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #57620 → gnome3.gnome-settings-daemon: bypass polkit by using an suid wrapper → https://git.io/fjeW2
sigmundv has quit [Ping timeout: 246 seconds]
iqubic has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed 46 commits to gnome-3.32: https://git.io/fjeWa
o1lo01ol1o has joined #nixos
reallymemorable has quit [Ping timeout: 252 seconds]
<jasongrossman> growpotkin: There's a sbcl package, and also sbcl-bootstrap. I don't know what the difference is. sbcl works for me.
<growpotkin> jasongrossman: how do you do your modules?
<growpotkin> jasongrossman: Does asdf work for you?
<jasongrossman> scientist: xserver.xkbOptions = "ctrl:nocaps";
work_ has quit [Quit: Connection closed for inactivity]
<jasongrossman> growpotkin: I haven't tried recently, or much at all, but I think asdf worked last time I tried it.
stepcut_ has joined #nixos
<jasongrossman> growpotkin: You could look at the stumpwm package, which is well maintained and which I THINK uses asdf.
<growpotkin> jasongrossman: thank you
<jasongrossman> scientist: Sorry - I misread your question.
stepcut has quit [Ping timeout: 245 seconds]
<jasongrossman> scientist: What I pasted above makes the caps lock key into a control key, but doesn't answer the rest of your questions.
<scientist> jasongrossman: thanks for the tip, i am reading the documentation to try and figure this out
drakonis_ has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
doyougnu has quit [Quit: WeeChat 2.2]
scientist has quit [Quit: WeeChat 2.2]
drakonis has quit [Ping timeout: 240 seconds]
<growpotkin> jasongrossman: ok wait one more. Did you install linedit/cl-readline from nix?
iqubic` is now known as iqubi
iqubi is now known as iqubic
<iqubic> is it possible to install a *.appimage on linux?
<iqubic> I mean NixOS.
<{^_^}> [nixpkgs] @ryantm merged pull request #57386 → pius: fix dependencies → https://git.io/fhjsm
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjeW1
<tdeo> is there any way to override libpulseaudio in the `firefox` package? it has a weird structure and i'm not sure how to change it without overriding it globally
drakonis has joined #nixos
<tdeo> iqubic: `appimage-run` lets you run appimages with `appimage-exec program.AppImage`
<iqubic> Oh. Cool.
<iqubic> That's great.
stepcut_ has quit [Ping timeout: 246 seconds]
<iqubic> Does it make a temporary FSH like steam-run does?
<tdeo> i believe it's generated at build time but yes
<jasongrossman> growpotkin: Haven't tried that - sorry.
<infinisil> tdeo: I think (wrapFirefox.override { libpulseaudio = foo; }) firefox-unwrapped {}
<tdeo> thanks, i'll try that
stepcut has joined #nixos
<tdeo> worked
<infinisil> Oh wait
<infinisil> It did?
<tdeo> yep
<infinisil> Alright :). I think `wrapFirefox (firefox-unwrapped.override { libpulseaudio = throw "hi"; }) {}'` does something too
rcshm_ has quit [Ping timeout: 272 seconds]
<infinisil> Not sure what the difference is
<tdeo> i think the second one rebuilds it from source, first one just modifies the wrapper script (it's used there)
<tdeo> yeah, seems to be rebuilding
reallymemorable has joined #nixos
stepcut has quit [Ping timeout: 246 seconds]
stepcut has joined #nixos
hlolli_ has joined #nixos
hlolli has quit [Ping timeout: 240 seconds]
marusich has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
jtojnar has quit [Remote host closed the connection]
Erasmus has joined #nixos
<growpotkin> jasongrossman: IT LIVES!
<growpotkin> jasongrossman: Thank you
<jasongrossman> growpotkin: Yay! \o/
marusich has quit [Remote host closed the connection]
marusich has joined #nixos
<mightybyte> Is there any way to globally disable running of test suites for Haskell packages?
justanotheruser has joined #nixos
<growpotkin> mightbyte: you pretty much need to do it as overrides
Android_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
Android has quit [Ping timeout: 255 seconds]
simukis has quit [Quit: simukis]
o1lo01ol1o has joined #nixos
<Android_> where is the correct place to install global scripts
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<mightybyte> growpotkin: That's really annoying.
<hyper_ch_> writescriptbin maybe
<{^_^}> [nixpkgs] @ryantm merged pull request #57612 → tiled: 1.2.2 -> 1.2.3 → https://git.io/fjec6
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjelY
mkoenig has quit [Remote host closed the connection]
* Android_ installes to /bin
<Android_> ;-; i keep getting 127
<Android_> from Customize IntelliJ IDEA > Create Launcher Script
Diagon has joined #nixos
<Android_> IDEA does not have write access to /nix/store/3hwk0hmm6hdragavx4rjzfjb3dx9yh8q-idea-community-2018.3.3/idea-community-2018.3.3. Please run it by a privileged user to update.
Diagon has quit [Remote host closed the connection]
adetokunbo has quit [Quit: This computer has gone to sleep]
<DigitalKiwi> growpotkin: either my computer is getting slower, i've lost track of time, or this has gotten significantly further in the tests than it used to...
drakonis has quit [Quit: WeeChat 2.3]
marusich has quit [Ping timeout: 252 seconds]
<DigitalKiwi> :| i'm going with the lost track of time one
adetokunbo has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56686 → gnustep.gorm: 1.2.23 -> 1.2.24 → https://git.io/fhAPa
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjelV
marusich has joined #nixos
rauno has quit [Remote host closed the connection]
bgamari has quit [Ping timeout: 264 seconds]
hlolli_ has quit [Ping timeout: 240 seconds]
<Myrl-saki> Jesus christ
<Myrl-saki> [myrl@myrl:~/Development/fSpy]$ nix build --option substituters ''
<Myrl-saki> [4/6/1261 built]
<Myrl-saki> uhhhhh
stepcut has quit [Remote host closed the connection]
<simpson> Rad.
stepcut has joined #nixos
<Myrl-saki> Okay. I finally got it through the bincache.
<Myrl-saki> [myrl@myrl:~/Development/fSpy]$ nix build
<Myrl-saki> [4/94/1255 built, 0.0 MiB DL]
<Myrl-saki> So yeah, I shouldn't have been surprised, but there are no hits.
<Myrl-saki> Heurestically, this is downloading 600+ packages, and building them afterwards.
<Myrl-saki> Hm. Maybe we should add {depth,breadth}-first building for Nix?
<Myrl-saki> Like, as an option.
stepcut has quit [Ping timeout: 245 seconds]
<Myrl-saki> Depth-first is useful for when your bandwidth gets saturated, and breadth-first for when you want to be able to do the building offline.
<Myrl-saki> Any thoughts?
rprije has quit [Ping timeout: 246 seconds]
rprije has joined #nixos
<monokrome> Yo! Has anyone seen this before? https://imgur.com/a/LqjwhND
Rusty1 has quit [Quit: Konversation terminated!]
jackdk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @7c6f434c pushed to libreoffice-update « libreoffice: 6.1.4.2 -> 6.1.5.2, 6.2.1.2 »: https://git.io/fjelQ
<monokrome> because wat >.<
mojjo has joined #nixos
<DigitalKiwi> i think i've seen that before
<monokrome> NixOS doesn't install on the last 5 machines I've tried it on now :'( lol
<mojjo> hi! I'm still on 18.3 as migrating caused some problms and i did not have the time to care. I'd like to use a 12.* version of purescript which is available only since 18.9. I have an overlay on my pkgs pointing to a recent commit of 18.9, when building purescript from there, I get a ghc compile error 'Setup: Encountered missing dependencies: base >=4.2 && <4.11'.. does anyone have an idea for a quick fix?
ihar has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #57621 → pythonPackages.xlib: 0.17 -> 0.25, enable tests → https://git.io/fje8U
ddellacosta has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 240 seconds]
rauno has joined #nixos
terlar has quit [Ping timeout: 246 seconds]
Havvy has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
vk3wtf has quit [Ping timeout: 240 seconds]
vonfry has joined #nixos
<colemickens> Is it possible for mesa-glu to reference mesa's source?
<colemickens> Would one ever want `mesa{,-glu}.src` to be different?
<{^_^}> [nixpkgs] @dtzWill opened pull request #57623 → dnscrypt-proxy2: 2.0.15 -> 2.0.20 → https://git.io/fje8W
<{^_^}> [nixpkgs] @dtzWill opened pull request #57624 → ethtool: 4.19 -> 5.0 → https://git.io/fje8l
<{^_^}> [nixpkgs] @dtzWill opened pull request #57625 → netatop: 1.0 -> 2.0, fixes compat with kernels >= 4.13 → https://git.io/fje88
orivej has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57626 → cgmanager: 0.41 -> 0.42 → https://git.io/fje8B
mojjo has quit [Ping timeout: 246 seconds]
Android has joined #nixos
Myhlamaeus has joined #nixos
Android_ has quit [Read error: Connection reset by peer]
vmandela has joined #nixos
thomashoneyman has joined #nixos
bgamari has joined #nixos
<thomashoneyman> i think i'm going crazy. i've got i3 installed, now, and x's dpi set to 240 (96 * 2.5), and that gets things like Firefox and Slack and the toolbar looking decent.
<thomashoneyman> but the text in the console is ludicrously small
<thomashoneyman> and the mouse pointer, too
<DigitalKiwi> if you figure out how to fix all of those please let me know ;_;
<thomashoneyman> i've been googling around for an hour and i can't find anyone who has written about getting this to work. i installed kde plasma 5 before i3 and noticed that setting system scaling to 2.5 addresses the mouse and console, too
<thomashoneyman> oh no!
<thomashoneyman> DigitalKiwi: how do you do anything?
<DigitalKiwi> have you seen the pages on the arch wiki
<DigitalKiwi> i squint
<thomashoneyman> i've got the #HiDPI part of the wiki up
orivej has quit [Ping timeout: 245 seconds]
<DigitalKiwi> my fonts in lxterminal are fine, but the framebuffer before i start a displaymanager are tiny and i'm not there long enough to have bothered to figure it out, and the mouse cursors are big enough usually...
<DigitalKiwi> some scrollbars are too small to be practical tho :|
BlessJah has quit [Ping timeout: 255 seconds]
thomashoneyman has quit [Ping timeout: 256 seconds]
rcshm has joined #nixos
disasm has quit [Ping timeout: 246 seconds]
thomashoneyman has joined #nixos
<thomashoneyman> DigitalKiwi: oops, tried something and rebooted and lost the chat history
<thomashoneyman> i may have missed some messages
reallymemorable has quit [Ping timeout: 246 seconds]
<thomashoneyman> i stumbled across a config which seemed to claim that adding terminus as a system package fixed the terminal font
rcshm has quit [Client Quit]
palo1 has joined #nixos
knupfer has joined #nixos
emacsomancer has joined #nixos
palo has quit [Ping timeout: 252 seconds]
palo1 is now known as palo
disasm has joined #nixos
emacsoma1 has joined #nixos
emacsomancer has quit [Ping timeout: 250 seconds]
dramforever has joined #nixos
emacsomancer has joined #nixos
emacsoma1 has quit [Ping timeout: 246 seconds]
jasongrossman has joined #nixos
jbgi has joined #nixos
reinhardt has joined #nixos
reinhardt has quit [Remote host closed the connection]
thomashoneyman has quit [Ping timeout: 256 seconds]
Myhlamaeus has quit [Ping timeout: 252 seconds]
hyper_ch2 has joined #nixos
timor has joined #nixos
dramforever has quit [Ping timeout: 250 seconds]
<hyper_ch2> hi clacke[m]
<hyper_ch2> hi clever
Erasmus has quit [Read error: Connection reset by peer]
<sb0> hi
<sb0> it seems that when I'm building a fixed-output derivation on hydra, and the buildPhase fails, the job gets stuck in the "Scheduled to be built" state
<sb0> it is in the "Build in progress" state while the buildPhase is running, then after the failure goes into "Scheduled to be built" and stays there
<sb0> is that expected behavior? or a known bug?
<{^_^}> [nixpkgs] @etu merged pull request #57245 → php: add custom options → https://git.io/fhhQ3
<{^_^}> [nixpkgs] @etu pushed 2 commits to master: https://git.io/fje8j
nikivi has joined #nixos
LysergicDreams has quit [Quit: leaving]
q6AA4FD has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #57624 → ethtool: 4.19 -> 5.0 → https://git.io/fje8l
<{^_^}> [nixpkgs] @bjornfor pushed commit from @dtzWill to master « ethtool: 4.19 -> 5.0 »: https://git.io/fje4T
timor has quit [Ping timeout: 252 seconds]
Ariakenom has joined #nixos
jasongrossman has quit [Read error: Connection reset by peer]
<sb0> trying installPhase makes hydra attempt several rebuilds...
<{^_^}> [nixpkgs] @teto opened pull request #57628 → linux_mptcp: 0.94.1 -> 0.94.3 → https://git.io/fje4t
Makaveli7 has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
Fare has quit [Ping timeout: 252 seconds]
<sb0> is there some special treatment of fixed-output derivations in hydra, where they are attempted multiple times with a timer, instead of failing immediately?
<sb0> I'm RTFS-ing but can't find anything
BlessJah has joined #nixos
Fare has joined #nixos
hyperfekt has quit [Ping timeout: 256 seconds]
<sb0> aha yes there is
<sb0> possibly transient failure building ‘/nix/store/svid8m32x276qn0xnj8ncnkq9mmf9k36-kc705-tests.drv’ on ‘localhost’: will retry ‘/nix/store/svid8m32x276qn0xnj8ncnkq9mmf9k36-kc705-tests.drv’ after 542s
<sb0> now that gives me something to grep the source for ...
pemeunier has quit [Quit: leaving]
pemeunier has joined #nixos
vidbina has joined #nixos
Dr8128 has joined #nixos
<hyper_ch2> clever: just tried to install nixos with encrypted zfs on those super cheap ovh cloud VPSes -- works fine
<hyper_ch2> clever: using your kexec
freeman42x has joined #nixos
kisik21` has joined #nixos
Fare has quit [Ping timeout: 245 seconds]
reinhardt has joined #nixos
<sb0> argh, seems this is all hardcoded
wfranzini has joined #nixos
jbgi has quit [Ping timeout: 246 seconds]
nekolyanich has joined #nixos
growpotkin has quit [Remote host closed the connection]
grizwako has joined #nixos
adetokunbo has quit [Quit: This computer has gone to sleep]
adetokunbo has joined #nixos
<{^_^}> [nixpkgs] @booxter opened pull request #57629 → Enable perl modules needed for xscreensaver RSS image fetch → https://git.io/fje4E
hyperfekt has joined #nixos
<hyperfekt> Wasn't there a nix-prefetch variant that used the functions themselves instead? so i could use eg fetchpatch for prefetching
<Android> can an array contain comments
<Android> for example, [
<Android> #comment
<Android> ]
<Android> in configuration.nix
<hyperfekt> Android: Yep!
<hyperfekt> Generally, any amount of whitespace will separate array elements, so having two newlines (as the line comment is ignored) is not a problem at all.
<hyperfekt> hyperfekt: I found it, it's called just nix-prefetch, which made it hard to find. ^^
<Android> ok
mvnetbiz has quit [Remote host closed the connection]
zupo has joined #nixos
m0rphism has joined #nixos
mvnetbiz has joined #nixos
dwdr has joined #nixos
vidbina has quit [Ping timeout: 272 seconds]
zupo_ has joined #nixos
zupo has quit [Ping timeout: 250 seconds]
<eyJhb> Is there a easy way to have a local folder, that contains nixpkgs and add it as a channel?
<eyJhb> (when developing new packages, updating them testing them)
<{^_^}> [nixpkgs] @7c6f434c merged pull request #57629 → xscreensaver: Enable perl modules needed for RSS image fetch → https://git.io/fje4E
<{^_^}> [nixpkgs] @7c6f434c pushed commit from @booxter to master « xscreensaver: Enable perl modules needed for RSS image fetch (#57629) »: https://git.io/fje41
<sb0> how difficult is it to replace nix on a system in order to patch it to support impure derivations?
<sb0> won't this cause a massive rebuild?
agander has joined #nixos
jasongrossman has joined #nixos
<sphalerite> eyjhb: why specifically as a channel?
linarcx has joined #nixos
<sphalerite> eyjhb: you can pass a custom nixpkgs to basically all nix commands using -I nixpkgs=path/to/nixpkgs or by adding nixpkgs=path/to/nixpkgs to the NIX_PATH env var
<eyJhb> sphalerite: just so I can rebuild and see if it works. Don't know if there is any better way, to test and develop the packages in nixpkgs. Previously I have used the '-I' swith with NIXPKGS, to rebuild
<eyJhb> Yeah, just what I thought :D But, what if I am having the fun problem, that some other package broke the package, so it only works on stable currently?
<sphalerite> then you checkout stable in the git repo :)
Guest36858 has quit [Ping timeout: 268 seconds]
<eyJhb> But, is it "allowed" to update a package, that doesn't work on unstable, and make a PR for it against unstable? - Also, any good way of detecting which package broke it?
<eyJhb> guessing doing checkouts with date intervals, rebuild, test, will narrow it down
<sphalerite> if the build is broken and fairly quick to do, `git bisect` is great for that
<{^_^}> lukego/blog#17 (by lukego, 1 year ago, open): NixOS troubleshooting with git bisect
<sphalerite> lukego wrote a nice post on the subject
<eyJhb> The build isn't broken for it, but it has some weird flickr issues. It is the annoying closed source displaylink driver.... :/
<eyJhb> And the logs are encrypted, so nothing to go out from...
marusich has quit [Ping timeout: 252 seconds]
<sphalerite> Ah. Then it's an issue for displaylink support.
<sphalerite> I mean, they're *actively* trying to stop you from debugging it
<eyJhb> sphalerite: never seen a blog using issues before :p - Yeah, but they only officially support Linux, so I think I will get a 'GTFO'
<eyJhb> Linux => Ubuntu... Don't hate
<sphalerite> Then I'd throw any displaylink hardware away with great prejudice. :)
<sphalerite> How much more user-hostile can you get?
<eyJhb> Then I have to remove one of my three monitors :( I can get two monitors using my dock, and then another two using USB 3.0 docking station
<eyJhb> Very hostile...
<eyJhb> Or get a eGPU and remove 4 GB of my ram..
<sphalerite> Or use a raspi and stream the contents of the extra display via the network
<eyJhb> How well is performce doing that with e.g. video? (just curious, mostly use it for web and chat)
civodul has joined #nixos
linarcx has quit [Ping timeout: 252 seconds]
linarcx has joined #nixos
<elvishjerricco> Is there a NixOS AMI that uses ZFS?
<jasongrossman> What's an AMI?
vk3wtf has joined #nixos
<makefu> amazon image for ec2, no?
<elvishjerricco> amazon machine image
<jasongrossman> Thank you.
<sphalerit> eyjhb: I had it in a usable state with some ancient machines a while back, I used it to work around not having a DVI<>HDMI adapter :p I can't remember exactly but I think the latency wasn't really noticeable
freeman42x has quit [Ping timeout: 252 seconds]
<eyJhb> sphalerit: might read up on it! But it would be nice, if displaylink driver would start to work
linarcx has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
<eyJhb> But seeing as the enc key is local in the bin, it might be a nice way to pracice some reverse skills
<kisik21`> How to see i686 build status? Is it on Hydra? Can't find it
johanot has joined #nixos
goibhniu has joined #nixos
infinee has joined #nixos
ng0 has joined #nixos
<joko> Hey, is it possible to garbage collect an S3-based binary cache?
<elvishjerricco> joko: Don't think so. What would the GC roots be?
anton_ has joined #nixos
AxiomaticEspress has joined #nixos
zupo has joined #nixos
zupo_ has quit [Ping timeout: 246 seconds]
<joko> elvishjerricco: Coming from a Hydra instance? I mean, one can keep a specific number of generations there
<joko> My impression is that older stuff get deleted on the instance
<lewo> joko
<elvishjerricco> joko: The Hydra instance is an independent entity from the S3 cache. It just happens to copy to it
knupfer has quit [Ping timeout: 240 seconds]
<lewo> joko, I don't think we have tooling to clean an external binary cache... note, I really would like to be wrong!
<joko> lewo: I have the same impression, this is why I asked it
<joko> https://github.com/NixOS/nixos-channel-scripts/blob/master/mirror-nixos-branch.pl#L173 <- this is where the actual S3 upload is happening, right?
<joko> Or does it happen directly from hydra?
<lewo> joko: Hydra is doing this
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1112 → Vault Approle: fix default value of secretId → https://git.io/fjeYj
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fjeB6
rauno has quit [Remote host closed the connection]
<joko> Right, this is only for releases
edef has quit [Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number]
<aminechikhaoui> joko I think it was done once or maybe more on nixos binary cache https://github.com/NixOS/nixos-channel-scripts/blob/master/find-binary-cache-garbage.pl
<aminechikhaoui> but don't think there is native support in nix
<lewo> joko: check the store_uri parameter in the hydra.conf file.
edef has joined #nixos
<aminechikhaoui> cachix might be doing something similar as well to garbage collect, domenkozar should know better :)
<lewo> (I don't know if it could help you actually...)
<joko> aminechikhaoui: I could try this as well
hyperfekt has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @dotlambda opened pull request #57630 → python.pkgs.shapely: fix tests on Darwin → https://git.io/fjeB9
<{^_^}> [nixpkgs] @dotlambda merged pull request #57630 → python.pkgs.shapely: fix tests on Darwin → https://git.io/fjeB9
<{^_^}> [nixpkgs] @dotlambda pushed to master « python.pkgs.shapely: fix tests on Darwin (#57630) »: https://git.io/fjeB7
__monty__ has joined #nixos
thc202 has joined #nixos
hellauer has joined #nixos
<yorick> is there some thing I can use to determine if a particular commit is in nixos-unstable?
<lewo> yorick: do you mean in the nixos-unstable channel ?
<yorick> lewo: yes
timor has joined #nixos
<yorick> git merge-base --is-ancestor <commit> channels/nixos-unstable , I suppose
<lewo> yorick: there is the NixOS/nixpkgs-channels repository.
<lewo> yorick: if you commit is in the branch nixos-unstable of this repo, then it is available in the channel
<Taneb> yorick: merge-base seems to be The Way
reinhardt has quit [Ping timeout: 268 seconds]
rycwo has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 245 seconds]
linarcx has joined #nixos
miguelnegrao has joined #nixos
rauno has joined #nixos
reinhardt has joined #nixos
rycwo has quit [Ping timeout: 245 seconds]
timor has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jacereda opened pull request #57632 → nodejs: fix gyp errors when building scuttlebot on Darwin → https://git.io/fjeR9
zupo has joined #nixos
boothead has joined #nixos
kisik21` has quit [Ping timeout: 256 seconds]
miguelnegrao has quit [Quit: miguelnegrao]
slack1256 has joined #nixos
<boothead> What's the current state of the art for working with stack projects in nixos? I've been trying to use stack2nix, and run into a couple of problems (I've raised issues against those on github, see the last two)
<tA> is there a package i can get the mkcert program in? searched for nss and mkcert and couldnt find anything
<slack1256> boothead: if the project also offers cabal based building, cabal2nix works for me
hellauer has quit [Ping timeout: 252 seconds]
bgamari has quit [Ping timeout: 255 seconds]
hellauer has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @gebner merged pull request #57567 → isabelle: 2017 -> 2018 → https://git.io/fjev7
divankov has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fje0L
ggpeti has joined #nixos
<boothead> thanks slack1256 - there are a few extra-deps in the stack file which I'd like to be able to work with
<ggpeti> hi channel, can someone please take another look at https://github.com/NixOS/nixpkgs/pull/57389
<{^_^}> #57389 (by ggPeti, 2 days ago, open): musly: init at 0.2
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #57633 → amazon-image.nix: Resolve failure to include resize2fs → https://git.io/fje03
alex`` has quit [Ping timeout: 245 seconds]
<avn> boothead: cabal2nix, stack2nix, for development just `stack --nix`.
<avn> I'd like to see something on top fo cabal2nix/stack2nix simulating `stack --nix` workflow
alex`` has joined #nixos
drakonis_ has quit [Remote host closed the connection]
<boothead> avn: does stack --nix get dependencies from hydra though? It would be nice to be able to use the binary cache...
vk3wtf has quit [Ping timeout: 252 seconds]
<avn> boothead: sadly no. But it works for cases, where you need to be "compatible" with developers who not use nix
<boothead> gotcha - thanks!
<avn> but sad to know, that stack2nix broken again ;(
agander has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
<eyJhb> How can I enable manpages? I have no manpages for anything except beep...
<{^_^}> [nixpkgs] @marsam opened pull request #57634 → pythonPackages.distro: fix build → https://git.io/fje0g
<__monty__> eyjhb: On nixos?
<eyJhb> Yeah
<__monty__> Ah, then I don't know : /
<eyJhb> __monty__: only running pkgs? :D
<__monty__> I've had problems before with manpages in .nix-profile not being available to man but I figure that's only relevant on non-nixos.
<nekolyanich> eyjhb: documentation.enable = true; maybe
Supersonic has quit [Quit: Bye]
ThatDocsLady has joined #nixos
Supersonic has joined #nixos
<eyJhb> Already did that, and all the documentation I could... Still stuff like `man fopen` gives nothing
ThatDocsLady has quit [Client Quit]
simukis has joined #nixos
<eyJhb> Well, I guess more work now, but would still like the default C impl. doc to work , like fopen
<__monty__> Does that normally come with gcc maybe?
ThatDocsLady has joined #nixos
<eyJhb> Have gcc installed, so I would expect it to be available :/
<{^_^}> #43547 (by bgamari, 34 weeks ago, open): binutils and gcc manpages hidden by wrappers
<__monty__> Maybe that's relevant?
sigmundv has joined #nixos
vk3wtf has joined #nixos
<eyJhb> So it just needs to hit the channels
crmlt has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed to master « isabelle: refactor »: https://git.io/fje0p
kim0 has joined #nixos
pie__ has quit [Remote host closed the connection]
<kim0> Hello .. I have this quick PR open for a couple of days https://github.com/NixOS/nixpkgs/pull/57544 .. What happens if @fpletz doesn't respond, can someone else view it ?
<{^_^}> #57544 (by kim0, 1 day ago, open): xmr-stak: 2.8.3 -> 2.10.1
Glider_IRC has joined #nixos
pie__ has joined #nixos
bgamari has joined #nixos
boothead has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.5.15 -> 1.5.17 »: https://git.io/fjeEJ
hyper_ch2_ has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
mkoenig has joined #nixos
rycwo has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
init_6 has joined #nixos
ilmu has joined #nixos
crmlt has quit [Quit: leaving]
juliendehos has joined #nixos
<symphorien> eyjhb: nix-env -iA nixos.man-pages
<divankov> Hi! Quick question here. I see a postman package on https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/web/postman but can't install it via nix-env (I'm on NixOs 18.09 channel)
<{^_^}> [nixpkgs] @Mic92 opened pull request #57635 → python3.pkgs.python-engineio: 3.0.0 -> 3.4.3 → https://git.io/fjeE8
<{^_^}> [nixpkgs] @dotlambda merged pull request #57594 → Electron cash update → https://git.io/fjeYG
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjeE4
<Mic92> divankov: https://nixos.wiki/wiki/FAQ#I_cannot_find_.24package_when_running_nix-env_-qaP_even_with_channels_configured
orivej has joined #nixos
rauno has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to release-19.03: https://git.io/fjeEE
<{^_^}> [nixpkgs] @dotlambda merged pull request #57507 → pythonPackages.cbor2: init at 4.1.2 → https://git.io/fhj6B
<{^_^}> [nixpkgs] @dotlambda pushed commit from @Taneb to master « pythonPackages.cbor2: init at 4.1.2 (#57507) »: https://git.io/fjeEz
jomik has joined #nixos
<jomik> Hey, I have, some time ago, made a nix expression that should create a script for me.. https://git.io/fjeEg How do I get this in a nix-shell so that I can run it on `cstub`? I guess I should maybe use mkShell and have that runCommandCC as a buildInput?
<betaboon> is there a way to not create .nix-defexpr and .nix-profile in a users homedirectory ?
<divankov> Mix92: thanks! Is there also a simple way to a) lookup package in all attributesets b) get the attribute set for a given package?
<{^_^}> [nixpkgs] @Mic92 merged pull request #57635 → python3.pkgs.python-engineio: 3.0.0 -> 3.4.3 → https://git.io/fjeE8
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjeEr
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.03 « nixos/nixos-install: tell the user what to do if setting a root password failed »: https://git.io/fjeEo
<Mic92> divankov: nix search
<avn> jomik: is a writeScriptBin to make scripts also. But.. what you try to achieve? looks like XY problem tbh
rauno has joined #nixos
<divankov> Mic92: odd, nix search -u postman -> error: no results for the given search term(s)!
thetet has joined #nixos
agander has joined #nixos
<Mic92> divankov: it does for me. Have you also allowed allowUnfree in ~/.config/nixpkgs/config.nix ?
<divankov> Mic92: yes, have it system-wide, also tried ~/.config and NIXPKGS_ALLOW_UNFREE=1 env variable
<kim0> Can someone please merge my PR : https://github.com/NixOS/nixpkgs/pull/57544
<{^_^}> #57544 (by kim0, 1 day ago, open): xmr-stak: 2.8.3 -> 2.10.1
<Mic92> divankov: do you find any other package?
Fare has joined #nixos
rauno has quit [Remote host closed the connection]
<divankov> Mic92: yes, nix search -u maven returns several results for instance
<Mic92> divankov: does it find dropbox?
<divankov> Mic92: does find nixpkgs.dropbox-cli
<Mic92> it should also find dropbox
<Mic92> interesting, NIXPKGS_ALLOW_UNFREE=0 has no effect on my search results
silver has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #57544 → xmr-stak: 2.8.3 -> 2.10.1 → https://git.io/fhjFv
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjeE5
<kim0> @Mic92 Thanks!
<kim0> How hard is it, to make some bot, that auto-submits PRs when an upstream new version is available
<goibhniu> Someone used to maintain a service like that. It was really handy, but the maintainer ran out of time to keep it going.
<goibhniu> Some people have scripts now to update packages, and they seem to work quite well too, but they're less automated.
<kim0> What does "backport" mean in the context of nixpkgs ?
<etu> goibhniu: There's ryantm_'s bot :-)
<goibhniu> oh how I <3 that bot :D
divankov has quit [Quit: Page closed]
<kim0> is that bot only doing some pkgs only ? How can I add xmr-stak to it :)
<goibhniu> although, I assumed it was at least semi-automatic. If it's automated, that's even better.
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}Preview: 2.2.0a1 -> 2.2.0a2 »: https://git.io/fjeuU
divankov has joined #nixos
rprije has quit [Ping timeout: 245 seconds]
slack1256 has quit [Ping timeout: 245 seconds]
abcrawf_ has quit [Remote host closed the connection]
<jomik> avn: I was just trying to actually load the script in. I tried opening it in a nix shell and running genericBuild, but it does not work. What I just need it a nix-shell with that script in my path. I guess I can do it by using a mkShell though. I was just wondering wth I was doing to get this to work before.
<divankov> Mic92: ok, resolved it, three things happened: 1) env variable option actually worked 2) system-wide setting doesn't work for nix-env/nix search https://github.com/NixOS/nixpkgs/issues/4766#issuecomment-61373596 3) had to change ~/.config/nixpkgs/confix.nix to ~/.nixpkgs/config.nix
<jomik> I need to patch a `cstub` file to be able to run some csd-wrapper shit that my work's vpn needs.
slack1256 has joined #nixos
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
abcrawf has joined #nixos
<avn> jomik: so your origina intent is have derivation with patched cstub?
<ggpeti> I've added a new package for Musly and incidentally ported it to macOS for the first time. Can someone please review and/or merge? https://github.com/NixOS/nixpkgs/pull/57389
<{^_^}> #57389 (by ggPeti, 2 days ago, open): musly: init at 0.2
zupo_ has joined #nixos
zupo has quit [Ping timeout: 252 seconds]
socksy has joined #nixos
rycwo has quit [Ping timeout: 245 seconds]
<jomik> Hm, I guess my real intent is to be able to pass a csd-wrapper to openconnect. https://git.io/fjeu3
<socksy> hi there. Does anyone know if it's possible for some things to work in a buildFHSUserEnv that won't work in a normal nix-shell script?
<socksy> not withstanding things like steam that have dynamically injected binaries
<kim0> How often does `nixos-unstable-small` get updated ?
<goibhniu> kim0: http://howoldis.herokuapp.com/ has a nice overview
divankov has quit [Ping timeout: 256 seconds]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
<kim0> mm it just shows 2-days ago .. I guess I'm asking when is the next commit :)
<goibhniu> the collapsed sections on the top explain that in some detail
<goibhniu> it's a little complicated
<WilliamHamilton[> I get `error while loading shared libraries: libGL.so.1: cannot open shared object file` when trying to use steam-run, even though I have libGL.so.1 in ` /run/opengl-driver`, which is in my LD_LIBRARY_PATH. how comes?
rycwo has joined #nixos
<kim0> goibhniu: Thanks .. I'm just interested to know, when my freshly merged change, will land in that channel ? is it reasonable to expect it to land in 2-3 days ?
<goibhniu> ah sorry, I thought this graph was also on that page: https://channels.nix.gsc.io/graph.html
<{^_^}> [nixpkgs] @primeos pushed to master « python.pkgs.distro: Re-enable the package for now »: https://git.io/fjeuW
<goibhniu> yes, is the answer :D
<kim0> Thanks :)
<azazel> hi guys, is there a simple way to create a port-range for the firewall to open? maybe a function that give the two interval points generates the port numbers?
<azazel> ah, there's a specific firewall option for ranges... sorry
Guest33329 has quit [Read error: Connection reset by peer]
macerbi[m] has joined #nixos
sinner has joined #nixos
sinner is now known as Guest93128
slack1256 has quit [Remote host closed the connection]
<gchristensen> glad you found it, azazel :)
slack1256 has joined #nixos
jtojnar has joined #nixos
timor has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #57637 → gitAndTools.gitRemoteGcrypt: Add missing dependencies → https://git.io/fjeup
ggpeti has quit [Ping timeout: 256 seconds]
<Android> where can i find kde ark
ilmu has quit [Ping timeout: 245 seconds]
<Android> as nixos.kdeFrameworks.karchive isnt the application itself
<slack1256> Android: nix-env -qaP '.*ark.*'
<slack1256> says that $ nix-env -iA nixos.ark
<slack1256> will install ark
<jomik> :(
slack1256 has quit [Remote host closed the connection]
NickSeagull has joined #nixos
<hyper_ch2_> isn't discord overrated?
<gchristensen> 2 days isn't so bad
<samueldr> hyper_ch2_: that doesn't help, it's what they use or maybe someone else they know uses
rycwo has quit [Ping timeout: 246 seconds]
<gchristensen> yea
stepcut has joined #nixos
<socksy> how can i go about debugging a missing .so?
<socksy> err, to rephrase, when i run an application and it complains about a missing .so that is clearly in the buildInputs
<socksy> i have a program that runs with nix-shell on mac, runs with nix-shell on ubuntu, runs with an fhs environment on nixos, but does not run in a nix-shell on nixos. I feel like I'm pummeling my head into a wall repeatedly :(
<{^_^}> [nixpkgs] @vbgl opened pull request #57639 → coqPackages.contribs.containers: enable for Coq 8.9 → https://git.io/fjezu
<manveru> socksy: usually `strace -f -e trace=file` or similar
<manveru> also try `nix-shell --pure`
<{^_^}> [nixpkgs] @andir merged pull request #57526 → qt512: patch qtwebengine against CVE-2019-5786 → https://git.io/fhjym
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fjezz
<manveru> but i assume it's a hardcoded path somewhere, so that might not help
agander_ has joined #nixos
ilmu has joined #nixos
zupo has joined #nixos
zupo_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @andir pushed commit from @xantoz to release-19.03 « qt512: patch qtwebengine against CVE-2019-5786 »: https://git.io/fjezi
agander has quit [Ping timeout: 246 seconds]
<{^_^}> [nix] @edolstra pushed 15 commits to master: https://git.io/fjezP
socksy has quit [Ping timeout: 256 seconds]
<{^_^}> [nix] @edolstra merged pull request #2705 → Make memory roots actually meaningful → https://git.io/fhNMk
<gchristensen> niksnut: nice to see that merge :)
socksy has joined #nixos
<socksy> oops, lost connection
<socksy> thanks @manveru. Pretty sure I was using nix-shell --pure on the mac, but I didn't get a chance on the Ubuntu. Have neither to hand any more. Will trice strace
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #nixos
Neo-- has joined #nixos
<socksy> *try
cryptomonad has joined #nixos
itorres has quit [Ping timeout: 245 seconds]
<symphorien> socksy: is it a python application using dlopen ? or is a a binary and ldd shows that the library is indeed missing ?
ilmu has quit [Ping timeout: 245 seconds]
<socksy> symphorien: electron application with a gyp module
<symphorien> does ldd mention the missing library ?
stepcut has quit [Ping timeout: 244 seconds]
camsbury has joined #nixos
<socksy> the module it can't find is libsecret, checking in the strace there's a lot of ENOENT trying to stat things like "/nix/store/7srqzm2jiaasdp4sg787jbpf3y2f5d3b-libsecret-0.18.7/lib/haswell/x86_64"
ilmu has joined #nixos
<socksy> @symphorien I wouldn't even know what to ldd?
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fjegT
<symphorien> ldd $(which theapp)
<symphorien> unless thapp is a wrapper, then the wrappee
stepcut has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-18.09: https://git.io/fjegI
<symphorien> in any case, you may wrap the app with LD_LIBRARY_PATH pointing to this lib
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/fjegt
<socksy> I can ldd electron, but afaik that won't have anything relating to the application that runs when you do `electron dirname` which does some more magic
adetokunbo has quit [Quit: This computer has gone to sleep]
<socksy> I see the electron wrapper is already adding to LD_PRELOAD
<socksy> is there any way to actually pass everything in the nix-shell to the LD_LIBRARY_PATH?
<socksy> *nix shell buildInputs
hellauer has quit [Ping timeout: 252 seconds]
<jomik> hyper_ch2_, samueldr Eh, it is pretty nice XD It's what my work uses.. Not my decision :P It's also pretty used in gaming, tho, that's not a problem on my linux machine :P
<jomik> I don't mind waiting tho, because I have it on my phone and in a web browser :D
<jomik> Anyone here have any luck getting FZF working with vim?
<socksy> I already have a shellHook that makes an alias to the electron command (on macOS for whatever reason it's possible to use the electron app in the node_modules, but on linux I already had to use the nix electron)
vmandela has quit [Quit: Leaving]
hellauer has joined #nixos
adetokunbo has joined #nixos
<socksy> something like how https://github.com/NixOS/nixpkgs/commit/a4d6e2cf163202b438b2b1af732fa47ea5db5cce solves it for atom would be great. I don't even know how to approach things like patchElf though if all I want is a `default.nix` file to specify a nix-shell environment to run an app
<symphorien> <socksy> is there any way to actually pass everything in the nix-shell to the LD_LIBRARY_PATH? << use makeWrapper and wrapProgram
pie___ has joined #nixos
<socksy> doesn't that require a buildPhase?
<socksy> wait, can I just do that in any nix-shell?
gilligan_ has joined #nixos
drakonis has joined #nixos
<socksy> or just in the shellhook?
<gilligan_> o/
zupo_ has joined #nixos
<hyper_ch2_> jomik: did you make a pull request for new version?
zupo has quit [Ping timeout: 268 seconds]
agander_ is now known as agander
linarcx has quit [Quit: WeeChat 2.4]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ggpeti has joined #nixos
<ggpeti> hi, I believe my PR is now mergeable, can someone please take a look? https://github.com/NixOS/nixpkgs/pull/57389
<{^_^}> #57389 (by ggPeti, 2 days ago, open): musly: init at 0.2
rycwo has joined #nixos
<jomik> hyper_ch2_: the newest version is on master, just not on unstable.
<jomik> unstable has version 0.0.8, current is 0.0.9.
<etu> jomik: discord is kinda garbage in their way of handling client compatibility :p
<symphorien> socksy: why do you insist in using this electron app in a nix-shell ?
<jomik> etu:YES!
<socksy> i'm a bit confused by that question
<socksy> as opposed to what?
<socksy> I am at a company which has a system where you have to install a bunch of software in order to develop on an app. I put a bunch of these requirements into a nix-shell file, which lets you just launch nix-shell to get an ad-hoc env to develop in
<socksy> one of the things that they do is an electron app
<socksy> am I taking a wrong approach?
<socksy> I am the only one using NixOS
<socksy> but multiple people are willing to install the nix package manager to get it running on their systems with little fuss
jomik has quit [Quit: WeeChat 2.4]
waleee has joined #nixos
ggpeti has quit [Ping timeout: 256 seconds]
<socksy> anyway, i have to go since I'm getting kicked out. Thanks for the help so far, I think I'm making progress
fendor has joined #nixos
xkapastel has joined #nixos
fusion809 has quit [Remote host closed the connection]
socksy has quit [Ping timeout: 256 seconds]
ilmu has quit [Ping timeout: 255 seconds]
markus1189 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @oxij opened pull request #57640 → treewide: fix some typos → https://git.io/fje2o
atgo[m] has joined #nixos
<{^_^}> [nixpkgs] @aszlig opened pull request #57641 → linuxPackages: 4.14 -> 4.19 → https://git.io/fje2i
Rusty1 has joined #nixos
periklis has joined #nixos
iqubic has quit [Ping timeout: 255 seconds]
init_6 has quit [Ping timeout: 245 seconds]
<glasserc> How would I nixos-rebuild using a local nixpkgs ? nixos-rebuild test -I nixpkgs=... ?
zupo has joined #nixos
markus1189 has joined #nixos
kim0 has quit [Quit: Connection closed for inactivity]
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
winem_ has joined #nixos
<clever> glasserc: yep
<ar> hm
adetokunbo has quit [Quit: This computer has gone to sleep]
<Izorkin> How to add in systmd service command ExecStartPre = "@${pkgs.bash}/bin/sh sh pre-start script"; ?
<ToxicFrog> Izorkin: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.prestart
josiah_sama has joined #nixos
<Izorkin> need to add in preStart - @${pkgs.bash}/bin/sh sh
<Izorkin> systemd.services.httpd.preStart = @${pkgs.bash}/bin/sh sh '' my_scrypt''; - not worked
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #57366 → pius: 2.2.6 -> 2.2.7 → https://git.io/fhjm4
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjeaL
reallymemorable has joined #nixos
Myrl-saki has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
o1lo01ol1o has joined #nixos
endformationage has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
fusion809 has quit [Remote host closed the connection]
boothead has joined #nixos
<boothead> QQ on mkDerivation: what's the best way to add an environment variable? I'm dealing with a package that expects PREFIX= rather than --prefix... https://github.com/albertito/libfiu
<boothead> I'll also submit a PR to nixpkgs once I've got it working
<gchristensen> boothead: just set PREFIX = ... in the call :) every attribtue is also an env var
jtojnar has quit [Quit: jtojnar]
agander has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
rcshm has joined #nixos
<boothead> gchristensen: I just added makeFlags = [ "PREFIX=$(out)" ]; is that what you meant?
<gchristensen> you can do that
<gchristensen> but also stdenv.mkDerivation { ... PREFIX = "hi"; ... } will set it too
iqubic has joined #nixos
winem_ has quit [Ping timeout: 245 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<boothead> gchristensen: the $(out) would still get picked up properly there?
<iqubic> So I dual-boot NixOS and Windows10. I have a shared partition that I use to transfer files between NixOS and Win10. Both OSes should have Read and Write permissions on this partition. However lately I've been finding it impossible to Write to this shared partition from NixOS.
<iqubic> I keep getting the error: "Read Only files system"
<hyper_ch2_> what filesystem?
<{^_^}> [nix] @dtzWill opened pull request #2723 → Fix build with C++17 and C++20, fix with libc++ → https://git.io/fjeaF
<iqubic> It's NTFS.
<hyper_ch2_> you need to check it in windows
<iqubic> Well, I'm on Windows now.
<iqubic> Not sure what to do.
<hyper_ch2_> so run diskcheck or something
reinhardt has quit [Quit: Leaving]
stepcut_ has joined #nixos
<iqubic> how do I do that?
<hyper_ch2_> ask google
stepcut has quit [Ping timeout: 272 seconds]
<iqubic> hyper_ch2_: Disk Check found no errors at all.
<iqubic> So IDK what's up with this.
romildo has joined #nixos
<hyper_ch2_> no idea
<iqubic> yeah. I know. Me too.
<iqubic> Hence why I asked. LOL.
<hyper_ch2_> why not just use widnows in a vm?
<Rusty1> ntfsfix?
<hyper_ch2_> or if you run a server you could use syncthing to sync files among them or use samba
<iqubic> Because I use Windows to play games off of Steam.
<romildo> How to compute the sha256 when updating a package (emacs-all-the-icons-fonts) which is defined with fetchzip?
<iqubic> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<{^_^}> [patchelf] @darealshinji closed pull request #56 → Fix converting DT_RUNPATH to DT_RPATH → https://git.io/fjeaA
<clever> romildo: in the case of fetchzip, you can also nix-prefetch-url --unpack
<iqubic> Rusty1: what does ntfsfix do?
<romildo> clever, thanks.
<Rusty1> ntfsfix is a utility that fixes some common NTFS problems
Fare has quit [Ping timeout: 246 seconds]
<iqubic> I already have ntfs-3g installed.
<iqubic> How do I use ntfsfix?
<tilpner> iqubic: Make sure you properly shutdown windows (not their weird kind-of-but-not-really-shutdown)
<Rusty1> twhay tilpner said
<Rusty1> *what
<Rusty1> sudo ntfsfix /dev/sdxn
<iqubic> tilpner: How do I make sure that windows in being properly shutdown?
<iqubic> Man... It seems like every single Windows update ticks the Fast Startup option on.
<{^_^}> [nixpkgs] @romildo opened pull request #57644 → emacs-all-the-icons-fonts: 3.1.1 -> 3.2.0 → https://git.io/fjeVT
<iqubic> I just turned it off.
<iqubic> That's the 5th time it has been randomly turned on.
hlolli has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/fjeVm
tmaekawa has joined #nixos
<boothead> gchristensen: I got it working - where would be a good place to add it to nixpkgs?
<tilpner> development/libraries maybe
stepcut_ has quit [Ping timeout: 246 seconds]
johanot has quit [Quit: WeeChat 2.4]
iqubic has quit [Ping timeout: 256 seconds]
romildo has quit [Quit: Leaving]
<manveru> gleber_: please ping me when you're around :)
stepcut has joined #nixos
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57645 → e2fsprogs: use buildPackages.perl to avoid cycle in llvm-based stdenv → https://git.io/fjeVB
jomik has joined #nixos
<jomik> I need to nixify this bash script here... https://gist.github.com/l0ki000/56845c00fd2a0e76d688 Though, it seems a bit tough, because the files downloaded seem to depend on the vpn you want to connect to.
thetet has quit [Quit: Leaving.]
<ggpeti> hiya - anyone got a few minutes to review and maybe merge https://github.com/NixOS/nixpkgs/pull/57389 ?
<{^_^}> #57389 (by ggPeti, 3 days ago, open): musly: init at 0.2
<NickSeagull> Does anyone have a clue why a Haskell program compiled in a Nix shell doesnt run, and outside of it it does?
rycwo has quit [Ping timeout: 250 seconds]
<NickSeagull> Like literally doing `nix-shell` and `cabal new-run` doesnt work. But running `stack build && stack exec myProgram` does
ilmu has joined #nixos
rauno has quit [Remote host closed the connection]
<ggpeti> NickSeagull: probably wrong haskell version or missing dependencies
<ggpeti> how does it not work?
<NickSeagull> I run the binary, and it gives no stdout, even though I use putStrLn and Debug.trace. all cpus are at 100% and vmemory allocation at 1TB
<ggpeti> what is your stack version inside and outside nix-shell?
<NickSeagull> both the same ggpeti : 1.9.3 x86_64 hpack-0.31.1
iqubic has joined #nixos
<iqubic> Disabling fast startup fixed my issues.
<iqubic> Thanks all.
<ggpeti> NickSeagull: same check with ghc and cabal?
<NickSeagull> My issue is with a fairly large project that uses `hint` underneath ggpeti . But I haven't managed to reproduce in a smaller project.
<NickSeagull> GHC is not installed outside nix-shell, inside of it it is 8.6.4
<NickSeagull> Cabal is the same inside and outside cabal-install version 2.4.1.0
<NickSeagull> I'm asking, just to know if there are some key points that I could try to debug this. I have already spent two days on this
<ggpeti> gosh, that sucks. Hard for me to tell without looking at it
<ggpeti> others might do better
<{^_^}> [nixpkgs] @Mic92 merged pull request #56959 → initial ghidra-9.0 → https://git.io/fhpG7
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/fjeVV
<ggpeti> does the buildInputs look right to you? does the project use cabal2nix?
<ajs124> Is there a way to keep build artifacts (like nix-build -K) even if the build succeeds?
<{^_^}> [nixpkgs] @Mic92 closed pull request #57542 → ghidra: init at 9.0.0 → https://git.io/fhjdI
agander has joined #nixos
<NickSeagull> ggpeti: I'm using callCabal2nix to generate the nix-shell expression
<NickSeagull> let me try to see how would that look calling it directly
<ggpeti> ajs124: copy them to $out
<jomik> Uuuh, is there a reason my `~/.config/nixpkgs/overlays/pkgs.nix` does not seem to be available in nix-env/nix-shell ? https://git.io/fjeVw and https://git.io/fjeVw is what I have
<ggpeti> ajs124: or do an "exit 1" and use -K
<NickSeagull> ggpeti: yep, the output of cabal2nix looks right
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<NickSeagull> Thank you anyway ggpeti :)
<jomik> Oh, disregard my last question - can anyone tell me how I can pass an argument to a derivation in nix-shell? That is, I have something on the form `foo = arg: stdenv.mkDerivation { ... };`
<jomik> So I need to pass `arg` to `foo`.
hyper_ch2_ has quit [Quit: Page closed]
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @vdemeester opened pull request #57646 → containerd: 1.2.4 -> 1.2.5 → https://git.io/fjeVQ
<gchristensen> we're at 777 again :)
paulreimer has joined #nixos
tylerjl has quit [Remote host closed the connection]
leothrix has joined #nixos
<Taneb> gchristensen: ?
<ajs124> ggpeti, I thought/hoped there might be something more elegant.
erasmas has joined #nixos
<gchristensen> people in the channel
_kwstas has joined #nixos
<Taneb> Oh, right :)
Yaniel has quit [Ping timeout: 246 seconds]
scientist has joined #nixos
periklis has quit [Remote host closed the connection]
periklis has joined #nixos
Fare has joined #nixos
Yaniel has joined #nixos
<ggpeti> I'll have to keep lobbying because I don't see another way of getting merged. Can someone please look at https://github.com/NixOS/nixpkgs/pull/57389 ?
<{^_^}> #57389 (by ggPeti, 3 days ago, open): musly: init at 0.2
hellauer has quit [Quit: WeeChat 2.4]
xkapastel has quit [Quit: Connection closed for inactivity]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @stephengroat opened pull request #57647 → altcoins.freicoin: fix build → https://git.io/fjewk
<scientist> hello guys, I finally have my custom keyboard layout up and running but there is one more thing I need help with, in xkb I switched caps lock with ctrl left to fix the emacs pinky problem and it works fine, but I also wanted to know how to make both ctrl left and ctrl right into sticky keys using xkb ?
scientist has quit [Quit: WeeChat 2.2]
ggpeti has quit [Quit: Page closed]
gilligan_ has quit [Ping timeout: 246 seconds]
Ariakenom has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vdemeester opened pull request #57648 → kail: 0.7.0 -> 0.8.0 → https://git.io/fjewW
vidbina has joined #nixos
leat2 has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 255 seconds]
shabius_ has joined #nixos
hlolli has quit [Quit: Leaving]
mallabori[m] has left #nixos ["User left"]
shabius has quit [Ping timeout: 258 seconds]
stepcut has quit [Ping timeout: 245 seconds]
<paulreimer> Can anyone help with a cross-compiling aarch64 image one-liner?
<paulreimer> `nix-build -I nixpkgs=nixpkgs/nixos -I nixos-config=nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix nixpkgs/nixos --arg crossSystem '(import nixpkgs/lib/systems/examples).aarch64-multiplatform' -A config.system.build.sdImage`
betaboon has quit [Quit: ZNC - https://znc.in]
betaboon has joined #nixos
<paulreimer> (that's what I have so far -- doesn't work, it isn't cross-compiling -- using a local clone of nixpkgs release-19.03 branch, based on the instructions from the `sd-image-aarch64.nix` file, I'd like to cross-compile the whole image on a `x86_64-unknown-linux-gnu`)
vidbina has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @stephengroat opened pull request #57650 → apmplanner2: fix build → https://git.io/fjerm
<makefu> paulreimer: my last state is that it currently does not work to build a whole system (or sd image in your case)
<makefu> feel free to come to #nixos-aarch64 for discussions around arm (and cross-compiling)
stepcut has joined #nixos
<paulreimer> makefu: will do!
orivej has quit [Ping timeout: 250 seconds]
Erasmus has joined #nixos
<sm> wow, nix online documentation is super
boothead has quit [Ping timeout: 256 seconds]
timon37 has joined #nixos
_kwstas has quit [Read error: Connection reset by peer]
domogled has joined #nixos
periklis has quit [Ping timeout: 240 seconds]
<sm> what about local man/info manuals.. not available ?
<sm> or local html, even ?
iqubic has left #nixos [#nixos]
scientist has joined #nixos
<yl[m]> Mic92: If you get a chance, please review #57080
<{^_^}> https://github.com/NixOS/nixpkgs/pull/57080 (by kalbasit, 5 days ago, open): [DO NOT MERGE] buildGoModule: building Go binaries in two phases
_kwstas has joined #nixos
scientist has quit [Client Quit]
_kwstas has quit [Client Quit]
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to pull/56990/head: https://git.io/fjerR
<infinisil> gchristensen: Remember when we had 777 open PRs..
<{^_^}> [nixpkgs] @veprbl pushed 0 commits to pull/56990/head: https://git.io/fjerE
_kwstas has joined #nixos
<Izorkin> Mic92: please rechek PR #56304
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56304 (by Izorkin, 2 weeks ago, open): apache-httpd: do not run anything as root
Fare has joined #nixos
wfranzini has quit [Remote host closed the connection]
jomik has quit [Quit: WeeChat 2.4]
jmgai has joined #nixos
ThatDocsLady_ has quit [Ping timeout: 268 seconds]
gallexme[m] has joined #nixos
<gallexme[m]> anyway to switch to master branch instead of unstable channel of nixpkgs?
timor has quit [Ping timeout: 246 seconds]
<betaboon> gallexme[m]: why would you want to do that ?
<gallexme[m]> i dont mind compiling myself and like to live on bleeding edge betaboon
<betaboon> gallexme[m]: unstable is just some commits behind master, tho
<gallexme[m]> need smth which has been merged yesterday
<gallexme[m]> but isnt yet on unstable
<infinisil> gallexme[m]: I recommend just fetching that specific thing on its own from master and not switching your whole system to master
<Yaniel> note that there is nixos-unstable and nixpkgs-unstable
<Yaniel> but yeah you might prefer using nix-env -i ... -f path/to/nixpkgs
ilmu has quit [Ping timeout: 245 seconds]
<gallexme[m]> but after that i have to manually update it each time no?
leat2 has joined #nixos
<gallexme[m]> what if i forget and after years its insecure
<Mic92> yl[m]: Implementation looks. The only thing came to my mind is whether we should drop $bin for buildGoModule. It is a legacy of buildGoPackage.
<Yaniel> just reinstall it normally next time the channel updates
<Yaniel> and after that you can forget it
<betaboon> gallexme[m]: i usually go about it like the following: https://gist.github.com/betaboon/2a39b887030cc62c8e1e7848afe5dfcd
thetet has joined #nixos
<yl[m]> Mic92: so only $out?
<betaboon> gallexme[m]: this allows me to have nixpkgs pointing to my main channel, nixpkgs-unstable to point to unstable-channel (using nix-channel mechanisms), having nixpkgs-fork point to a local clone of the repo (where i prepare PRs).
<Mic92> yl[m]: yes. I haven't done that for buildGoPackage already because it would have disrupt out-of-tree modules unnessary and was therefore not worth the trouble. However for buildGoModule we could do this.
<yl[m]> Mic92: what's the motivation, given that it is a binary output?
<Mic92> yl[m]: it would save one empty output per package.
Ariakenom has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
<yl[m]> Mic92: would this work? `lib.getBin a-derivation` if it has no $bin?
<Mic92> yl[m]: yes. that is the idea behind lib.getBin.
<betaboon> gallexme[m]: you can use the same mechanism to have something like `nixpkgs-master=https://github.com/NixOS/nixpkgs/archive/master.tar.gz` if i am not mistaken
<yl[m]> Mic92: sounds good, I'll update both the function and the doc for it
<yl[m]> Mic92: Give me ~15 minutes :)
<gallexme[m]> uhm
<betaboon> gallexme[m]: or `nixpkgs-master=https://...../archive/<commithash>.tar.gz`
<gallexme[m]> tried it like that
<betaboon> and then refer to the package you need as `nixpkgs-master.myAwesomePackage`
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<gallexme[m]> tried it like that
<gallexme[m]> error: Package ‘«name-missing»’ in /nix/store/ng8n5maaps3zil31hf7cj3cqvxw26245-source/pkgs/applications/networking/instant-messengers/discord/default.nix:58 has an unfree license (‘unfree’), refusing to evaluate.
<betaboon> gallexme[m]: try adding `config.allowUnfree = true;` to the import
<gallexme[m]> perfect betaboon
<betaboon> you're welcome
<{^_^}> [nixpkgs] @dotlambda merged pull request #57621 → pythonPackages.xlib: 0.17 -> 0.25, enable tests → https://git.io/fje8U
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjerp
<infinisil> gallexme[m]: Btw, here's something you could do too: https://gist.github.com/4d35ab3747c20261f748bcc0223e7170
<therealwaphire[m> guys, upon trying to enable services with home-manager, I get a "User systemd daemon not running. Skipping reload."
<gallexme[m]> infinisil: could i just get notification if it was outdated so that i could remove the unecessary code bloat
<infinisil> gallexme[m]: Yeah that's what this does
<betaboon> infinisil: nice :D
<gallexme[m]> oh it fails when new version? cool
<pie___> does anyone know why yuo cant install plugins with the eclipse in nixpkgs?
Hotkeys has joined #nixos
Hotkeys has left #nixos [#nixos]
<pie___> infinisil, ?
stepcut has quit [Ping timeout: 252 seconds]
<infinisil> pie___: Is there a problem with the code or?
stepcut has joined #nixos
<pie___> infinisil, i dont know why its supposed to fix the problem, but i just realized i think the company firewall might be breaking shit
<pie___> infinisil, yeah. nevermind, user error i guess
<pie___> i need to use an https mirror or something for this stuff https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.8-201806110500/org.eclipse.jdt-4.8.zip , not sure how i would do something about that...
<pie___> brb
shibboleth has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
pie___ has quit [Ping timeout: 244 seconds]
<Izorkin> infinisil: should I fix something else, before you accept this PR #56423 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56423 (by Izorkin, 2 weeks ago, open): unit: add service unit and update package
_kwstas has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #57651 → Release 18.09 php updates → https://git.io/fjeoq
pie_ has joined #nixos
<yl[m]> Mic92: PTAL at #57080
<{^_^}> https://github.com/NixOS/nixpkgs/pull/57080 (by kalbasit, 5 days ago, open): [DO NOT MERGE] buildGoModule: building Go binaries in two phases
linarcx has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #57652 → Release 19.03 php updates → https://git.io/fjeoO
stepcut has quit [Ping timeout: 250 seconds]
<noonien> how can i override the dependency of a program?
<clever> noonien: .override
Fare has quit [Ping timeout: 246 seconds]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #57653 → pythonPackages.weboob: add pyqt5 as native input → https://git.io/fjeol
<noonien> i'm trying to override termite like this: `termite = super.termite.override (old: { vte-ng = vte-ng; });`, however, i get `nixos/pkgs/applications/misc/termite/wrapper.nix:1:1 called with unexpected argument 'vte-ng'`
Fare has joined #nixos
<clever> noonien: and if you read termite/wrapper.nix, what arguments does it accept?
<clever> 1 { makeWrapper, wrapGAppsHook, symlinkJoin, configFile ? null, termite }:
<clever> wrapper.nix doesnt accept vte-ng
<symphorien> noonien: you are mixing override and overrideAttrs
<noonien> ooh, my bad, didn't realise that was what's required to override
<clever> its default.nix, that accepts vte-ng
<clever> overrideAttrs wont help in this case
<symphorien> Override takes an attrset as an argument, not a function
<noonien> yeah, i didn't realise nixpkgs.termite points to wrapper.nix
<clever> 19670 termite-unwrapped = callPackage ../applications/misc/termite { };
<clever> 19672 termite = callPackage ../applications/misc/termite/wrapper.nix { termite = termite-unwrapped; };
<clever> noonien: so you want an override against termite-unwrapped
<noonien> yeah just saw that, thanks!
<pie_> infinisil, yeah the firewall blocks zip files if they come over plain http or something
<noonien> yeah, and then pass that to termite
waleee has quit [Quit: WeeChat 2.4]
stepcut has joined #nixos
<clever> noonien: an overlay will mutate pkgs.termite-unwrapped, so you dont have to override termite itself
<noonien> hmm, well, actually, what i really need is `vte-ng = super.vte-ng.overideAttrs (old: { configureFlags = old.configureFlags ++ [ " --enable-debug" ]; });` but i'm guessing .overrideAttrs does not behave the same way
<clever> noonien: and if you did an overlay against vte-ng, you dont have to touch termite-unwrapped either
<clever> thats the whole point of overlays, to automatically feed it to everything
<noonien> hmm, ok, but i've done overideAttrs on vte-ng, nixos-rebuild didn't seem to do anything
<noonien> (i mean, not build output)
<clever> can you pastebin your changes?
<pie_> infinisil, damn lol i think i need a really ancient eclipse for the thing im using
<pie_> infinisil, do you maybe know how to downgrade the eclipse version
<noonien> then, i import this file by adding it to import = [ ... ]; in my configuration.nix
<clever> noonien: first, remove the rec from your attrset, that tends to just cause more problems in overlays
<noonien> yeah, i don't really need it anymore
<clever> noonien: and then pastebin the configuration.nix as well
<noonien> hmm, i also think i can use self. f needed
drakonis has quit [Quit: WeeChat 2.3]
<noonien> well, it's spread over several files
drakonis1 is now known as drakonis
<clever> just the file that is importing the above one
<noonien> http://vpaste.net/ACN51 overlays/default.nix, and the first file is noonien/default.nix
<noonien> this is a template i took from samuel-dr
<clever> noonien: overlays cant be loaded with the imports list
<clever> they just do nothing when in imports
rauno has joined #nixos
<clever> noonien: in a nixos config file, you must set overlays like: nixpkgs.overlays = [ (import ./overlays/qemu) ];
domogled has quit [Ping timeout: 246 seconds]
<noonien> ah, sorry, my bad
<noonien> and the first file i linked is actually overlay.nix
<clever> and how is termite then being installed?
<Yaniel> is there a way to tell rustPlatform about a cargo project that's not referred to by the root Cargo.toml?
<noonien> `environment.systemPackages = with pkgs; [ termite ]`
<clever> noonien: that should be working
<clever> > vte-ng
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> "<derivation /nix/store/v7isn3flf4bza5w081jhw307kjai88bc-vte-ng-0.54.2.a.drv>"
<clever> > vte-ng.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/development/libraries/vte/default.nix:37"
<clever> noonien: can you put all involved files into a gist?
<noonien> yeah, just a second
Neo-- has quit [Ping timeout: 240 seconds]
<NickSeagull> Ok this is weird, apparently building my project with nix works on OSX but not on NixOS o_O
<clever> NickSeagull: with what error?
<NickSeagull> clever: this is related to what I explained some hours ago (building with Stack on NixOS and then running my Haskell project works, but if I build it under a nix shell it just stalls making my CPU go 100%)
<NickSeagull> The project builds, but the behaviour is very different from whats expected
<NickSeagull> Now I tried to do the same test in my macbook, but it works properly
tmaekawa has quit [Quit: tmaekawa]
<NickSeagull> I'm not sure if I screwed my NixOS installation or something
<clever> noonien: nix-store -qR $(realpath $(which termiate)) | grep vte-ng
<clever> noonien: what storepath does this give?
<noonien> oh damn clipboard, /nix/store/avsg46y3lpw0xcr8wlsj3chlhqv920lk-vte-ng-0.50.2.a
<clever> noonien: then nix-store -l /nix/store/avsg46y3lpw0xcr8wlsj3chlhqv920lk-vte-ng-0.50.2.a
<clever> noonien: what configure flags do you see?
<{^_^}> [nixpkgs] @matthewbauer pushed to master « plasma5: fix typo from pr #57037 »: https://git.io/fjeoa
<noonien> `error: build log of derivation '/nix/store/avsg46y3lpw0xcr8wlsj3chlhqv920lk-vte-ng-0.50.2.a' is not available`
<clever> ehhh, its in the binary cache, so it doesnt really matter
<{^_^}> [nixpkgs] @matthewbauer pushed to release-19.03 « plasma5: fix typo from pr #57037 »: https://git.io/fjeoo
<clever> noonien: can you add the nix file that is actually installing termite, to the gist
orivej has joined #nixos
<noonien> done
sigmundv has quit [Ping timeout: 244 seconds]
juliendehos has quit [Quit: Leaving]
stepcut has quit [Ping timeout: 255 seconds]
stepcut has joined #nixos
NickSeagull has quit [Quit: WeeChat 2.4]
NickSeagull has joined #nixos
slack1256 has quit [Ping timeout: 250 seconds]
<infinisil> pie_: Just use an older nixpkgs version
<pie_> infinisil, makes sense, i think for eclipse it turned out to be easy enough to just use a different url, but now i think i need an older jdk
<pie_> infinisil, i need eclipse 3.5 probably, thats from like...2010 or something
<pie_> will that even eval still?
<{^_^}> [nixpkgs] @megheaiulian opened pull request #57655 → gitraken: 4.2.2 -> 5.0.1 → https://git.io/fjeoH
<noonien> clever: i know what's wrong
<noonien> my version of nixpkgs doesn't use vte-ng
<noonien> .. i think
<noonien> however, overlaying vte doesn't seem to be doing anything either
<{^_^}> [nixpkgs] @veprbl closed pull request #55760 → openmw: 0.43.0 -> 0.44.0 → https://git.io/fh7zl
<{^_^}> [nixpkgs] @veprbl closed pull request #46153 → openmw: 0.43.0 -> 0.44.0 → https://git.io/fAuJn
<{^_^}> [nixpkgs] @veprbl merged pull request #57493 → openmw: 0.43 -> 0.44 → https://git.io/fhjVN
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fjeo5
<samrose> does nixos automatically create a swapfile on install?
<mightybyte> I'm seeing a weird problem with haskell dependencies. Dependencies seem to be there, but I'm getting an error that they're not.
<mightybyte> I have a full description of the problem here: https://github.com/mightybyte/nix-duplicate-packages
<samrose> it doesn't appear that nixos does create swapfile by default on install, but I thought I'd ask
<noonien> i believe this is the relevant config file that creates a swapfile
<samrose> noonien: thanks looks like it needs to be specified
<Yaniel> is it possible to tell rustPlatform about cargo projects that aren't referred from the root Cargo.toml?
<buffet> hey, just interested, whats the reason behind the decission to have perl available in the base install?
zupo has joined #nixos
rycwo has joined #nixos
<noonien> i'm unsure if this is the reason, but i believe perl is required for a system to be POSIX compatible
<infinisil> pie_: If it was packaged already back then, chances are high it will eval :)
<pie_> infinisil, it looks like it evals (after i figured out how to use -I again...)
domogled has joined #nixos
<DigitalKiwi> noonien: lol i'm not saying you're wrong but that sounds like some perl propaganda
<pie_> infinisil, but now i run into this :O https://bpaste.net/show/d7c95f82f3e1
<buffet> noonien: i dont think it is though, is it really?
<infinisil> pie_: Try to use a commit whose stdenv is cached by hydra
<infinisil> pie_: By e.g. choosing a previous release or so
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57655 → gitkraken: 4.2.2 -> 5.0.1 → https://git.io/fjeoH
<{^_^}> [nixpkgs] @xeji pushed commit from @megheaiulian to master « gitkraken: 4.2.2 -> 5.0.1 (#57655) »: https://git.io/fjeKf
Myhlamaeus has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @booxter opened pull request #57656 → patchelf: fix golang support → https://git.io/fjeKT
<{^_^}> [nixpkgs] @booxter closed pull request #57618 → Patch patchelf for golang support → https://git.io/fjeWs
rauno has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil merged pull request #56426 → xmonad-with-packages: add xmonad-contrib to packages by default → https://git.io/fhNs3
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjeKk
<noonien> DigitalKiwi, buffet: i'm not really a fan of perl, i can only find perl mentioned mentioned once in the POSIX standard @http://pubs.opengroup.org/onlinepubs/9699919799/ so i might be wrong.
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjeKI
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @iblech opened pull request #57657 → kfind: init at 18.12.1 → https://git.io/fjeKL
paluh has joined #nixos
paluh has quit [Client Quit]
grizwako has quit [Remote host closed the connection]
alex`` has quit [Read error: Connection reset by peer]
_kwstas has joined #nixos
_kwstas has quit [Read error: Connection reset by peer]
Fare has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @peti closed pull request #57400 → R: 3.5.2 -> 3.5.3 → https://git.io/fhjZu
<{^_^}> [nixpkgs] @peti closed pull request #57423 → Update CRAN and Bioconductor package sets → https://git.io/fhjWp
<{^_^}> [nixpkgs] @Infinisil merged pull request #56465 → overmind: 1.2.1 -> 2.0.1 → https://git.io/fhNV6
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjeK3
<{^_^}> [nixpkgs] @xeji merged pull request #57646 → containerd: 1.2.4 -> 1.2.5 → https://git.io/fjeVQ
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fjeKG
<{^_^}> [nixpkgs] @vcunat pushed 343 commits to staging-next: https://git.io/fjeKZ
grizwako has joined #nixos
rycwo has quit [Ping timeout: 245 seconds]
adetokunbo has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #57648 → kail: 0.7.0 -> 0.8.0 → https://git.io/fjewW
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fjeKC
<{^_^}> [nixpkgs] @megheaiulian opened pull request #57658 → avocode: 3.6.2 -> 3.6.12 → https://git.io/fjeKW
<{^_^}> [nixpkgs] @Infinisil merged pull request #57553 → vim-plugins: typo propogatedBuildInputs -> propagatedBuildInputs → https://git.io/fhjNi
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjeKl
<Yaniel> can I somehow tell rustPlatform.buildRustPackage about targets that are not refered from the top-level Cargo.toml?
<{^_^}> [nixpkgs] @feijoas opened pull request #57659 → flat-remix-icon-theme: init at 2019-03-14 → https://git.io/fjeK8
zupo_ has joined #nixos
zupo has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #57454 → linux_latest-libre: fix build → https://git.io/fhj0l
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fjeKz
<{^_^}> [nixpkgs] @xeji pushed commit from @alyssais to release-19.03 « linux_latest-libre: fix build »: https://git.io/fjeKg
linarcx has joined #nixos
linarcx has quit [Client Quit]
endformationage has quit [Ping timeout: 246 seconds]
martinb has joined #nixos
linarcx has joined #nixos
<noonien> i want to create a patch for a program, is there an easy way of dropping into a shell in which i have access to a derivation so i can change and test it multiple times?
<noonien> i think i can just copy the nix file and nix-shell into it, is there an alternative?
<Flip[m]1> hello, i'm just starting out with nix and i'm wondering if i can do everything with the 'nix' command instead of having to learn all the nix-* commands? I read through the gist at https://github.com/NixOS/nix/issues/779 but it seems like this hasn't been implementet yet? Is there any way to install a package with the 'nix' command or can i only do 'nix run'?
<{^_^}> nix#779 (by Profpatsch, 3 years ago, closed): Redesign of the nix command line
<infinisil> noonien: If it's in nixpkgs, just `nix-shell -A hello` will do
pie___ has joined #nixos
thibm has joined #nixos
<infinisil> Flip[m]1: nix isn't done yet, and it might change in the future. One thing you can't do with it for example is install stuff, you'll have to use nix-env for that
<Flip[m]1> ok, thanks.
<infinisil> Flip[m]1: I find the nix-* commands easier to use anyways, they have proper man pages and make more sense
<noonien> infinisil: `error: getting status of '<pwd>/default.nix': No such file or directory`
<infinisil> noonien: Gotta be in the top level directory of nixpkgs
<Flip[m]1> i dont know about that - from an outside perspective the nix proposal seems a lot more 'obvious'
pie_ has quit [Ping timeout: 250 seconds]
<noonien> infinisil: what does -A do exactly?
<infinisil> Flip[m]1: Hmm yeah I guess it's not too bad, but most of that doesn't seem to be implemented, so ehh
estrom has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #57349 → libcmis: 0.5.0 -> 0.5.2, new home, fix and enable tests + man → https://git.io/fhjIn
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjeKw
<Flip[m]1> yeah that's what confused me
<infinisil> noonien: `nix-shell -A hello` = `nix-shell ./default.nix -A hello` ~= Give me a shell to build `(import ./default.nix {}).hello`
<Flip[m]1> i guess i'll have to pull up my sleeves and crack open the man pages
<noonien> infinisil: i see i got $out set to the output of the package i'm trying to build
<Flip[m]1> thanks
paulreimer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #57539 → nghttp2: 1.36.0 -> 1.37.0 → https://git.io/fhj5K
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjeKr
<estrom> I just `nix-channel --update` and `nixos-rebuild switch`, and nix-env -u discord. But I don't have the 0.0.9 package in my nixpkgs. But it should be out by now. What am I doing wrong?
<noonien> ah, so it basically does "callPackage" and stops?
<noonien> well, or something equivalent
<{^_^}> [nixpkgs] @dtzWill merged pull request #57606 → vttest: init at 20190105 → https://git.io/fjeZb
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fjeKo
<{^_^}> [nixpkgs] @dtzWill merged pull request #57543 → llvmPackages_8: rc2 -> rc5 → https://git.io/fhjdq
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjeKK
<noonien> or is the nix derivation evaluated but the builder not called?
<{^_^}> [nixpkgs] @dtzWill merged pull request #57541 → gtk3: 3.24.5 -> 3.24.7 → https://git.io/fhjdT
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjeK6
<noonien> i see i can `cd $src`, which is awesome
<infinisil> noonien: It sets up the environment as if it were to call the builder next
<noonien> great!
slack1256 has joined #nixos
<noonien> can I call the builder multiple times?
<noonien> or, at least, just call it once?
pie___ has quit [Ping timeout: 272 seconds]
<noonien> i see i can't call `unpackPhase`
<{^_^}> [nixpkgs] @dtzWill merged pull request #56798 → llvmPackages_8: rc2 -> rc3 → https://git.io/fhxOH
<linarcx> Hi. i updated my nixos. after update ranger file manager can't start. It gives me an error.
<estrom> Ah, nevermind. Forgot I could check this, https://howoldis.herokuapp.com/. The update is not live yet! :)
<DigitalKiwi> nixos-rebuild --upgrade doesn't always find my channels
ym555 has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #57497 → urh: 2.5.5 -> 2.5.6 → https://git.io/fhjwQ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjeKy
<DigitalKiwi> and by always i mean this happens about every day i try and then i --remove --add and it works for a while
hlolli has joined #nixos
<sphalerite> DigitalKiwi: nixos-rebuild's --upgrade flag only updates the nixos channel IIRC.
<sphalerite> DigitalKiwi: so you'll probably just want to use nix-channel --update && nixos-rebuild <…>
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
<DigitalKiwi> sooo i probably did a gc and it removed them and then the nix-channel --update repopulated it?
<{^_^}> [nixpkgs] @veprbl merged pull request #57650 → apmplanner2: fix build → https://git.io/fjerm
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjeKd
<DigitalKiwi> sphalerite: ok yeah that's usually what i end up doing as that ends up working, thanks
<{^_^}> [nixpkgs] @dtzWill merged pull request #57418 → kmod: 25 -> 26 → https://git.io/fhjWX
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to staging: https://git.io/fjeKb
<DigitalKiwi> is there a way to make those nixos-1809 nixos-1903 = import... modular?
<DigitalKiwi> i have it duplicated in other files i'd like to just include one file
agander has quit [Read error: Connection reset by peer]
estrom has quit [Remote host closed the connection]
thetet has left #nixos [#nixos]
thetet has joined #nixos
<sphalerite> DigitalKiwi: you can also do something kinda hacky like environment.systemPackages = [(lib.hiPrio (pkgs.writeShellScriptBin "nixos-rebuild" ''REAL_ARGS=() ; while [[ $# -gt 0 ]] ; if [[ --upgrade = $1 ]] ; then nix-channel --update ; shift ; fi ; REAL_ARGS+=("$1") ; shift ; done ; exec ${config.system.build.nixos-rebuild}/bin/nixos-rebuild ''${REAL_ARGS[@]}'' ))];
imdoor has joined #nixos
<sphalerite> plus better whitespace and fixing any potential mistakes I made there :p
<noonien> does nix block network access for non-fixed-output during build time on macos as well?
<sphalerite> noonien: yes, unless you disable the sandbox
work_ has joined #nixos
Boom_Rang has quit [Quit: WeeChat 2.3]
<noonien> hmm, interesting, how does it do that? does mac hae network namespaces/cgroups?
sanscoeur has joined #nixos
<sphalerite> noonien: no, but some other sandbox functionality
<noonien> ah, i see, thanks!
knupfer has joined #nixos
<sphalerite> noonien: look for __APPLE__ in https://github.com/NixOS/nix/blob/master/src/libstore/build.cc if you're interested in all the gory details
orivej has quit [Ping timeout: 268 seconds]
<noonien> ah, so it uses the sandbox functionalty, interesting
<noonien> thanks for the pointers
<noonien> i wonder if windows has something similar, which denies networking
<sphalerite> also, I don't think it uses cgroups at all on linux, just namespaces
<noonien> yeah, i was looking at that
rcshm has quit [Remote host closed the connection]
<noonien> i was wondering if it was feasible to run something similar to nix on windows, then i remembered how much i dislike windows
<sphalerite> you can run nix on WSL to some extent
rcshm has joined #nixos
<sphalerite> but yes, in the ideal scenario you just don't run windows ;)
hlolli has quit [Quit: Leaving]
Boomerang has joined #nixos
Boomerang has quit [Client Quit]
martinb__ has joined #nixos
random_yanek has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji merged pull request #57658 → avocode: 3.6.2 -> 3.6.12 → https://git.io/fjeKW
rcshm has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji pushed commit from @megheaiulian to master « avocode: 3.6.2 -> 3.6.12 (#57658) »: https://git.io/fje63
<eyJhb> sphalerite: my workplace tried to get me to run windows. The guy running the depeartment didn't understand why I wouldn't switch and "what the big difference" is.
rcshm has joined #nixos
martinb has quit [Ping timeout: 252 seconds]
jomik has joined #nixos
<jomik> Heeey, I have a small issue guys ~ I am configuring some parts of nvim through nix (has to add a nix/store path to packpath), but I want the rest of my config to be in the standard config. Is there some neat way of doing this?
rcshm has quit [Read error: Connection reset by peer]
stepcut has quit [Remote host closed the connection]
rcshm has joined #nixos
stepcut has joined #nixos
<sphalerite> eyjhb: lol. Well, congratulations on it being "tried to get me to" and not "made me" ;)
<jomik> Also, I guess I'd prefer not having the standard config directory be copied to nix store, because then I do avoid having to rebuild while hacking at it. I guess I can add a line to source the default manually through the customRC option that is exposed..
<jomik> I guess that's the solution. Lol
<jomik> good night :D
<eyJhb> sphalerite: would rather quit than doing so... :p
jomik has quit [Client Quit]
stepcut has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #57607 → gitAndTools.lab: 0.14.0 -> 0.15.2 → https://git.io/fjene
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fje64
nDuff has joined #nixos
thetet has quit [Quit: Leaving.]
random_yanek has joined #nixos
martinb__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @c0deaddict opened pull request #57661 → pythonPackages.pyrr: 0.10.1 -> 0.10.2 → https://git.io/fje6a
scientist has joined #nixos
wfranzini has joined #nixos
scientist has quit [Client Quit]
<Yaniel> can I define another package from the same fetchFromGithub?
domogled has quit [Ping timeout: 244 seconds]
<infinisil> Yaniel: let src = fetchFromGitHub { ... }; in { package1 = mkDerivation { inherit src; ... }; package2 = mkDerivation { inherit src; ... }; }
slack1256 has quit [Remote host closed the connection]
<Yaniel> ahh right
martinb has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Yaniel> maybe that's the easiest way to configure a crate in a subdirectory that's not listed in the root cargo.toml
<{^_^}> [nixpkgs] @CrazedProgrammer opened pull request #57662 → wf-recorder: init at 2019-03-12 → https://git.io/fje6P
<Yaniel> https://github.com/Cogitri/gxi/blob/master/meson.build (why do people have to make things so difficult for everyone)
scientist has joined #nixos
<reallymemorable> I curl-ed the latest nixpkgs onto osx and installed but I can't find the /etc/nix/nix.conf directory
<scientist> hello guys, I want to turn sticky keys, how do you enable sticky keys in an xkb layout ?
adetokunbo has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @veprbl pushed commit from @stephengroat to release-19.03 « apmplanner2: fix build »: https://git.io/fje6H
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
scientist has quit [Quit: WeeChat 2.2]
pie_ has joined #nixos
<infinisil> reallymemorable: nixpkgs /= nix, how exactly did you install what?
scientist has joined #nixos
scientist has quit [Client Quit]
<LnL> there's no nix.conf by default, it's not required
<{^_^}> [nixpkgs] @hlolli opened pull request #57663 → fix: csound-manual by using newer git revision → https://git.io/fje6A
<pie_> infinisil, im not sure the problem is whether the stdenv is cached, because it seems to be downloading stuff from hydra, this libcurl just explodes somehwo
<pie_> infinisil, like, it seems to be a problem with how it was build or something (???)
<infinisil> What's the error again, and also what's the nixpkgs version and the command?
<pie_> yep hold on
agander has joined #nixos
<pie_> infinisil, ok you might be right with that one
<pie_> ill paste te error with a different commit
<pie_> infinisil, well, ok, i thikn whats going on is that its just failing the same way at a later point
<pie_> or not... /me pokes around some more
<reallymemorable> infinisil: i know
<reallymemorable> i was hoping to get help here for the package manager
<reallymemorable> but i figured out my question
<reallymemorable> thanks anyway :0
<reallymemorable> :)*
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.beta: 3.4.0.15 -> 3.4.0.16 »: https://git.io/fje6j
<{^_^}> [nixpkgs] @xeji merged pull request #57652 → Release 19.03 php updates → https://git.io/fjeoO
<{^_^}> [nixpkgs] @xeji pushed 4 commits to release-19.03: https://git.io/fjeiv
shiver32 is now known as shiver
rcshm has quit [Read error: Connection reset by peer]
<pie_> infinisil, everything i pick from here seems to try to do that bootstrap thing https://github.com/NixOS/nixpkgs/releases?after=backups%2Fcve-2010-3856%4034170 , but the problem is still that it cant download stuff for whatever reason
<{^_^}> [nixpkgs] @xeji merged pull request #57651 → Release 18.09 php updates → https://git.io/fjeoq
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.09: https://git.io/fjeif
rcshm has joined #nixos
<pie_> i mean, thats pretty understandable but who knows why its like that: curl: (1) Protocol https not supported or disabled in libcurl
<pie_> maybe hydra wasny using https yet in 2010?
<infinisil> Well it seems that curl wasn't compiled with https back then?
<LnL> the bootstrap curl doesn't support ssl
<pie_> so...what do
<LnL> what's the problem, http://nixos.org/tarballs redirects to https?
<yl[m]> is there an online playground for Nix? Like the repl on https://nixcloud.io/tour/?id=1 but without the tutorial part?
<azazel> yl[m]: can't you use "nix repl" on your machine?
<yl[m]> azazel: I can, but I'm trying to show nix, the language, off to a friend and was hoping to share a link like I do on https://play.golang.org
<infinisil> LnL: pie_: Well best would be to find a commit where stdenv doesn't need to be built
<pie_> LnL, should I manually add it to the store...?
<LnL> that would also work, but tarballs.nixos.org doesn't redirect so that will work
wedens has quit [Quit: Connection closed for inactivity]
<pie_> LnL, i mean im giving it a git commit, i dont know how i should tell it to do the thing you said
<LnL> gchristensen: ^ do you know if that's easy to fix?
<LnL> ah yeah you'd have to edit the url in nixpkgs
rcshm has quit [Read error: Connection reset by peer]
rcshm has joined #nixos
<azazel> yl[m]: there isn't one, not that I'm aware of
<yl[m]> it's time we make one then!
<yl[m]> play.nixos.org anyone? :)
<pie_> LnL, how do i manually add to the store?
rcshm has quit [Read error: Connection reset by peer]
<infinisil> yl[m]: That would be cool :)
rcshm has joined #nixos
thibm has quit [Quit: WeeChat 2.2]
<LnL> nix-store --add-fixed sha256 <path> I think
<pie_> hm ok thanks, ill see if i can find that in the manual
<{^_^}> [nixpkgs] @veprbl merged pull request #56990 → nsis: init at 3.04 → https://git.io/fhp0Q
<{^_^}> [nixpkgs] @veprbl pushed 6 commits to master: https://git.io/fjeiG
<LnL> heh, I think that's one of the 'magic' nix-store flags :)
kisik21 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #57664 → xorg.xload: fix build → https://git.io/fjeiZ
<pie_> LnL, doesnt look like it exists >_>
<pie_> * in the man page, or i missed it
<LnL> definitively does, just not in the man page
<pie_> LnL, thats bad :P
martinb has quit [Ping timeout: 252 seconds]
<LnL> ok, fine
<pie_> LnL, theres a --add though
<pie_> LnL, im not saying i wont use it, just that its bad ;D
* LnL makes a new branch
<pie_> :3
jasongrossman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #57664 → xorg.xload: fix build → https://git.io/fjeiZ
<pie_> oh boy more broken links
knupfer has quit [Remote host closed the connection]
_kwstas has joined #nixos
stepcut has joined #nixos
<pie_> this is the next round https://bpaste.net/show/187f6e04313a
<pie_> its kind of frustrating that nixpkgs policy is to only have one version of things. ok maybe theres a repo scaling issue but ... /me scratches head
<infinisil> Can't you use a later version?
<pie_> infinisil, no i cant, ghidra's exlipse plugin seems tied to this version of eclipse
<pie_> eclipse
<pie_> at least, thats my hypothesis
<infinisil> 3.5.2?
<pie_> well, " Missing requirement: GhidraDev 2.0.0.201902220800 (ghidra.ghidradev 2.0.0.201902220800) requires 'osgi.bundle; org.eclipse.ant.core 3.5.200' but it could not be found"
<pie_> whatever that means
<{^_^}> [nixpkgs] @7c6f434c pushed commit from @booxter to release-19.03 « xscreensaver: Enable perl modules needed for RSS image fetch (#57629) »: https://git.io/fjei4
terlar has joined #nixos
<infinisil> I'm not sure if that's worth the pain of trying to build an old stdenv
<nDuff> ...oh, has ghidra finally posted their source yet?
<pie_> nDuff, not that i know o
<pie_> of
<pie_> but theres some scripts, and theres source code for a lot of the java modules
<infinisil> Try to use an older version of emacs, but not too old
<pie_> theyre in the lib/whatever-src.zip directories
stepcut has quit [Ping timeout: 245 seconds]
<reallymemorable> ok now i have a nixos question. I am trying to use nano to edit a read only file. I have tried both my user and root. And I have tried running chmod 666 filename.conf as root
<reallymemorable> but nothing is working
<symphorien> a file in /nix/store ?
<reallymemorable> etc/nix/nix.conf
<pie_> infinisil, most people i know use vim at best
<{^_^}> [nixpkgs] @7c6f434c merged pull request #57640 → treewide: fix some typos → https://git.io/fje2o
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fjeiR
<reallymemorable> its a problem with permissions
<nDuff> reallymemorable, where does realpath or readlink -f say that file is located?
<reallymemorable> not the text editor
<infinisil> pie_: eclipse* :)
rcshm has quit [Read error: Connection reset by peer]
<pie_> infinisil, well you just told me to use emacs :P
<nDuff> reallymemorable, if it's behind a symlink into the nix store, it's very intentionally read-only.
<reallymemorable> nix/store/
<symphorien> reallymemorable: you should use /etc/nixos/configuration.nix and https://nixos.org/nixos/options.html#nix.
<nDuff> yeeeah. Don't edit anything there :)
<{^_^}> [nixpkgs] @xeji opened pull request #57665 → xorg.xload: fix build → https://git.io/fjeiE
<infinisil> symphorien: I think they're on darwin
rcshm has joined #nixos
<infinisil> iirc
<reallymemorable> but i need to add a user to the nix.conf file
<symphorien> ah. then the equivalent with nix-darwin I guess
<nDuff> reallymemorable, ...those files were generated by building a Nix derivation; if you want a different version of the file, you should modify the derivation, and build a new/different instance of it
<pie_> so i guess, if youre running nix on a 10 year old system, good luck building it again :P
<nDuff> reallymemorable, ...so instead of changing the file, you'd be replacing it with a *different* symlink into the store, that has your added user
<reallymemorable> ok this sounds complicated
<reallymemorable> will investigate
<{^_^}> [nixpkgs] @xeji merged pull request #57647 → altcoins.freicoin: fix build → https://git.io/fjewk
<{^_^}> [nixpkgs] @xeji pushed commit from @stephengroat to master « altcoins.freicoin: fix build (#57647) »: https://git.io/fjeiu
<nDuff> reallymemorable, ...well, most of the complicated stuff is done by Nix under the hood; you don't change the symlink itself, you just give nix-darwin the new configuration to build, and it builds the new version of the file and links it into place for you.
<nDuff> (nix-darwin assuming you're on MacOS).
<terlar> What is the recommended way to store company specific internal/private packages and configuration? I have currently written some of those packages for my company, but I am thinking about structuring them in a best practice way before releasing it toe the rest of the people.
<infinisil> reallymemorable: What OS are you on now? You said it's a NixOS question, but less than an hour ago you said you installed Nix on OSX, so what is it?
<reallymemorable> i have two computers
<reallymemorable> this is a NixOS machine
<infinisil> I see
rcshm has quit [Read error: Connection reset by peer]
<reallymemorable> the pervious question was nixpkgs on OSX
<nDuff> okay, in that case, you change /etc/nixos/configuration.nix
<infinisil> Yeah ^^
<symphorien> reallymemorable: see https://nixos.org/nixos/options.html#nix.+user
rcshm has joined #nixos
<nDuff> reallymemorable, ...and use the nixos-rebuild command to apply those changes.
<infinisil> > option "nix."
<{^_^}> [ "nix.allowedUsers" "nix.autoOptimiseStore" "nix.binaryCachePublicKeys" "nix.binaryCaches" "nix.buildCores" "nix.buildMachines" "nix.checkConfig" "nix.daemonIONiceLevel" "nix.daemonNiceLevel" "nix.di...
<{^_^}> [nixpkgs] @xeji pushed commit from @stephengroat to release-19.03 « altcoins.freicoin: fix build (#57647) »: https://git.io/fjei2
<reallymemorable> ok cool thanks
<reallymemorable> i added another trusted user
<reallymemorable> the person i was talking to uses the nixpkg manager on osx
<reallymemorable> so i guess that operates somewhat differently
<reallymemorable> for adding trusted users
<reallymemorable> to the package manager (even though its inside nixos for me)?
<nDuff> right, on NixOS, nix manages nix.conf
<infinisil> NixOS manages nix.conf*
<{^_^}> [nixpkgs] @xeji merged pull request #57637 → gitAndTools.gitRemoteGcrypt: Add missing dependencies → https://git.io/fjeup
<{^_^}> [nixpkgs] @xeji pushed commit from @talyz to master « gitAndTools.gitRemoteGcrypt: Add missing dependencies (#57637) »: https://git.io/fjei6
<reallymemorable> got it
<reallymemorable> thx
<{^_^}> [nixpkgs] @xeji merged pull request #57661 → pythonPackages.pyrr: 0.10.1 -> 0.10.2 → https://git.io/fje6a
<{^_^}> [nixpkgs] @xeji pushed commit from @c0deaddict to master « pythonPackages.pyrr: 0.10.1 -> 0.10.2 (#57661) »: https://git.io/fjeiX
<{^_^}> [nixpkgs] @xeji pushed commit from @c0deaddict to release-19.03 « pythonPackages.pyrr: 0.10.1 -> 0.10.2 (#57661) »: https://git.io/fjeiH
Dr8128 has quit [Ping timeout: 245 seconds]
_kwstas has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @hedning pushed 4 commits to gnome-3.32: https://git.io/fjeid
<{^_^}> [nixpkgs] @booxter opened pull request #57667 → xscreensaver: Enable perl modules needed for RSS image fetch (#57629) → https://git.io/fjeiF
<{^_^}> [nixpkgs] @booxter closed pull request #57667 → xscreensaver: Enable perl modules needed for RSS image fetch (#57629) → https://git.io/fjeiF
endformationage has joined #nixos
<{^_^}> [nixpkgs] @booxter opened pull request #57668 → xscreensaver: Enable perl modules needed for RSS image fetch (#57629) → https://git.io/fjeiA
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #57669 → libseccomp: 2.3.3 -> 2.4.0 → https://git.io/fjeix
<pie_> LnL, do you know if theres an easy way to get it to just pre-dump all the urls it will want to download so i can script it trying to fetch stuff off ftp or something instead of doing it manually
<pie_> (probably still easier for me to do it manually...)
mbrgm has quit [Quit: ZNC 1.7.2 - https://znc.in]
imdoor has quit [Quit: imdoor]
<LnL> I just realised nix-store -r <path> probably also works, that might be easier
Mic92 has quit [Quit: WeeChat 2.3]
Ariakenom has quit [Quit: Leaving]
sanscoeur has quit []
Mic92 has joined #nixos
scientist has joined #nixos
jtojnar has joined #nixos
<scientist> quick question, how do i enable sticky keys in my xkb layout ?
Makaveli7 has quit [Quit: Leaving]
<clever> scientist: on my end, i set this, after poking around with some things: xkbOptions = "caps:shiftlock";
agander has quit [Ping timeout: 246 seconds]
<clever> which file did i find that in...
<clever> [root@amd-nixos:~]$ grep -r --color shiftlock $(nix-store -qR /run/current-system | grep xkeyboard)
<clever> /nix/store/9x7cilwdr3x0xjm624xkcnzjwbfnlhjz-xkeyboard-config-2.24/share/X11/xkb/rules/base: caps:shiftlock = +capslock(shiftlock)
<clever> scientist: there it is, you can read your xkeyboard-config files, to file all xkb options
<aanderse> can anyone try and install & run davmail from nixos unstable and see if it crashes for them too?
<clever> /nix/store/9x7cilwdr3x0xjm624xkcnzjwbfnlhjz-xkeyboard-config-2.24/share/X11/xkb/rules/evdev.xml: <name>caps:shiftlock</name>
<clever> scientist: i dont see sticky anywhere in that derivation
<tilpner> aanderse: A window and a notification pop up
<Mic92> Is there an aquivalent to __FILE__ in nix to get the file path of the current expression?
<aanderse> tilpner: ok, what am i doing wrong then....
<aanderse> hmm
mbrgm has joined #nixos
<aanderse> sudo nix-channel --list
<aanderse> hmm
<tilpner> That's not nixos-unstable
<aanderse> that might be why
<infinisil> Mic92: There is a hacky way.. (builtins.unsafeGetAttrPos "a" { a = null; }).file
<Mic92> infinisil: thanks a lot!
<scientist> clever: thanks for the tips, https://hastebin.com/fuyejuhipe.xml I swapped caps lock and ctrl left to solve the emacs pinky problem, now I am trying to figure out how to activate sticky keys in my xkb layout ?
<aanderse> gah i'm ssh'd onto too many servers atm
<aanderse> my channel list actually says this:
<aanderse> so then in configuration.nix
<aanderse> let unstable = import <nixos-unstable> { }; in {
<aanderse> environment.systemPackages = [ unstable.davmail ];
<clever> share/X11/xkb/rules/base.lst: ctrl:swapcaps Swap Ctrl and Caps Lock
<clever> scientist: an xkbOptions exists to swap ctrl and capslock
<aanderse> tilpner: how do you have unstable added to your system, and does anyone see a problem with the way i have it added?
<clever> scientist: it should be as simple as xkbOptions = "ctrl:swapcaps";
<{^_^}> [nix] @LnL7 opened pull request #2724 → nix-store: document --add-fixed → https://git.io/fjePm
<infinisil> aanderse: Looks fine to me, davmail on unstable doesn't crash for me
<clever> share/X11/xkb/symbols/ctrl:xkb_symbols "swapcaps" {
<tilpner> aanderse: I was evaluating nixpkgs fetched with fetchTarball
<infinisil> aanderse: (tested with `$(nix-build --no-out-link channel:nixos-unstable -A davmail)/bin/davmail`)
<{^_^}> nix#2724 (by LnL7, 33 seconds ago, open): nix-store: document --add-fixed
<tilpner> (And no pinning in this case)
<clever> scientist: that file i just pasted, does the remapping, similiar to your pastebin
<pie_> LnL, it seems it can take multiple file paths btw
<scientist> clever: thanks, i will try that out now
<clever> /nix/store/0632bl75ydymsx5ivx8k204b9aagw40w-etc-unnamed-12.1: Option "XkbOptions" "caps:shiftlock"
<clever> scientist: and behind the scenes, the xkbOptions flag lands in xorg.conf, under this field
<pie_> LnL, also, yay :D
<LnL> pie_: yeah, I think rep='repeat' adds paths... to the manpage
schneid3306 has joined #nixos
<clever> scientist: https://www.x.org/releases/current/doc/man/man4/kbd.4.xhtml says that XkbOptions can be comma seperated
<Mic92> infinisil: is this different from (toString ./.) ?
<clever> scientist: https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration also mentions a `grp:alt_shift_toggle`, and toggle sounds like it could also be sticky!
<infinisil> > toString ./.
<{^_^}> "/var/lib/nixbot/state/nixpkgs"
<infinisil> Mic92: Well, that's just a folder, not the file
<Mic92> infinisil: ah. ok. In my case this is what I want.
<infinisil> Ah well then :)
<infinisil> > (builtins.unsafeGetAttrPos "a" { a = null; }).file
<{^_^}> "(string)"
<infinisil> Oh right
<aanderse> infinisil: this is what happens when i run that: https://pastebin.com/A630uqEj
schneid3306 has quit [Quit: Quit.]
acarrico has quit [Ping timeout: 252 seconds]
<scientist> clever: thanks for the tips, should I use xkbOptions to make all my modifier keys sticky ? I am just trying to set everything up now so I do not have to do it later, I'm going to be spending a lot of time using emacs so is making all the modifier keys sticky useful ?
rprije has joined #nixos
<noonien> how can i overrideAttrs for gnome3.vte-ng? in my overlay? `gnome3.vte-ng.overrideAttrs (old: {` does not seem to work, do i need to overrideattrs twice?
<clever> scientist: i dont think i could use a machine where modifiers are sticky, i'm just too used to them being non-sticky, and i dont have to hold them much
<clever> noonien: checking...
<clever> noonien: gnome3.overrideScope exists
<noonien> so 1xoverrideScope then 1xoverrideAttrs i guess
<clever> noonien: so you want gnome3 = super.gnome3.overrideScope (gsuper: gself: { vte-ng = gsuper.vte-ng ...; });
<infinisil> aanderse: That doesn't look good, seeing that libc there makes me think it's a libc problem, I think there's been some problems with that in the past
<aanderse> infinisil: :\
<noonien> clever: `trace: WARNING: `overrideScope` (from `lib.makeScope`) is deprecated. Do `overrideScope' (self: super: { … })` instead of `overrideScope (super: self: { … })`. All other overrides have the parameters in that order, including other definitions of `overrideScope`. This was the only definition violating the pattern.`
<noonien> hmm
<scientist> clever: thanks for the tips, i'm almost done setting this stuff up.
<clever> noonien: yeah, its been renamed since i last looked at it, and i keep forgetting
<noonien> using overrideScope' results in infinite recursion
<clever> noonien: notice that super and self are swapped
<noonien> oh, yeah, i noticed that and forgot to modify, thought your version had the correct order
<noonien> my bad, thanks for pointing that out!
scientist has quit [Quit: WeeChat 2.2]
<clever> i believe mine is correct, for overrideScope
<clever> but not for overrideScope'
<noonien> http://vpaste.net/lFgf7 kind of ugly, but great that it works!
<noonien> couldn't have done this with any other OS i know
<clever> noonien: https://github.com/cleverca22/nix-tests/blob/master/kexec/simple-test.nix#L48 this is a simple example of how to create something with an overrideScope
<clever> i use that all the time, so you can easily mutate a set of packages i'm creating
scientist has joined #nixos
<scientist> xkbOptions = "ctrl:swapcaps"; , do i place this in the xkb_keycodes or xkb_symbols section ?
<noonien> hmm, can't say i understand it yet
<clever> scientist: its a nixos option, that goes into configuration.nix
<{^_^}> [nixpkgs] @kalbasit merged pull request #57080 → buildGoModule: building Go binaries in two phases → https://git.io/fhh3C
<{^_^}> [nixpkgs] @kalbasit pushed 14 commits to master: https://git.io/fjePl
<scientist> clever: cool, i'll take a look now
boogiewoogie has joined #nixos
<infinisil> clever: Won't work with a custom xkb file
<clever> infinisil: dang!
<infinisil> scientist: Add +ctrl(swapcaps) to your include statement in xkb_symbols
<scientist> infinisil: thanks
ilmu has joined #nixos
<{^_^}> [nixpkgs] @artemist opened pull request #57671 → nixos/gitea: Add support for the REQUIRE_SIGNIN_VIEW option → https://git.io/fjePE
rfold has joined #nixos
<boogiewoogie> hey, rebuilding with the, manually added, current version discord expression (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/discord/default.nix) throws me "error: illegal name: '.drv'". show-trace: https://hastebin.com/eqaciqoqix. I'm confused, did anyone have this error before?
Rusty1 has quit [Ping timeout: 250 seconds]
<boogiewoogie> rebuilding w/o the expression works fine
<{^_^}> [nixpkgs] @eadwu opened pull request #57672 → glava: 1.6.0 -> 1.6.3 → https://git.io/fjePg
scientist has quit [Quit: WeeChat 2.2]
<infinisil> boogiewoogie: Add `name = "${pname}-${version}"`, does it work then?
schneid3306 has joined #nixos
<boogiewoogie> infinisil: testing!
<infinisil> boogiewoogie: nixpkgs not too long ago introduced the ability to only set pname and version, and the name would be set automatically from those. So if your nixpkgs version is too old, it doesn't have a name
leat2 has quit [Quit: WeeChat 2.3]
leat has joined #nixos
<boogiewoogie> infinisil: works fine now! thanks :) doesn't my nixpkgs get updated when I rebuild though?
<infinisil> boogiewoogie: Nah, only with the --upgrade flag
scientist has joined #nixos
<boogiewoogie> using that though!
<clever> boogiewoogie: sudo nix-channel --list
Rusty1 has joined #nixos
<clever> boogiewoogie: so by default, it will be using 18.09, which doesnt have that change
<clever> and nixos-rebuild --upgrade, only updates the nixos channel
<clever> you need `sudo nix-channel --update` to update the other channels
<scientist> infinisil: https://hastebin.com/fuyejuhipe.xml https://hastebin.com/ijakoxexaf.xml , i tried out your solution but i am not sure if it is working or not
<clever> then `import <nixos-unstabke>` will give you the new feature
<boogiewoogie> clever: I see, thanks for clarifying :)
leat has quit [Quit: WeeChat 2.3]
leat has joined #nixos
<gchristensen> LnL: what is the problem w.r.t. tarballs redirecting?
__monty__ has quit [Quit: leaving]
adetokunbo has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
<infinisil> scientist: How am I supposed to help you if you don't even know yourself whether it is what you want :/
<infinisil> scientist: Is it working or is it not working
rcshm has joined #nixos
acarrico has joined #nixos
<LnL> gchristensen: older stdenv builds didn't support ssl downloads during bootstrapping and used http://nixos.org/tarballs instead of the new subdomain
<gchristensen> ooh
<LnL> gchristensen: there's a redirect in place for that, but http://nixos.org/tarballs -> https://nixos.org/tarballs -> http://tarballs.nixos.org
<clever> doesnt fetchurl also just disable ssl cert checking, and trust all certs blindly?
<clever> or is the bootstrap curl even lacking ssl?
<LnL> yeah
<{^_^}> [nixpkgs] @Infinisil merged pull request #56765 → stepmania: 5.0.12 -> 5.1.0-b2 → https://git.io/fhAN4
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/fjePK
<scientist> infinisil: I tried it on xev but I had to hold down ctrl for it to work, I was thinking maybe i need to put +caps(swapcaps) instead of +ctrl(swapcaps) because i have ctrl left mapped to the caps lock key ?
<infinisil> scientist: Why did you do that?
<infinisil> If you want to use the predefined swapcaps rule then don't define your own incomplete one
tmaekawa has joined #nixos
rcshm has quit [Read error: Connection reset by peer]
<scientist> https://hastebin.com/fuyejuhipe.xml , i did this to solve the emacs pinky problem
rcshm has joined #nixos
jackdk has joined #nixos
Wharncliffe has joined #nixos
<scientist> infinisil: +caps(swapcaps) is `caps` the correct spelling to put this on the caps lock key
<infinisil> No that won't work
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjePX
rcshm has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ryantm merged pull request #57672 → glava: 1.6.0 -> 1.6.3 → https://git.io/fjePg
rcshm has joined #nixos
tmaekawa has quit [Client Quit]
winem_ has joined #nixos
<infinisil> scientist: I'll just give you this clue: ctrl(swapcaps) translates to the swapcaps section in the file $(nix-build --no-out-link '<nixpkgs>' -A xlibs.xkeyboardconfig)/share/X11/xkb/symbols/ctrl
jtojnar_ has joined #nixos
<infinisil> I don't know how to get this to work sorry
jtojnar_ has quit [Remote host closed the connection]
zupo has joined #nixos
sanscoeur has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #53422 → pythonPackages.dockerfile-parse: init at 0.0.13 → https://git.io/fh3fe
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjeP9
<scientist> nix-build --no-out-link '<nixpkgs>' -A , this command is not working in terminal, where is this file located ?
<sanscoeur> (New to nix; running on macOS High Sierra.) I want to install Curl with HTTP2 support. How do I do that? When I install with `nix-env -i curl`, get a version without HTTP2 support. So, do I have to build it from source? I've found `$ nix edit nixpkgs.curl` which has a line "http2Support ? true, nghttp2" that suggests it can be built with HTTP2 support, but how?
rcshm has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @andir opened pull request #2725 → docs: fix typo in AllowDirectReads → https://git.io/fjePH
scientist has quit [Quit: WeeChat 2.2]
<{^_^}> [nix] @grahamc merged pull request #2725 → docs: fix typo in AllowDirectReads → https://git.io/fjePH
<{^_^}> [nix] @grahamc pushed 2 commits to master: https://git.io/fjeP7
o1lo01ol1o has quit [Remote host closed the connection]
<LnL> sanscoeur: try nix-env -iA nixpkgs.curlFull
Glider_IRC_ has joined #nixos
<sanscoeur> $ nix-env -iA nixpkgs.curlFull
<sanscoeur> installing 'curl-7.64.0'
<sanscoeur> building '/nix/store/v6khzrnpncc163gfirj2l8m91f5ffbx1-user-environment.drv'...
<sanscoeur> created 48 symlinks in user environment
<sanscoeur> $ which curl
<sanscoeur> /Users/u205/.nix-profile/bin/curl
<sanscoeur> $ curl --http2 --trace-ascii - https://localhost:32803/
<sanscoeur> curl: (1) Unsupported protocol
scientist has joined #nixos
<sanscoeur> yikes. sorry for the spam there. No dice. :/
growpotkin has joined #nixos
scientist has quit [Client Quit]
ddellacosta has quit [Ping timeout: 245 seconds]
Glider_IRC has quit [Ping timeout: 250 seconds]
<LnL> hmm, works fine here
<growpotkin> Hey I know that NixOS deletes some of the root directories when rebuilding (or maybe I'm crazy). Is it safe for me to store stuff in common spots like `/usr/src`, `/usr/bin`, `/var`, etc
ddellacosta has joined #nixos
rfold has quit [Quit: leaving]
<growpotkin> I'm just paranoid. I've kind of treated the whole root of the filesystem as "the danger zone", with the exception of `/etc/nixos`
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<LnL> no need to worry except for things like eg. /etc that might get overwritten based on what's configured
<growpotkin> Thank you for the reassurance :)
<LnL> but I'm not sure why you'd pollute your system
<growpotkin> It's for little scripts that I need my window manager and little services to access.
<growpotkin> Convenient for things that I just need to "get to work" without fiddling with writing a derivation
<growpotkin> but yeah I agree that it should get kept to a minimum
linarcx has quit [Quit: WeeChat 2.2]
<LnL> up to you, there are some people that go all out and put / on a tempfs so they can't leave unmanaged stuff around without noticing :)
<nDuff> ...if you *must* have unmanaged content, I'd tend to suggest keeping it under /usr/local
mbrgm has quit [Read error: Connection reset by peer]
<growpotkin> Yeah thats what I was thinking
<growpotkin> right now thats what I do but in one of my user's directories
<growpotkin> but I'm sick of doing `/home/foo/src/bin/bar.sh` lol
mbrgm has joined #nixos
<growpotkin> (a HUGE difference I know)
<nDuff> To me, that sounds like a job for PATH+=":$HOME/local/bin" or such in ~/.bash_profile.
<growpotkin> I had tried that, but for whatever reason my window manager refuses to pick up my path changes
hellauer has joined #nixos
<growpotkin> I've tried .profile and .zprofile as well
erasmas has quit [Ping timeout: 245 seconds]
<growpotkin> what is completely bizarre is that sneaking PATH exports into a silent section of my PROMPT definition managed to make things available to my WM though
<growpotkin> Truly an enigma.
<clever> growpotkin: nixos puts ~/bin/ on PATH automatically
<growpotkin> oh word.
terlar has quit [Ping timeout: 245 seconds]
<growpotkin> I bet I'm breaking my path trying to append it haha
mkoenig has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @stephengroat opened pull request #57674 → bitcoinarmory: fix build → https://git.io/fjeX3
Myrl-saki has joined #nixos
dwdr has quit [Ping timeout: 245 seconds]
winem_ has quit [Ping timeout: 252 seconds]
stepcut has joined #nixos
pie_ has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
mkoenig has joined #nixos
sigmundv has joined #nixos
sanscoeur has quit []
o1lo01ol1o has quit [Ping timeout: 246 seconds]
NickSeagull has quit [Quit: WeeChat 2.4]
<infinisil> clever: Huh, you sure about that?
<clever> $ echo $PATH
<clever> /home/clever/bin:/run/wrappers/bin:/home/clever/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/clever/bin
<clever> infinisil: right at the very start
<infinisil> :/
<infinisil> Why though
<clever> nixos/modules/config/shells-environment.nix: # ~/bin if it exists overrides other bin directories.
<clever> 187 # ~/bin if it exists overrides other bin directories.
<clever> 188 export PATH="$HOME/bin:$PATH"
* infinisil git blames that
m0rphism has quit [Ping timeout: 245 seconds]
<infinisil> That was a long time ago
thc202 has quit [Ping timeout: 250 seconds]
<infinisil> Well, not too long
<infinisil> How about we introduce a betterDefaults option, where all the weird default decisions previously done get fixed
<infinisil> To not break backwards comp
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
Mrmaxmeier has joined #nixos