<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)
<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
<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 :(
<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 ?
<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
<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)
<{^_^}>
[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?
<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
<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
<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
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?
<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.
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
<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?
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
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 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
<{^_^}>
[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
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 ?
<{^_^}>
[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] @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
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.
<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 ?
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 ?
<{^_^}>
[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]
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
<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?
<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)
<{^_^}>
#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
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.
<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.
<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 { ... };`
<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 ?
<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`)
<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
<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]>
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.
<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 ?
<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>
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
<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
<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] @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
<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?
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
<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_>
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
<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
<{^_^}>
[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
<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...)
<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
<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
<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
<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
<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]
<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]
<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
<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