gchristensen changed the topic of #nixos to: NixOS 18.09 released https://discourse.nixos.org/t/1076 || 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
vk3wtf has quit [Ping timeout: 264 seconds]
<janat08> ty
<janat08> I used mobile for tethering internet after a day of workarounds
mckeanalicej has quit [Quit: Page closed]
<janat08> should i suggest that go into manual
<clever> yeah
<clever> the grub.device is only used for legacy booting
q6AA4FD has quit [Ping timeout: 268 seconds]
<protocol> fairly certain the only place it's mentioned is under the legacy portion, too
<samueldr> hm
<protocol> I don't think the UEFI specific parts don't mention grub at all
<samueldr> right
<protocol> *
<samueldr> I'm looking and it is as you say
<clever> if you want legacy on GPT, you need boot.loader.grub.device = "/dev/sda"; and a 1mb bios boot partition, not mounted, not formatted
<clever> that is entirely seperate from the ESP which is fat32
<samueldr> the installation section also describes it through using systemd-boot FWIW so it's not entirely disconnected
<clever> systemd-boot doesnt support legacy, so that half of the problem cant occur
<{^_^}> [nixpkgs] @andir pushed 0 commits to 18.09/openssh: https://git.io/fhnHO
janat08 has quit [Ping timeout: 256 seconds]
<pie_> jtojnar, samueldr well idk whats causing the icon breakage now and i ahve to go to sleep so I guess I need tolook into this later
vk3wtf has joined #nixos
<jackdk> is there a way to specify that a patch should be applied without caring about DOS/Unix line endings?
fendor has quit [Quit: Leaving]
<clever> jackdk: pkgs.fetchpatch can help if your downloading it, if not, fix the endings before you commit the patch to nixpkgs
carlosdagos has joined #nixos
<jackdk> my problem is that the file I'm patching has DOS line endings and I keep losing the ^Ms when I manually edit the patch
<clever> jackdk: oh, patchFlags
<jackdk> clever: thank you. Is that per-patch (I think I am doing the only patch, but I'm calling appendPatch on haskell packages)
<clever> jackdk: its for all patches
<jackdk> righto. is it better style to tweak patchFlags or fix line endings in the patch itself?
<clever> patchFlags would be simpler
<samueldr> maybe not edit the patch itself but makes the edit and re-generate the patch accordingly?
anton_ has joined #nixos
drakonis has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
aleph- has quit [Ping timeout: 268 seconds]
<jackdk> bah, neither --binary nor --ignore-whitespace seem to do line ending conversion how I want
eadwu has joined #nixos
q6AA4FD has joined #nixos
vk3wtf has quit [Ping timeout: 268 seconds]
erictape1 has joined #nixos
janat08 has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
Ariakenom has quit [Quit: Leaving]
<janat08> interesting thing, Ive installed the os (there was grub, and no live usb is inserted). Yet when running nixos-rebuild switch it considered the os unbootable for false resons sure enuf
<janat08> filesystems specifies root and grub.devices configured
mkoenig has joined #nixos
iqubic has quit [Ping timeout: 250 seconds]
vk3wtf has joined #nixos
<janat08> lol installed over my older install
janat08 has quit [Quit: Page closed]
<jackdk> any haskell nixpkgs maintainers here? I'd really like to see jacereda's fix for aeson make it into master (#53748)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53748 (by jacereda, 3 days ago, open): purescript: fix build compiling with ghc 8.4.4
jluttine has quit [Ping timeout: 250 seconds]
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shpx has joined #nixos
lrvick1 is now known as lrvick
jeff123 has joined #nixos
shpx has quit [Client Quit]
jeff123 has quit [Client Quit]
jackdk has quit [Remote host closed the connection]
ng0 has quit [Quit: Alexa, when is the end of world?]
jackdk has joined #nixos
aleph- has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #53605 → mingw: use current package set for headers → https://git.io/fhG9V
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fhnHF
o1lo01ol1o has joined #nixos
hellrazo1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
jluttine has joined #nixos
hellrazor has quit [Ping timeout: 268 seconds]
Lingjian has joined #nixos
<infinisil> jackdk: Well the three "official" haskell maintainers got pinged automatically in the PR
<infinisil> I also know some stuff, but e.g. I'm unsure whether that change should go to the haskell-updates branch or not
eadwu has quit [Ping timeout: 252 seconds]
eadwu has joined #nixos
Lingjian has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fhnQf
<aleph-> Hmm, seems I need to patch fcrackzip
<aleph-> Bother
Sophos[m] has joined #nixos
<Sophos[m]> hi, for nixpkgs 18.09 there seem to be multiple versions of mono available. How can a specific version be chosen? ( https://github.com/NixOS/nixpkgs/tree/18.09/pkgs/development/compilers/mono )
erictape1 has quit [Quit: leaving]
npmccallum has quit [Quit: npmccallum]
<Sophos[m]> is that even possible?
silver has quit [Read error: Connection reset by peer]
<gchristensen> Sophos[m]: https://nixos.org/nixos/packages.html#mono- pkgs.mono46 pkgs.mono4 pkgs.mono50 pkgs.mono514 pkgs.mono54 or, pkgs.mono :)
<Sophos[m]> thanks! I am attempting to build mono 5.18. apparently I needed to add mono518 to top-level/all-packages.nix it seems
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dtzWill merged pull request #53418 → pasystray: 0.7.0 -> 0.7.1, cleanup → https://git.io/fhOFr
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/fhnQZ
goibhniu has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/138f2cc707d (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
freeman42y has quit [Ping timeout: 252 seconds]
iqubic has joined #nixos
<q6AA4FD> does anyone like to symlink their git repo for nixpkgs into nix-defexpr?
jasongrossman has joined #nixos
fusion809 has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/03526943731 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
LnL has quit [Quit: exit 1]
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/138f2cc707d (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<{^_^}> [nix] @shlevy opened pull request #2628 → Context introspection → https://git.io/fhnQ6
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
kvda has joined #nixos
<iqubic> Hello folks. So I have a haskell coding project that I'm working on. I have a nix-shell that loads all the right libraries for me.
<iqubic> Is there a quick way to check what version of a particular library I'm using?
<iqubic> Why is it that some of the haskell libraries nixpkgs installs for me a few versions behind?
cyounkins has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53918 → ocrad: 0.26 -> 0.27 → https://git.io/fhnQM
cyounkins has joined #nixos
<iqubic> specifically the version of Megaparsec in nixpkgs is 6.5.0 whereas the latest version is 7.0.4
<{^_^}> [nixpkgs] @dtzWill opened pull request #53919 → bcachefs-tools: 2018-10-12 -> 2019-01-13 (fix w/attr bump, touchups) → https://git.io/fhnQy
waif has quit [Quit: Lost terminal]
cyounkins has quit [Ping timeout: 240 seconds]
d4g_ has joined #nixos
<q6AA4FD> iqubic: if you check nixpkgs/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
sinner has joined #nixos
<iqubic> Yes?
<q6AA4FD> it generates hackage-packages.nix, which is where almost every haskell package is specified
sinner is now known as Guest29060
<iqubic> But for some reason it isn't pulling the latest version of megaparsec for me.
<q6AA4FD> but it's a pain to read. anyways, the yaml file specifies version to scrape/parse fom hackage, which are turned into boilerplate expressions
cyounkins has joined #nixos
<q6AA4FD> that's likely because the latest version of megaparsec isn't specified in the .yaml file
rprije has joined #nixos
d4g has quit [Ping timeout: 258 seconds]
<iqubic> Why isn't it pulling the latest version of megaparsec? Seems like it ought to be able to do that.
<iqubic> q6AA4FD: So does that mean someone needs to submit a pull request in order for it to pull the latest version?
<q6AA4FD> that's my understanding, though i haven't talked to any of the maintainers just read through the public doc (which is the folder hackage2nix in github/NixOS/cabal2nix)
<jackdk> That's what these are --> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update
<iqubic> huh?
<jackdk> the message in irc is a bot showing the PR where peti is updating the autogenerated hackage-packages.nix
<iqubic> But you'd think that would pull the latest version of all the haskell packages.
<iqubic> Cool.
<jackdk> IME nixpkgs master is usually fairly close, but then there is often a lag between that hitting the channels, and there are tweaks that sometimes happen
<iqubic> so how shall I go about getting version 7.0.4 of megaparsec installed?
<q6AA4FD> if you need a later version of a hackage package for your own purposes i'd recommend this: 1: `nix-env -i cabal2nix` 2: `nix-env cabal://thing_you_need` 3: make a custom package with an overlay or package override
vk3wtf has quit [Ping timeout: 252 seconds]
<q6AA4FD> oh, and 4: pin that specific version in your .nix file for your project
<iqubic> that sounds really hard to do. Is there nothing simpler?
<q6AA4FD> that's frankly the simplest way i could think of. i'm working on a situation like that right now for a package i plan to upstream to nixpkgs at some point, so if i remember i can link you that when i'm done
<q6AA4FD> oh, and nix-env should be cabal2nix up there
<iqubic> Well, according to the documetation I'm looking at, megaparsec 7.0.4 was released on Sep 4th, 2018. I wouldn't expect it to take this long to hit the main nixpkgs.
<{^_^}> [nixpkgs] @dtzWill opened pull request #53920 → llvm_{6,7}: enable BPF target, fix bcc → https://git.io/fhnQ5
<jackdk> you could consider doing a callCabal2Nix in your default.nix to override megaparsec
<iqubic> Mainly what I'm puzzled by is why it's been like 3 months and we still don't have the latest version in nixpkgs.
oldandwise has joined #nixos
<jackdk> I think it's built against stackage LTS resolvers, and might still be on LTS-12 which is megaparsec 6.5.0
drakonis has quit [Read error: Connection reset by peer]
<iqubic> I see.
<jackdk> also nixpkgs master has megaparsec 7.0.4, so your channel may be old
<iqubic> How do I update my channel?
<jackdk> (I still get megaparsec 6.5.0 from the channels)
justanotheruser has joined #nixos
aleph- has quit [Ping timeout: 244 seconds]
fusion809 has quit [Remote host closed the connection]
<iqubic> So how do I go about updating my channel???
o1lo01ol1o has quit [Remote host closed the connection]
<disasm> iqubic: it's only in unstable. We have a 6 month release cycle. If it doesn't get in for the release, you won't have it.
vk3wtf has joined #nixos
<iqubic> disasm: What does that mean?
<iqubic> Do that mean that you only update the main channel every six monts?
<iqubic> So the thing jackd said about me having an outdated channel is just wrong?
<disasm> iqubic: sudo nix-channel --list
<disasm> that'll tell you what release nixos is using
<disasm> It means every 6 months we cut a new release (19.03 is the new one being worked on in unstable/master). If you're on 18.09 then you'll never see the newer megaparsec you're looking for
<disasm> Unless someone takes the time and the community approves a backport of the related commits.
<disasm> Which a hackage bump is probably not going to be backported.
<iqubic> I see.
<iqubic> So what options do I have for getting the latest megaparsec?
doyougnu has joined #nixos
cyounkins has quit [Remote host closed the connection]
<ottidmes> iqubic: you can get 7.0.0 at least in 18.09, so not the latest, but maybe good enough?
cyounkins has joined #nixos
<iqubic> That's great.
esmerelda has joined #nixos
<iqubic> Except that I have 18.09 and not 7.0.0
<iqubic> which concerns me.
<ottidmes> iqubic: I was not finished answer, you can get it via: megaparsec_7_0_0
<ottidmes> * answering
<ottidmes> iqubic: and I guess you could just copy that bit directly from hackage-packages.nix and modify it for the latest version, it will just rebuild from source, but that is doable in my experience with megaparsec
<ottidmes> iqubic: got to go now, good luck!
cyounkins has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Ping timeout: 252 seconds]
<iqubic> why do I have to use megaparsec_7_0_0?
<jackdk> you could do a callCabal2nix in your default.nix to pull in dependencies that you especially need. qfpl's waargonaut does this, but its nix use is a bit convoluted. I don't have a handy simple example
fusion809 has joined #nixos
<nh2> iqubic: in general, you can override versions of packages to your liking. megaparsec_7_0_0 is a package already pre-made for you containing version 7. Which version would you like to have? Also, if you would like to use any Stackage snapshot of your choosing, instead of using the Stackage snapshot that's in nixpkgs currently, consider using the `stack2nix` tool
oida has joined #nixos
<iqubic> I want version 7.0.0
kisonecat has joined #nixos
<iqubic> I just wonder why that's not the default version.
<disasm> my understanding is nix pulls in a pinned hackage. We bump versions by switching to a newer hackage.
oldandwise has quit [Quit: leaving]
lassulus_ has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53922 → msmtpm: 1.8.1 -> 1.8.2 → https://git.io/fhn7J
lassulus has quit [Ping timeout: 246 seconds]
<jackdk> was the stackage snapshot used by nixpkgs for 18.09 LTS 12? that would be why.
lassulus_ is now known as lassulus
ottidmes has quit [Ping timeout: 246 seconds]
<esmerelda> hey, could someone walk me through the process of submitting a PR? I have it tested and good to go, I think
<esmerelda> do I need to make an issue first?
eadwu has quit [Ping timeout: 252 seconds]
<jackdk> have you submitted PRs to other projects before?
<esmerelda> I actually haven't!
<esmerelda> at least, not on github.
<jackdk> ok. did you fork the repo before you cloned it?
<esmerelda> nope, but I set the remote to upstream and did git update-ref
<{^_^}> [nixpkgs] @fpletz merged pull request #53871 → nixos/containers: explicitly set link up on host for extraVeths → https://git.io/fhnoJ
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhn73
<disasm> esmerelda: you need to fork the repo, push your branch to your fork, and then PR it from there
<disasm> that's because you don't have write access to nixos fork of nixpkgs
Taneb has quit [Quit: I seem to have stopped.]
<jackdk> yeah so the usual github workflow is you make a fork within the github UI, set a remote to your fork, push to it, then GH will show you a button to make a PR from the ref you just pushed
<jackdk> er, that^
<disasm> lately, I've noticed just pushing a new branch gives me a URL to open a PR :) But I haven't tested that across forks yet.
<jackdk> works for me when I push to my nixpkgs fork
o1lo01ol1o has joined #nixos
<esmerelda> ah okay!
vk3wtf has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 246 seconds]
LnL has joined #nixos
LnL is now known as Guest83973
<esmerelda> can't get nox-review to work.. it keeps saying there's nothing to do
<jackdk> I've been able to get by without nox-review
tdbgamer has joined #nixos
<{^_^}> [nixpkgs] @sdorminey opened pull request #53923 → vscode-extensions.ms-python.python: Fix packaging. → https://git.io/fhn7W
<esmerelda> yay! that's my PR!
<esmerelda> I feel like such a responsible citizen
<dtz> \o/
oida has quit [Ping timeout: 256 seconds]
oida has joined #nixos
vk3wtf has joined #nixos
pie__ has joined #nixos
<kaychaks[m]> `doJailbreak stack2nix` results in compilation error
pie_ has quit [Ping timeout: 240 seconds]
sary has joined #nixos
jtojnar has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Remote host closed the connection]
justanotheruser has joined #nixos
sary is now known as Eram
jasongrossman has joined #nixos
mtesseract has joined #nixos
counting1ort has joined #nixos
<{^_^}> [nixpkgs] @nzhang-zh opened pull request #53924 → oci-image-tool: init at 1.0.0-rc1 → https://git.io/fhn77
spacekookie has quit [Ping timeout: 252 seconds]
countingsort has quit [Ping timeout: 250 seconds]
juhulian has quit [Ping timeout: 268 seconds]
shpx has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
tdbgamer has quit [Ping timeout: 268 seconds]
esmerelda has quit [Ping timeout: 272 seconds]
adamantium has quit [Quit: ZNC 1.6.5-elitebnc:7 - http://elitebnc.org]
spacekookie has joined #nixos
<{^_^}> [nixpkgs] @stephengroat closed pull request #52493 → freetype: 2.9 -> 2.9.1 → https://git.io/fppAM
<mtesseract> Hi, is it possible to reference a built Nix derivation by its Nix store path in a Nix expression? I want to write a system configuration that includes a derivation, which is not part of nixpkgs or another repository.
adamantium has joined #nixos
adamantium has joined #nixos
adamantium has quit [Changing host]
adamantium has joined #nixos
adamantium has quit [Changing host]
lokado has joined #nixos
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Remote host closed the connection]
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lokado has quit [Client Quit]
mtesseract has joined #nixos
shpx has joined #nixos
juhulian has joined #nixos
<moredread[m]> I'm updating mediathekview. There currently also is zdfmediathk, which isn't working anymore and has been superseeded by mediathekview. What is the correct way to remove the package? As it hasn't been working for over 2 years now I guess there aren't any users left.
orivej has joined #nixos
lokado has joined #nixos
<moredread[m]> I have asked the question in #nixos-dev again
<lokado> Has anyone use kde upgraded to the latest nixos-unstable channel? I got "Power Management module can't be initialized" when I enter the desktop
mckeanalicej has joined #nixos
<mckeanalicej> how do you compile nix with libsodium? is there a flag I need to pass to the configure script?
<mckeanalicej> (im trying to bootstrap thats why im complining by hand)
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
esmerelda has joined #nixos
saltsa has quit [Quit: leaving]
endformationage has quit [Quit: WeeChat 2.3]
shpx has joined #nixos
aleph- has joined #nixos
vk3wtf has quit [Ping timeout: 252 seconds]
MinceR has quit [Ping timeout: 240 seconds]
MinceR has joined #nixos
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simukis has joined #nixos
esmerelda has quit [Ping timeout: 250 seconds]
rauno has quit [Ping timeout: 268 seconds]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<iqubic> How do I modify my X11 cursor on nixos?
simukis has quit [Quit: simukis]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jasongrossman> iqubic: The best way is to install oneko, and then type at a terminal:
<jasongrossman> oneko -dog -name one &
<jasongrossman> Otherwise, you can do it in your window manager. For example, in stumpmw I do:
<jasongrossman> (run-shell-command "xsetroot -cursor_name left_ptr -solid black -name root-window")
rprije has quit [Ping timeout: 245 seconds]
<iqubic> What does oneko do?
<iqubic> oneko isn't what I want it be.
<iqubic> I think I'll look into xsetroot.
tzemanovic has joined #nixos
<jasongrossman> Yes, if you don't want to do it with your window manager then xsetroot looks good.
<iqubic> I can't do it with my window manager. I use EXWM and it doesn't give me that ability.
<jasongrossman> Then you're in a similar boat to me, but you can use your window manager to run xsetroot, as I do.
<iqubic> Most tiling window managers lack that feature.
<iqubic> How do you pick which cursor to set it too?
<jasongrossman> Yeah - I was being vague when I said "in your window manager".
jackdk has quit [Ping timeout: 268 seconds]
tzemanovic has quit [Ping timeout: 252 seconds]
Guanin has joined #nixos
reinhardt has joined #nixos
mtesseract has joined #nixos
kisonecat has quit [Ping timeout: 246 seconds]
amfl_ has joined #nixos
amfl has quit [Ping timeout: 240 seconds]
hamishmack has joined #nixos
<Guanin> Hey, I'm noticing a strange bug and do not know how to debug it. Every now and then, my X server crashes and I get back to the display-manager. Here is the dmesg/journal snippet around such a crash: https://gist.github.com/Amarandus/f27e0f7c208aa9ac4d45fce4263400b2
amfl_ is now known as amfl
<Guanin> I also noticed that the segfault is not always caused by libXUL, but also by e.g. libQt5Sql.so.5.11.1 or libX11.so.6.3.0
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo1 has joined #nixos
iqubic` has joined #nixos
palo1 is now known as palo
iqubic has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/03526943731 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
lord| has quit [Quit: WeeChat 2.3]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
lord| has joined #nixos
jasongrossman has quit [Read error: Connection reset by peer]
<q6AA4FD> i have a file placed at ~/.nixpkgs/overlays/foo.nix, and i'm unable to access any of the derivations i've set in it. is there anything i can do to debug this?
<Sophos[m]> hello, attempting to write a nixpkg expression and something is failing. How can I drop into the environment at the point of failure to poke around and figure out what might be going on?
<q6AA4FD> Sophos[m]: you can run nix-build with -K to keep the failed build in /tmp/, you can generate a shell in the same setup with nix-shell
mckeanalicej has quit [Quit: Page closed]
<Sophos[m]> I have traversed to the tmpdir though running nix-shell complainss about no default.nix, was I not supposed to execute nix-shell there?
<Sophos[m]> (apologies, I am quite new to this)
<q6AA4FD> Sophos[m]: you want to give nix-shell the nix expression i think? i don't use nix-shell except with cabal2nix which is a whole other story
<Sophos[m]> heh
MichaelRaskin has quit [Quit: MichaelRaskin]
<q6AA4FD> but -K will give you the failed build, so you should be able to look at the logs and try your own hand at compiling it
^W has quit [Quit: ZNC 1.7.1 - https://znc.in]
vk3wtf has joined #nixos
<q6AA4FD> Sophos[m]: reading the manual, you can build an environment for a build with nix-shell by invoking `nix-shell '<nixpkgs>' foo`
nek0 has quit [Ping timeout: 252 seconds]
Eram has quit [Remote host closed the connection]
mtesseract has joined #nixos
doyougnu has quit [Quit: WeeChat 2.2]
hyper_ch2 has joined #nixos
rauno has joined #nixos
mtesseract has quit [Client Quit]
<sphalerite> q6AA4FD: how are you trying to access them? They should appear in nixpkgs like any other package
<Sophos[m]> joy, running `nix-build $NIXPKGS -A my-package' fails, but attempting the manual steps via nix-shell is working... ugh
<Sophos[m]> I am writing my own. $NIXPKGS points to my local fork
<sphalerite> Sophos[m]: does it access the internet?
<Sophos[m]> yes
<sphalerite> Sophos[m]: then that's the problem
<sphalerite> Builds aren't allowed network access
<sphalerite> (except fixed-output derivations)
<Sophos[m]> so, I need to used a fixed-output derivation?
<sphalerite> That's why the source for a package is usually specified with fetchurl, which creates a fixed-output derivation that gets the source, which is then passed into the builder that has no network access
<Sophos[m]> I am attempting to write a nix expression for https://github.com/OmniSharp/omnisharp-roslyn and NuGet wants to download a bunch of things
<sphalerite> if you can guarantee the output will always have the same hash, yes.
<sphalerite> You're in luck! We have fetchNuGet :)
<sphalerite> pkgs/top-level/dotnet-packages.nix has some examples
<Sophos[m]> nice. time to patch things to use that...
nek0 has joined #nixos
<Sophos[m]> that's neat that packages can't access the net like that. Really useful, even if it causes some headaches...
<sphalerite> yes, it's a huge help for purity/reproducibility
<q6AA4FD> sphalerite: they weren't, until i added the overlay directory to NIX_PATH, even though the documentation says that every file in ~/.nixpkgs/overlays/ should be loaded automatically
<sphalerite> q6AA4FD: indeed it should
<sphalerite> ,find top-level/impure.nix
<sphalerite> ^ the implementation of that behaviour
<q6AA4FD> shpalerite: i'm not on nixos, so that's a possible explanation. would it be worthwhile for me to debug it or is it a relatively unused feature
<sphalerite> q6AA4FD: I don't think that should affect it
<sphalerite> q6AA4FD: what does your overlay file look like and where exactly did you place it?
<sphalerite> q6AA4FD: overlays are a widely used and powerful feature :)
<q6AA4FD> sphalerite: you have a preferred paste site? if it's an important feature i'll do my part lol
<sphalerite> no, no real preference besides "not pastebin.com" :p
aleph- has quit [Ping timeout: 240 seconds]
<sphalerite> oh yeah, and what command you're running would be good t oknow too
jackoe has joined #nixos
<q6AA4FD> https://ix.io/1yim <-- this was at ~/.nixpkgs/overlays/pullover_lay.nix | i was running `nix-env -i klfc`
<q6AA4FD> it wasn't that exactly file, but the derivation didn't change consequentially
<jackoe> Is this an okay place to ask nix (but not nixos) related questions?
<q6AA4FD> jackoe: that's my understanding
<q6AA4FD> sphalerite: my old `NIX_PATH=/nix/var/nix/profiles/per-user/root/channels:nixpkgs=/home/quinn/.nix-defexpr/channels/nixpkgs` my new `NIX_PATH=$NIX_PATH:/home/quinn/.nixpkgs/overlays`
<q6AA4FD> not a copy paste, so i may have typo'd, but you get the idea
<jackoe> Fantastic, does anyone know why overriding haskell's lens package would cause infinite recursion?
<jackoe> the specific line being: lens = haskellPackages.callHackage "lens" "4.16.1"
<sphalerite> jackoe: most likely using self in some place that you need to use super
<sphalerite> not sure though. Maybe the implementation of callHackage uses lens?
<jackoe> sphalerite: thanks! I'll give that a shot. I'll look into callHackage too.
<sphalerite> q6AA4FD: and it works when you manually set the NIX_PATH to point to it, and not when you don't have an overlays entry? And which command are you running?
<q6AA4FD> yes, it works when i set it manually
<q6AA4FD> but not otherwise; and i'm running `nix-env -i klfc`
rauno has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
<sphalerite> what about nix-env -iA nixpkgs.klfc ?
Ariakenom has joined #nixos
<q6AA4FD> attribute 'klfc' in selection path 'nixpkgs.klfc' not found
<{^_^}> [nixpkgs] @tadeokondrak closed pull request #53730 → fff: init at 0.3.2 → https://git.io/fhZ2t
hedning has joined #nixos
jasongrossman has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
esmerelda has joined #nixos
<esmerelda> hey, is there not an apache license in lib.license?
<Guanin> asl20?
<Guanin> How did this bot work again?
<Guanin> > pkgs.lib.licenses.asl20
<{^_^}> { fullName = "Apache License 2.0"; shortName = "asl20"; spdxId = "Apache-2.0"; url = <CODE>; }
<Guanin> Yes \o/ It works
<esmerelda> ah fantastic!
<sphalerite> q6AA4FD: for both variants?
<q6AA4FD> i have a package that doesn't seem to provide releases at github.com/archive/${version}, is the next best thing fetchgit with $rev, or fetchzip with the url from the release page?
<q6AA4FD> sphalerite: i'm not sure what you mean by both variants? if you mean where $NIX_PATH is fixed, the command works fine. and when my $NIX_PATH is as it was before, it fails with that error message
<sphalerite> q6AA4FD: odd. I'm out of ideas, maybe open up an issue for nixpkgs and @ me in it (I'm lheckemann on github)
<sphalerite> q6AA4FD: if the release page is github's releases thing, I'd say fetchFromGitHub with rev = "<tag>"; where you replace <tag> with the name of the git tag
<sphalerite> if upstream releases their own tarballs, use those with fetchurl
dermetfan has joined #nixos
<esmerelda> also, I notice that there's only one package using dotnet core... is there a plan to add dotnet alongside mono?
<arianvp> Can anybody tell when JosW comes online he should mail me instead of ping on IRC?
<arianvp> I keep missing him
<arianvp> Because he doesn't have a bouncer
<Sophos[m]> as a build dependency for omnisharp-roslyn I need to grab the nuget package cake. well, I have it: `cake = fetchNuGet { ... };` how can I then utilize cake in the buildPhase?
<Sophos[m]> utilize => run
<Sophos[m]> where is it installed to?
Eram has joined #nixos
Eram has quit [Client Quit]
jasongrossman has quit [Ping timeout: 258 seconds]
<esmerelda> Sophos[m]: you can access it by $cake!
<q6AA4FD> sphalerite: i'm drafting it now, i'll @ you on it too. and the tag thing worked, i see that rev= doesn't have to be an int, it's just whatever they name it (in this case v${version})
<esmerelda> also happy to see another .net person here :) I thought I was the only one
Tucky has joined #nixos
tzemanovic has joined #nixos
<Sophos[m]> esmerelda: hey, my gf is in C# classes, so I'm having a bit of fun with dotNet for the next few months :)
tzemanov_ has joined #nixos
<esmerelda> :D nice! I work for them, and then linux from home to keep my sanity
<sphalerite> arianvp: you can also use ,tell JosW please email me!
<sphalerite> ,tell arianvp ,tell is useful
<{^_^}> sphalerite: I'll pass that on to arianvp
<Sophos[m]> esmerelda: that sounds fun!
<Sophos[m]> sweet, got $cake working now. 😁
tzemano__ has joined #nixos
Eram has joined #nixos
tzemanovic has quit [Ping timeout: 252 seconds]
tzemanov_ has quit [Ping timeout: 245 seconds]
<arianvp> ,tell JosW could you email me instead? You seem to keep missing me. Email is in my commit log on GitHub (arianvp)
<{^_^}> arianvp: 5 minutes, 52 seconds ago <sphalerite> ,tell is useful
<{^_^}> arianvp: I'll pass that on to JosW
vk3wtf has quit [Ping timeout: 252 seconds]
<arianvp> Thanks!
<q6AA4FD> sphalerite: alright, i made theissue
<esmerelda> Sophos[m]: btw I'm working on fixing the Python plugin in VS Code, so I have a little context on how the extensions work if you need any help with your PR
<Sophos[m]> awesome, thanks esmerelda
Eram has quit [Changing host]
Eram has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #53842 → powerdns: fix ecdsa support → https://git.io/fhnnP
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/fhndX
kvda has joined #nixos
<{^_^}> [nixpkgs] @fpletz pushed commit from @elseym to release-18.09 « nixos/containers: explicitly set link up on host for extraVeths »: https://git.io/fhndH
jasongrossman has joined #nixos
dermetfan has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @hedning merged pull request #53919 → bcachefs-tools: 2018-10-12 -> 2019-01-13 (fix w/attr bump, touchups) → https://git.io/fhnQy
<{^_^}> [nixpkgs] @hedning pushed 2 commits to master: https://git.io/fhndQ
<jasongrossman> Hi hi. I have what I think is a very basic networking question. I've set up wireguard using the instructions on the NixOS wiki, and I can ping my local wireguard address successfully. But my internet traffic is not going over the wireguard tunnel - it's still using my wireless interface directly (wlp2s0) instead of my new wireguard interface (wg0). Should I be doing something to tell the OS to use the wireguard interface?
o1lo01ol1o has joined #nixos
<lassulus> you need to set your default gateway to the wireguard server (mind, that you probably need a special route, to connect to your wireguard server still through the normal internet). You need to enable nat on the wireguard server
Tucky has quit [Quit: WeeChat 2.2]
<jasongrossman> lassulus: Thanks. The server is a commercial VPN server, so I should just need to set my default gateway then.
Tucky has joined #nixos
* jasongrossman searches NixOS options for "gateway".
<lassulus> I would try it first manually with `ip route`
<jasongrossman> lassulus: I'm not sure what the syntax for that is. Might be easier just to set the gateway in configuration.nix.
<jasongrossman> networking.defaultGateway.interface, I guess.
<Mic92> jasongrossman: this won't work for vpn as it is
<Mic92> because you need still a route to your wireguard vpn
<Mic92> otherwise it would be a loop.
<jasongrossman> Mic92: Damn.
<lassulus> hmm, I think you can also put 0.0.0.0/0 to the allowedIPs of the wireguard peer?
<jasongrossman> lassulus: Yes. Done that.
<Mic92> lassulus: if you do that in wg-quick it will work
o1lo01ol1o has quit [Ping timeout: 244 seconds]
thadthemad has joined #nixos
<Mic92> because it uses a routing policies for that.
Guest29060 has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Read error: Connection reset by peer]
jasongrossman has joined #nixos
<jasongrossman> I'm going to be in and out as I test my network.
rprije has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> jasongrossman: you can just test a single ip or range forst
<Mic92> i.e. ip route add 8.8.8.8 via $wireguard_ip
<Mic92> otherwise `AllowedIPs = 0.0.0.0/0` in wg-quick works
<tilpner> ,configsearch
<{^_^}> To search public NixOS/Nixpkgs/NixOps configs, use https://search.tx0.co
<tilpner> ^ useful to look up how other people configured something
jasongrossman has quit [Ping timeout: 252 seconds]
<siers> Is androidsdk that's on 18.09 only for one of the versions? That is, if you want others then you're basically out of luck, except for channel switching?
<sphalerite> tilpner++
<{^_^}> tilpner's karma got increased to 12
<{^_^}> [nixpkgs] @zaninime opened pull request #53927 → nexus: 3.14.0-04 -> 3.15.0-01 → https://git.io/fhnFO
<klntsky> nix.useSandbox and nix-shell --pure - AFAIU they do the same sort of thing. Are there any differences besides what's described in `man nix-shell`? Also, does ``"real" Nix build'' (as written in the manual) mean ``build with useSandbox''?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « LTS Haskell 13.2 »: https://git.io/fhnFs
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-01-14T00:08:02Z »: https://git.io/fhnFG
<sphalerite> q6AA4FD: thanks!
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fhnFC
<sphalerite> klntsky: no, they don't do nearly the same thing
carlosdagos has quit [Quit: Connection closed for inactivity]
<sphalerite> klntsky: nix-shell doesn't do any sandboxing, --pure just makes it discard existing environment variables to reduce the amount of impurity
<sphalerite> klntsky: while the build sandbox uses namespacing to restrict the build's view of the filesystem and other things
<sphalerite> klntsky: and yes, nix-build will use the sandbox if enabled in nix.conf.
jasongrossman has joined #nixos
jasongrossman has quit [Remote host closed the connection]
<drager> I have installed terminus_font (via configuration.nix fonts.font) but when I try to use `xos4 Terminus 10` for AwesomeWM it doesn't look as it should. Any debugging tips?
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #53928 → pythonPackages.qrcode: 6.0 -> 6.1 → https://git.io/fhnFR
<{^_^}> [nixpkgs] @FRidh pushed to master « nvidia_x11: fixup name of stable_415 »: https://git.io/fhnF0
goibhniu has joined #nixos
<sphalerite> drager: what do oyu expect it to look like and what does it actually look like?
lokado has quit [Quit: Connection closed for inactivity]
<klntsky> sphalerite: thanks
jasongrossman has quit [Remote host closed the connection]
[Leary] has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #53906 → direnv: 2.18.2 -> 2.19.0 → https://git.io/fhn9S
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fhnFu
thc202 has joined #nixos
Lears has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #53797 → matrix-synapse: 0.34.0.1 -> 0.34.1.1 → https://git.io/fhZxT
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fhnFz
<joepie91> are there any existing issue threads / RFCs / etc. on 1) making the import statement auto-add .nix to the end of an import path, or 2) restructuring NixOS service modules to better support multiple service instances, stateful service dependencies (eg. "service X depends on PostgreSQL with a particular database Y existing"), and such?
jasongrossman has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #53894 → blender: fix python → https://git.io/fhnDd
<{^_^}> [nixpkgs] @FRidh pushed commit from @eadwu to master « blender: fix python »: https://git.io/fhnFw
sinner has joined #nixos
tzemano__ has quit [Remote host closed the connection]
<jasongrossman> Thanks, lassulus and Mic92 and tilpner. I'm going to put wireguard to one side until at least tomorrow.
<drager> sphalerite: Bad: https://ibb.co/1dDxYpp Good: https://ibb.co/j6GHF12
<drager> sphalerite: First is actual and second is expected
sinner is now known as Guest56801
Guanin has quit [Remote host closed the connection]
<sphalerite> drager: what does `fc-match Terminus` say?
<drager> TerminusTTF.ttf: "Terminus (TTF)" "Medium"
<Sophos[m]> in a nixpkg expression, how do I include curl with the openssl option?
<sphalerite> drager: what about `fc-match Terminus:scalable=false`?
<drager> sphalerite: `ter-x12n.pcf.gz: Terminus (ttf)" "Regular"
<sphalerite> Sophos[m]: curl has openssl on by default
<Sophos[m]> nice, that works. how are options specified thougH?
<sphalerite> drager: right, so the font is there correctly. I'm not sure how font specifications for awesome work, but if it takes a fontconfig spec you can use Terminus:scalable=false :)
rprije has quit [Ping timeout: 250 seconds]
<sphalerite> Sophos[m]: you can see the options that it takes in the build expression
<sphalerite> ,find curl/default.nix
<sphalerite> Sophos[m]: and `curl.override {sslSupport = false;}` for instance will give you a curl that doesn't support SSL
<drager> sphalerite: Alright, thanks!
<q6AA4FD> i'm trying to debug a build with nix-shell, but i can't find any documentation about the phases for the haskell builder, and configurePhase and buildPhase don't seem to be doing anything
<Sophos[m]> sphalerite: thanks!
<sphalerite> ,find haskell-modules/generic-builder.nix
civodul has joined #nixos
<q6AA4FD> sphalerite: you need to pass that into a package, like curl = curl.override, right?
<q6AA4FD> oh, and thank you for the link
<sphalerite> q6AA4FD: yes
Lears has joined #nixos
<q6AA4FD> sphalerite: well now i have another problem, if you're game. when i run nix-shell '<nixpkgs>' -A mypackagefromoverlay, i don't get the update configurePhase, setupCompilerEnvironmentPhase, or i think anything else
[Leary] has quit [Ping timeout: 258 seconds]
<q6AA4FD> nvm, you need to use with haskellPackages. i don't think that's very idiomatic though
<q6AA4FD> nevermind, that's not it...
Taneb has joined #nixos
jasongrossman has quit [Remote host closed the connection]
GlennS has quit [Quit: GlennS]
<siers> Can android-studio work with the androidsdk from nix store?
GlennS has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #53929 → wpscan: 3.4.0 -> 3.4.3 → https://git.io/fhnbt
jasongrossman has joined #nixos
__Sander__ has joined #nixos
<esmerelda> uuugh mission creep
<esmerelda> I was going to respond to a PR comment on my Python extension thing. the reviewer pointed out that I might want to make the language server its own package
<esmerelda> so I set to work on that, figured out how to make CoreCLR packages building, but then I needed to test it.
dermetfan has joined #nixos
<esmerelda> and I decided if I'm building *that* rather than getting it as a binary, I might as well compile the extension in the first place
ThatDocsLady has joined #nixos
<esmerelda> so then I figured out how to make them both build, but I need some extra node packages to make all that work, and... etc.
<esmerelda> I pulled on a thread and unraveled my sweater :/
<{^_^}> [nixpkgs] @timokau opened pull request #53930 → spotify: 1.0.94.262.g3d5c231c-9 -> 1.0.96.181.gf6bc1b6b-12 → https://git.io/fhnbY
<Taneb> esmerelda: :D
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ca0639837cf (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Luciole> esmerelda: heh
<q6AA4FD> esmerelda: yak shaving
<Taneb> esmerelda: although it is OK to reply "It's OK as it is and that's a lot more work, so I'm not going to do that right now"
<Taneb> Unless your having fun ;)
kvda has joined #nixos
<{^_^}> [nixpkgs] @pSub merged pull request #53918 → ocrad: 0.26 -> 0.27 → https://git.io/fhnQM
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fhnbE
mtesseract has joined #nixos
<siers> What roughly does buildFHSUserEnv do?
<esmerelda> hehe, it's pretty fun! I installed NixOS around Christmas and I've learned a bunch since then
<siers> esmerelda, it sure is fun
<siers> Oh, it's a chroot with stuff in the standard places. Are those implemented as symlinks?
<esmerelda> also, I'm thinking this is probably the best path forward for adding more extensions to the store
<esmerelda> since all VS Code extensions use the same tooling
Makaveli7 has joined #nixos
johann__ has joined #nixos
<siers> Mic92, So if I download android-studio and let it manage its sdk, everything will now be fine since it's been packaged in FHS a while ago?
johann__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @timokau merged pull request #53930 → spotify: 1.0.94.262.g3d5c231c-9 -> 1.0.96.181.gf6bc1b6b-12 → https://git.io/fhnbY
<{^_^}> [nixpkgs] @timokau pushed to master « spotify: 1.0.94.262.g3d5c231c-9 -> 1.0.96.181.gf6bc1b6b-12 (#53930) »: https://git.io/fhnbg
<{^_^}> [nixpkgs] @gebner merged pull request #53900 → tokei: 8.0.0 -> 9.0.0 → https://git.io/fhnSD
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/fhnbw
<Sophos[m]> well, I've facepalmed and headdesked enough for one night with cake and nix. I have a feeling cake and nix just cannot mix currently. Too many assumptions made by cake
<Sophos[m]> and not enough configuration options
<Taneb> Sophos[m]: what is cake?
brodul has joined #nixos
<brodul> Has someone build thunderbird with sound
<brodul> I want to have sound for notifications
<wedens> can nixops be used to deploy to online.net vps (scaleway)?
hydraz has joined #nixos
regulus_ has quit [Ping timeout: 246 seconds]
johanot has joined #nixos
jackoe has quit [Quit: leaving]
<joepie91> wedens: yes, though not automagically
<joepie91> afaik it requires manual setup from ISO and then you can use it from NixOps like any "existing NixOS system"
<{^_^}> [nixpkgs] @dywedir opened pull request #53933 → hexyl: 0.3.1 -> 0.4.0 → https://git.io/fhnb1
<joepie91> wedens: (there's also always the option to use nixos-infect on an existing Ubuntu/Debian installation, though YMMV)
<lassulus> kexec is also cool for this usecase
<wedens> joepie91: thanks, I'll have a look
<ivan> oh nixops sorry I did it manually
michas has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<wedens> ivan: still useful. thanks
<ivan> you can make an image on scaleway and restore it to another machine
<drager> sphalerite: Didn't work out with scalable=false. However, I'm unsure what format it wants it in. By doing `Terminus 8` it looks better but not as I expect.
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e02b9d79f84 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
o1lo01ol1o has joined #nixos
thadthemad has quit [Quit: Mutter: www.mutterirc.com]
nokomprendo has joined #nixos
kai_w has joined #nixos
thadthemad has joined #nixos
nokomprendo has quit [Remote host closed the connection]
nokomprendo has joined #nixos
thadthemad has quit [Client Quit]
o1lo01ol1o has quit [Ping timeout: 258 seconds]
counting1ort is now known as countingsort
juliendehos has joined #nixos
nokomprendo has quit [Client Quit]
Philonous has joined #nixos
rprije has joined #nixos
__monty__ has joined #nixos
thadthemad has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #53934 → prefer-fetch-remote: an overlay to fetch on remote builders → https://git.io/fhnNO
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/626233eee6e (from 25 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
thadthemad has quit [Client Quit]
thadthemad has joined #nixos
sigmundv_ has joined #nixos
<sphalerite> siers: buildFHSUserEnv uses a user and mount namespace and bind mounts as well as symlinks iirc
esmerelda has quit [Ping timeout: 246 seconds]
thadthemad has quit [Ping timeout: 245 seconds]
simukis has joined #nixos
gagbo__ has quit [Read error: Connection reset by peer]
erictapen has joined #nixos
<__monty__> If it bind mounts then why does it symlink at all? Are symlinks more efficient or something?
equivrel has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #48752 → epson-workforce-635-nx625-series: init at 1.0.1 → https://git.io/fxo95
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fhnNa
fusion809 has quit [Remote host closed the connection]
fusion809 has joined #nixos
<siers> sphalerite, awesome
Makaveli7 has quit [Quit: Leaving]
<sphalerite> __monty__: if you want /bin to contain stuff from different packages, you can't just bind mount multiple packages' /bin onto each other
rprije has quit [Ping timeout: 244 seconds]
<fusion809> Nix used to run fine on my Arch system, but now whenever I install a new package, remove a package, update one, with Nix I get the error `error: cloning builder process: Operation not permitted
<fusion809> error: unable to start build process`. Tried re-installing Nix too, with the https://nixos.org/nix/install script, yet I still get this error. In fact, the install with that script fails due to this error.
<sphalerite> __monty__: so you need to make a package that contains a unified /bin and bind-mount that
<sphalerite> fusion809: that sounds like it thinks it's multi-user
<sphalerite> but there's no daemon running
<fusion809> How do I fix that?
<symphorien> fusion809: are user namespaces enabled ?
<sphalerite> oh yeah, or that maybe
<symphorien> or disable the sandbox
<fusion809> Not sure, I've left things the default.
<symphorien> now that sandbox is enabled by default, on systems without user namespaces, the installer fails with this unhelpful message
<__monty__> sphalerite: Ah, makes sense. Does prevent it from working across nfs though. Maybe an overlayfs would be a more robust approach?
<sphalerite> __monty__: does it?
<sphalerite> I don't see why it wouldn't work with nfs
<Mic92> fpletz: I suppose we need to rework the way rambox's node modules are updated.
<symphorien> there is a limit on the number of layers for an overlayfs (like 16 or something)
<Mic92> symphorien: I think this was increased significantly.
<Mic92> fusion809: I think this was enabled by default.
<__monty__> sphalerite: Symlinks are resolved on the client so if they point outside the nfs root, the nix store for example, they'll point to whatever's mounted on the client at /nix/store/...
<Mic92> fusion809: I mean the sandbox
ng0 has joined #nixos
<symphorien> ah maybe
<Mic92> archlinux still don't enable this in their kernel
<fusion809> Ah. So what do I do about this? My ~/.config/nixpkgs/config.nix is just allowUnfree = true, lol, so if an error is occurring for me, with my simple one-user set up there's seriously wrong.
<Mic92> fusion809: sandbox = false in /etc/nix/nix.conf
<__monty__> sphalerite: Actually, why not simply bindmount all the files that need to go into /bin? That'd solve the problem, no?
<__monty__> And no need for an overlayfs, which wouldn't work well anyway because of that limit.
<fusion809> Is this conf file, really as simple as sandbox = false, or do I have to format it as a nix file like { sandbox = false; }?
eadwu has joined #nixos
<fusion809> Nvm, I learnt by trying
<Mic92> fusion809: you also need to restart your nix-daemon if you have one running
<fusion809> I don't
<Mic92> fusion809: just sandbox = false
<fusion809> Unless it's running in the background
<fusion809> I just stuck to the defaults w.r.t. to daemon, so if it is enabled by default it is running
<Mic92> fusion809: there is a nix-multiuser package in archlinux, In that case you would have a nix-daemon otherwise not.
<Mic92> if your /nix directory is owned by your account, you don't have one.
<sphalerit> monty: can files be bind mounted?
<__monty__> sphalerit: Yep : ) and afaict it's recommended practice with NFSv4.
<symphorien> are several thousands bind mounts reasonable ?
<symphorien> nixos-rebuild prints how many symlinks you get for /run/current-system/sw and it is pretty high
ramses_ has joined #nixos
spooky_ has joined #nixos
<Mic92> symphorien: bind mounts should scale well. Only some applications might be a bit slower when parsing /proc/mounts
<symphorien> I see, thanks
jtojnar has joined #nixos
<ramses_> Hi guys, I have a server where I consistently get the following error: https://gist.github.com/RdN-MSF/816c3d07bc6f1a1b48b534087e722fea
<ramses_> I ran "nix-store --verify --repair" which said it redownloaded the package, but the error was not fixed
tmaekawa has joined #nixos
<ramses_> I also tried to manually remove the offending dir and run the repair again, and I tried repair-path but nothing seems to help
<ramses_> Any pointers?
<ramses_> I did a "nixos-rebuild switch --update" and rebooted as well, for the record
<symphorien> is the store on a case-insensitive fs ?
<Mic92> symphorien: but be aware that you cannot unmount a bind mount where an application still holds open file handels.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/e02b9d79f84 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<Mic92> symphorien: on macOS with HFS+ yes
<symphorien> yes but ramses_ seems to be on nixos
gagbo_work has joined #nixos
eadwu has quit [Ping timeout: 252 seconds]
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<symphorien> I mean I have attempted in the past to install nix on linux on a case insensitive fs (cifs) and the store was constantly corrupted
<symphorien> even with nix-case-hack = true
<ramses_> symphorien: no, standard ext4 with default mount options
tmaekawa has quit [Client Quit]
<Mic92> ramses_: https://dl.thalheim.io/Ekphth8pTcYe80n1Ny2C-w/tzdata.tar.bz2 you can use file from my machine for comparision
<Mic92> *this file
strobelight has quit [Ping timeout: 245 seconds]
<Mic92> obtained by nix-store -r /nix/store/678hr... && tar -cjvf ~/upload/tzdata.tar.bz2 /nix/store/678hr5chsgf6npgicryhc0nfz7npi5vk-tzdata-2018g
hyper_ch2 has quit [Ping timeout: 256 seconds]
<ramses_> Mic92: cool, I can check to see what changed. But I would still like to understand how this could happen and how to fix this.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> ramses_: I don't know either what is wrong in your case.
<Mic92> but maybe you can diff both and reason about the difference
thadthemad has joined #nixos
mtesseract has joined #nixos
silver has joined #nixos
thadthemad has quit [Quit: Mutter: www.mutterirc.com]
spooky_ has quit [Read error: Connection reset by peer]
spooky_ has joined #nixos
thadthemad has joined #nixos
mtesseract has quit [Read error: Connection reset by peer]
janat08 has joined #nixos
spooky_ has quit [Ping timeout: 240 seconds]
__Sander__ has quit [Quit: Konversation terminated!]
janat08 has quit [Ping timeout: 256 seconds]
spooky_ has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 244 seconds]
thadthemad has quit [Ping timeout: 240 seconds]
IRC-Source_19571 has joined #nixos
symphorien has quit [Quit: WeeChat 2.2]
tmaekawa has joined #nixos
erictapen has quit [Ping timeout: 258 seconds]
<IRC-Source_19571> After upgrading 18.03 -> 18.09 by adding the nix-channel `https://nixos.org/channels/nixos-18.09` and doing a `nixos-rebuild switch --upgrade` I still get nixos-version reporting 18.03. How do I perform a full system upgrade?
leo_ has joined #nixos
hyper_ch2 has joined #nixos
<goibhniu> hi IRC-Source_19571 did you add it to your root profile?
<IRC-Source_19571> Root profile == /etc/nixos/configuration.nix ?
<goibhniu> sorry, I mean /root/.nix-channels
<goibhniu> as opposed to /home/me/.nix-channels
<goibhniu> that's where it needs to be anyway
<IRC-Source_19571> no, thanks for narrowing that down, will give it a shot
aleph- has joined #nixos
<{^_^}> [nixpkgs] @elohmeier opened pull request #53937 → fava: 1.7 -> 1.9 → https://git.io/fhnAw
tmaekawa has quit [Quit: tmaekawa]
<goibhniu> Cool, it's an easy mistake to make. The reason is that your user can have a different version of nixpkgs. It's worth mentioning (although, might already be obvious) that nix commands for your user will use the version defined in $HOME/.nix-channels. If you have added a channel there and run `nix-channel --update` as that user.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53928 → pythonPackages.qrcode: 6.0 -> 6.1 → https://git.io/fhnFR
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhnAD
<IRC-Source_19571> goibhniu: Thanks for the explanation. `nix-version` now reports 18.09.
<IRC-Source_19571> Should I expect that to bump the kernel version on reboot?
<srhb> IRC-Source_19571: contrast ls -l /run/current-system/kernel to ls -l /run/booted-system/kernel
<IRC-Source_19571> srhb: thanks, see a difference there (4.14.92 vs 4.14.87)
acarrico has joined #nixos
<srhb> IRC-Source_19571: current-system will be the new one after boot. :)
<IRC-Source_19571> thanks all, going down for a reboot
IRC-Source_19571 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
erictapen has joined #nixos
averell has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #53939 → haskellPackages.pandoc-crossref: refactor disable tests for 0.3.2.1 [backport] → https://git.io/fhnAd
averell has joined #nixos
regulus_ has joined #nixos
<{^_^}> [nixpkgs] @ThomasMader opened pull request #53940 → dub: Fix package build → https://git.io/fhnxL
ng0 has quit [Remote host closed the connection]
regulus_ has quit [Ping timeout: 258 seconds]
ng0 has joined #nixos
<tilpner> Mic92: I modified my kexec file to build a self-extracting tarball-script, so that you only scp, chmod +x, ./kexec. Is that something you'd want in nixos-generators?
<tilpner> (chmod +x is unnecessary, I forgot)
<lassulus> doesn't nixos-generators already do that?
<lassulus> ah, wait, that sounds cool
<lassulus> just open a PR
<tilpner> Last I checked, nix-tests didn't. But I didn't check for a while
Ariakenom has quit [Quit: Leaving]
strobelight has joined #nixos
Ariakenom has joined #nixos
<tilpner> Why does config.nix have nginx enabled...
<{^_^}> [nixpkgs] @orivej opened pull request #53941 → llvm_6, llvm_7: build all default targets → https://git.io/fhnxu
<tilpner> That seems like a weird default
jomik has joined #nixos
<jomik> Heya! I was pondering a solution to my direnv problems... I realize that my issue is caused by nix-shell. It ruins my shell environment somehow, so direnv can not use this. I.e. I cannot use emacsclient nor can I use `thefuck`..
<jomik> So, I was wondering if there was a "simple" way to create a setup sort of like what home-manager does, for use with direnv.
<jomik> There is a solution that would install packages in profiles, when I use `nix-env`. But I would prefer a config file, rather than the imperative installation.
janat08 has joined #nixos
cyounkins has joined #nixos
Guest83973 has joined #nixos
Guest83973 has quit [Changing host]
<janat08> after nixos-install efibootmgr remains the same
<{^_^}> nix-community/nixos-generators#6 (by tilpner, 15 seconds ago, open): add make-kexec-bundle
<janat08> should i reboot to check if I will boot into grub or not
Guest83973 is now known as LnL
<janat08> can't get into grub
spooky_ has quit [Quit: Leaving]
shpx has joined #nixos
orivej has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53911 → asciinema: 2.0.1 -> 2.0.2 → https://git.io/fhn9d
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fhnxH
orivej has joined #nixos
goibhniu has quit [Ping timeout: 240 seconds]
dslegends has quit [Quit: dslegends]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53929 → wpscan: 3.4.0 -> 3.4.3 → https://git.io/fhnbt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhnxx
jomik has quit [Quit: WeeChat 2.2]
<janat08> the above has partitions, config, efitbootmngr
rauno has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #53147 → abduco: 0.6 -> 2018-05-16 → https://git.io/fhtDP
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fhnpU
aleph- has quit [Ping timeout: 240 seconds]
tdbgamer has joined #nixos
janat08 has quit [Ping timeout: 256 seconds]
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @voobscout opened pull request #53942 → Update ncurses → https://git.io/fhnpm
goibhniu has joined #nixos
kisonecat has joined #nixos
ramses_ has quit [Ping timeout: 256 seconds]
alex`` has joined #nixos
o1lo01ol1o has joined #nixos
goibhniu1 has joined #nixos
goibhniu has quit [Ping timeout: 244 seconds]
<Mic92> clever: do you know by chance if Hetzner enables DHCP in all data centers? We are currently writing https://nixos.wiki/wiki/Install_NixOS_on_Hetzner_Online
regulus_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #53944 → mate updates and downgrades → https://git.io/fhnpg
<{^_^}> [nixpkgs] @dotlambda opened pull request #53945 → python.pkgs.recommonmark: 0.4.0 -> 0.5.0 → https://git.io/fhnpV
cyounkins has quit [Remote host closed the connection]
cyounkins has joined #nixos
<Mic92> hyper_ch2: in this example someone configures their own dhcp server for VMs running on the machine.
<hyper_ch2> it says the server seems to receive dhcp offer
<hyper_ch2> thought that was sufficient
ottidmes has joined #nixos
<Mic92> Appearantly they do.
cyounkins has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @danbst closed pull request #28425 → containers: automatically use user namespaces on supporting systems → https://git.io/v5fZ8
<hyper_ch2> I thought I did use clever's kexec to setup a hetzner server... but seems I didn't
<hyper_ch2> Mic92: you have a spare/test hetzner server?
<Mic92> hyper_ch2: my server is already set up.
<Mic92> I used something based on clever's one.
<hyper_ch2> but you didn't use dhcp then?
<Mic92> hyper_ch2: no. I thought it was not available but it was.
<Mic92> And we found no counter example
<Izorkin> Please check PR #53245
<{^_^}> https://github.com/NixOS/nixpkgs/pull/53245 (by Izorkin, 1 week ago, open): zsh.syntaxHighlighting: add option to customize styles
<hyper_ch2> if it's a test server, you could just use clever's kexec with dhcp (and auto-reboot after 5min or so) and see if it works
<duairc> Is it just me or does my NixOS system use three or four times the RAM my Debian system did even when not much is happening?
<gchristensen> probably just you
<gchristensen> how are you measuring used ram?
danielrf has quit [Ping timeout: 268 seconds]
<duairc> Like I just have a web browser with a couple of tabs, an email client, Pidgin and a few terminals and it's using 9G
<hyper_ch2> unused ram == wasted ram
<duairc> The "used" column in free -m, the green bar in htop
<duairc> I get that, I do
<gchristensen> "used" includes kernel caches
<gchristensen> the important one is "available"
<duairc> It says there's 6G (out of 16G) available
orivej has quit [Ping timeout: 240 seconds]
<duairc> I am using /tmp on tmpfs (as I was on Debian), but df -h says there's only 1.2 MB used in /tmp, so it can't be that
<hyper_ch2> my server has 32gb ram, used 4, free 1.4 cache 26.5
<gchristensen> at any rate, no, nixos doesn't inherently use more ram when compared to another distro
cyounkins has joined #nixos
Makaveli7 has quit [Quit: Leaving]
jomik has joined #nixos
<Mic92> jomik: does it override your TERM? (This message has been postponed on 2019-01-14 13:46:08.)
<duairc> The reason I want to blame Nix is because this seems to happen only after I attempt a couple of nix builds... when I start my system and open the same apps it uses somewhere between 3 and 4 GB of RAM. But during the builds loads of RAM gets used, and then afterwards it stays like that. I mean maybe it all being cached.
<goibhniu1> duairc: FWIW, I'm running KDE/plasma, firefox, pidgin, thunderbird, emacs, konsole and even an electron app, and it's using about 3G
<{^_^}> [nixpkgs] @hedning opened pull request #53946 → attr: fix issues with 2.4.48 → https://git.io/fhnpd
<jomik> Mic92: Sorry, I have been having some issues with KDE freezing, when using multiple monitors.. XD
<{^_^}> [nixpkgs] @sbourdeauducq opened pull request #53947 → pyvcd: init at 0.1.4 → https://git.io/fhnpF
<Mic92> jomik: I had the same bug.
<Mic92> but no solution unfortunaly.
<duairc> Like when I try to find what individual applications are using RAM, it just doesn't add up at all. Maybe it is just cache. But surely the available column should be lower then?
<jomik> Mic92: I don't recall it overriding TERM. I am not sure why that'd cause emacsclient to be unable to find my emacs server though.
<Mic92> jomik: it happend to me when using direnv-mode an my own nix function for direnv
<jomik> $TERM is `alacritty` for in and out of a direnv dir
<Mic92> Then this fine
<jomik> Pretty sure it is a `nix-shell` issue tbh.
<jomik> Maybe?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.0-rc1 -> 5.0-rc2 »: https://git.io/fhnpx
<Mic92> Don't know, what is actually wrong?
<jomik> `thefuck` gets messed up if I install a python package in nix-shell. Because then `thefuck` can't find its python dependencies...
<jomik> emacsclient can not find the server.
<jomik> But if I don't have a nix-shell direnv loaded, it finds it just fine.
<Mic92> jomik: this is because thefuck picks up PYTHONPATH.
<jomik> Yeah.
reinhardt has quit [Quit: Leaving]
<jomik> I thought it would be wrapped by nix, when installed :D
<jomik> ?
<Mic92> I am surprised buildPythonApplication does not do exactly that.
<Mic92> Thre might be some counter example but for the most part you want to ignore PYTHONPATH
npmccallum has joined #nixos
<jomik> Hmm?
<jomik> I guess it messes it up here, because the paths are not merged, they're just overwritten. I can fix that by manually saving my pythonpath before evalling the result of the nix expression.
<jomik> Still have the issue of emacs not finding the server socket.
<jomik> It is in `/tmp/emacs1000/server
<Mic92> jomik: inside a nix-shell you have TMPDIR=/run/user/$UID.
<jomik> nix-shell does set TMP, TEMP and TMPDIR to
<jomik> yeah.
<Mic92> I changed it to a fixed location
<jomik> But I tried setting them to /tmp
<jomik> which is where the emacs socket is
pointfourone has joined #nixos
<Mic92> jomik: you have to specify that also when starting emacsclient.
<Mic92> because emacsclient does not read your configuration to figure out where the socket is
<jomik> OH
hydraz is now known as ^W
<jomik> Unsetting them helps!
<jomik> So I just have to unset them after loading the env.
<Mic92> jomik: feel free to add this here: https://github.com/direnv/direnv/wiki/Nix
shpx has quit [Quit: Textual IRC Client: www.textualapp.com]
<jomik> Wonder if it would be best to get the old and then reset it after - what if it isn't set before then?
<jomik> I.e. if you have set TMPDIR to "/foo/bar", you'd probably want that afterwards.
<jomik> Though, in my case, it is not set.
knupfer has joined #nixos
<jomik> Also. htop and friends are so annoying to use with nix because of the long bin paths :D
pointfourone has quit [Client Quit]
<Mic92> jomik: you can save it before the `use nix` line in direnv
<Mic92> and you can configure htop to only show the basename
jomik has quit [Quit: WeeChat 2.2]
knupfer has quit [Remote host closed the connection]
jomik has joined #nixos
<jomik> This freezing is annoying. Mic92, did you say you had this with Plasma/KDE too?
thadthemad has joined #nixos
<Mic92> jomik: Yes. It made me switch away from KDE again. I was tired of debugging KDE problems
<jomik> Uh, yeah... I guess I need to go back to GNOME then...
<jomik> At least GNOME just uses all my RAM :D
<jomik> Or get my ass together and configure XMonad.. :D
<wirew0rm> jomik: I use "programs.htop.showProgramPath = false;" because of that :)
<jomik> wirew0rm: Thanks! I was looking for something like that :
<jomik> :D
pointfourone has joined #nixos
<jomik> Rebooting again....
jomik has quit [Client Quit]
pointfourone has quit [Remote host closed the connection]
janat08 has joined #nixos
thadthemad has quit [Client Quit]
primeos has quit [Quit: WeeChat 2.3]
<janat08> can some1 tell hom i'm not booting into grub
<janat08> after install
primeos has joined #nixos
jomik has joined #nixos
<jomik> Mic92: Are you using GNOME then?
<Mic92> jomik: awesome wm.... Configured it years ago, I will stay with it until wayland becomes a thing, one want to use.
<samueldr> janat08: (among others) grub.efiSupport will need to be set to true, and it's systemd-boot.enable will need to be false; then you'll also need to nixos-rebuild with --install-bootloader to be sure it is used
endformationage has joined #nixos
<janat08> ty
<samueldr> janat08: do you know if your EFI firmware is fussy or buggy and doesn't like being configured by the system to boot non-default paths? (some are)
<jomik> Ahh, yeah okay :P I have considered Awesome WM as well. It's a pretty difficult choice, I feel. Cuz you have to put in hours to configure something, then try it out D:
<{^_^}> [nixpkgs] @jtojnar pushed to master « libcloudproviders: 0.2.5 → 0.3.0 »: https://git.io/fhnh6
jabranham has joined #nixos
<janat08> samueldr: I installed ubuntu previously
<samueldr> I don't know how ubuntu installs its bootloader, but I guess it probably means it's fine
<{^_^}> [nixpkgs] @Mic92 closed pull request #53920 → llvm_{6,7}: enable BPF target, fix bcc → https://git.io/fhnQ5
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to staging: https://git.io/fhnhD
jomik has quit [Ping timeout: 252 seconds]
<janat08> running efibootmgr still doens't show grub
<janat08> should i restart?
<samueldr> do you still have the output of nixos-rebuild handy?
<janat08> i forgot that part
humanoyd has joined #nixos
<janat08> did reinstall instead of that if it matters
humanoyd is now known as Guest32400
Ariakenom has quit [Ping timeout: 258 seconds]
fusion809 has quit [Remote host closed the connection]
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<janat08> efi is still same: https://pastebin.ubuntu.com/p/Cf5cNYkGPB/
fusion809 has joined #nixos
<janat08> samueldr: above
iqubic` has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<samueldr> ah, with nixos-rebuild, `build` only builds, it will not do anything involving system modifications, including switching to the configuration or changing boot options
<samueldr> so, janat08, you either want to nixos-rebuild boot or nixos-rebuild switch with --install-bootloader
tstat has joined #nixos
<janat08> nixos-rebuild boot --install-bootloader building Nix... building the system configuration... Warning: do not know how to make this configuration bootable; please enable a boot loader.
<samueldr> good, that's some progress
* samueldr checks your config again
pointfourone has joined #nixos
<samueldr> progress in the sense that nixos is attempting to install the bootloader, and we have output explaining that it can't
<{^_^}> [nixpkgs] @Ma27 opened pull request #53952 → nixos/gitea: minor fixes → https://git.io/fhnhj
<samueldr> add `boot.loader.efi.canTouchEfiVariables = true;` otherwise nixos will not change them
<janat08> lol i meant to change it
thadthemad has joined #nixos
socksy has joined #nixos
<samueldr> oh, I might have missed something relatively obvious: if you're still in the installation image, you can nixos-install, nixos-rebuild (unless you used nixos-enter) will rebuild the installer config in-memory
<socksy> hey, I'm setting up my new work's environment using an fhs environment with buildFHSUserEnv. One of the dependencies in the electron app is node keytar, which only works if gnome-keyring is installed ( https://github.com/atom/node-keytar/issues/74 ). I have it in my list of packages but it still doesn't find it, reporting "org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
<{^_^}> atom/node-keytar#74 (by blaatunga, 1 year ago, open): It still requires gnome-keyring even on KDE
<das_j> join #lineageos
<das_j> ffs
<janat08> jesus its done: samueldr
janat08 has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53507 → pythonPackages.pytest-rerunfailures: 4.2 -> 5.0 → https://git.io/fhs87
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhnjt
<socksy> also, there are multiple ways of installing gnome-keyring, and I think I've tried them all now but a bit confused what the difference is between e.g. gnome3.gnome-keyring and gnome3.gnome_keyring
<ottidmes> ,declarative fusion809
<{^_^}> fusion809: There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
<{^_^}> [nixpkgs] @worldofpeace merged pull request #53727 → shadowsocks-libev: 3.2.0 -> 3.2.3 → https://git.io/fhZgL
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fhnj3
pointfourone has quit [Quit: Leaving]
tzemanovic has joined #nixos
<sphalerite> socksy: those are identical
<sphalerite> socksy: the problem, and I'm not sure this can be solved within an FHS user env, is that gnome keyring is talked to via dbus, and your dbus session bus is unaware of the dbus service files provided by gnome-keyring
<sphalerite> socksy: so AFAIK the only way is to make sure that whoever runs the software has gnome-keyring in their user or system profile :|
<socksy> could I get it working in the "host" environment?
<socksy> I only care atm for development, not packaging
<socksy> oh hey that works
<socksy> sphalerite: thanks for the insight
<sphalerite> yay I helped!
<{^_^}> [nixpkgs] @dywedir merged pull request #51324 → Webpack-cli: init at 3.1.2 → https://git.io/fpo1r
<{^_^}> [nixpkgs] @dywedir pushed commit from @P-E-Meunier to master « Adding webpack-cli to the node packages »: https://git.io/fhnj4
kisonecat has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
thadthemad has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Makaveli7 has joined #nixos
<duairc> About my RAM issues, ps_mem shows I'm using 3.3G, which is line with what I'd expect, but everything else is showing more than twice that. It seems like the rest is being used by ZFS somehow?
thadthemad has joined #nixos
<tilpner> Did you set the ARC cache size? Are you using deduplication?
<gchristensen> oh, heh, hyeah
<duairc> I never explicitly enabled nor disabled any of those things
<gchristensen> duairc: ZFS's caches don't appear in the available section either, because it uses them differently -- but the cache is still evictable for sure
<gchristensen> AND, yes, ZFS's caches will dutifully use all your RAM as it can
<duairc> So if I open stuff that needs that RAM, I shouldn't worry, the kernel will figure it out?
<gchristensen> yep
<duairc> (without swapping)
<duairc> Okay, good! And I wasn't using ZFS on Debian so that would explain why it's different
o1lo01ol1o has quit [Ping timeout: 258 seconds]
kisonecat has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #53954 → mbed-cli: Init at 1.8.3 → https://git.io/fhceG
<gchristensen> yeah, ZFS has very different memory use :)
<duairc> If I'm on nixos-unstable, which has GHC 8.6, is there any way I can install GHC 8.4?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #53955 → pythonPackages.fuzzywuzzy: Init at 0.17.0 → https://git.io/fhcea
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #53956 → pythonPackages.mbed-ls: Init at 1.6.2 → https://git.io/fhcew
o1lo01ol1o has quit [Remote host closed the connection]
ddellacosta has joined #nixos
<elvishjerricco> My memory meter in my status bar became completely useless after I switched to ZFS :P
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<elvishjerricco> I should figure out how to set it to ignore the kernel's memory usage
hyper_ch2 has quit [Quit: Page closed]
<tilpner> > haskell.compiler.ghc844 # duairc
<{^_^}> "<derivation /nix/store/ixibqyr44v605yyyb6v920hl0r9qqwmb-ghc-8.4.4.drv>"
ekleog has quit [Quit: WeeChat 2.2]
<duairc> tilpner: What on earth did you just do there?
<{^_^}> [nixpkgs] @mgeisler closed pull request #45497 → pythonPackages.pex: 1.2.7 -> 1.4.5 → https://git.io/fAIMk
<tilpner> Show you the attribute path to get ghc 8.4.4
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/15eb4c361c7 (from 25 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<duairc> Ah okay, I see now, I was just confused because I was looking for it in haskellPackages
<tilpner> Also: haskell.packages.ghc844
ekleog has joined #nixos
devalot has joined #nixos
<duairc> tilpner: Thanks
thadthemad has quit [Remote host closed the connection]
knupfer has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @sbourdeauducq opened pull request #53957 → add myself to maintainers list → https://git.io/fhceA
thadthemad has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/202bee93915 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @dotlambda closed pull request #53957 → add myself to maintainers list → https://git.io/fhceA
dsiypl4__ has joined #nixos
thadthemad has quit [Client Quit]
fusion809 has quit [Remote host closed the connection]
socksy has quit [Quit: Page closed]
babic has joined #nixos
fusion809 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
erictapen has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
shibboleth has joined #nixos
thadthemad has joined #nixos
thadthemad has quit [Client Quit]
thadthemad has joined #nixos
shibboleth has quit [Remote host closed the connection]
rauno has joined #nixos
dsiypl4 has joined #nixos
thadthemad has quit [Read error: Connection reset by peer]
dsiypl4__ has quit [Ping timeout: 244 seconds]
babic has quit [Ping timeout: 258 seconds]
johanot has quit [Remote host closed the connection]
erictapen has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #53519 → twa: 1.6.2 -> 1.7.0 → https://git.io/fhsg2
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fhcvN
orivej has joined #nixos
kisonecat has quit [Ping timeout: 258 seconds]
ThatDocsLady has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @veprbl pushed 0 commits to pr/qt5-darwin-fix: https://git.io/fhcvp
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @gnidorah closed pull request #53811 → gamemus: init at 2017-12-03 → https://git.io/fhnkb
<{^_^}> [nixpkgs] @erictapen opened pull request #53958 → scribusUnstable: fix build failure from poppler bump → https://git.io/fhcfU
thadthemad has joined #nixos
thadthemad has quit [Client Quit]
<hedning> what's the opinion on squash and merge for single commit PRs?
thc202 has quit [Ping timeout: 240 seconds]
thc202 has joined #nixos
<sphalerite> hedning: squash is a no-op when it's a single commit...
<hedning> sphalerit: right, the github language is bit silly, the point is not having a merge commit, just the pr number in parenthesis
dermetfan has quit [Ping timeout: 258 seconds]
kisonecat has joined #nixos
<{^_^}> [nixpkgs] @ejpcmac opened pull request #53959 → elixir_1_8: 1.8.0-rc.1 -> 1.8.0 → https://git.io/fhcf8
ixxie has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53960 → gtk3: 3.24.2 -> 3.24.3 → https://git.io/fhcfB
sigmundv_ has quit [Ping timeout: 272 seconds]
Tucky has quit [Quit: WeeChat 2.2]
reinhardt has joined #nixos
shibboleth has joined #nixos
Guest32400 has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @elseym opened pull request #53961 → nzbget: fix preStart script and add more options to module → https://git.io/fhcf6
sanscoeur has joined #nixos
<fpletz> sphalerite: hedning: if the commit is signed I tend to merge it to keep the signature intact
tzemanov_ has joined #nixos
<{^_^}> [nixpkgs] @elseym opened pull request #53962 → sonarr: add more options to module → https://git.io/fhcfy
tzemanovic has quit [Ping timeout: 250 seconds]
kp__ has joined #nixos
dermetfan has joined #nixos
janat08 has joined #nixos
freedan42x has joined #nixos
fusion809 has quit [Remote host closed the connection]
<janat08> i dont see allowunfree option, nor do i see vscode/chrome
<gchristensen> ,unfree janat08
<{^_^}> janat08: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
knupfer has quit [Ping timeout: 250 seconds]
<freedan42x> Does anyone know how to automatically run script after system loads? Actually, how to write script that runs several commands?
<infinisil> freedan42x: systemd services
kvda has joined #nixos
kvda has quit [Client Quit]
<{^_^}> [nixpkgs] @jtojnar pushed to master « pulseeffects: 4.4.5 → 4.4.6 »: https://git.io/fhcJL
<freedan42x> infinisil, what do you mean?
<infinisil> freedan42x: systemd services can do that
<freedan42x> infinisil, systemd-services not found
tcosmo_ has joined #nixos
<infinisil> That's not a command
<infinisil> freedan42x: Do you not know what systemd services are?
<freedan42x> infinisil, tbh - no. I'm noob at Nix
<infinisil> Has nothing inherently to do with Nix. systemd is the thing that manages a lot of things on a lot of Linux distros
<tcosmo_> Hello everyone :) I'm struggling trying to make a python systemd service because of the propagated build inputs. Indeed, when I try to add them to the path, nixos says "The value of the environment variable ‘PATH’ in systemd service ‘timelist.service’ is too long."
<infinisil> And its services can run arbitrary stuff when things happen
<tcosmo_> Would you know if there is a better way to create the python env of my package within my systemd service?
<infinisil> freedan42x: Here's an example of how to write one on NixOS: https://nixos.wiki/wiki/NixOS:extend_NixOS
Makaveli7 has quit [Quit: Leaving]
<sphalerite> tcosmo_: you can use buildEnv
<sphalerite> tcosmo_: as it happens, there's a convenience buildEnv wrapper for python in the form of python.withPackages
<freedan42x> infinisil, thank you; `Actually, how to write script that runs several commands?`
<tcosmo_> sphalerite: Thank you!! Would you be aware of any service that uses it so that I can copy?
<infinisil> freedan42x: systemd.services.<foo>.script will take a bash script to run
<infinisil> (that's a NixOS option)
<tcosmo_> sphalerite: Just found web-servers/uwsgi.nix thank you!!!
<freedan42x> infinisil, oh, thx
dermetfan has quit [Ping timeout: 250 seconds]
<Church-> samueldr: So I found something worse then packaging Ruby code.
<gchristensen> is it unpackaged ruby code?
<Church-> gchristensen: Writing xlib code
<Church-> Trying to figure out how to split a root window into having several child windows. Which I sorta know how.
<gchristensen> hehe
<Church-> But then figuring out how to assign an application to each window
<Church-> That last one is driving me barmy. There's nothing that says how to do so.
JosW has joined #nixos
<gchristensen> sounds like a nightmare
<Church-> If I could just map the applications I'd be fine!
<Church-> I'm literally just hardcoding a root window and four children, with a hardcode app per window.
<Church-> Solely for my own personal use as I learn more xlib
thadthemad has joined #nixos
janat08 has quit [Ping timeout: 256 seconds]
<jasongrossman> Church-: Have you looked at window manager code like TinyWM?
thadthemad has quit [Client Quit]
<Church-> jasongrossman: So I have a port of TinyWM I made as a base. But it doesn't do anything for child windows if I recall
<Church-> Or wait... did I miss something stupid.
Makaveli7 has joined #nixos
shibboleth has quit [Quit: shibboleth]
kisonecat has quit [Ping timeout: 240 seconds]
janat08 has joined #nixos
<shazow> has anyone managed to get flatpak apps with tray icons working on NixOS? I'm getting some dbus-related warnings on everything I try (e.g. discord, steam) -- I tried adding xdg-desktop-portal-gtk but no change (running on i3wm fwiw, other native app tray icons like nm-applet show up)
<janat08> i followed wiki about unfree, chrome still has no matches
freeman42x has joined #nixos
<janat08> [jk@nixos:~/.config/nixpkgs]$ cat config.nix { # [...] allowUnfree = true; }
<gchristensen> if "# [...] allowUnfree" is on one line, it will be commented out. is it?
<janat08> its not
<gchristensen> ok, how are you trying to install chrome?
<janat08> system wide
<janat08> wiki says user should have unfree too
<gchristensen> ,unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
<janat08> im still "free" though
<gchristensen> https://nixos.wiki/wiki/FAQ/How_can_I_install_a_proprietary_or_unfree_package%3F#System-level_configuration_.28NixOS.29 when installing via /etc/nixos/configuration.nix , you have to follow this one.
<gchristensen> are you trying to run nix-env -iA? or put it in environment.systemPackages?
Guest56801 has quit [Ping timeout: 258 seconds]
freeman42x[nix] has joined #nixos
<janat08> trying to run nix-env -qaP
Guanin has joined #nixos
<janat08> i have allow unfree everywhere: nixpkgs.config = { allowUnfree = true; # more stuff };
freedan42x has quit [Quit: Leaving]
abathur has joined #nixos
<tcosmo_> Hello, do you know why there is "ps" in the following expression:
<tcosmo_> python35.withPackages (ps: with ps; [ numpy toolz ])
<gchristensen> janat08: nixpkgs.config ONLY impacts the configuration.nix. if you want to run nix-env as a user, you have to set the allowUnfree option _per user_. so, if you want to run it as root , you have to put it at ~root/.config/nixpkgs/config.nix
<__monty__> tcosmo_: withPackages takes a function and gives a package set to it.
<__monty__> The with ps, opens up that package set record so you don't have to type ps.nump ps.tools ps.etc...
ixxie has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<tcosmo_> __monty__: thank you for your answer but I dont get why ps replace "python35Packages"
<simpson> > pypy.withPackages (ps: [ ps.twisted ])
<{^_^}> "<derivation /nix/store/0yicx3difmx160xw8j38s1sczwddpg75-pypy-6.0.0-env.drv>"
<simpson> > pypy.withPackages (ps: with ps; [ twisted ])
<{^_^}> "<derivation /nix/store/0yicx3difmx160xw8j38s1sczwddpg75-pypy-6.0.0-env.drv>"
o1lo01ol1o has joined #nixos
<simpson> tcosmo_: It's just syntax.
<tcosmo_> ok! and putting python36.withPackages(...) before mkDerivation in my package will allow systemd to have the correct python environment?
<{^_^}> [nixpkgs] @primeos opened pull request #53963 → python37Packages.cryptography{,_vectors}: 2.3.1 -> 2.4.2 → https://git.io/fhcI3
<simpson> I think so?
JosW has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<janat08> im not running it as root
<tcosmo_> I'm confused on how to use pkgs.python36.withPackages with systemd modules to load the correct python environment when service is running
<{^_^}> [nixpkgs] @msteen closed pull request #53878 → nix-prefetch: init at 0.1.0 → https://git.io/fhn6V
<sphalerite> tcosmo_: if you add (python36.withPackages …) to the path for the systemd service, you can use the python interpreter in the script or whatever and it will have all those modules availbale
<janat08> is there a way in which i have to set up config.nix or does it get read automatically
<janat08> cuz i had to create it
<tcosmo_> sphalerite: Gonna try! But I dont understand why what it will produce wont be again too long
<sphalerite> tcosmo_: because it creates a forest of symlinks to the individual packages
<sphalerite> tcosmo_: sort of like a virtualenv with all the packages installed
<sphalerite> and only adds that to the path
<tcosmo_> sphalerite: ahhhh makes sense gonna try rn!
<tcosmo_> sphalerite: cheers!!!
<{^_^}> [nixpkgs] @nbp merged pull request #53397 → lib/modules: Add function to create option alias that respects priority → https://git.io/fhOT9
<{^_^}> [nixpkgs] @nbp pushed 5 commits to master: https://git.io/fhcLY
freeman42y has joined #nixos
<ivan> why does my machine complain about 'warning: substituter 'http://ra.wg:5000' does not have a valid signature for path ...' when on ra.wg I did `nix sign-paths -k /var/secrets/nix/secret_key --all` and `NIX_SECRET_KEY_FILE=/var/secrets/nix/secret_key nix-serve -l 10.10.0.1:5000`
erictapen has quit [Ping timeout: 244 seconds]
philippD has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktopPackages.preview: 1.5.4 -> 1.5.7 »: https://git.io/fhcL8
<tcosmo_> sphalerite: path = [ pkgs.python36.withPackages ( pkg.propagatedBuildInputs) ]; results in a error: cannot coerce a function to a string would you have any idea why?
<lassulus> path = [ (pkgs.python36.withPackages (p: [ pkg.propagatedBuildInputs ])) ]; maybe?
<sphalerite> tcosmo_: you need to put the whole thing in parentheses
<sphalerite> otherwise it interprets pkgs.python36.withPackages and (…) as separate elements of the list
<{^_^}> [nixpkgs] @fpletz merged pull request #53961 → nzbget service: fix preStart script and add more options to module → https://git.io/fhcf6
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhcLP
<tcosmo_> sphalerite: yes! sorry for that (im a noob) but it then says that the argument should be a function where as its a list
freeman42x has quit [Ping timeout: 252 seconds]
<tcosmo_> sphalerite: can passing a constant function equal to the list can do the trick ?
<sphalerite> tcsexactly
<tcosmo_> sphalerite: cheers!$
<sphalerite> err that came out wrong, but yeah
<tcosmo_> sphalerite: aha thank you! gonna try
kisonecat has joined #nixos
<{^_^}> [nixpkgs] @fpletz merged pull request #53962 → sonarr service: add more options to module → https://git.io/fhcfy
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fhcLb
<{^_^}> [nixpkgs] @ejpcmac opened pull request #53964 → erlangR21: 21.2 -> 21.2.2 → https://git.io/fhctq
freeman42x[nix] has quit [Ping timeout: 252 seconds]
plakband has joined #nixos
<ivan> why are things signed when accessed over ssh:// but not over http:// to nix-serve pointed at the key
tzemanovic has joined #nixos
<{^_^}> edolstra/nix-serve#10 (by tfc, 43 weeks ago, open): substituter not accepted due to invalid signature
tzemanov_ has quit [Ping timeout: 245 seconds]
freeman42x[nix] has joined #nixos
tcosmo_ has quit [Quit: Page closed]
_kwstas has joined #nixos
Ariakenom has joined #nixos
<ivan> nix-serve _is_ attaching a Sig:
kisonecat has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @primeos pushed to master « android-studio: 3.2.1.0 -> 3.3.0.20 »: https://git.io/fhctr
kumikumi has quit [Ping timeout: 256 seconds]
freeman42y[nix] has joined #nixos
<plakband> I am trying to install NixOS on an old mac mini. The installation from the graphical live CD went flawlessly (with modeset), but when booting from disk I get a black screen after GRUB. Anyone have any tips? I'm now looking through the live cd config, since they work, but no luck yet.
<gchristensen> was just reminded of this Pro Tip (tm): systemd.services.nix-gc.unitConfig.ConditionACPower = true;
<ivan> plakband: at grub press e to edit boot options and add nomodeset?
mtesseract has joined #nixos
freeman42x[nix] has quit [Ping timeout: 258 seconds]
<ivan> er, modeset, whatever you need
<ivan> never mind I guess I misread
<mtesseract> Hi, I have a question regarding types. When I evaluate ":t (import <nixpkgs> { }).fetchgit" in nix repl, it says "a set". But it is my understanding that fetchgit is actually a function which expects an attribute set as input ({ url = "..."; sha256 = "..."; ...}). Could somebody explain this discrepancy?
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-18.09: https://git.io/fhcme
gagbo has joined #nixos
<freeman42y> is there a way to tell NixOS to connect only on ipv4 on ethernet? I connected my Windows laptop with the NixOS laptop and they have connected using IPV6 and SSH does not see the NixOS ssh server
slyfox_ has joined #nixos
slyfox has quit [Ping timeout: 240 seconds]
slyfox_ is now known as slyfox
o1lo01ol1o has quit [Remote host closed the connection]
<ottidmes> freeman42y: I have used this in the past in NixOS to disable IPv6 for my ethernet: boot.kernel.sysctl."net.ipv6.conf.eth0.disable_ipv6" = 1; (note that you probably are not using eth0)
<{^_^}> [nixpkgs] @lheckemann opened pull request #53965 → nixos/zfs: autoscrub only after boot is complete → https://git.io/fhcma
o1lo01ol1o has joined #nixos
<ottidmes> freeman42y: it seems you can also just say: ssh -4 ... since that "Forces ssh to use IPv4 addresses only."
babic has joined #nixos
erictapen has joined #nixos
<dmj`> I have a derivation in nix
<dmj`> how can I make the set (the argument) overrideable
<dmj`> { arg ? false }: pkgs.stdenv.mkDerivation { ... }
<dmj`> I'd like to do
<freeman42y> ottidmes, I'm using WinSCP to connect so I don't see any ssh -4 option. And even if I did, I would not know which IP to connect to
<dmj`> myDerivation.override { arg = true; }
<dmj`> callPackage worked
<ottidmes> dmj`: right, because callPackage calls makeOverridable on your function: https://github.com/NixOS/nixpkgs/blob/master/lib/customisation.nix#L112
dermetfan has joined #nixos
<ottidmes> freeman42y: so you have like Win -IPv6-> NixOS laptop, but you then try to connect to a NixOS server from your NixOS laptop and it fails because it tries to connect over IPv6 as well, while your server does not have support for this?
<ottidmes> freeman42y: if that is the case, could you not configure the laptop to connect to the server via ssh -4 at that point?
<freeman42y> ottidmes, I am trying to connect from Windows laptop to NixOS laptop
freeman42y[nix] has quit [Remote host closed the connection]
cyounkins has quit [Remote host closed the connection]
Dagger has quit [Excess Flood]
<freeman42y> I'm trying the configuration you mentioned. Hopefully it gets NixOS to use ipv4 and hopefully then Windows will see it
cyounkins has joined #nixos
civodul has joined #nixos
reinhardt has quit [Quit: Leaving]
mtesseract has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dagger has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
cyounkins has quit [Ping timeout: 258 seconds]
<freeman42y> nope, it still does not work. It gets some IPv6 temporarily while it tries to connect and then after spinning the connection item a while it disconnects
<ottidmes> freeman42y: there is also boot.kernelParams = [ "ipv6.disable=1" ]; but it caused some programs to complain for me
<freeman42y> ottidmes, I wonder if this might not be fixable by disabling IPv6 on Windows side
<Dagger> rather than disable v6, wouldn't it be better to just get the v6 working?
freeman42z has joined #nixos
<ottidmes> freeman42y: AddressFamily in sshd_config might be used to limit it to IPv4
<freeman42z> Dagger, <<rather than disable v6, wouldn't it be better to just get the v6 working?>> sure, but how?
<Dagger> what do you mean by "SSH does not see the NixOS ssh server"?
<freeman42z> Dagger, it doesn't see it because there is no IP allocated to NixOS. As I said, it connects for a bit, gives it an IPv6 IP but then it stops icon spinning and disconnects
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Dagger> hm... I don't have a specific answer, but it sounds like the sort of thing that e.g. network-manager would do if you configured the interface to "require v4, don't care about v6"
_kwstas has quit [Quit: _kwstas]
<Dagger> it would set the interface up, wait for v4 to fail, and then tear it down again
freeman42y has quit [Ping timeout: 252 seconds]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<freeman42z> Dagger, I changed from the GUI interface settings to require IPv4, let's see if it works
<Dagger> FWIW you're connected to IRC over v6, so that part seems to work (assuming you're connecting from the same machine)
<{^_^}> [nixpkgs] @rvolosatovs closed pull request #53955 → pythonPackages.fuzzywuzzy: init at 0.17.0 → https://git.io/fhcea
<Dagger> are you connecting these two machines directly? i.e. with a single ethernet cable between the two?
plakband has quit [Quit: WeeChat 2.3]
<freeman42z> Dagger, yup, direct connection with single cable between them
<freeman42z> I've done this before with all sorts of machines and it worked
Makaveli7 has quit [Quit: Leaving]
<Dagger> so there's probably no DHCP server on the link (unless you've configured one?) to give them IPs
<Dagger> Windows will automatically generate an IP in 169.254.0.0/16. on Linux it depends
<freeman42z> Dagger, afaik at least windows will act as DHCP for the link
<Dagger> see if you can find a setting for "link-local v4", "auto config" or something similar
<Dagger> otherwise... set it to ignore v4 and then either manually configure an address or just use the v6
<Dagger> or set it to static and give it an IP in 169.254.0.0/16, that would make sense (I just prefer to push v6 whenever I can, and it works here because all v6 interfaces automatically get link-local addresses)
<freeman42z> Dagger, I found the Link Local setting in the GUI. Thank you very much. Problem solved.
mtesseract has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
mtesseract has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bbf5f02584e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @dywedir merged pull request #53799 → darktable: 2.4.4 -> 2.6.0 → https://git.io/fhZpL
<{^_^}> [nixpkgs] @dywedir pushed commit from @jfrankenau to master « darktable: 2.4.4 -> 2.6.0 »: https://git.io/fhcsY
* gchristensen is being punished by nix-shell using bashInteractive, despite it being an undeclared input
janat08 has quit [Ping timeout: 256 seconds]
<gchristensen> even the smallest impurities are punishing!
<aminechikhaoui> I want to override sbt package with a different jre, and seems that sbt has jre as an argument to callPackage not to the derivation, is there a simple way to override jre as I guess overrideAttrs won't work in this case
<ottidmes> aminechikhaoui: override should work for the arguments to a callPackage'd package
<aminechikhaoui> huh
Makaveli7 has joined #nixos
<clever> aminechikhaoui: any params passed at the callPackage level are changed with .override
<ottidmes> aminechikhaoui: override "It is used to override the arguments passed to a function.", i.e. the arguments passed to callPackage for sbt, i.e. you can just do sbt.override { jre = myJRE; }
<aminechikhaoui> oh ok nice
<aminechikhaoui> thanks clever and ottidmes !
<ivan> does nix-serve actually work? I tried a lot of things but I'm seeing behavior like the stapled Sig:s are incorrect or something
<ivan> does nix have a cache somewhere that would cause it to complain about signatures without hitting the cache again
<clever> ivan: there was a bug in nix-serve at one point, where it generated invalid sigs
<clever> ivan: nix does also cache the narinfo files locally
<clever> [root@amd-nixos:~]$ ls -lh ~/.cache/nix/binary-cache-v5.sqlite*
<clever> ivan: in there
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 250 seconds]
Mateon3 is now known as Mateon1
sanscoeu_ has joined #nixos
Dedalo has joined #nixos
sinner has joined #nixos
sinner is now known as Guest29717
sanscoeur has quit [Ping timeout: 240 seconds]
verite- has joined #nixos
erictapen has quit [Ping timeout: 268 seconds]
das_j_ has joined #nixos
teozkr_ has joined #nixos
pingveno_ has joined #nixos
Haskellfant has joined #nixos
systemfault_ has joined #nixos
zopsi_ has joined #nixos
chris|_ has joined #nixos
cbarrett_ has joined #nixos
erictapen has joined #nixos
pointfree_ has joined #nixos
teej_ has joined #nixos
lopsided98_ has joined #nixos
Ariakenom has quit [Quit: Leaving]
Glenn_S has joined #nixos
beaky1 has joined #nixos
nokomprendo has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
<Dedalo> I'm trying to setup a samba share in NixOS. I'm using the istructions from the Wiki. I use as server my router with Tomato firmaware and a hdd connected via USB 2.0 (because 3.0 doesn't work). The hdd is formatted with ext3 and it works, I'm running a torrent client on it (on the router). I want to share this hdd using Samba, so I have enabled Samba in Tomato, with a username and a password. Then I have
<Dedalo> modified my configuration.nix but I can't connect. I have seen that NixOS creates a dir /mnt/nas (I called the share nas), but I can't access. Any idea?
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #53966 → python.pkgs.cypari2: fix build → https://git.io/fhcZl
[Leary] has joined #nixos
ambro718 has joined #nixos
aswanson_ has joined #nixos
freeman42z has quit [Ping timeout: 252 seconds]
Lears has quit [Ping timeout: 258 seconds]
swflint_away has joined #nixos
florianjacob1 has joined #nixos
ShenTsing[m]1 has joined #nixos
duoi_ghost has joined #nixos
abcrawf_ has joined #nixos
_kwstas has joined #nixos
sinner has joined #nixos
das_j has quit [Ping timeout: 268 seconds]
verite has quit [Ping timeout: 268 seconds]
zopsi has quit [Ping timeout: 268 seconds]
adamantium has quit [Ping timeout: 268 seconds]
abcrawf has quit [Ping timeout: 268 seconds]
systemfault has quit [Ping timeout: 268 seconds]
tokudan[m] has quit [Ping timeout: 268 seconds]
Ralith has quit [Ping timeout: 268 seconds]
teozkr has quit [Ping timeout: 268 seconds]
teej has quit [Ping timeout: 268 seconds]
chris| has quit [Ping timeout: 268 seconds]
pingveno has quit [Ping timeout: 268 seconds]
swflint has quit [Ping timeout: 268 seconds]
john3[m] has quit [Ping timeout: 268 seconds]
schmittlauch[m] has quit [Ping timeout: 268 seconds]
siraben has quit [Ping timeout: 268 seconds]
bennofs[m] has quit [Ping timeout: 268 seconds]
cbarrett has quit [Ping timeout: 268 seconds]
flokli has quit [Ping timeout: 268 seconds]
lopsided98 has quit [Ping timeout: 268 seconds]
GlennS has quit [Ping timeout: 268 seconds]
cocreature has quit [Ping timeout: 268 seconds]
beaky has quit [Ping timeout: 268 seconds]
aswanson has quit [Ping timeout: 268 seconds]
ShenTsing[m] has quit [Ping timeout: 268 seconds]
florianjacob has quit [Ping timeout: 268 seconds]
eeva has quit [Ping timeout: 268 seconds]
duoi has quit [Ping timeout: 268 seconds]
pointfree has quit [Ping timeout: 268 seconds]
teozkr_ is now known as teozkr
chris|_ is now known as chris|
cbarrett_ is now known as cbarrett
Haskellfant is now known as cocreature
pingveno_ is now known as pingveno
systemfault_ is now known as systemfault
teej_ is now known as teej
pointfree_ is now known as pointfree
swflint_away is now known as swflint
sinner is now known as Guest98408
tokudan[m] has joined #nixos
Ralith has joined #nixos
flokli has joined #nixos
john3[m] has joined #nixos
grahamc[m] has joined #nixos
adamantium has joined #nixos
adamantium has joined #nixos
adamantium has quit [Changing host]
adamantium has joined #nixos
adamantium has quit [Changing host]
schmittlauch[m] has joined #nixos
bennofs[m] has joined #nixos
edrex has joined #nixos
siraben has joined #nixos
<ivan> clever: thanks. I rm'ed the cache but it's still unhappy with the sigs :(
Guest29717 has quit [Ping timeout: 268 seconds]
freeman42x has joined #nixos
jasongrossman has quit [Ping timeout: 246 seconds]
<ivan> Dedalo: try various mount -t cifs -o ... things before putting it into the configuration, you might need vers=1.0 or 2.0 or 3.0
sanscoeu_ has quit [Remote host closed the connection]
cyounkins has joined #nixos
<Dedalo> ivan: ok I try, let's see if I can connect
sanscoeur has joined #nixos
<ivan> clever: actually thanks that fixed it for me
janat08 has joined #nixos
<janat08> looks like some kde apps aren't in path, you get the option to "run *app*"
<janat08> smplayer doesn't have mvplayer
doyougnu has quit [Quit: WeeChat 2.0]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doyougnu has joined #nixos
Lears has joined #nixos
[Leary] has quit [Ping timeout: 250 seconds]
Guest98408 has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-18.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0b471f71fad (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.09-darwin)
<Dedalo> ivan: sudo mount -t cifs -o user=nas //192.168.2.1/nas /mnt/ciao  ✔  877  21:29:52
<Dedalo> sh: systemd-ask-password: command not found
<Dedalo> Password for nas@//192.168.2.1/nas:
<Dedalo> mount error(115): Operation now in progress
<Dedalo> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
<Dedalo> it ask for the pass anyway, even if it doesn't find system-ask-password. There is actually a PR open for that problem I have seen
erictapen has quit [Ping timeout: 245 seconds]
<ivan> Dedalo: you can pass username=X,password=Y
<Dedalo> ivan: I get the same error
<ivan> try the various vers= options and check the journal
doyougnu has quit [Quit: WeeChat 2.0]
Guest74 has joined #nixos
<Guest74> say, is there any way for a nix expression to reference the name of the file in which it's defined?
<ottidmes> Guest74: there is, if you mean a package defined with mkDerivation, that is
<Guest74> not a derivation. just an expression.
<ottidmes> then too, if it is an attrset that is returned
<Guest74> say i have a file named mynix.nix, and i want it to return its name, is there, say, a builtin which would return the current filename?
<Guest74> e.g. builtins.fileName
<ottidmes> this would be the package example (just so you know):
<ottidmes> > hello.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/applications/misc/hello/default.nix:15"
knupfer has joined #nixos
<ottidmes> Guest74: ah like __FILE__ or some such in other languages, let me check
<Guest74> exactly
<Guest74> this is going into a channel definition btw, so it's not meant to be a package
<Guest74> (although i know those end up in the store)
<ottidmes> Guest74: __curPos
babic has quit [Ping timeout: 268 seconds]
<Guest74> nice
<Guest74> that's crazy
<Dedalo> ivan: it's using the version 1.0 omg... and the router has the last firmware available
<Guest74> i bow down
<Dedalo> ivan: thanks for your help, great catch
<rain1> where can I find the instructions for configuring br0 bridge networking interface and tap devices?
<{^_^}> [nixpkgs] @timokau merged pull request #53966 → python.pkgs.cypari2: fix build → https://git.io/fhcZl
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.cypari2: fix build (#53966) »: https://git.io/fhcWj
<infinisil> ottidmes: Oh nice, I didn't know about __curPos either
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
Makaveli7 has quit [Quit: Leaving]
<ottidmes> infinisil: I just haven't found a use for it myself
kvda has joined #nixos
<infinisil> ottidmes: I *could* use it to get rid of { a = null; } for nixlisp :P https://github.com/infinisil/nixlisp
<ottidmes> infinisil: it is mentioned in these release notes BTW: https://nixos.org/nix/manual/#ssec-relnotes-1.7
<infinisil> (currently using unsafeGetAttrPos)
<ottidmes> ah right
<infinisil> But that hardly qualifies as a usecase
<Dedalo> ivan: how do I specify vers=1 in the configuration.nix? fileSystems automount_ops?
<ivan> if it's like for other filesystems then it's in options = [ ] but I haven't tested
abaiste has quit []
<ottidmes> Dedalo: ivan: I can confirm that that is the case, I use it to specify vers=3.02 myself
hamishmack has joined #nixos
<ivan> note something after Linux 4.14 regressed vers=1.0, it's kind of busted in 4.19, or it was for me when I tested a few weeks ago
<ivan> writes executable files on the server, breaks pretty often
sanscoeur has quit [Remote host closed the connection]
<ivan> had to switch to nfs4 which is working much better
_kwstas has quit [Quit: _kwstas]
<ivan> maybe because it was pointed at a debian 9.6 samba instead of the very latest samba, dunno
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<ottidmes> infinisil: does every package have a stdenv attribute? if I just thought of a sure way to get the file location of the package via unsafeGetAttrPos for any callPackage'd package (I need override)
<{^_^}> [nixpkgs] @Ma27 opened pull request #53967 → osquery: fix build → https://git.io/fhc8D
<rain1> How do I add a file to /etc/X11/xorg.conf.d/ ?
<rain1> nvm I think I got it
<infinisil> ottidmes: I don't think so
<samueldr> stdenv doesn't have stdenv
<{^_^}> [nixpkgs] @avdv opened pull request #53968 → programs/nano: Generate nanorc if `syntaxHighlight` enabled → https://git.io/fhc4m
<ottidmes> samueldr: lol, that was the very thing that came to my mind just now, but indeed it does not
<rain1> https://bpaste.net/show/9588d8f6f6fa I got this error my way didn't work, do you have any ideas?
<rain1> oh it has to be .text not .source
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
drakonis has joined #nixos
hedning has left #nixos [#nixos]
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
tzemanovic has quit [Remote host closed the connection]
tzemanovic has joined #nixos
simukis has quit [Quit: simukis]
tzemanovic has quit [Remote host closed the connection]
vk3wtf has joined #nixos
duoi_ghost has quit [Quit: duoi]
duoi has joined #nixos
erictapen has joined #nixos
knupfer has quit [Remote host closed the connection]
<rain1> Is there a beginners guide for using networking.interfaces?
<clever> rain1: this sets a single static ip on a given interface, https://github.com/cleverca22/nixos-configs/blob/master/netboot_server.nix#L110-L115
<rain1> ty! I'll try copying it and modifying it
<clever> rain1: this sets a static on 1, dhcp on a 2nd, and no dhcp on a 3rd: https://github.com/cleverca22/nixos-configs/blob/master/router.nat.nix#L48-L56
<clever> WANMASTER will just be a dead interface
<clever> WAN will get one via dhcp
shpx has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
nokomprendo has quit [Quit: Leaving]
sanscoeur has joined #nixos
janat08 has quit [Quit: Page closed]
Dedalo has quit [Quit: WeeChat 2.3]
eadwu has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<rain1> error: value is a list while a set was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:255:62
<rain1> I got this strange error when trying to build my nixos config
<rain1> // { _definedNames = map (m: { inherit (m) file; names = attrNames m.config; }) configs; };
<rain1> this is line 255 of thaht file
<clever> rain1: can you pastebin your current configuration.nix?
<rain1> i can but I just fixed it this second, I had put ipv4 = instead of ipv4.addresses = , sorry!
<clever> ah
<clever> that would explain the `value is a list while a set was expected` part
ThatDocsLady has joined #nixos
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #53968 → programs/nano: Generate nanorc if `syntaxHighlight` enabled → https://git.io/fhc4m
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fhcRo
<Dedalo> ivan: it worked, but I had to reboot
<{^_^}> [nixpkgs] @dotlambda merged pull request #53947 → pythonPackages.pyvcd: init at 0.1.4 → https://git.io/fhnpF
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhcR1
ThatDocsLady has quit [Remote host closed the connection]
<Dedalo> I have also a Media DLNA Server on this router. I have no idea how to connect to it. Do I need to configure avahi client?
<duairc> If I wanted to install ancient versions of GHC, what can I do? When I developed on my Debian system, for certain libraries I develop I'd test that they worked with very old versions of GHC. I see that old nixpkgs have derivations for newer versions of Haskell. They should theoretically still work, right?
<{^_^}> [nixpkgs] @dtzWill opened pull request #53969 → pythonPackages.fs: 2.1.2 -> 2.2.1 → https://git.io/fhc0T
<{^_^}> [nixpkgs] @dotlambda merged pull request #53954 → mbed-cli: init at 1.8.3 → https://git.io/fhceG
<{^_^}> [nixpkgs] @dotlambda pushed commit from @rvolosatovs to master « mbed-cli: init at 1.8.3 (#53954) »: https://git.io/fhc0I
tilpner has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #53970 → pytestrunner: fix homepage → https://git.io/fhc0q
<{^_^}> [nixpkgs] @dtzWill opened pull request #53971 → munkres: 1.0.6 -> 1.0.12 → https://git.io/fhc0C
<{^_^}> [nixpkgs] @dtzWill opened pull request #53972 → openblas: 0.3.4 -> 0.3.5, rework a bit → https://git.io/fhc0E
<{^_^}> [nixpkgs] @dtzWill opened pull request #53974 → pkgconf: 1.5.4 -> 1.6.0 → https://git.io/fhc0g
<{^_^}> [nixpkgs] @dtzWill opened pull request #53975 → aminal: 0.8.5 -> 0.8.6 → https://git.io/fhc0V
jabranham has quit [Remote host closed the connection]
<clever> duairc: if you grab an acient channel like 16.03 you can just use the current ghc in that, which will be older
<duairc> Can you just mix channels like that without problems?
iqubic has joined #nixos
maskerad has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53976 → numpy: 1.15.4 -> 1.16.0 → https://git.io/fhc0F
<clever> duairc: yeah, just give them unique names in nix-channel
<clever> duairc: or just check it out in a git clone and ignore nix-channel entirely
<duairc> And do I have to do anything special to install from that channel? If I'm adding a package to environment.systemPackages, pkgs will refer to the main nixpkgs, I guess I'd have to import the old channel differently?
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
maskerad has quit [Quit: leaving]
<benley> someone remind me, is there a way to do the equivalent of python.withPackages or python.buildEnv but in a way that only puts the executables from the installed python deps in the output derivation, and _not_ the whole python distribution?
<benley> I've got a case where package A provides the entrypoint to an app, but for it to be useful you have to install packages B, C, and D, but B C D depend on package A. And package A doesn't depend on B, C, D.
doyougnu has joined #nixos
<benley> so I can package those all as libraries just fine, but I haven't figured out how to make a final "user" derivation that just includes the entrypoint to the whole app
<clever> duairc: if you name the channel 'oldchannel' then you need to do `let oldpkgs = import <oldchannel> {}; in ...` in your configuration.nix
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #53977 → pythonPackages.cython: 0.29.1 -> 0.29.2 → https://git.io/fhcEG
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> clever: I am trying to override derivation via scopedImport, but it seems scopedImport with __derivation does not seem to work, any idea?
<duairc> clever: Okay, great, thanks.
cyounkins has quit [Remote host closed the connection]
<gchristensen> many moons ago I had this problem wehre the firefox download file window was 2x larger than my screen, and someone here had a way to fix it... anyone remember? :D
cyounkins has joined #nixos
<clever> ottidmes: a: are you ensuring that scopedImport is recursive?
<clever> ottidmes: b: why?! :D
<{^_^}> [nixpkgs] @dtzWill closed pull request #53969 → pythonPackages.fs: 2.1.2 -> 2.2.1 → https://git.io/fhc0T
<samueldr> gchristensen: some gtk ini setting file
<gchristensen> samueldr: ah, yes!
<gchristensen> samueldr: your memory :o
sigmundv_ has joined #nixos
<duairc> I actually use nix.nixPath to set nixpkgs to a local clone of the git repository, it'd be cool if I could somehow do nix.nixPath = ["oldchannel=/path/to/nixpkgs@specificcommit"] instead of needing to have multiple clones... is there anything like that?
<clever> duairc: import (builtins.fetchTarball "URL") {}
<ottidmes> clever: I want to experiment with unsafeGetAttrPos on the attrset given to a derivation, I then abort with a toJSON stringified version of this information so I can actually extract it :P
<clever> or builtins.fetchgit
<clever> ottidmes: :D, but i need to leave for groceries, i'll be back in an hour
<gchristensen> ottidmes: dear god
<{^_^}> [nixpkgs] @ElvishJerricco opened pull request #53978 → GHCJS: Fix 8.4 and add 8.6 → https://git.io/fhcEV
<ottidmes> muwhahah muwhahah!
<ottidmes> clever: ok
<ottidmes> gchristensen: always see what the limits of your tools are ;)
<duairc> clever: Yeah I suppose I could do that. Thanks!
strobelight has quit [Ping timeout: 252 seconds]
<gchristensen> ottidmes: well, did you make scopedImport recursive?
<samueldr> gchristensen: haven't taken the time to find the solution, but it's that day (googled it) https://logs.nix.samueldr.com/nixos/2018-07-12
<ottidmes> gchristensen: think so, I will make a gist
cyounkins has quit [Ping timeout: 258 seconds]
<gchristensen> samueldr: you are magic!
<gchristensen> __import? just override import
<ottidmes> gchristensen: I thought the builtins were rewritten like that
<ottidmes> like builtins outside the builtins attrset
<ottidmes> gchristensen: you are right! thanks!
<gchristensen> :)
<{^_^}> [nixpkgs] @dotlambda merged pull request #52647 → pipreqs: init at 0.4.9 | pythonPackage.yarg: init at 0.1.9 → https://git.io/fhfFU
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to master: https://git.io/fhcEx
<ottidmes> gchristensen: they probably are rewritten like that, but scopedImport does not expect them named as such
<gchristensen> eh?
<ottidmes> nevermind
<ottidmes> <nixpkgs> is rewritten as __findFile __nixPath, and + to __add apparently, but that does not seem to be the case for things like import and abort
<gchristensen> ah
abathur has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 7 commits to release-18.09: https://git.io/fhcul
<{^_^}> [nixpkgs] @dotlambda merged pull request #53970 → pythonPackages.pytestrunner: fix homepage → https://git.io/fhc0q
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « pythonPackages.pytestrunner: fix homepage (#53970) »: https://git.io/fhcug
<{^_^}> [nixpkgs] @Mic92 merged pull request #53196 → weechat-matrix-bridge: 2018-05-29 -> 2018-11-19 → https://git.io/fhquA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fhcuP
<{^_^}> [nixpkgs] @dotlambda merged pull request #53971 → pythonPackages.munkres: 1.0.6 -> 1.0.12 → https://git.io/fhc0C
<{^_^}> [nixpkgs] @dotlambda pushed commit from @dtzWill to master « pythonPackages.munkres: 1.0.6 -> 1.0.12 (#53971) »: https://git.io/fhczv
gagbo has quit [Quit: I'm out !]
erasmas has quit [Quit: leaving]
jackdk has joined #nixos
eadwu has quit [Ping timeout: 268 seconds]
gagbo has joined #nixos
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsiypl4 has quit [Ping timeout: 252 seconds]
<clever> ottidmes: + is not actually __add
<clever> ottidmes: only / and - get rewritten like that
<clever> ottidmes: + goes to a special operator, because it can accept strings/paths/ints
aanderse_ has joined #nixos
aanderse has quit [Ping timeout: 250 seconds]
<clever> nix-repl> import ../nix-tests/scopedImport/float2.nix
<clever> "boo!"
npmccallum has quit [Ping timeout: 272 seconds]
ambro718 has quit [Quit: Konversation terminated!]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<{^_^}> [nixpkgs] @Ekleog closed pull request #48950 → python27Packages.python2-pythondialog: 3.3.0 -> 3.4.0 → https://git.io/fxXMc
<ottidmes> clever: ah ok, I mentioned it after checking the logs about it again and seeing you mention __add, so I just assumed: https://logs.nix.samueldr.com/nixos/2018-08-18#1489248
<clever> ottidmes: i also assumed __add was +, but then failed to override it, and dug further into the src
shpx has joined #nixos
<ottidmes> the source of truth ;)
<{^_^}> [nixpkgs] @dotlambda merged pull request #53865 → calibre: cssutils -> css-parser → https://git.io/fhnV9
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fhcgS
chessai has joined #nixos
<ottidmes> my idea was not going to work though, mkDerivation manipulates too much stuff before it gets to derivation, so if I use the same trickery with a more complex import to override mkDerivation somehow, I could probably make it work for all packages defined with mkDerivation, but I have put it down as a nice puzzle when I feel like solving such a thing ;)
beaky1 has quit [Quit: WeebChat 2.0.1]
<ottidmes> (the idea/goal was to get a more solid answer to the question, in what file is this derivation defined)
<gchristensen> ottidmes: what methods have you attempted?
<clever> ottidmes: mkDerivation is easy to override
<ottidmes> clever: it is? like everywhere without changing the source code in nixpkgs?
beaky has joined #nixos
<clever> ottidmes: do an override on stdenv i think, and set it to be stdenv // { mkDerivation = args: ...; }
<clever> then everybody calls the "wrong" function
<ottidmes> clever: but not everybody uses stdenv right?
o1lo01ol1o has quit [Remote host closed the connection]
<ottidmes> gccStdenv for example
o1lo01ol1o has joined #nixos
<ottidmes> but I guess that is defined in terms of
<ottidmes> gchristensen: https://gist.github.com/msteen/2d372c741edcf26289b9bd40c900941b this is was is being used right now it contains at least 3 methods, but I have tried more, these 3 at least work good enough