sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
<parsnip> maybe find a way to get an older ghc?
<parsnip> my nix seems to just have ghc-8.6.4
stepcut has joined #nixos
<parsnip> just taking more random guesses, i'm new here, but maybe verify all the versions available at the web pages
<parsnip> looks like haskellPackages repo is falling behind nixPkgs or w/e
<flexw> I have already tried it with ghc843 but then it fails in the test phase
shibboleth has quit [Quit: shibboleth]
<parsnip> do you remember what the test failure was?
<parsnip> hmm, i see some people disabling testing when using haskell + nix
<parsnip> oh, because unit test consumed too much memory
<DigitalKiwi> are you using it with emacs?
<flexw> Yes, it just said that the test suite failed. I could not spot an actual error. How can I disable the tests?
<flexw> Yes I want to use it with emacs
sigmundv__ has joined #nixos
<DigitalKiwi> (if yes, and it's not a solution to your original problem, but if you can't get it to work with using a different nix-channel (there's a guide somewhere i'll find a link) or something else; dante is a good alternative to intero (and doesn't require stack which is a huge win for dante!))
<parsnip> oh yeah, i didn't like intero's dependency on stack
<DigitalKiwi> there's also haskell-ide-engine which i have not used but may be an option
<parsnip> i wonder if you can get a little improvement with very little effort with `eglot`
sigmundv_ has quit [Ping timeout: 255 seconds]
logzet has quit [Ping timeout: 264 seconds]
logzet has joined #nixos
srl295 has joined #nixos
<infinisil> > stable.haskellPackages.intero
<infinisil> > stable.haskellPackages.intero.meta.broken
<{^_^}> "<derivation /nix/store/jbky0bzpgyis7i5b1z5j90j5wzsjmidz-intero-0.1.32.drv>"
<DigitalKiwi> https://gist.github.com/Kiwi/25b5758adbf18f64f9abcc5ce6074436 i use this and import it into my configuration.nix and then I can do nixos-1903.whatever in my pkgs array
<{^_^}> attribute 'broken' missing, at (string):243:1
<infinisil> Oh right, I should update stable to point to 19.03
<infinisil> But yeah, it's marked as broken on 19.03
stepcut has quit []
<DigitalKiwi> I updated it to show the nix-channel --list
<flexw> DigitalKiwi: Thank you but I tried it in the past with other channels and had no luck.
drakonis has quit [Ping timeout: 240 seconds]
alex``6 has quit [Ping timeout: 252 seconds]
<infinisil> flexw: I'll check out the error on 19.03, it might be easily fixable
drakonis has joined #nixos
<flexw> infinisil: thank you, that would be very nice
<{^_^}> [nixpkgs] @c00w closed pull request #48604 → kernel: Turn on TCP_CONG_ADVANCED which allows TCP BBR to be a module. → https://git.io/fxgaX
<DigitalKiwi> (I also have a thing in my configuration.nix that makes nixos-rebuild --upgrade do nix-channel --update because I forget you have to do it that way)
Rusty1 has quit [Quit: Konversation terminated!]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneid3306 has quit [Quit: ZZZzzz…]
thc202 has quit [Ping timeout: 268 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
<infinisil> flexw: This overlay fixes it on 19.03: https://paste.infinisil.com/YBK4YcThYg.nix
<infinisil> flexw: Put that into ~/.config/nixpkgs/overlays/intero-fix.nix
<infinisil> But I had to override it to not do any tests, so not sure whether it actually works when you run it
drakonis_ has joined #nixos
<flexw> infinisil: Thank you very much. I will try it. I'm currently updating my system to 19.03. It takes some time..;)
sigmundv_ has joined #nixos
<infinisil> Btw you don't need to update your whole system to have a single package from another channel
<infinisil> ,unstable
drakonis has quit [Ping timeout: 264 seconds]
schneid3306 has joined #nixos
<flexw> yes I know but I thought it might be a good time to update
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjqQp
sigmundv__ has quit [Ping timeout: 268 seconds]
nD5Xjz has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #59337 → openshot-qt: 2.4.3 -> 2.4.4, libsForQt5.libopenshot: 0.2.2 -> 0.2.3, libsForQt5.libopenshot-audio: 0.1.7 -> 0.1.8 → https://git.io/fjq7e
_h3x has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aanderse closed pull request #58734 → openshot-qt: 2.4.3 -> 2.4.4 → https://git.io/fjILx
_h3x has joined #nixos
<parsnip> i can't tell from these example were to put mkDerivation in my configuration.nix
nD5Xjz_ has joined #nixos
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
drakonis has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
devhell has quit [Quit: WeeChat 1.9.1]
<parsnip> is configuration.nix an arbitrary number of lambda functions with an arbitrary set of arguments?
schneid3306 has quit [Quit: ZZZzzz…]
<infinisil> parsnip: No there's some fixed arguments, like pkgs, config, lib, options (and a couple more)
<infinisil> (well you could change them, but never mind that)
drakonis_ has quit [Ping timeout: 264 seconds]
<infinisil> parsnip: I don't know the exact context, but maybe you want something like this:
_h3x has quit [Ping timeout: 250 seconds]
Rusty1 has joined #nixos
nD5Xjz_ has quit [Ping timeout: 255 seconds]
<infinisil> `{ pkgs, lib, ... }: let some-package = pkgs.stdenv.mkDerivation { ... }; in { environment.systemPackages = [ some-package ]; }`
<infinisil> (I personally would split out the package definition into a separate file though)
nD5Xjz has joined #nixos
<parsnip> ah, interesting. thank you.
tomberek has joined #nixos
_h3x has joined #nixos
flexw has quit [Quit: leaving]
day|flip has joined #nixos
apaul1729 has quit [Remote host closed the connection]
dycan has quit [Remote host closed the connection]
InFlames has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59338 → llvm8: support c++ in cross case → https://git.io/fjq74
wolfman154 has joined #nixos
_Geeko_ has joined #nixos
<_Geeko_> any of you guys here are gamers?
<aanderse> i try and fail miserably
<aanderse> does that count?
<_Geeko_> ye
<aanderse> awesome
wolfman154 has quit [Remote host closed the connection]
<_Geeko_> you got nvidia card?
<_Geeko_> aanderse?
<aanderse> 3 or 4 i think
silver has quit [Quit: rakede]
InFlames has quit [Ping timeout: 264 seconds]
<_Geeko_> any issues with stutter in games or high temps?
<aanderse> no stutter issues
<aanderse> i don't think i have any temperature issues, but i've never checked
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/969149302c3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<_Geeko_> aanderse which driver do you use?
<aanderse> on the machines i game on just the standard modern nvidia driver
<_Geeko_> the latest?
<_Geeko_> 418.87?
<aanderse> oh lets see
aloiscochard has joined #nixos
wolfman154 has joined #nixos
tomberek has quit [Ping timeout: 252 seconds]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
<aanderse> 415.27
st4ll1 has joined #nixos
<aanderse> which is what comes with nixos19.03 i guess
<_Geeko_> do you have something of nvidia in your nix?
<_Geeko_> conf
<_Geeko_> services.xserver.videoDrivers = [ "nvidia" ];
<aanderse> yup
<aanderse> and hardware.opengl.driSupport = true;
<aanderse> hardware.opengl.driSupport32Bit = true;
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
drakonis1 has joined #nixos
<_Geeko_> oh damm
<_Geeko_> i don't have opengl
<aanderse> ?
<_Geeko_> in my nix
<aanderse> ah
tomberek has joined #nixos
<_Geeko_> you have those both?
<_Geeko_> aanderse
pxc has quit [Ping timeout: 268 seconds]
<_Geeko_> 32 bit and non?
<_Geeko_> hardware.opengl.driSupport32Bit = true;
<_Geeko_> i have this one only
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<aanderse> i run steam
<aanderse> so need the 32bit one as well
<_Geeko_> but do you need the other one as well?
<_Geeko_> thought the other one would be automatically enabled
<_Geeko_> in the driver
rjmill has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #59339 → pantheon updates, etc. → https://git.io/fjq7i
mnoronha_ has joined #nixos
<mnoronha_> Hi, just getting started with nixos! Should I be starting with the nixos manual?
<simpson> Yes, that's a good place to start. It has installation instructions, for example.
<_Geeko_> ye thats a nice start mnoronha
drakonis_ has quit [Ping timeout: 240 seconds]
<mnoronha_> ok. I have things installed, aiming to figure out drivers for my gpu ideally this evening
<_Geeko_> aanderse are you using tlp package?
<mnoronha_> and hopefully understand enough to know what's going on with cuda
<_Geeko_> mnoronha amd?
<_Geeko_> mnoronha_
<mnoronha_> nvidia
<mnoronha_> there's a short page about it somewhere on the wiki
<_Geeko_> same
<_Geeko_> which gpu?
<_Geeko_> i am using the nvidia beta one 418.87
<_Geeko_> got gtx 1060
<aanderse> _Geeko_: https://nixos.wiki/wiki/Steam
<mnoronha_> 2070
<_Geeko_> ye only need 32 bit btw
<_Geeko_> aanderse
<_Geeko_> just tested it
<aanderse> ok
<wolfman154> 19:18 wolfman154: I switched to a new keyboard layout in nixos, after I finally got it working I noticed my workspaces do not work because I switched the symbols row with the numbers row, I think I found the solution online but I don’t understand it that well, here’s the two links to my key map and the solution I found online:
<wolfman154> 19:20 wolfman154: https://hastebin.com/adefayujob.xml
<_Geeko_> i just don't know if the beta nvidia driver is better than the 415
<mnoronha_> _Geeko_: should I have a fairly easy time getting specific versions of drivers? one of the annoying things on ubuntu was apt-get just deciding it needed up upgrade things that ended up incompatible
<_Geeko_> ye its easy
<_Geeko_> 1 line
<mnoronha_> :)
<_Geeko_> services.xserver.videoDrivers = [ "nvidia" ];
<_Geeko_> this one should be the 415
<_Geeko_> hardware.opengl.driSupport32Bit = true;
<_Geeko_> this line you need to use wine / steam
<_Geeko_> hardware.pulseaudio.support32Bit = true; this one if you want audio as well in steam
<infinisil> wolfman154: If you're having trouble understanding how to configure xmonad then xmonad is probably not the window manager you should be using..
buffet_ has joined #nixos
<_Geeko_> anyone here using TLP ?
<mnoronha_> _Geeko_: okay I'm going to avoid getting too prematurely excited, but I feel so vindicated after jumping through hoop after hoop in ubuntu config
<infinisil> wolfman154: There's many WMs with much easier configuration, xmonad has arguable the hardest configuration, as it's written in Haskell
<_Geeko_> mnoronha_ never liked ubuntu lol
<_Geeko_> came from arch
buffet has quit [Ping timeout: 245 seconds]
<infinisil> wolfman154: And configuring xmonad for a different keyboard layout is something you should be asking in #xmonad, NixOS doesn't have anything to do with that (other than the fact that you're using xmonad on NixOS, but that's irrelevant)
<{^_^}> [nixpkgs] @Infinisil merged pull request #59322 → vulkan-tools: add dependency on vulkan-headers → https://git.io/fjq1e
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjq7S
<_Geeko_> aanderse funny the nvidia is not changing anything compared to nvidiaBeta
<_Geeko_> still stays on 418
<_Geeko_> mnoronha_ you are installing the nvidia drivers?
<mnoronha_> _Geeko_: Yep, I just installed the graphics driver first
<_Geeko_> are you using a DE?
<_Geeko_> or WM?
<mnoronha_> DE/WM?
sigmundv_ has quit [Ping timeout: 240 seconds]
<simpson> Desktop Environment, Window Manager.
<_Geeko_> I am thinking to ditch xfce
<_Geeko_> for WM
<rardiol1> Can I set per-user locale settings?
<_Geeko_> btw any idea how to run the steam native?
<_Geeko_> instead of runtime?
domogled has quit [Read error: Connection reset by peer]
<infinisil> _Geeko_: xfce includes a WM btw
<mabel> is there a way I can enable tracing within a bash builder?
<mabel> I set +v and +x but it did nothing
<mnoronha_> _Geeko_: I'm just using the defaults -- most of my usage is over ssh so just leaving it as is
<mnoronha_> _Geeko_: at least for now
<infinisil> mabel: How did you set it?
<mabel> infinisil: set +v; set +x
<infinisil> mabel: Well yeah I got that, but where did you set them, show the nix file
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<mabel> okay, just a sec it's spread across a few files
<_Geeko_> infinisil i know
<_Geeko_> just want use like icewm only or so
kisik21`` has quit [Read error: Connection reset by peer]
<_Geeko_> which WM do you guys prefer?
<mnoronha_> What's a FHS user env?
<mabel> I'm having trouble with xargs not liking my chmod, or somehow, weirdly, my builder doesn't actually ch the mods
<mabel> which led me to debug, which led me to flounder in confusion
<mnoronha_> (looking at https://nixos.wiki/wiki/Nvidia)
<infinisil> mabel: Hmm weird, have you tried using the standard build phases? Pretty sure set +x works with those
<mabel> which... what the hell, why is tr eating my newlines bad kitty
<mabel> infinisil: haven't tried that, since I didn't really want anything else to run besides the bash script
<mabel> although now I'm thinking maybe I should have just used a raw derivation rather than stdenvNoCC?
<infinisil> mabel: Otherwise I suggest trying to write a minimal reproducible example
<infinisil> That reproduces the "set +x doesn't work"
freeman42x has quit [Ping timeout: 268 seconds]
<infinisil> But yeah, actually I can't get it to work either :/
<infinisil> Even with the standard phases
<infinisil> mabel: Oh dude! It's set -x, not +x!
<mabel> oh!!
<{^_^}> [nixpkgs] @kalbasit merged pull request #59311 → hugo: 0.54 -> 0.55 → https://git.io/fjqK9
<{^_^}> [nixpkgs] @kalbasit pushed commit from @sondr3 to master « hugo: 0.54 -> 0.55 (#59311) »: https://git.io/fjq7p
<mabel> d'oh
<infinisil> bash: Why - for enabling things and + for disabling them, goddamnit
<kalbasit> infinisil: every damn time, this thought shoots out of my brain
kreisys has joined #nixos
kreisys has quit [Client Quit]
<mabel> infinisil: that totally worked! :D
<mabel> bash really isn't endearing me, but I assume it's one of those hazing rituals
tomberek has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
hlolli_ has joined #nixos
hlolli__ has quit [Ping timeout: 245 seconds]
<mabel> hm... now I see that chmod isn't working as I expect, I wonder if it's because it's putting me in sh or something
<mabel> or using a different chmod
<{^_^}> [nixpkgs] @marsam opened pull request #59340 → buck: 2017.10.01.01 -> 2019.01.10.01 → https://git.io/fjq5t
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
<infinisil> mabel: How do you check that it's not working?
<mabel> infinisil: nix build, then looking through the tracing
slack1256 has quit [Remote host closed the connection]
<mabel> I see it calling chmod 777 /path/to/folder/that/exists
<mabel> and then I look at the results and the folder is not 777
<infinisil> Is the folder read-only?
<mabel> it shouldn't be? I'm doing mkdir -p to create it
<mabel> in the same script, just above
<mabel> oh god does it make them read-only by default or something?
<mabel> oh, I can do mkdir -m
<infinisil> Ohh actually i think it's a different chmod
<infinisil> Nix probably replaces it with something that works correctly in the sandbox
<infinisil> Something like that I remember
<infinisil> Maybe I'm wrong though
<mabel> what the hell, mkdir -m isn't working either
slyfox has quit [Ping timeout: 245 seconds]
slyfox has joined #nixos
<gchristensen> Nix normalizes all store paths
<infinisil> In any case, nix build results get chmodded and chowned anyways at the end, so if you're checking permissions like that, that won't work
<infinisil> But executable permissions should persist
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<infinisil> (I should've mentioned this earlier)
<mabel> ohhh. gchristensen, I'm trying to set up permissions for a Docker container so that I can create a directory structure without requiring elevation to build
wolfman154 has joined #nixos
<mabel> previously I'd been doing this via mkdir -m 777 -p /data in my extraCommands
<mabel> well, ./data
<mabel> so instead I thought I'd be clever, set up the directory structure in its own derivation, then cp -r it in the extraCommands
<mabel> so now I'm not sure what magic buildImage/buildLayeredImage use
<mabel> oh, it's because it tars it before the builder exits
<gchristensen> no magic, all those permissions are contained within a tarball or something
<gchristensen> yep
lovesegfault has quit [Quit: WeeChat 2.4]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
<_Geeko_> we are 93 on distrowatch :D
dckc has quit [Ping timeout: 246 seconds]
<mabel> good to know that it normalized the paths.. I felt like I was taking crazy pills
dckc has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
_Geeko_ has left #nixos [#nixos]
<mabel> hm... if I need extra tools in my extraCommands, can I just refer to them like setPATH=$PATH:${jq}/bin?
o1lo01ol1o has joined #nixos
<mabel> I don't think I can override the buildInputs
kleisli has quit [Ping timeout: 264 seconds]
<mabel> or maybe I writeScriptDir and use propagatedNativeBuildInputs and source them or something? Idk this is a sticky mess
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
wolfman154 has joined #nixos
<mabel> hm... actually, if I have a derivation foo, and another "runCommand" derivation that includes ${foo} in its literal, I can assume foo is built before that derivation runs...
<mabel> so if I include an environment activation thing somehow....
jeff__ has quit [Ping timeout: 256 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
rjmill has quit [Read error: Connection reset by peer]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rardiol1 has left #nixos [#nixos]
LeshaInc1 has quit [Ping timeout: 240 seconds]
rjmill has joined #nixos
pxc has joined #nixos
tdbgamer has quit [Quit: No Ping reply in 180 seconds.]
LeshaInc has joined #nixos
tdbgamer has joined #nixos
hlolli__ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
hlolli_ has quit [Ping timeout: 264 seconds]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
MinceR_ has joined #nixos
st4ll1 has joined #nixos
kyren has joined #nixos
pxc has quit [Ping timeout: 252 seconds]
tdbgamer has quit [Ping timeout: 252 seconds]
MinceR has quit [Ping timeout: 244 seconds]
drakonis1 has quit [Quit: WeeChat 2.3]
tdbgamer has joined #nixos
st4ll1 has quit [Client Quit]
st4ll1 has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
ee1943 has joined #nixos
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
logzet has joined #nixos
<ee1943> I've got a program I'm writing a derivation for that uses the meson build system. I have everything compiling and building, but at the end I get the "builder failed to produce output path" error
<ee1943> Any gotchas here?
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
[Leary] has joined #nixos
Lears has quit [Read error: Connection reset by peer]
[Leary] has quit [Remote host closed the connection]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
Lears has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
st4ll1 has quit [Quit: ZNC 1.7.1 - https://znc.in]
st4ll1 has joined #nixos
Edes has joined #nixos
<Edes> hello, I just updated to 19.03 and my i3 broke
<Edes> I don't know if anyone has talked about this
o1lo01ol1o has joined #nixos
<Edes> it's loading the default configuration
Edes has quit [Client Quit]
Edes has joined #nixos
<Edes> ok I fixed it
<Edes> apparently the configuration was moved from .i3/config to .config/i3/config
o1lo01ol1o has quit [Ping timeout: 250 seconds]
Edes has quit [Client Quit]
Erasmus has joined #nixos
lovesegfault has joined #nixos
<mabel> I'm still lost... is there any way I can add buildInputs to the "extraCommands" argument of dockerTools.buildImage?
<gyroninja> the first seemed to be fixed by setting my NIX_PATH, but I'm still getting this error "error: unable to start build process" when I try to install a package
<gyroninja> I'm trying to use nix on my gentoo machine and am running into a couple problems
<mabel> or should I be using buildEnv?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58627 → sddm: 0.18.0 -> 0.18.1 → https://git.io/fjk6H
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqdf
<mabel> augh, this is frustrating... okay mabel, think through this: you know that when a package is referenced in a string it should be accessible, right?
<mabel> if so, can test
<mabel> or, fork docker-tools
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59334 → vscode: 1.33.0 -> 1.33.1 → https://git.io/fjq9a
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqdT
<{^_^}> [nixpkgs] @7c6f434c merged pull request #58415 → fontforge: 20170730 -> 20190317 → https://git.io/fjU6h
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to staging: https://git.io/fjqdk
thePirateKing has joined #nixos
<thePirateKing> Hi everyone, I am having a hard time today
<thePirateKing> how am i supposed to load a custom vim plugin?
<thePirateKing> like from github
<thePirateKing> where do i get the hashes and revs for "fetchgit"
<thePirateKing> ty!
<mabel> you can use nix-prefetch-git (nix-shell -p nix-prefetch-git if you don't have it in your environment already) to get the sha256 and rev
<thePirateKing> got it! Thank you very much
mnoronha_ has quit [Ping timeout: 256 seconds]
<lovesegfault> How do I write a Nix shell for go dev where `go get` works?
<lovesegfault> If I do it naively I get an error that GOPATH is a RO FS
Rusty1 has quit [Quit: Konversation terminated!]
anton_ has joined #nixos
_deepfire has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 252 seconds]
nD5Xjz has joined #nixos
tippenein has joined #nixos
tippenein has left #nixos [#nixos]
gagbo has quit [Quit: I'm out !]
worldofpeace has joined #nixos
<mabel> lovesegfault: I'd grep around and see what places in nixpkgs set GOPATH
jluttine has joined #nixos
<mabel> oh shit, it actually works the way I need
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to release-19.03 « sddm: 0.18.0 -> 0.18.1 »: https://git.io/fjqdW
<mabel> OK, for anyone else who is hung up on a similar issue, let's consider the case where you need to run some special things inside extraCommands for dockerTools.buildLayeredImage
<mabel> fire up nix repl, run :b (runCommand "say-hello" { } ''mkdir -p $out; echo `${jq}/bin/jq --help` > $out/result.txt''
<mabel> it succeeds. the reason it succeeds is: 1. you've resolved jq by the time runCommand gets called, 2. you don't need any of the path magic that happens with buildInputs in stdenv.mkDerivation because you're statically providing the full path, 3. sandboxing doesn't disallow you access since it's inside the closure (I think??)
<mabel> this means you can use whatever tools you want in the funky extraCommands lambda doohickey
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @eadwu to release-19.03 « vscode: 1.33.0 -> 1.33.1 »: https://git.io/fjqd4
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
palo1 has joined #nixos
<thePirateKing> mabel, thank you so much! Had to figure out some more things like buildInputs but I got it!!!
<mabel> woo! :D
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
fuzzy_id has joined #nixos
fuzzy_id has quit [Ping timeout: 240 seconds]
ninjin has quit [Ping timeout: 256 seconds]
day|flip has quit [Quit: leaving]
nD5Xjz has quit [Ping timeout: 255 seconds]
fuzzy-id has joined #nixos
nD5Xjz has joined #nixos
endformationage has quit [Quit: WeeChat 2.4]
<fuzzy-id> updated to nixos 19.03 and noticed that lots of haskell packages are marked broken. is there any policy on how to unmark them again?
<fuzzy-id> cql-io, for example, compile just fine. my guess is that it is marked broken because tests fail. which is kind of ok, as the tests need a running cassandra database.
kvda has joined #nixos
day|flip has joined #nixos
<day|flip> trying to update 19.03. but getting this build error with nvidia i think
Ariakenom has joined #nixos
<enteee> Wow, I just had a massive lessons learned: I was using the Intel driver for my internal graphics card and the displaylink driver for my monitors conected via usb-c dockingstation. But I always faced the issue that the external monitors would not work properly (stripes and no refresh). Removing the intel driver from my services.xserver.videoDrivers and switching back to modesetting solved the issue! Yayy :)
MinceR_ is now known as MinceR
<makefu> Aleksejs: at which point you get the error? on 18.09 the library builds successfully for me.
hlolli__ has quit [Remote host closed the connection]
hlolli__ has joined #nixos
worldofpeace has quit [Remote host closed the connection]
<etu> day|flip: You seem to try to run on kernel 5.0, not sure nvidia supports that. Try: "boot.kernelPackages = pkgs.linuxPackages_4_19;" (which is the LTS from kernel upstream)
<etu> day|flip: Or just don't set the kernel package at all and it should default to 4.19
<Aleksejs> makefu: after I successfully created derivation with python-package-init I call nix-build with that file and at the very end I'm getting that error
<makefu> Aleksejs: can you run `nix-shell -p nix-info --run nix-info` ?
<Aleksejs> makefu: give me 5 minutes
<day|flip> etu: just change from boot.kernelPackages = pkgs.linuxPackages_latest; to boot.kernelPackages = pkgs.linuxPackages_4_19;. just notice this https://github.com/NixOS/nixpkgs/issues/57062 seem to be some kind of issue with 5.0
<{^_^}> #57062 (by SchrodingerZhu, 5 weeks ago, open): nvidia building failure for linux 5
Ariakenom has quit [Quit: Leaving]
<day|flip> so everything build find now
<etu> day|flip: Yeah, since it's an out of tree binary blob, it may become incompatible with kernel upgrades and since there's no source, only nvidia can fix it...
<day|flip> so the kernel is too new for nvidia driver?
<etu> yeah
<day|flip> that rare
Glider_IRC_ has quit [Read error: Connection reset by peer]
<sphalerite> day|flip: I've experienced it quite often, I wouldn't say it's rare
<sphalerite> it's become rarer since I stopped using nvidia though :D
<day|flip> im waitting for navi card to come out. so i can say the same
<sphalerite> navi card?
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hlolli has joined #nixos
<day|flip> next big card from amd
<Aleksejs> makefu: system: "aarch64-linux", multi-user?: yes, version: nix-env (Nix) 2.1.3, channels(root): "nixos-18.09.2458.b7910443a73", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<makefu> Aleksejs: ah, it is arm64, it may be the case that is why the derivation is not building
hlolli__ has quit [Ping timeout: 268 seconds]
<Aleksejs> is there any solution?
<makefu> Aleksejs: well at least i now can reproduce the issue (on aarch64)
<makefu> i am unsure how to fix it, maybe someone in #nixos-aarch64 struggled with the same issues?
<lovesegfault> Can someone give me a hand writing my first derivation?
<lovesegfault> I want to try and package deoplete-tabnine as a Vim plugin
eyJhb is now known as eyJhb
<sphalerite> Aleksejs: what's the error? I can't seem to find it in the recent chat history
<Aleksejs> sphalerite: /nix/store/x94blqsqq862bxbmk76izrjnsxacp2hd-binutils-2.30/bin/ld: cannot find -lws2811
<parsnip> Glass is my favorite comic book movie
<parsnip> hmm, long movie, seems warranted
orivej has quit [Ping timeout: 252 seconds]
<lovesegfault> How can I start a nix-shell with a namespace, like i'd to it with `nix-env -Ai bar.foo`
<lovesegfault> i.e. how do I specify the `bar`
<mabel> six
<mabel> *nix-shell -p bar
<mabel> oh
<mabel> you'd probably want nix-shell -p foo, assuming that bar is nixpkgs, or you could use nix-shell -E and pass an expression
<lovesegfault> mabel: I added https://github.com/domenkozar/hie-nix as a channel
<lovesegfault> Now I want to start a shell with `hie.hie` (I named the channel hie)
wfranzini has joined #nixos
<lovesegfault> I can `nix-env -Ai hie.hie`, but I don't know how to get the pkg in a nix-shell
<mabel> oh, then you probably want nix-shell '<hie-nix>' -p hie
<sphalerite> lovesegfault: if you're not tied to nix-shell, `nix run hie.hie` should be easiest
domogled has joined #nixos
<lovesegfault> sphalerite: That says the attribute hie doesn't exist
<sphalerite> mabel: unfortunately that's not how nix-shell works, it's a lot more hacky :p
<lovesegfault> mabel: Trying
vidbina has joined #nixos
<sphalerite> lovesegfault: what does nix-channel --list say? Did you run nix-channel --update?
<mabel> ahh, bummer
nD5Xjz_ has joined #nixos
<mabel> hrm... I'm having some trouble escaping ${#cmds[@]} in a string
nD5Xjz has quit [Ping timeout: 252 seconds]
<sphalerite> mabel: nix-shell -p constructs a derivation with the expressions passed to it as (native?)buildInputs, and the expressions are prefixed with `with import <nixpkgs> {}` iirc
<srhb> mabel: ''${ ?
<sphalerite> ,escape'' mabel
<{^_^}> mabel: '' two single quotes: ''' bash curly bois: ''${} newline: ''\n tab: ''\t any character x: ''\x ''
<mabel> ohhh
<mabel> sphalerite: whoa hack city
<sphalerite> mabel: indeed. And nix-shell without -p works completely differently.
<mabel> hm, but if you do nix-shell '<some-channel>' -p foo, does it do with import <some-channel>'; ?
<mabel> one would expect so...
<sphalerite> to make the hackery even more fun, nix-shell and nix-build are secretly the same program. Naturally, `nix-build -p hello` won't complain about a nonexistent option, but will also never succeed at building the derivation since it's a non-buildable derivation
<sphalerite> mabel: nope! :D
<mabel> whoaaaa
<mabel> why's it set up like that?
<lovesegfault> sphalerite: I am trying to paste a log link here
nD5Xjz has joined #nixos
fuzzy-id has quit [Ping timeout: 268 seconds]
<lovesegfault> But my clipboard is a demon
<lovesegfault> Gimme a sec
vidbina has quit [Ping timeout: 252 seconds]
<sphalerite> mabel: hysterical raisins! Also, `nix-shell hello -p` is the same as `nix-shell -p hello`
<lovesegfault> BAH
<lovesegfault> There
<mabel> wait..... how do I escape '${ then?
<lovesegfault> sphalerite: Output of the commands you asked
nD5Xjz_ has quit [Ping timeout: 250 seconds]
<sphalerite> > '' foo '''''${ ''
<{^_^}> "foo ''${ "
<mabel> I thought I'd need '''${, but my linter is pessimistic
<sphalerite> hmm
<sphalerite> > '' foo ''''${ ''
<{^_^}> error: syntax error, unexpected $end, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at (string):244:1
zupo has joined #nixos
<sphalerite> it might not actually be possible
<mabel> oh god
<mabel> noooo
<mabel> I'll put a space in
<sphalerite> mabel: well, there's always
<sphalerite> > "'\${hello"
<{^_^}> "'${hello"
<sphalerite> > "'\${hello}"
<{^_^}> "'${hello}"
<mabel> unfortunately, it lives in: echo $fileConfig | ${jq-cmd} '.[] | select(.source == null) | "\(.mode) ' ''${out}'/\(.target)"' | tr -d \" | xargs -L 1 -r mkdir -p -m
<sphalerite> double-quoted strings have different rules than doubly-single-quoted strings
Ariakenom has joined #nixos
<mabel> which is itself inside a larger expression quoted with ''s
<sphalerite> ooh fun
<mabel> it would probably take a team of archaeologists a year to piece together what levels of quotes and escaping do what
<sphalerite> you can also use antiquotation with a ${}
<sphalerite> > '' some long text ${"'\${hello}"} some more long text ''
<{^_^}> "some long text '${hello} some more long text "
<mabel> tar: tar: tar: tar: Removing leading `/' from member namesRemoving leading `/' from member namestar: Removing leading `/' from member namesRemoving leading `/' from member names oh god is this real life
<sphalerite> hahahahahaha
<makefu> for escaping there is also ${"'"}
<makefu> > {"'"}
<{^_^}> error: syntax error, unexpected '}', expecting '.' or '=', at (string):243:5
<makefu> > ${"'"}
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):243:1
<sphalerite> or you can write your shell script in a file and use substituteAll
<makefu> > ''${"'"}''
<{^_^}> "'"
<sphalerite> makefu: yeah that's what I wrote just above ;)
<sphalerite> lovesegfault: `nix run hie-nix.hie` ?
<lovesegfault> sphalerite: `error: attribute 'hie-nix' in selection path 'hie-nix.hie' not found`
<makefu> it is nice to do meta programming until you encounter the same escape escape sequences in your templating language and the language you want to template
aloiscochard has quit [Quit: Connection closed for inactivity]
Tucky has joined #nixos
<sphalerite> lovesegfault: nix eval '(<hie-nix>)' ?
m0rphism has joined #nixos
<mabel> ohhh that makes sense
<lovesegfault> sphalerite: /home/bemeurer/.nix-defexpr/channels/hie-nix
<mabel> woohoo! I hacked it into working!
rjmill has quit [Ping timeout: 246 seconds]
jbetz has quit [Read error: Connection reset by peer]
nimblepoultry has quit [Read error: Connection reset by peer]
srl295 has quit [Read error: Connection reset by peer]
ajmcmiddlin has quit [Read error: Connection reset by peer]
steveeJ has quit [Write error: Connection reset by peer]
dukedave has quit [Read error: Connection reset by peer]
jbetz has joined #nixos
p_l has quit [Read error: Connection reset by peer]
nh2 has quit [Read error: Connection reset by peer]
nimblepoultry has joined #nixos
srl295 has joined #nixos
colemickens has quit [Read error: Connection reset by peer]
steveeJ has joined #nixos
nh2 has joined #nixos
georgyo has quit [Read error: Connection reset by peer]
jbetz is now known as Guest54584
ajmcmiddlin has joined #nixos
hoek has quit [Read error: Connection reset by peer]
p_l has joined #nixos
Wizek has quit [Read error: Connection reset by peer]
lpsmith has quit [Remote host closed the connection]
dukedave has joined #nixos
chrisaw has quit [Read error: Connection reset by peer]
georgyo has joined #nixos
oharvey has quit [Write error: Connection reset by peer]
alunduil has quit [Read error: Connection reset by peer]
colemickens has joined #nixos
chrisaw has joined #nixos
lpsmith has joined #nixos
shad_ has quit [Remote host closed the connection]
Haskellfant has joined #nixos
alunduil has joined #nixos
Wizek has joined #nixos
oharvey has joined #nixos
cocreature has quit [Read error: Connection reset by peer]
Haskellfant is now known as cocreature
hoek has joined #nixos
shad has joined #nixos
drager has joined #nixos
<thePirateKing> ok has anyone here tried https://github.com/target/lorri?
<drager> From nix-shell are ports to the computer locked? Can't I access a port from the nix-shell? If so, can I open them for the nix-shell some how?
<thePirateKing> are your ports unlocked without nix-shell?
thePirateKing has quit [Remote host closed the connection]
<drager> unlocked?
cfricke has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Anton-Latukha has joined #nixos
i1nfusion has quit [Remote host closed the connection]
<sphalerite> lovesegfault: that's weird. The new-style nix commands are supposed to look stuff up on NIX_PATH
<lovesegfault> sphalerite: I'm on NixOS even
<sphalerite> lovesegfault: how about `nix run '(import <hie-nix> {}).hie'` ?
i1nfusion has joined #nixos
<lovesegfault> sphalerite: error: attribute 'hie' missing, at (string):1:1
<sphalerite> aah, better!
<lovesegfault> Ultimately I want to install hie with home-manager
<sphalerite> lovesegfault: try with `hies` or `hie84` or similar
<lovesegfault> sphalerite: it workes!
<lovesegfault> :D
<mpickering> you want `hies` probably so you can use it with different versions of ghc
<lovesegfault> What does nix run do?
rjmill has joined #nixos
<lovesegfault> Can I set the niceness of Nix build jobs?
gal_bolle has joined #nixos
<sphalerite> lovesegfault: it starts a new shell with a given package in $PATH
nD5Xjz has quit [Ping timeout: 246 seconds]
<lovesegfault> sphalerite: What's the difference from nix-shell then?
<sphalerite> lovesegfault: yes, sudo renice -n 19 $(pgrep nix-daemon)
<lovesegfault> I thought that was nix-shell's spiel
<lovesegfault> sphalerite: Well, sure, but I mean in a configuration/permanent way
<lovesegfault> Like PORTAGE_NICENESS on gentoo
jfroche has joined #nixos
<sphalerite> lovesegfault: nix-shell is for entering the build environment for a package, it does a bunch more stuff
<lovesegfault> :O
<lovesegfault> So whenever I just want to quickly use a package I should use nix run?
nD5Xjz has joined #nixos
<sphalerite> lovesegfault: `systemd.services.nix-daemon.serviceConfig.Nice = 19;` in your nixos config should do it I think
zupo has joined #nixos
<sphalerite> lovesegfault: you can use nix-shell too, and that has the advantage of setting PS1 so you know you're in a nix-shell. But nix run is a little bit more lightweight
<sphalerite> if nix-shell suits your purposes, you can stick with nix-shell just as well :)
<lovesegfault> I use zsh so I lose the PS1 niceness anyway :P
<sphalerite> ah, and the shell functions relevant to building packages in nix-shell
<lovesegfault> sphalerite: error: The unique option `systemd.services.nix-daemon.serviceConfig.Nice' is defined multiple times,
<lovesegfault> Do I use lib.mkForce?
<sphalerite> spot on
<lovesegfault> I AM LEARNING
<lovesegfault> :D
linarcx has joined #nixos
<sphalerite> :)
<sphalerite> oh yeah, you can do some prompt fanciness with zsh too though, based on $IN_NIX_SHELL
<lovesegfault> Yep, I need to make a PR to my prompt to add support :D
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b7533ce2818 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mthst has quit [Quit: disconnect]
mthst has joined #nixos
babic has joined #nixos
_h3x has quit [Read error: Connection reset by peer]
_h3x has joined #nixos
<Guest27063> could someone add "lua" topic to https://github.com/NixOS/nixpkgs/pull/55302 please ?
<{^_^}> #55302 (by teto, 9 weeks ago, open): [wip] doc: update lua documentation
<sphalerite> done
<mabel> wow, frigging magical that I synced kubenix-2.0, ran a one-liner to execute the test and it built everything, spun up a VM with Kubernetes installed, checked that nginx was up and that output matched expectations, and produced an html page describing all the results..
unacceptable has quit [Remote host closed the connection]
siers has joined #nixos
<babic> Is there some tool that combines nix-shell and command-not-found to (semi-)automatically drop you into a shell with the package?
<babic> That's probably my next hobby project if it doesn't exist :D
PC_ has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/447923f2c65 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
_h3x has quit [Ping timeout: 255 seconds]
ng0 has joined #nixos
marcus8976 has joined #nixos
nD5Xjz has quit [Ping timeout: 246 seconds]
Makaveli7 has joined #nixos
unacceptable has joined #nixos
jomik has joined #nixos
nD5Xjz has joined #nixos
<jomik> Was pondering if there is a way to easily replace all instances of a bin in scripts (.fish files) with the nix/store path? Or will I need to manually use `substituteInPlace` on all of `$out/**/*.fish`?
<{^_^}> [nixpkgs] @teto opened pull request #59342 → nixos/mptcp: multipath TCP module → https://git.io/fjqbY
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
goibhniu has joined #nixos
pie_ has joined #nixos
nD5Xjz_ has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
ninjin has joined #nixos
dnlkrgr has joined #nixos
gal_bolle has quit [Ping timeout: 250 seconds]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 263 seconds]
linarcx has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #59343 → vimPlugins: update → https://git.io/fjqbV
<Guest27063> sphalerite: ty
<jomik> Mic92: I am trying to replicate what you have done for vim-plugins for my fish-plugins: https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/update.py . By replicate I mean I copy pasted it .. :P But I am getting some stupid error in GET_PLUGINS. Can you spot what it is? L128 at https://git.io/fjqbw ..
<jomik> well, or if someone else is good at Python :P
<jomik> `SyntaxError: f-string: empty expression not allowed`
cyris212 has quit [Ping timeout: 250 seconds]
<jomik> Disregard me! I had {} instead of {{}}! XD
<Mic92> jomik: yeah. Also can recommend mypy to check for errors.
<Mic92> once you fixed the syntax.
<jomik> Ah, thanks :D
<jomik> I also had to make a dummy generated.nix to begin with :P
<jomik> Works perfectly now tho, hah! Did you write this Mic92 ? I want to add some credet.
<jomik> credit*
arjen-jonathan has joined #nixos
<Mic92> jomik: yeah. I was tired of the viml implementation that we had before.
cyris212 has joined #nixos
<jomik> Neat :D
<jomik> ++Mic92
<jomik> Ah, damn, how do we add karma? :P
<Taneb> jomik: postfix
<jomik> Mic92++
<{^_^}> Mic92's karma got increased to 9
<jomik> Taneb++
<{^_^}> Taneb's karma got increased to 4
<jomik> :P
<jomik> Thansk
<Taneb> :)
<{^_^}> [nixpkgs] @timokau closed pull request #59343 → vimPlugins: update → https://git.io/fjqbV
slyfox_ has joined #nixos
<gyroninja> I'm on Gentoo with nix 2.2.1 and when I try to install a package I get just "error: unable to start build process" does ayone know what this means?
slyfox has quit [Ping timeout: 250 seconds]
slyfox_ is now known as slyfox
<Taneb> Is there a way I can have a derivation which checks something can be instantiated (but not necessarily built)
<clefru> gyroninja: no sorry, but strace-ing or grep-ing the nix source for that error message seems like a start
<gyroninja> Yeah, I tried looking there, but I didn't see how I could get that message without seeing another due to it being caught
<gyroninja> I tried compiling my own version with some printf debugging, but it didn't seem to work. It could be possible that it was getting called from the daemon which I wasn't changing
<gyroninja> strace wise I didn't see anything obvious
<clefru> there are some flags to avoid building via the daemon, IIRC
<genesis> gyroninja : i was a gentoo user for 15 years before switching to nixos :)
<gyroninja> Yeah, switched my laptop from Gentoo -> NixOS last week and want to try and at least use nix on my desktop
<clefru> I rage-quit Gentoo after being told "no" on the bugtracker to actually hard-code minimum dependencies to avoid "emerge world" breaking when not run regularly
<genesis> gentoo is so bad quality ...
<xantoz> having to do a lot of manual work to fix emerge world after not being run for a long while might as well be a gentoo tradition...
<xantoz> (also a long time gentoo user, started running some nixos recently. currently run both)
<genesis> days to try fixing conflict ? :D
<xantoz> you get good at wrangling portage after a while.
<xantoz> otoh I think quality has improved a bit recently. I've had those issues less and less.
<genesis> and you finished with thousand of make.use :°D
<gyroninja> I recently had to fix stuff
<gyroninja> didn't even bother for my laptop
<xantoz> I've managed to break things quite badly in nixos as well, though :P
<genesis> so racers, are you on the unstable side of the nixos force ?
<xantoz> like when I first managed to put busybox into environment.systemPackages and it wouldn't boot
pie__ has quit [Remote host closed the connection]
<genesis> i switch to unstable recently, can't wait for lxqt 14 :)
<genesis> (0.14)
andi- has quit [Ping timeout: 258 seconds]
<xantoz> I ended up wrapping it with pkgs.runCommand to expose only the busybox commands I was interested in having
pie__ has joined #nixos
<gyroninja> I do want to commend nixos for the config generation automatically setting up the LUKS configuration
<gyroninja> I was very suprised that it just worked without me having to do anything
<xantoz> I had to put in some work for that, but I'm not on exactly a usual configuration
<babic> The good thing is that if you don't mess up your bootloader you can boot into an old config. Also if you have your config backed up (it should be version controlled!) you can easily rebuild your system.
<babic> That's even if you bork it.
<clefru> genesis: just import packages selectively (not sure whta lxqt l4 is though)
<xantoz> (I crypt /boot as well, so need grub and an extra initrd
<clefru> genesis: you don't need to go "full unstable" with your system setup
<babic> Some things you might want to look into is nixpkgs pinning, helps with reproducibility
<genesis> yeap but i always want the bleeding edge anyway
<gyroninja> xantoz: I use FDE too
<babic> I'm full unstable because why not
ubert has joined #nixos
<xantoz> I have a nixpkgs submodule in my nixconfig
<babic> clefru: lxqt is a desktop environment
<clefru> xantoz: that's a great idea
<xantoz> yeah, I prefer it to channels
thc202 has joined #nixos
<babic> xantoz: that's how I pin it too
<clefru> xantoz: I just have mine at /nix/nixpkgs as was suggested once in a blog posting
<genesis> i should have a look at that
<xantoz> it's also useful when you are preparing a PR for something etc.
<xantoz> considering switching to using a git checkout for /usr/portage on my gentoo machines as well
<genesis> i did more PR on nixos in few month that i did for gentoo in 15 years :)
andi- has joined #nixos
<xantoz> genesis: yeah. I also get the impression it's harder to get stuff into gentoo
<babic> Submodules is a bit clunky if you never touch edit the repo, but if you do it's probably the best
<genesis> xantoz : really sometime i've answer on PR i did 10 years ago
<clefru> speaking of nixpkgs pinning. I use nix-deploy to deploy remote machines, but I usually don't do a good job of deploying a nixpkgs version with it to use with nix tools on that machine. I was thinking to just do nix.nixPath=["nixpkgs=" + (fetchGit { src = "localcheckout-of-nixpkgs"; })]
<xantoz> at least I started maintaining my own overlay after being exposed to nixos (I wanted to stop just building things manually)
<clefru> xantoz: contribute to NUR if possible :)
<genesis> xantoz : then i'd an overlay too ;)
<xantoz> clefru: NUR?
<clefru> ,NUR
<babic> That's something I like about nixos, it makes contributing easy
<{^_^}> Nix User Repository: User contributed nix packages, https://github.com/nix-community/NUR
<genesis> "lorelei overlay"
<xantoz> ah, I meant a gentoo overlay heh
<xantoz> but I could probably port some stuff to nixos as wlel
Jetien_ has joined #nixos
<clefru> babic: not just that, it makes maintaining local customizations easy as well if stuff isn't upstream-able
<xantoz> actually wondering if you could wrap ebuilds somehow
<babic> Yes, there are a ton of benefits if you want to dig into the system
<clefru> xantoz: most inclusions from external build systems are via conversion and generation of nix files. like node2nix, pypi2nix
<babic> There can be work necessary (compared to ootb distros) but the good thing about it is that you can mostly do it when you want and you don't have to repeat it, which are both huge compared to other non ootb distros
<genesis> yes things are hard when people use some distribution tool that are not easy to wrap for no-connected mode
<genesis> (offline)
Shouou has joined #nixos
<ashkitten> i do appreciate not having to rebuild things that don't need to be rebuilt, if i upgrade everything
<ashkitten> it's quite nice
<Shouou> I lost my user nix-channels after a nixos-rebuild switch, is this normal? How do I make them persist?
fusion809 has quit [Remote host closed the connection]
andi- has quit [Excess Flood]
pie_ has joined #nixos
<goibhniu> Hi Shouou, I haven't heard of that happening before. Could you describe how you've set them up and what happened? Does `nix-channel --list` not show anything?
andi- has joined #nixos
pie__ has quit [Ping timeout: 240 seconds]
<babic> Shouou: was it just an update or did you also change any configuration?
<Shouou> I set them with `nix-channel --add <url> unstable` and after said thing I now have no channels being output with `nix-channel --list`.
dnlkrgr has quit [Ping timeout: 250 seconds]
<Shouou> babic, I just added a new package to the configuration.nix, but I could've missed something. If this is unintended behaviour I'll keep an eye on it.
siers has quit [Quit: WeeChat 2.2]
andi- has quit [Ping timeout: 250 seconds]
<goibhniu> Shouou: does ~/.nix-channels still exist?
<gyroninja> okay it looks like the error is actually happening in the daemon's output which is why I didn
<gyroninja> 't see it
<gyroninja> "error: cloning builder process: Invalid argument"
<gyroninja> I've seen that disabling sandboxing can mitigate this issue
dnlkrgr has joined #nixos
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/68f7f257062 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Taneb> My local Hydra never seems to be scheduling a build for a docker image...
andi- has joined #nixos
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #56923 → treewide: fixup bcf54ce → https://git.io/fhpJ2
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjqNl
nD5Xjz_ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixos-org-configurations] @zimbatm pushed commit from @lheckemann to master « tarball-mirror: use 19.03 (#83) »: https://git.io/fjqN4
<{^_^}> [nixos-org-configurations] @zimbatm merged pull request #83 → tarball-mirror: use 19.03 → https://git.io/fjqoB
orivej has joined #nixos
slyfox has quit [Quit: whee]
<{^_^}> [nixos-org-configurations] @zimbatm pushed to master « snapshot »: https://git.io/fjqNR
andi- has quit [Ping timeout: 252 seconds]
<gyroninja> okay I think I
<gyroninja> have found the problem
domogled has quit [Quit: domogled]
<gyroninja> My kernel did not have user namespaces compiled in
hodapp has quit [Ping timeout: 245 seconds]
andi- has joined #nixos
PC_ has quit [Read error: Connection reset by peer]
PC_ has joined #nixos
Erasmus is now known as erasmus
andi- has quit [Ping timeout: 264 seconds]
PC_ has quit [Read error: Connection reset by peer]
_h3x has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages to fix evaluation errors on Hydra »: https://git.io/fjqNi
<pie_> if anyone has input for plugin systems in nixpkgs https://github.com/NixOS/nixpkgs/issues/59344
<{^_^}> #59344 (by deliciouslytyped, 53 minutes ago, open): Proposal: Engineering a Common "Plugin" Infrastructure
Shouou has quit [Quit: Leaving]
<pie_> also not really sure what would differentiate a plugin system from...whatever else
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjqNP
<pie_> I guess its a thing where you have a root component and things hanging off of it
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fjqNS
<{^_^}> [nixpkgs] @joachifm merged pull request #59286 → afl-qemu: remove unnecessary build dependencies → https://git.io/fjq8h
andi- has joined #nixos
gal_bolle has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #58847 → nixos/fhsUserenv: make all locales available → https://git.io/fjIuf
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjqNA
jasongrossman has joined #nixos
nD5Xjz has quit [Ping timeout: 264 seconds]
nD5Xjz has joined #nixos
jomik has quit [Quit: WeeChat 2.4]
slack1256 has joined #nixos
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
grischeg has joined #nixos
johanot has joined #nixos
ubert has quit [Remote host closed the connection]
ubert has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to master: https://git.io/fjqAc
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjqA8
<{^_^}> [nixpkgs] @joachifm merged pull request #56719 → miniflux: add service → https://git.io/fhAS5
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjqA0
<{^_^}> [nixpkgs] @peti merged pull request #59303 → haskell-generic-builder: backport disable-library-for-ghci → https://git.io/fjq2G
<{^_^}> [nixpkgs] @peti pushed 2 commits to release-19.03: https://git.io/fjqAE
nD5Xjz has quit [Ping timeout: 250 seconds]
jarlg has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #59345 → boringtun: init at 0.2.0 → https://git.io/fjqAV
nD5Xjz has joined #nixos
ubert has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos
ubert has joined #nixos
buffet_ is now known as buffet
srl295 has quit [Quit: Connection closed for inactivity]
nD5Xjz_ has joined #nixos
nD5Xjz has quit [Ping timeout: 255 seconds]
<mpickering> Do overlays interact strangely with `nix-shell`?
<mpickering> I swear this used to work.
marcus8976 has quit [Ping timeout: 256 seconds]
nD5Xjz_ has quit [Ping timeout: 264 seconds]
<mpickering> Seems to be well documented here https://nixos.wiki/wiki/Overlays
<betaboon> mpickering: i use overlays with nix-shell works fine.
<mpickering> I was using `nixpkgs.overlays` to get my overlay which doesn't work with nix-shell
<mpickering> It's confusing how many different ways there are to configure it
b1000101 has joined #nixos
nD5Xjz has joined #nixos
jarlg has quit [Quit: WeeChat 2.4]
<betaboon> mpickering: i am using it in combination with direnv. so setting up $NIX_PATH with 'nixpkgs=...:nixpkgs-overlays'. that gets picked up fine. just tested it
<betaboon> mpickering: can you share how you tried to set it up ?
<mpickering> like I said, I just set nixpkgs.overlays
<Taneb> Hmm, my build gets loaded by hydra-queue-runner, and then... nothing
alex``6 has joined #nixos
<b1000101> Hi guys, is there a way to install a package from my own channel (slightly modified small 18.09 release built by my own hydra). I've added a channel nix-channel --add mychannel https://mydomain/project/name/channel/latest but I can't do something like nix-env -iA mychannel.vim
<b1000101> error: attribute 'vim' in selection path 'mychannel.vim' not found
<{^_^}> [nixpkgs] @peti pushed commit from @mdorman to haskell-updates « taffybar: unbreak package by default »: https://git.io/fjqxT
<{^_^}> [nixpkgs] @joachifm closed pull request #52638 → miniflux: add service → https://git.io/fhf6M
<mpickering> I followed what the wiki said and now it works
<betaboon> mpickering: i do that for some other machines as well. works fine. i do `nixpkgs.overlays = [ (import ./overlay.nix) ];`
<mpickering> doesn't work with nix-shell if you do that, the wiki says
<mpickering> you also have to add the compat overlay
<betaboon> mpickering: ah yeah. havent tested that XD
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjqxk
<betaboon> mpickering: but i can confirm nix-shell picks up <nixpkgs-overlays> in $NIX_PATH
<mpickering> yes I know
<mpickering> also works for me
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @joachifm merged pull request #59321 → wmctrl: upd upstream links, clean-up, adopt package → https://git.io/fjqX1
<{^_^}> [nixpkgs] @joachifm pushed 3 commits to master: https://git.io/fjqxq
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjqxm
siers has joined #nixos
<{^_^}> [nixpkgs] @peti closed pull request #59305 → taffybar: unbreak package by default → https://git.io/fjqVC
Xal has quit [Ping timeout: 246 seconds]
sigmundv_ has joined #nixos
sigmundv_ is now known as sigmundv
cfricke has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @joachifm merged pull request #48781 → mxnet: fix error when building with cudaSupport → https://git.io/fxKaj
<{^_^}> [nixpkgs] @joachifm pushed commit from @juliendehos to master « mxnet: fix cuda support enabled build (#48781) »: https://git.io/fjqxc
periklis has joined #nixos
Xal has joined #nixos
fuzzy-id has joined #nixos
<emilsp> how does one add an ad-hoc ruby dependency to a deriviation? fpm fails to build an RPM package due to not having a dependency it seems.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « liquidhaskell: update devel snapshot to the latest version »: https://git.io/fjqxl
<{^_^}> [nixpkgs] @alyssais merged pull request #59145 → jazzy: 0.9.5 -> 0.9.6 → https://git.io/fjtna
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fjqxz
ng0 has quit [Quit: Alexa, when is the end of world?]
<Taneb> It's a little frustrating setting up Nix-on-other-linux so I can use (e.g.) nix copy
<Taneb> Because you have to make sure you have nix in non-interactive login shells
gal_bolle has quit [Ping timeout: 240 seconds]
<srhb> I'm dealing with a build where includes are failing because foo.h is not found, possibly because it lives in $dev/include/bar/foo.h instead of $dev/include/foo.h. What might I be missing? Right now I'm adding the paths manually to CFLAGS, but maybe I'm doing something obviously wrong that causes them to not be found in the first place.
<srhb> Like, I see -I$dev/include on the command line to gcc, shouldn't that suffice?
<manveru> emilsp: like a single gem?
<manveru> emilsp: or an executable?
<emilsp> manveru: single gem, I think
ub has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « liquidhaskell-cabal has been fixed in the latest version. »: https://git.io/fjqxr
<manveru> hmm
<manveru> seems like fpm is a ruby executable
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjqxK
ubert has quit [Ping timeout: 252 seconds]
<manveru> it's packaged already in nixpkgs
<manveru> though it's packaged wrong... why do people use bundlerEnv for executables :(
<qyliss^work> Often because bundlerApp didn't exist when they wrote the package...
<manveru> good point :D
<manveru> i was semi-serious, but i should probably clean them all up
<manveru> the fpm package is from 2016, could also use some bumping i think
<b1000101> where can I rename the package while it's being build so it doesn't end up unbder mychannel.nixpkgs-vim-x86_64-linux but rather something nice like mychannel.vim ?
<{^_^}> [nixpkgs] @xrelkd opened pull request #59346 → squid4: 4.4 -> 4.6 → https://git.io/fjqx1
<emilsp> Ah, could an absolute nix noob help at all with packaging up fpm ?
<jasongrossman> manveru: I've been meaning to ask you how to run a ruby executable in NixOs. I want to run one that uses a couple of gems, and I'm totally rusty on the ruby ecosystem.
<jasongrossman> (I may have come into the conversation halfway.)
<jasongrossman> When I looked for examples, I found bundlerEnv, but I suspected that wasn't necessary for a single script that isn't a gem.
<qyliss^work> You should use bundlerApp
<emilsp> Is there a reason https://nixos.org/nixpkgs/manual/#sec-language-ruby starts with bundlerEnv?
<manveru> emilsp: bundlerEnv is mostly useful for development
<{^_^}> [nixpkgs] @callahad opened pull request #59347 → rapid-photo-downloader: 0.9.13 -> 0.9.14 → https://git.io/fjqx5
<manveru> so, like, if you just wanna write a script that requires some gem, and don't care about packaging the whole thing, bundlerEnv is fine, as it'll give you that environment :)
<emilsp> fpm is a depdnency of a build dependency of the thing that I'm working on. So I'd be happy enough just to make it work nicely.
iyzsong has joined #nixos
<manveru> emilsp: the question is, does it `require` fpm, or `execute` it
<emilsp> executes it.
<manveru> then just `nix-shell -p fpm`
<emilsp> yes, but that fpm is broken :)
<{^_^}> [nixpkgs] @basvandijk merged pull request #56017 → prometheus: add tls_config → https://git.io/fhdmW
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjqxF
<manveru> now we're getting somewhere :D
<emilsp> > `block in <class:RPM>': Unknown compression type 'xzmt'. Valid options include: none, xz, gzip, bzip2 (RuntimeError)
<{^_^}> error: syntax error, unexpected $undefined, at (string):243:1
<manveru> huh
<manveru> what's xzmt?
<emilsp> Originally I thought I'd just need to install an extra dependency, but I guess creating a better fpm deriviation would be the proper solution.
infinee has quit [Ping timeout: 255 seconds]
<manveru> like xz mega tarball?
<jasongrossman> Thanks qyliss^work. Do I have to use bundlerApp just to RUN a Ruby script, or only to make a derivation out of one?
<emilsp> xzmt is seemingly something that is required to build an rpm package
<manveru> emilsp: maybe just a newer one
<qyliss^work> jasongrossman: If there are any gem dependencies, you probably need to make a derivation to be able to run it.
<qyliss^work> Ruby doesn't currently have the sort of thing Haskell does where you can include all your dependencies in a shebang
<qyliss^work> (in Nixpkgs)
rjmill has quit [Read error: Connection reset by peer]
linarcx has quit [Ping timeout: 252 seconds]
<manveru> emilsp: ok, so you wanna learn how to update fpm?
<emilsp> yep
<manveru> do you have nixpkgs cloned?
init_6 has joined #nixos
<manveru> otherwise we can just do it from scratch if you like
<manveru> but i think it'd be a good PR
linarcx has joined #nixos
<emilsp> manveru: I do have it cloned.
<manveru> then go into pkgs/tools/package-management/fpm
<manveru> and run `nix-shell -p bundler bundix --run 'bundle lock && bundix'`
<manveru> that'll fetch you the latest, since the Gemfile doesn't specify a version
<jasongrossman> qyliss^work: I see. Thanks.
<emilsp> Shoud the bundle not be updated first?
fuzzy-id has quit [Ping timeout: 268 seconds]
<manveru> no need for that, you only need to update the lockfiles
<manveru> you don't actually need to install any gems via bundler
<manveru> it's only used for dependency resolution
<emilsp> Yeah, but after running that bundle lock && bundix, no changes have been made.
<manveru> rm Gemfile.lock first then
<manveru> after that you can convert it to bundlerApp as well, it's almost the same, just that you explicitly say which executables you want to expose
<emilsp> yep, that much seems simple :)
<manveru> then from the top-level nixpkgs directory, you can run `nix build -f . fpm`, and see the ./result/bin/fpm
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<manveru> there's also an update script in the fpm directory which needs a bit of love
<manveru> this should be much better https://www.irccloud.com/pastebin/rNTGaSAL/update.sh
<manveru> i think i'll write a blog post about this :)
<emilsp> Yep, just built it. Seemed simple enough.
<emilsp> Testing it now
<jasongrossman> manveru: Yes please!
<emilsp> Yep, the newer package does indeed work. Is there a guide for how PRs are done?
<emilsp> Ah, firstly I should generate some keys
fendor has joined #nixos
<manveru> would you like a guide to doing PRs?
<manveru> for github in general, or just for nixpkgs?
<emilsp> I can do PRs, but is there a specific way I need to format the commit messages, specific way to format the PR text and the like
<manveru> yes
_h3x has quit [Read error: Connection reset by peer]
_h3x has joined #nixos
<emilsp> Yep, thanks, will do this later in the day then :)
<manveru> also once you open the PR, it'll explain more steps :)
<manveru> cool
<{^_^}> [nixpkgs] @mogorman opened pull request #59349 → nixos/manual: update 17.03 -> 19.03 in upgrading section → https://git.io/fjqpT
<emilsp> Are there equivalent bunldeApp/bundleEnv functions for node_modules/npm/yarn ?
<Taneb> Ooh, new version of Agda is out with support for GHC 8.6
GJC614 has joined #nixos
linarcx has quit [Ping timeout: 255 seconds]
<GJC614> Hi folks; upgrading to 19.03 is giving me my first ever upgrade break. I've raised issues where appropriate. Is there a way to upgrade all but the affected packages (2)?
linarcx has joined #nixos
<tilpner> ,unstable GJC614
<tilpner> You can do that, but in reverse
<tilpner> You'd add a nixos-18.09 channel and pick the packages you don't want to upgrade from there
fuzzy-id has joined #nixos
dnlkrgr has quit [Ping timeout: 252 seconds]
<GJC614> Great, thanks. I'll give it a look
xkapastel has joined #nixos
fuzzy-id has quit [Ping timeout: 250 seconds]
<manveru> emilsp: there are in https://github.com/moretea/yarn2nix
<manveru> unfortunately i don't know if there's even any real docs for it
<{^_^}> [nixpkgs] @hedning opened pull request #59350 → [19.03] gvfs: 1.38.1 -> 1.38.2 → https://git.io/fjqpn
jtojnar has joined #nixos
<init_6> it`s possible to install android emulator from *-studio?
johanot has quit [Quit: WeeChat 2.4]
sb0 has joined #nixos
_h3x has quit [Ping timeout: 264 seconds]
petrkr has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
Makaveli7 has joined #nixos
grischeg has quit [Quit: WeeChat 1.9.1]
day|flip has quit [Quit: leaving]
_h3x has joined #nixos
<emilsp> manveru: welp, it's a shame my project just recently migrated from yarn to npm.
gal_bolle has joined #nixos
kleisli has joined #nixos
o1lo01ol1o has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
alex``6 has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
GJC614 has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 246 seconds]
pie_ has left #nixos ["Leaving"]
pie_ has joined #nixos
civodul has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
astrofog has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #59351 → tautulli: 2.1.26 -> 2.1.28 → https://git.io/fjqhY
_h3x has quit [Read error: Connection reset by peer]
_h3x has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
silver has joined #nixos
PC_ has joined #nixos
_h3x has quit [Read error: Connection reset by peer]
acarrico has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #59352 → WIP: OPS-435 Reping nixpkgs → https://git.io/fjqho
<{^_^}> [nixpkgs] @kirelagin closed pull request #59352 → del → https://git.io/fjqho
aanderse-work has joined #nixos
orivej has joined #nixos
o1lo01ol1o has joined #nixos
<gchristensen> is kirelagin here? :)
Notkea has quit [Read error: Connection reset by peer]
Notkea has joined #nixos
PC__ has joined #nixos
davidcl has quit [Quit: Ping timeout (120 seconds)]
true_bunta has quit [Ping timeout: 245 seconds]
davidcl has joined #nixos
true_bunta has joined #nixos
ivan has quit [Remote host closed the connection]
PC_ has quit [Read error: Connection reset by peer]
ivan has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<siers> emilsp, your gnome+wayland config with http://clbin.com/eprdF doesn't work! I feel cheated.
<siers> There's gdm, but after logging in there's just xterm.
kaliumxyz has joined #nixos
<kaliumxyz> ping
<siers> poing
<Jetien_> is there a way to debug binary cache lookups of "nix-build" (or similar nix tools)? (I'd like to find out why my custom cache is not hit)
ggpeti has joined #nixos
Rusty1 has joined #nixos
<tilpner> Jetien_: Pass -vvv (or more) to nix-build
<emilsp> siers, you have to select the appropriate DE once before you log in
periklis has quit [Read error: Connection reset by peer]
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
sam_ has joined #nixos
<siers> emilsp, heh, I have no words
<sam_> Is this the right channel for nix on Darwin/macOS questions, or is it nixos only?
<siers> there's #nix-darwin
<sam_> OK, thanks siers
<emilsp> there's the generic #nix, but that seems to have a single person in there. This is by far the most populated nix channel that I'm aware of.
<siers> but maybe you can ask here, I don't know
<Jetien_> tilpner: thanks, but it doesn't seem to be in the output. I can't find any "http" or "cache.nixos" or any ip adresses in the output
<emilsp> A friendly reminder - /msg alis list $keyword to search for all the channels on freenode.
<kaliumxyz> I want to use .deb; will running dpkg polute everything on my nixos install?
<tilpner> Jetien_: I get checking substituter 'https://cache.nixos.org' for path '/nix/store/kxlxwig508n6qwrf1iwszbm7cpyzgbri-blender-2.79b'
<kaliumxyz> cause it sees like it.
sam_ is now known as psalm
<Jetien_> tilpner: thanks; for other derivations I see it to. I guess the derviation i was testing was too trivial somehow. Would have taken me quite some time to figure that out; so thanks!
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/10c1a4115c7 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<tilpner> Jetien_: Which derivation were you testing with? Some are configured to build locally or forbid substitutions
<tilpner> > (writeText "foo" "bar").allowSubstitutes
<{^_^}> false
hyper_ch has joined #nixos
<Jetien_> tilpner: "writeTextFile { name = "bla.txt"; text="why oh why"; }"
OmnipotentEntity has quit [Quit: Leaving]
<tilpner> > (writeTextFile { name = "bla.txt"; text="why oh why"; }).allowSubstitutes
<{^_^}> false
<tilpner> There you go
init_6 has quit []
psalm has quit []
npmccallum has joined #nixos
unacceptable has quit [Quit: ZNC 1.7.1 - https://znc.in]
psalm has joined #nixos
fragamus has joined #nixos
unacceptable has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.4]
hodapp has joined #nixos
rauno has quit [Remote host closed the connection]
psalm has quit [Remote host closed the connection]
psalm has joined #nixos
fragamus has quit [Ping timeout: 250 seconds]
GJC614 has joined #nixos
<GJC614> Just coming back to say the advice on keeping some packages on the old channel worked a treat
<Jetien_> tilpner: my cache is now hit; however I get substituter 'http://***' does not have a valid signature for path. I'm using nix-serve. I _think_ I've set up everything correctly. On the server I can check that it's signed correctly "nix path-info --sigs ./result". On my client I've added the public key to binaryCachePublicKeys.
<tilpner> Did you set services.nix-serve.secretKeyFile?
<Jetien_> tilpner: yes. but the key file might be readable by root only; checking..
GJC614 has quit [Quit: rcirc on GNU Emacs 26.1]
<kaliumxyz> is home-manager even useful when you can do the same things without it?
<tilpner> kaliumxyz: It might be easier and quicker with it
<emilsp> is git useful if you can do the same with cp and nc ?
astrofog has quit [Remote host closed the connection]
<gchristensen> emilsp with the big guns
<kaliumxyz> serious question tho
<kaliumxyz> emilsp you really cant
<kaliumxyz> also you are using git wrong
<kaliumxyz> >.> some guy asked me advice on what version management software to use in combination with git.
<Jetien_> tilpner: nix-serve is complaining "cannot open file" on the key file. even though it's now 0666. strange..
<emilsp> kaliumxyz: did he explain his workflow? :D
<Jetien_> tilpner: .. "permission denied"
<kaliumxyz> emilsp: tbh you don't want to know (but I'll tell anyways).
<tilpner> Jetien_: Uhh, 666 seems like a bad choice for a secret key
<kaliumxyz> so he goes to github or bitbucket (what his work uses) and he looks at the revision history.
<kaliumxyz> and copies and pastes it.
<kaliumxyz> which TBH is a valid way of looking at past git revisions I was just really shocked.
<kaliumxyz> I was reminded of that because he can use cp and nc instead of git :joy:
<emilsp> oh wow.
<kaliumxyz> so should I do a pull request on missing things in a package for home-manager?
<pie_> is there something that either puts a script in my env or makes a derivation with the script in it?
alex``6 has joined #nixos
<kaliumxyz> I'm beyond salty about my favorite options missing from the zsh program package :c
<pie_> mkShell will do the former but not the latter and mkDerivation needs more stuff than a simple call
<kaliumxyz> lets try
b1000101 has quit [Ping timeout: 256 seconds]
<Jetien_> tilpner: yes, of course. i'm just trying to figure out why nix-serve can't seem to open the file. i'm using nixops keys mechanism which places files in /run/keys.
uranther has joined #nixos
alex``6 has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
rjmill has joined #nixos
pointfourone has joined #nixos
pointfourone has left #nixos [#nixos]
drakonis has quit [Ping timeout: 250 seconds]
<pie_> damn i know i did this somehow oncce
<pie_> (nicely)
<infinisil> Oh my god, steam why the hell do you always screw with my controller
<infinisil> I just want it to work
<infinisil> Previous workarounds stopped working
aswanson has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @costrouc opened pull request #59353 → pythonPackages.lektor: 2.3 -> 3.1.3 → https://git.io/fjqjH
<infinisil> Okay it works with steam, only Rocket League doesn't want to
<Taneb> infinisil: is this a steam controller? Could you share your workarounds?
<emilsp> Any rust enthusiasts here? I don't know what exactly I did to fuck this up, but as I was fixing my dev env to work with electron-builder, I seem to have broken rust.
<samueldr> infinisil: just in case it's still a thing, when steam big picture was new, Rocket League wouldn't use the controller unless it was started through big picture
<emilsp> the linker fails to link rust objects - error adding symbols: file format not recognized
<infinisil> Taneb: Workarounds I've tried are: `sudo chmod +0666 /dev/uinput`, restarting systemd-udevd, unloading uinput (sudo modprobe -r uinput) and reloading it (sudo modprobe uinput), removing /dev/uinput and restarting the things
<infinisil> samueldr: Yeah, I noticed that, but now it doesn't work through big picture even
erasmus has quit [Quit: END-AUMF]
<samueldr> aww
<Taneb> I need to at some point either get my Windows machine going again for games or at least salvage its graphics card
jp__ has joined #nixos
jabranham has joined #nixos
<infinisil> Also tried replugging it
<infinisil> And restarting steam
<pie_> infinisil, onoes
<infinisil> Gonna try `sudo chown infinisil:users /dev/uinput` just for good measure now
<aanderse-work> infinisil: what controller?
<infinisil> aanderse-work: steam controller
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/08b277e0da6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<etu> infinisil: Why not an udev rule? I used this for a while: https://github.com/etu/nixconfig/blob/master/overlays/local/modules/my-gaming.nix -- But I haven't tried using it for a long while
<etu> And that worked for me with the steam controller
<aanderse-work> thats horribly disappointing :\
<infinisil> etu: Yeah if I could figure out the problem I'd use an udev rule too again
<aanderse-work> i love my logitech f710s
<aanderse-work> they always just work, every time
<infinisil> Previously a 0666 rule would work fine (equivalent to chmod 0666)
<jabranham> I'm using the gpg-agent for SSH auth. After upgrading to 19.03, I get "Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files". Anyone know how to fix this?
drager has quit [Quit: WeeChat 2.2]
<etu> infinisil: Then it's probably broken for me as well then :/
<infinisil> It only doesn't work in Rocket League though
<infinisil> In steam big picture itself there's no problem
<infinisil> I guess I'll try another game too
<etu> Then it's probably Rocket League that is broken
<etu> oh well, leaving work now. Weekend starts now:))
<ggpeti> have a good one etu
aswanson has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #58352 → [18.09] thunderbird: 60.5.1 -> 60.6.0 → https://git.io/fjUWa
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-18.09: https://git.io/fjmef
<infinisil> Guess I might have to go back to Minecraft, I've never had problems with that one, and it's also much more chill than other games :)
<infinisil> Steam controller works just fine with Binding Of Isaac
drakonis_ has quit [Ping timeout: 250 seconds]
<averell> i mean rocket league is cooler with controller, but minecraft? tsktsk.
<infinisil> averell: Ah no I'd use keyboard + mouse for MC of course :)
<{^_^}> [nixpkgs] @xeji merged pull request #59351 → tautulli: 2.1.26 -> 2.1.28 → https://git.io/fjqhY
<{^_^}> [nixpkgs] @xeji pushed commit from @bachp to master « tautulli: 2.1.26 -> 2.1.28 (#59351) »: https://git.io/fjmek
drakonis has quit [Ping timeout: 240 seconds]
<infinisil> Why can't I pin games, because I know it worked a couple weeks/months ago
<infinisil> Damn state
<infinisil> ANd damn auto-updates
alex``6 has joined #nixos
PirBoazo has joined #nixos
<PirBoazo> Hi All
drakonis has joined #nixos
<emilsp> is there a way to show a tree of packages a given deriviation will pull in?
jp__ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<symphorien> nix-store -qR
drakonis1 has quit [Ping timeout: 252 seconds]
<PirBoazo> To day i upgrade to Nixos-19.03 I verify my system where can i report broken application ?
<symphorien> It lists build time.deps for derivations and run time deps for store paths
<infinisil> Ohhh great, I found it out..
<infinisil> There's a new Steam Controller support Beta mode
<jabranham> emilsp: does --dry-run do what you want?
<infinisil> Which apparently clears your previous mapping..
<aanderse-work> PirBoazo: github issue list is a good place
<infinisil> Go into Options->Controls->Use Steam Input(Beta)..
<infinisil> ANd then you need to configure the controller again in the steam overlay thing
<emilsp> jabranham: given a shell.nix, nix-shell --dry-run doesn't really tell me much
<infinisil> Taneb: samueldr: pie_: aanderse-work: etu: ^^
<emilsp> Or, there's no output at all
<aanderse-work> ah
<infinisil> Of course now my previous bindings which I carefully designed are lost.. but at least I figured out the problem
<aanderse-work> nice :)
<emilsp> Is there a way I can use an overlay in a given shell ?
alex``6 has quit [Ping timeout: 240 seconds]
aswanson has quit [Quit: WeeChat 2.2]
linarcx has quit [Ping timeout: 264 seconds]
<infinisil> Well, turns out that the steam controller configuration doesn't actually work..
<infinisil> Mapping a button to drive forward, but I can press it and nothing happens
<infinisil> so RIP
<jabranham> It appears that in 19.03, programs.gnupg.agent.enableSSHSupport does not in fact set SSH_AUTH_SOCK despite doing so in 18.09
samrose_ has joined #nixos
samrose has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
<infinisil> At least I can navigate the menu
alex``6 has joined #nixos
<acowley> How am I supposed to have a QML application find Qt styles on NixOS?
<infinisil> But yeah, screw that, guess no Rocket League for me
b1000101 has joined #nixos
<jabranham> ... actually, it seems to in some shells but not in others.
<acowley> When I explicilty add paths for styles, I either get a segfault (if I give it a /nix/store path) or a module import error if I give it a /run/current-system/sw path.
<PirBoazo> After upgrade to 19.03
<PirBoazo> I receive message install python binding for gobject, gtk , pango.
<PirBoazo> when i launch terminator
d10n-work has joined #nixos
domogled has joined #nixos
vidbina has joined #nixos
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59081 → HylaFAX: fix ModemGroup, also minor metadata updates → https://git.io/fjL7H
<{^_^}> [nixpkgs] @Infinisil pushed 4 commits to master: https://git.io/fjmeg
gerschtli has quit [Quit: WeeChat 2.2]
gerschtli has joined #nixos
periklis has joined #nixos
ddellacosta has joined #nixos
<emilsp> Given that I've followed https://nixos.org/nixpkgs/manual/#using-the-rust-nightlies-overlay to add an overlay to my user, how can I specify the package that's the output of https://nixos.org/nixpkgs/manual/#using-the-rust-nightlies-overlay as a needed package in my deriviation?
<emilsp> the second link was meant to actually be "nixos.latest.rustChannels.stable.rust"
aswanson has joined #nixos
<hlolli> Is there a way to only rerun the installPhase for debug purposes. I've never heard of it, but someimes I just need to know if I wrote the filenames correctly which I'm copying over withpout needing to wait 15 mins.
Ariakenom has quit [Ping timeout: 246 seconds]
linarcx has quit [Ping timeout: 255 seconds]
<ggpeti> hi gerschtli we're maintainers.nix neighbors
alex``6 has quit [Ping timeout: 264 seconds]
ng0 has joined #nixos
linarcx has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #58932 → ocamlPackages.zarith: 1.7 -> 1.8 → https://git.io/fjI1P
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjmex
<PirBoazo> After upgrade link on python are broken
Tucky has quit [Quit: WeeChat 2.2]
psalm has quit [Read error: Connection reset by peer]
psalm has joined #nixos
ggpeti has quit [Ping timeout: 264 seconds]
<jabranham> So SSH_AUTH_SOCK gets set but somehow isn't getting passed to my WM which gets started in ~/.xsession...
<jabranham> despite all of that working in 18.09. And I can't figure out what changed. :-/
shibboleth has joined #nixos
psalm has quit [Remote host closed the connection]
psalm has joined #nixos
ryantrinkle has joined #nixos
<ryantrinkle> hi everyone! we (Obsidian Systems) are looking for Nix and Haskell devs again; please email us at jobs@obsidian.systems if you're interested!
<{^_^}> [nixpkgs] @xeji merged pull request #58605 → postgresqlPackages.postgis: 2.5.1 -> 2.5.2 → https://git.io/fjk2L
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « postgresqlPackages.postgis: 2.5.1 -> 2.5.2 (#58605) »: https://git.io/fjmvl
PirBoazo has quit [Quit: Bonne Fin de Journée]
linarcx has quit [Ping timeout: 264 seconds]
linarcx has joined #nixos
fuzzy-id has joined #nixos
omarthecat has joined #nixos
<omarthecat> Hi. I'm working with Nix to install Obsidian and when I run `nix-env`, I get this error:
<omarthecat> file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
<omarthecat> Where am I supposed to find the nixpkgs file?
drakonis_ has joined #nixos
dm9 has joined #nixos
Notkea has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 264 seconds]
parsnip has quit [Quit: Connection closed for inactivity]
PirBoazo has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1128 → Show physical for ebs volumes and allow assigning existing volume to the resource → https://git.io/fjmvi
endformationage has joined #nixos
T_S_ has joined #nixos
Glider_IRC has joined #nixos
Notkea has joined #nixos
erasmus has joined #nixos
Notkea has quit [Remote host closed the connection]
Ariakenom has joined #nixos
iyzsong has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Lucus16 opened pull request #59358 → Multiple buildkite agent support → https://git.io/fjmvM
<enteee> I always struggle when i try to install new software: reason beeing that i never know if i should just add the package to a packages config (user/system) or if there is some sort of enable option somewhere which will then add the package. Is this just me or do others struggle with this as well?
Notkea has joined #nixos
Notkea has quit [Remote host closed the connection]
alex``6 has joined #nixos
<manveru> enteee: my steps are usually: check configuration.nix for the name, otherwise check `nix search`, if it's also not there check nixpkgs...
<manveru> would be nice if that was simpler :)
<manveru> but in the majority of cases (like 90%) there's nothing to do other than adding it to systemPackages
<jabranham> for the SSH_AUTH_SOCK stuff, I wrote up what I've found so far here in #59360, will have to return to it later.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/59360 (by jabranham, 6 minutes ago, open): Environment variables and ~/.xsession regression on 19.03
<enteee> manveru: yeah I do this in a smiliar way. I just find in confusing because there are so many implicit ways how packages can get installed, but it is super hard to keep track about all of them..
PirBoazo has left #nixos [#nixos]
<{^_^}> [nixpkgs] @bricewge opened pull request #59361 → tomb: add sudo to buildInputs → https://git.io/fjmfv
<enteee> so yes I normally just keep adding the to .packages as well, in the user scope most of the time though.
Ariakenom has quit [Read error: Connection reset by peer]
[Leary] has joined #nixos
asymmetric has joined #nixos
Lears has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #54906 → epson-escpr2: init at 1.0.29 → https://git.io/fh1u7
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjmfk
gal_bolle has quit [Remote host closed the connection]
arjen-jonathan has quit [Ping timeout: 255 seconds]
mnoronha has joined #nixos
<mnoronha> Is there any way I can delete a shell (environment?)
<gchristensen> what does that mean?
<mnoronha> Nothing, most likely. New as of yesterday, sorry. I just ran nix-shell with some config file, and even after changing on of the dependencies it seems to be fetching the same version as before (if I rerun `nix-shell _.nix)
Notkea has joined #nixos
<mnoronha> I'm looking at the nix pills now, just skimmed the manual yesterday
TonyTheL1on has joined #nixos
mthst has quit [Quit: disconnect]
ddellacosta has quit [Ping timeout: 252 seconds]
mthst has joined #nixos
ddellacosta has joined #nixos
cosmo_ has joined #nixos
<cosmo_> H
<cosmo_> Hello
nspin has joined #nixos
jfroche has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<cosmo_> I'm having a reccurrent issue which is that, on a `nixos-rebuild switch` instance,
<cosmo_> packages that I use a lot like Python `scipy` get entirely recompiled
<cosmo_> and it takes a huge amount of time ahah
drakonis has joined #nixos
TonyTheL1on has quit [Quit: leaving]
<cosmo_> Is there a good practice to "froze" a part of my system so that it doesnt get affected by the upgrade?
TonyTheLion has joined #nixos
<cosmo_> Sorry I meant nixos-rebuild switch --upgrade`
Ariakenom has joined #nixos
<infinisil> cosmo_: Are you using python36.scipy?
<cosmo_> Yes!
<infinisil> Use python3.scipy instead
<cosmo_> it is more stable?
<infinisil> Which is = python37.scipy
knupfer has joined #nixos
<infinisil> And only the default python 3 version gets cached by hydra
<cosmo_> haa!! it makes a lot of sense...
<infinisil> :)
<cosmo_> thank you :)!
<infinisil> Np
<cosmo_> is there an easy way to know which packages are cached by hydra?
drakonis_ has quit [Ping timeout: 252 seconds]
fendor has quit [Ping timeout: 252 seconds]
b1000101 has quit [Ping timeout: 256 seconds]
<mog> given we just did the release and have lots looking at manual would appreciate if we could merge and ship this https://github.com/NixOS/nixpkgs/pull/59349
<{^_^}> #59349 (by mogorman, 4 hours ago, open): nixos/manual: update 17.03 -> 19.03 in upgrading section
petrkr has quit [Remote host closed the connection]
<infinisil> cosmo_: You can search for packages on that page, and can tell you the build status on the master branch for it (~ nixpkgs-unstable)
nspin has quit [Client Quit]
<cosmo_> On a separate issue, python packages seem to be ignoring the option "doCheck=false" and "doInstallCheck=false" is this wanted?
<cosmo_> infinisil, thank you very much!
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #59362 → ympd service: Allow webPort to be int → https://git.io/fjmfz
<infinisil> cosmo_: How are you setting these options?
<cosmo_> for instance: ( python36Packages.numpy.overrideAttrs (oldAttrs: { doCheck=false; doInstallCheck=false; }) )
computer1 has joined #nixos
<infinisil> I think that should work, but it only sets doCheck to false for this package, not its dependencies
<infinisil> Or does it run the tests for numpy itself?
<cosmo_> Hm that's a good point, I think my issue is that it is doing the checks of its dependencies
<cosmo_> is there a recursive way to avoid tests?
<infinisil> There should be yeah, by overriding buildPythonPackage itself to default `doCheck` to false
<cosmo_> Ok great!! Thank you for your help
<cosmo_> much appreciated :)
<infinisil> :)
<jabranham> Am I doing something wrong to test changes to a nixos module locally? I checked out nixpkgs, created a branch, committed the change, then did nixos-rebuild switch -I /path/to/nixpkgs. But my changes don't seem to get applied.
<gchristensen> -I nixpkgs=/path/to/...
<jabranham> gchristensen: oh, turns out I'm just blind. Thanks!
<gchristensen> no worries! :)
dm9 has quit [Quit: WeeChat 2.4]
<{^_^}> [nix-pills] @mtn opened pull request #111 → Fix erroneous link in pill 2 → https://git.io/fjmf1
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/28c14967a65 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Infinisil pushed commit from @shosti to release-19.03 « nixos/gnupg: set SSH_AUTH_SOCK in non-interactive settings »: https://git.io/fjmfM
<{^_^}> [nix-pills] @grahamc merged pull request #111 → Fix erroneous link in pill 2 → https://git.io/fjmf1
<{^_^}> [nix-pills] @grahamc pushed 2 commits to master: https://git.io/fjmf9
alex`` has joined #nixos
erasmas has joined #nixos
pxc has joined #nixos
random_yanek has quit [Quit: random_yanek]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
pie_ has quit [Ping timeout: 255 seconds]
random_yanek has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #59314 → chez: 9.5.1 -> 9.5.2 → https://git.io/fjqiI
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « chez: 9.5.1 -> 9.5.2 »: https://git.io/fjmJe
shibboleth has quit [Quit: shibboleth]
Ariakenom has quit [Quit: Leaving]
omarthecat has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @grahamc merged pull request #59349 → nixos/manual: update 17.03 -> 19.03 in upgrading section → https://git.io/fjqpT
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjmJJ
erasmus has quit [Read error: Connection reset by peer]
o1lo01ol_ has joined #nixos
babic has quit [Ping timeout: 252 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
erasmus has joined #nixos
ub has quit [Quit: Leaving]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<aanderse-work> does fetchurl not like spaces in the url?
<gchristensen> you probabl yneed to urlencode it by hand
drakonis_ has joined #nixos
<aanderse-work> nope, was just me missing a "v" character as in "v3.6blahblah"
<aanderse-work> fetchurl is fine
<aanderse-work> sorry. thanks :)
drakonis has quit [Ping timeout: 252 seconds]
computer1 has quit [Quit: leaving]
<{^_^}> [nixpkgs] @timokau opened pull request #59363 → python.pkgs.{tensorflow-probability,dm-sonnet,graph_nets}: init → https://git.io/fjmJR
mthst has quit [Quit: the bouncer died]
mthst has joined #nixos
<psyanticy> any body still maintaining nixops (ec2) aside from amine chikhaoui ?
drakonis has joined #nixos
periklis has quit [Ping timeout: 264 seconds]
asymmetric has quit [Ping timeout: 264 seconds]
<emilsp> hmm, what'd be the way to get newer versions of packages?
<{^_^}> [nixpkgs] @mogorman opened pull request #59365 → Merge pull request #59349 from mogorman/manual-upgrading → https://git.io/fjmJg
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ivan opened pull request #59366 → rustc: 1.33.0 -> 1.34.0 → https://git.io/fjmJV
drakonis has quit [Ping timeout: 250 seconds]
tboston_ has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc merged pull request #59365 → (backport) nixos/manual: update 17.03 -> 19.03 in upgrading section → https://git.io/fjmJg
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-19.03: https://git.io/fjmJP
rcshm has joined #nixos
<mog> thank you gchristensen , does the manual get regenerated normally or is it a "manual" process
<gchristensen> every 20min :)
<mog> awesome
<gchristensen> it happens when the channel bumps
stepcut has joined #nixos
<stepcut> For some reason, xelatex can no longer see the Nimbus font even though I have the nimbus15 package listed in my texlive.combine. Pretty sure this worked a year or two ago
<stepcut> the fonts are available in texmf, but xelatex can't find them. Also, fc-list does not show them. I am wondering if xelatex is only seeing fonts that are available via fontspec, and if so, how would I convince fontspec to see them..
<stepcut> for normal fonts, people use makeFontsConf -- but I can't pass texlive.nimbus15 as an argument to that function..
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomberek has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
fuzzy-id has quit [Ping timeout: 264 seconds]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 264 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has joined #nixos
swerlk has quit [Remote host closed the connection]
vidbina has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos
freeman42x has joined #nixos
PC__ has quit [Remote host closed the connection]
_h3x has joined #nixos
<infinisil> Only 1182 open PRs? r-ryantm must be on vacation :P
alex``` has joined #nixos
alex``64 has joined #nixos
slack1256 has joined #nixos
sigmundv has quit [Ping timeout: 264 seconds]
mojjo has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
alex``6 has quit [Ping timeout: 264 seconds]
<mojjo> `VBoxManage startvm "somevm"` -> alert 'kernel driver not accesible' (it works though when starting via the VirtualBox UI) .. any ideas how to fix this on nixos?
knupfer has quit [Ping timeout: 252 seconds]
alex``649 has joined #nixos
alex``` has quit [Ping timeout: 246 seconds]
MichaelRaskin has joined #nixos
alex``64 has quit [Ping timeout: 250 seconds]
mojjo has quit [Ping timeout: 264 seconds]
alex``` has joined #nixos
<{^_^}> [nixpkgs] @NickHu closed pull request #46596 → unclutter-xfixes: make systemd user unit enabled when module is → https://git.io/fA640
fragamus has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #59367 → nixos/hostapd: escape interface names for hostapd → https://git.io/fjmUC
rycee has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59340 → buck: 2017.10.01.01 -> 2019.01.10.01 → https://git.io/fjq5t
rsa has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fjmUl
rsa has joined #nixos
ivan has quit [Quit: lp0 on fire]
dustinm- has quit [Quit: Leaving]
rycee has quit [Quit: leaving]
dustinm has joined #nixos
Ariakenom has joined #nixos
zupo has joined #nixos
ivan has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @suhr opened pull request #59368 → nixos/tox-node: init → https://git.io/fjmU0
_Geeko_ has joined #nixos
cosmo_ has quit [Quit: Leaving]
mconstant has joined #nixos
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
o1lo01ol1o has joined #nixos
pxc has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 252 seconds]
o1lo01ol1o has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59338 → llvm8: support c++ in cross case → https://git.io/fjq74
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fjmUh
<{^_^}> [nixpkgs] @Ekleog opened pull request #59369 → lib: improve the implementation of the unique function → https://git.io/fjmTe
zupo has joined #nixos
mconstant has quit [Ping timeout: 252 seconds]
fragamus has quit [Read error: Connection reset by peer]
_h3x has quit [Ping timeout: 264 seconds]
zupo has quit [Client Quit]
<srhb> Is there any Nix branch (experimental even) where you can run multiple builds without the deadlock avoidance causing one of the concurrent builds to fail spuriously?
orivej has quit [Ping timeout: 252 seconds]
slack1256 has quit [Ping timeout: 268 seconds]
rauno has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @borisbabic to release-19.03 « terminator: fix missing gobject bindings »: https://git.io/fjmT2
lejonet has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
mmlb977450853050 has quit [Ping timeout: 250 seconds]
matix has joined #nixos
thePirateKing has joined #nixos
<{^_^}> [nixpkgs] @hlolli opened pull request #59371 → graalvm: rc8->rc15 → https://git.io/fjmTN
hlolli has quit [Remote host closed the connection]
<mthst> what is the convention for putting secrets into configuration.nix?
<mthst> is there a way to fetch them from `pass`?
<tilpner> The convention is to not put them into your config
<tilpner> Instead refer to paths of files where the password can be put with other means
<thePirateKing> you can have a second file like private.nix
<thePirateKing> and import them
<thePirateKing> but hide them from github with a good gitignore
<tilpner> But note that this might leak your password into the world-readable store
<{^_^}> [nixpkgs] @markuskowa merged pull request #59362 → ympd service: Allow webPort to be int → https://git.io/fjmfz
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjmTh
<thePirateKing> oh really?
<thePirateKing> better change things then :)
<tilpner> Depending on where the value is used, yes
<thePirateKing> then time for a switch for me
<mthst> world-readable store? i hope you mean on my file system
<tilpner> Of course. But an otherwise-unprivileged process still has no business reading your passwords
<tilpner> (And it gets worse when you serve the local store as a cache to other machines, perhaps publicly)
vidbina has quit [Ping timeout: 240 seconds]
<mthst> what other means are you thinking of?
linarcx has quit [Quit: WeeChat 2.4]
<tilpner> I don't understand the question
<mthst> "refer to paths of files where the password can be put with other means"
linarcx has joined #nixos
rjmill has quit [Ping timeout: 250 seconds]
_h3x has joined #nixos
rjmill has joined #nixos
<tilpner> Instead of putting the password into the config directly, you tell a service "here's where you find the password", and then you go and create a file at that location with the right permissions and content
hlolli has joined #nixos
PC_ has joined #nixos
_h3x has quit [Read error: Connection reset by peer]
PC_ has quit [Read error: Connection reset by peer]
PC_ has joined #nixos
worldofpeace has joined #nixos
fusion809 has joined #nixos
<stepcut_> I have `enableGhostscriptFonts` enabled, and `fc-cache -r -v` reports that it found 52 fonts in the ghostscript font directory. But then fc-list doesn't show them :(
<{^_^}> [nixpkgs] @rycee merged pull request #59153 → Emacs packages update: 2019-04-08 → https://git.io/fjtWb
<{^_^}> [nixpkgs] @rycee pushed 4 commits to master: https://git.io/fjmkc
pxc has joined #nixos
<mthst> tilpner: i see. thanks.
<tilpner> mthst: This is only the simplest scheme. Some people automate the creation of those files (using e.g. nixops (yes, even for the local machine)). I've also seen someone use pass, but I don't remember who
<mog> is there something like nixos-rebuild dry-build but it actually downloads everything?
<mog> i want to upgrade to 19.03 but i just want to download everything first then do the upgrade
slyfox has joined #nixos
<tilpner> nixos-rebuild build?
<tilpner> It builds too, but doesn't activate any of the changes
<mog> ya i dont want to build as i know it will build some kernel stuff that will take a long time
<tilpner> You can build just the systemPackages/user packages if you want
vidbina has joined #nixos
<arianvp> Try this:. nix-shell <Nixpkgs/NixOS>
<arianvp> (without the caps. My phone autocorrects)
<arianvp> Well mog 'build' doesn't actually build everything. It downloads whatever is already built by the cache.
<tilpner> AFAICT mog wants to avoid all building
<mog> yes i can build later
<gchristensen> -j 0
<arianvp> Ah smart
<mog> i just want to download it all first then build
lsyoyom has quit [Quit: WeeChat 2.4]
<arianvp> gchristensen: ^
<gchristensen> :)
lsyoyom has joined #nixos
<mog> so if i pass -j0 it just will fail to build? because pool is empty
<gchristensen> yea
<gchristensen> but it'll substitute as much as possible
* mog tries
<{^_^}> [nixpkgs] @jtojnar opened pull request #59372 → maintainers/scripts/update.nix: Add support for auto-commiting changes → https://git.io/fjmku
kleisli has joined #nixos
arjen-jonathan has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> Hi! I'm trying to install libsodium. My compiler sees that libsodium is available but can't find a sodium.h. I think maybe this is because I need to install a dev flavor?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/628ba24e77b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<selfsymmetric-mu> I notice that there are two `outputs` specified. What do they mean? Is there a way I can select `dev` for installation?
<tilpner> > libsodium.dev
<{^_^}> "<derivation /nix/store/d91kx71ibw6agb5y1qq4gxw9h03sf0r8-libsodium-1.0.16.drv>"
<simpson> > libsodium.dev
<{^_^}> "<derivation /nix/store/d91kx71ibw6agb5y1qq4gxw9h03sf0r8-libsodium-1.0.16.drv>"
<simpson> > libsodium
<{^_^}> "<derivation /nix/store/d91kx71ibw6agb5y1qq4gxw9h03sf0r8-libsodium-1.0.16.drv>"
<simpson> Looks like the dev output is default, even.
<tilpner> > libsodium.outputs
<{^_^}> [ "out" "dev" "debug" ]
<tilpner> Huh
<tilpner> I was told the first output would be the default
<simpson> selfsymmetric-mu: Instead of trying to "install" libsodium, make it available during your build. What are you building?
<tilpner> > libsodium.out
<{^_^}> "<derivation /nix/store/d91kx71ibw6agb5y1qq4gxw9h03sf0r8-libsodium-1.0.16.drv>"
<selfsymmetric-mu> I am building a Haskell project with Stack.
<tilpner> $dev and $out are the same here?
<selfsymmetric-mu> I provided `--extra-lib-dirs=/nix/store/60pn8jnvbb3n70337jvdfkdn2zx7f331-libsodium-1.0.16/lib` to the build.
<selfsymmetric-mu> Without that flag I get simply: `* Missing (or bad) C library: sodium`.
<{^_^}> [nixpkgs] @timokau merged pull request #58303 → libofx: 0.9.13 -> 0.9.14 → https://git.io/fjUOf
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « libofx: 0.9.13 -> 0.9.14 (#58303) »: https://git.io/fjmki
aramiscd has quit [Quit: WeeChat 1.9.1]
<mog> seems to be working gchristensen thanks
<gchristensen> cool :)
civodul has joined #nixos
<selfsymmetric-mu> I don't think I'm getting the header files.
<selfsymmetric-mu> On other OS's I'd just install libsodium-dev.
<selfsymmetric-mu> How do I do that here?
PC__ has joined #nixos
<selfsymmetric-mu> I mean sheesh, I can just clone the repo and pass the library directory. I can't find any references in nixpkgs search.
i1nfusion has quit [Remote host closed the connection]
<gchristensen> > pkgs.libsodium.dev
<{^_^}> "<derivation /nix/store/d91kx71ibw6agb5y1qq4gxw9h03sf0r8-libsodium-1.0.16.drv>"
<gchristensen> ^ probably want that
PC_ has quit [Ping timeout: 250 seconds]
<tilpner> Yes, it has include/sodium.h
<selfsymmetric-mu> Ohhh, that's how it works?
<selfsymmetric-mu> And if you don't provide anything it's `libsodium.out`?
<selfsymmetric-mu> I gotta admit I totally failed at finding any documentation for that behavior.
<selfsymmetric-mu> Except for a random maillist thread that petered out.
<selfsymmetric-mu> Let's give it a shot...
<dsx> Sooo.... 19.03 is out, eh?
<dsx> Congratulations everyone!
<gchristensen> yay!
<{^_^}> [nixpkgs] @timokau closed pull request #56911 → python.pkgs.pplpy: init at 0.8.4 → https://git.io/fhpeW
<jabranham> 🎆
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58597 → riot-desktop: use own yarn2nix → https://git.io/fjkEb
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjmky
Olgierd has quit [Quit: WeeChat 1.9.1]
boxscapeR has joined #nixos
Olgierd has joined #nixos
Olgierd has joined #nixos
Olgierd has quit [Changing host]
rardiol1 has joined #nixos
<selfsymmetric-mu> Okay so I installed libsodium.dev. How do I know where it is in `/nix/store`?
<selfsymmetric-mu> Normally I'd just check the date but they're all 1969.
<selfsymmetric-mu> I checked all the ones that are there but none of them have header files.
<tilpner> You're supposed to use this in a nix-shell or a derivation you're writing
<tilpner> ,libraries
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
thePirateKing has quit [Remote host closed the connection]
<selfsymmetric-mu> Okay I'll try that.
jfroche has joined #nixos
<boxscapeR> Is there an easy way to build a particular package from a local copy of the nixpkgs repository? What I've been doing is copy the particular default.nix file of that package and then replace the necessary inputs with the corresponding libraries manually, but that's a bit tedious
<tilpner> boxscapeR: Navigate to your repo, nix-build -A foo
<boxscapeR> ah, thank you
<tilpner> Where foo is the package you want to build
<boxscapeR> okay, works perfectly, thanks
work_ has joined #nixos
clr_ has quit [Quit: Leaving]
clr_ has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #59373 → playonlinux: mark as broken → https://git.io/fjmk7
<rardiol1> How do I force nixos to load a kernel module when booting? I tried boot.kernelModules
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to staging « lv2: 1.14.0 -> 1.16.0 (#57309) »: https://git.io/fjmk5
<{^_^}> [nixpkgs] @timokau merged pull request #57309 → lv2: 1.14.0 -> 1.16.0 → https://git.io/fhhjd
clr_ has quit [Remote host closed the connection]
matix has quit [Quit: :q!]
mconstant has joined #nixos
<selfsymmetric-mu> Okay so that didn't work. I made a shell.nix with `buildInputs = [ pkgs.libsodium.dev ];`. No dice. Now it says `* Missing (or bad) C library: sodium`.
<selfsymmetric-mu> Pretty ridiculous situation to be in. This isn't some crazy idiosyncratic usecase.
<selfsymmetric-mu> I just want a header file.
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aa3e6bfe59e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
random_yanek has quit [Ping timeout: 268 seconds]
Anton-Latukha has joined #nixos
rjmill has quit [Ping timeout: 250 seconds]
pie_ has joined #nixos
<selfsymmetric-mu> I don't even know how to find the location of the installation.
erasmus has quit [Quit: END-AUMF]
<ajs124> selfsymmetric-mu, I did just that and can compile things fine. Where are you getting that output from? A configure script?
<selfsymmetric-mu> Really? Yeah, I'm getting it from `stack`.
<selfsymmetric-mu> And I'm running it using `nix-shell --run`.
PC__ has quit [Ping timeout: 255 seconds]
dnlkrgr has joined #nixos
mmlb977450853050 has joined #nixos
<ajs124> with make. stack is probably different.
<selfsymmetric-mu> It could be Stack's fault. Stack on NixOS appears to be terribly designed. Hey, let's take a language for explicit declarative configuration and then sink a bunch of no-opt-out implicit hooks if you happen to be compiling on NixOS. It is infuriating. I have no idea why anyone would built it the way they have.
<selfsymmetric-mu> You can't even use `--no-nix` with an explicit GHC. You have to do some kind of undocumented magic. The Stack manual talks about Nix but it doesn't really help.
<boxscapeR> fwiw as far as I'm aware people typically use haskell on nixos without stack
drakonis has joined #nixos
<selfsymmetric-mu> Yeah, I hear you.
<selfsymmetric-mu> But sometimes you gotta build a Stack project.
<selfsymmetric-mu> So basically I'm crippled on this operating system. I'd like to keep it going but if I have to do nonsense like this every week then I'll be forced to go back to Arch.
random_yanek has joined #nixos
<selfsymmetric-mu> When I install libraries in a nix-shell, where are the library files installed?
Anton-Latukha has quit [Ping timeout: 264 seconds]
mconstant has quit [Ping timeout: 250 seconds]
<selfsymmetric-mu> Because I can't find them in `/nix/store`.
<selfsymmetric-mu> Should I make a bug?
<mdash> selfsymmetric-mu: by install do you mean `nix-env -i`?
<selfsymmetric-mu> No, I have them in a `buildInputs`.
<ajs124> selfsymmetric-mu, which libraries? How did you search the nix store?
o1lo01ol1o has quit [Remote host closed the connection]
<selfsymmetric-mu> I am using `nix-shell --run`.
<gchristensen> the libraries are in /nix/store/..../
tomberek has quit [Ping timeout: 250 seconds]
<mdash> selfsymmetric-mu: OK. and does `echo $buildInputs` show them?
<selfsymmetric-mu> I went to `/nix/store` and I opened all the `libsodium` directories and none of them had header files in them.
<selfsymmetric-mu> mdash: Hero! That's exactly what I needed, thank you.
<selfsymmetric-mu> Apparently I missed one.
<ajs124> /nix/store/apgyqj2sj1dv3kzp1v4mdziq669wwwd7-libsodium-1.0.16-dev/include/sodium.h
<selfsymmetric-mu> Let's try this now. I have a good feeling about passing them explicitly from within the shell.
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/386a21d3702 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
ym555 has joined #nixos
<boxscapeR> selfsymmetric-mu btw if the haskell project has a package.yaml I think you should usually be able to build it using hpack together with haskellPackages.developPackage even if it's a stack project
<boxscapeR> (or if you have a .cabal file)
<selfsymmetric-mu> Hmm, yeah, that might be worth it. Would be nice to get a more independent solution.
arjen-jonathan has quit [Ping timeout: 264 seconds]
<selfsymmetric-mu> But I don't want to diverge from the upstream build process.
<selfsymmetric-mu> I passed `--extra-lib-dirs=/nix/store/n6cnnyj7fq8rislwq1557f00ylpvbk9a-libsodium-1.0.16-dev/lib --extra-include-dirs=/nix/store/n6cnnyj7fq8rislwq1557f00ylpvbk9a-libsodium-1.0.16-dev/include`. But it didn't work.
o1lo01ol1o has joined #nixos
<selfsymmetric-mu> same error
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58595 → yarn2nix: move to aliases.nix → https://git.io/fjkEO
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjmIT
<selfsymmetric-mu> headdesk
rjmill has joined #nixos
clr_ has joined #nixos
<selfsymmetric-mu> Ugh.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59350 → [19.03] gvfs: 1.38.1 -> 1.38.2 → https://git.io/fjqpn
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.03: https://git.io/fjmIq
erasmus has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
domogled has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<ajs124> Does anyone here have experience with packaging scons projects? I'm trying to build one right now and it's doing the strangest things. Like, dependency detection fails, because it tries to link test files without "-lc". wat?
sigmundv has joined #nixos
<{^_^}> #59374 (by matthew-piziak, 8 seconds ago, open): Cannot use Stack and libsodium
domogled has joined #nixos
mnoronha has quit [Ping timeout: 256 seconds]
rembo10 has quit [Quit: ZNC 1.7.2 - https://znc.in]
rardiol1 has left #nixos [#nixos]
rembo10 has joined #nixos
_kwstas has joined #nixos
Melkor333 has joined #nixos
vidbina has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #59375 → aliases: add throw for font-droid → https://git.io/fjmIw
domogled has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
<{^_^}> [nix] @edolstra pushed to unique « Add builtins.unique [WIP] »: https://git.io/fjmIr
<{^_^}> [nixpkgs] @aanderse pushed commit from Aaron Andersen to automysqlbackup « nixos/automysqlbackup: init at 3.0_rc6 »: https://git.io/fjmIo
_h3x has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #59376 → nixos/automysqlbackup: init at 3.0_rc6 → https://git.io/fjmIX
worldofpeace has quit [Ping timeout: 252 seconds]
slack1256 has joined #nixos
<pie_> Im stuck on "waiting for locks or build slots..."
<myme> It seems like I'm having some incorrect locale/language setup on my installation, causing Haskell Stack to default localeEncoding to "ASCII". Anybody familiar with this?
<pie_> any way to check whats tying up build slots?#
<pie_> ah wait a minute i think i found it
jabranham has joined #nixos
srid has quit [Read error: Connection reset by peer]
srid has joined #nixos
<{^_^}> [nixpkgs] @aanderse pushed commit from Aaron Andersen to automysqlbackup « nixos/automysqlbackup: init at 3.0_rc6 »: https://git.io/fjmIH
<pie_> well i have some processes running under nixbld1 that i cant kill...
aanderse-work has quit []
<Melkor333> I just updated my ASUS BIOS Firmware and now it doesn't support EFI boot anymore.. And I installed my Nixos with systemd-boot... wtf?
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
tboston_ has quit [Ping timeout: 250 seconds]
<Melkor333> I'm so lucky I had a nixos installer USB lying around to install grub
<{^_^}> [nixpkgs] @aanderse closed pull request #59376 → nixos/automysqlbackup: init at 3.0_rc6 → https://git.io/fjmIX
<{^_^}> [nixpkgs] @aanderse pushed 0 commits to automysqlbackup: https://git.io/fjmI5
<pie_> I cant seem to kill 19349 https://bpaste.net/show/b5a29114901e
ng0 has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
orivej has joined #nixos
worldofpeace has joined #nixos
<samueldr> Melkor333: I've seen some firmrmware updates completely reset the settings, including boot entries, on update; such a bad user experience :/
wolfman154 has joined #nixos
<samueldr> Melkor333: on the nixos installation media there is also a rEFInd option, which can be used to boot any EFI program found on the system; used it when I updated the firmware on my new machine
<Melkor333> yeah bios update on a running system is a real pain :(
<samueldr> (though it will require a nixos-rebuild with --install-bootloader to re-configure the system)
<Melkor333> oh thanks for that info! Saw the entry and thought it's something different
ng0 has joined #nixos
jfroche has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<samueldr> on my machines I generally install rEFInd at the fallback bootloader location so that whenever bad firmwares lose the boot options I'm still able to boot grub, and generally don't configure the boot options through firmware boot options anymore :/
<mdash> this is also why i serve netboot.xyz from my router with PXE
<Melkor333> yeah it's really way too bad experience..
<samueldr> I added rEFInd to the installer image because of bad implementations :/ it's not like it's the only way, I have this laptop which keeps settings just right on upgrades!
kleisli has quit [Ping timeout: 264 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<samueldr> (well, did when the OEM were still doing updates, for however short that time was...)
psalm_ has joined #nixos
<Melkor333> I thought about setting up a netboot, but I don't want to mess with the router from the internet provider. They also tend to reset the router which is extremely annoying
<mdash> nixos is available via netboot.xyz now as well, i forgot about that
psalm_ has quit [Remote host closed the connection]
<Melkor333> And I'm too lazy to buy and set up my own router :D
winem_ has joined #nixos
psalm has quit [Ping timeout: 252 seconds]
jfroche has joined #nixos
tilpner has quit [Remote host closed the connection]
Nikita has joined #nixos
nikivi has quit [Quit: ZNC is awesome]
Nikita is now known as Guest8468
tilpner has joined #nixos
stepcut_ has quit [Remote host closed the connection]
Guest8468 is now known as nikivi
<wolfman154> Hello guys I finally got my custom keyboard layout working with home-manager, my key map is a sub module to my global config (configuration.nix) I was wondering if setting up a custom keyboard layout directly in my local user environment home-manager(or as a sub module to it) is similar? If you guys have set up a key mapping directly in your local user environment (home-manager)could you paste bin
<wolfman154> it so I can take a look?
stepcut has joined #nixos
jfroche has quit [Client Quit]
knupfer has quit [Ping timeout: 264 seconds]
arjen-jonathan has joined #nixos
psalm has joined #nixos
stepcut has quit [Ping timeout: 250 seconds]
knupfer has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #59281 → hpl: init at 2.3 → https://git.io/fjq8C
rjmill has quit [Ping timeout: 240 seconds]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjmLn
markus1189 has quit [Ping timeout: 246 seconds]
markus1189 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
pie__ has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
fendor has joined #nixos
chrisBF has joined #nixos
chrisBF has left #nixos [#nixos]
arjen-jonathan has quit [Ping timeout: 250 seconds]
fendor_ has joined #nixos
ixxie has joined #nixos
silver has quit [Ping timeout: 268 seconds]
silver has joined #nixos
tboston_ has joined #nixos
<averell> nixos is on netboot.xyz? that is great. now if only they had a http-only chainloader
<wolfman154> 15:19 wolfman154: Hello guys I finally got my custom keyboard layout working with home-manager, my key map is a sub module to my global config (configuration.nix) I was wondering if setting up a custom keyboard layout directly in my local user environment home-manager(or as a sub module to it) is similar? If you guys have set up a key mapping directly in your local user environment (home-manager)c
<wolfman154> ould you paste bin
<{^_^}> [nixpkgs] @Ma27 merged pull request #59194 → codimd: js-sequence-diagrams: use git source rather than the NPM tarball → https://git.io/fjtod
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjmLz
<Melkor333> i just added 'services.xserver.videoDrivers = [ "nvidiaLegacy390" ];' and get the error 'Hunk #1 FAILED at 226. 1 out of 1 hunk FAILED -- saving rejects to file kernel/nvidia-drm/nvidia-drm-connector.c.rej
tboston_ has quit [Ping timeout: 255 seconds]
slack1256 has quit [Remote host closed the connection]
<Melkor333> where is this .rej file stored exactly? (i did nixos-rebuild switch --upgrade)
Thra11 has quit [Ping timeout: 240 seconds]
fendor_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.03 « codimd: js-sequence-diagrams: use git source rather than the NPM tarball »: https://git.io/fjmL7
__monty__ has quit [Quit: leaving]
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #59373 → playonlinux: mark as broken → https://git.io/fjmk7
<{^_^}> [nixpkgs] @timokau pushed to master « playonlinux: mark as broken (#59373) »: https://git.io/fjmLF
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #57918 → alsa-{oss,tools}: 1.1.6 -> 1.1.8 → https://git.io/fjfmF
<{^_^}> [nixpkgs] @veprbl pushed 5 commits to master: https://git.io/fjmtf
<wolfman154> Could you guys answer a question I have about Haskell and nix?
iclanzan has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
goibhniu has quit [Ping timeout: 250 seconds]
<iclanzan> I am trying to upgrade to NixOS 19.03 from 18.09 and I get an error about `hfmt` being marked as broken. Anyone here usng Haskell and knows how to fix it?
kleisli has joined #nixos
<wolfman154> How does nix work with cabal and stack, I’m confused?
T_S_ has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<iclanzan> wolfman154: I am using Haskell with nix without cabal or stack.
<qyliss> I think wolfman154 was asking their own question
_Geeko_ has quit [Remote host closed the connection]
<qyliss> > haskellPackages.hfmt
<qyliss> > haskellPackages.hfmt.metadata.broken
<{^_^}> "<derivation /nix/store/iqrrpyp65g5s8amx94n69jyf6w8i9dqg-hfmt-0.2.3.1.drv>"
<{^_^}> attribute 'metadata' missing, at (string):243:1
<wolfman154> iclanzan: so I can use nix for all my Haskell programming without having to use cabal or stack?
<infinisil> > haskellPackages.hfmt.meta.broken
<{^_^}> true
<qyliss> oops
<infinisil> iclanzan: Build the package with allowBroken = true; to see what error you get
Rusty1 has quit [Quit: Konversation terminated!]
<wolfman154> so I can use nix for all my Haskell coding without having to use cabal or stack?
<benkolera> wolfman154: You can, but it's not ideal. I find it nicer to have cabal-install and ghcid around so that I can run tests and compilation incrementally while I dev. You don't want to have to nix-build every time to check your code changes. :) So for building for deployment I'll nix-build, but while devving I'll have a ghcid inside a nix-shell recompiling as I go and running tests.
<benkolera> But you definitely get to a place where nix is completely managing your package sets and you never need to "cabal install <thing>" anything.
<benkolera> At that point you are using the cabal command for it's 'cabal new-repl / new-test' commands.
<benkolera> There are ways to make the cabal command automatically go looking for a nix shell, but I've never played with them. https://www.haskell.org/cabal/users-guide/nix-integration.html
pi3r has joined #nixos
<wolfman154> benkolera: thanks, that’s good to know, I guess I’ll use nix with cabal, I don’t think I need stack.
<benkolera> Yeah, I wouldn't bother with stack unless you really miss/want intero.
<pi3r> I have found quite an odd new behavior in nixos-19.03 and I wonder if it is an expected change or not.
<wolfman154> benkolera: what’s intero?
erasmus has quit [Quit: END-AUMF]
<benkolera> wolfman154: It's a stack only IDE tool. Works pretty great, but you must use stack.
<pi3r> With the user root and the folder '/tmp', if I launch a nix-shell it would reset pwd to '/'
<pi3r> So basically if I do nix-shell -p ruby in /tmp I have a shell but the current dir is '/' and not '/tmp'.
<wolfman154> benkolera: thanks, I plan on setting up nix with cabal in emacs
ddellacosta has quit [Ping timeout: 252 seconds]
<wolfman154> benkolera++
<{^_^}> benkolera's karma got increased to 1
<pi3r> That only happens in /tmp with the user root and in nixos-19.03 ...
_kwstas has quit [Quit: _kwstas]
<benkolera> wolfman154: https://github.com/jyp/dante is the friendliest thing that glues nix and haskell ide stuff together in emacs.
ddellacosta has joined #nixos
AleXoundOS has joined #nixos
<pi3r> Is this a bug or something related to a "security" feature (or a side effect of one)
Rusty1 has joined #nixos
<wolfman154> pi3r: how’s web development using nixos, I plan on using nixos for free code camp(an online coding boot camp)
<qyliss> pi3r: that certainly doesn't _seem_ right to me
<wolfman154> benkolera: cool I’ll take a look
iclanzan has quit [Ping timeout: 250 seconds]
<wolfman154> how’s web development using nixos, I plan on using nixos for free code camp(an online coding boot camp), is the software easy to install on nixos?
<pi3r> wolfman154: I am not doing any web development so I can't say much about that.
ixxie has quit [Ping timeout: 268 seconds]
<mdash> wolfman154: it's just fine
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<wolfman154> mdash: that sounds good
iclanzan has joined #nixos
<wolfman154> mdash++
<{^_^}> mdash's karma got increased to 3
fendor has quit [Read error: Connection reset by peer]
mconstant has joined #nixos
growpotkin has joined #nixos
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<benkolera> Python on nixos was a bit shaky for me when I was a python developer on running nixos, but that could mainly be that it was my first serious battle with pip and python tooling regardless of OS. :)
npmccallum has quit [Ping timeout: 250 seconds]
ixxie has joined #nixos
mconstant has quit [Ping timeout: 250 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
boxscapeR has quit [Remote host closed the connection]
mconstant has joined #nixos
Melkor333 has quit [Quit: WeeChat 2.4]
pi3r has quit [Quit: Leaving]
cyphase has quit [Ping timeout: 246 seconds]
wolfman154 has quit [Ping timeout: 252 seconds]
wolfman154 has joined #nixos
sigmundv has quit [Ping timeout: 255 seconds]
<wolfman154> I was thinking of switching to nixos unstable for working in web development, what are the risks of using nixos unstable?
selfsymmetric-mu has quit [Remote host closed the connection]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
jabranham has quit [Remote host closed the connection]
worldofpeace has quit [Ping timeout: 268 seconds]
dnlkrgr has quit [Ping timeout: 255 seconds]
phreedom_ has quit [Quit: No Ping reply in 180 seconds.]
worldofpeace has joined #nixos
phreedom has joined #nixos
ayerhart has quit [Read error: Connection reset by peer]
rcshm has quit []
erasmas has quit [Quit: leaving]
wolfman154 has joined #nixos
<wolfman154> 16:43 wolfman154: I was thinking of switching to nixos unstable for working in web development, what are the risks of using nixos unstable?
infinee has joined #nixos
Xal has quit [Ping timeout: 255 seconds]
<wolfman154> I was thinking of switching to nixos unstable for working in web development, what are the risks of using nixos unstable?
<benkolera> wolfman154: You don't necessarily have to have unstable in your nixos channel (i.e having it affect your desktop) to develop against unstable. In your projects, you can use a nixpkgs that isn't the same as what nixos is using. The simplest way is to have another nix-channel called unstable and then you can just `{ nixpkgs ? import <unstable> {} }` in your project. But that has bad reproducability because then your build is
<benkolera> tied to the mutable variable of the unstable nix-channel. If you want long term reproducability (I think that this is always a good thing), you'll want to do a thing called "pinning" like this (https://github.com/benkolera/deadlands/blob/master/nix/nixpkgs.nix). That package will build with that specific commit of nixpkgs until I bump that.
Xal has joined #nixos
<benkolera> But, having nixos track unstable is pretty good. If anything breaks, just roll back to your latest working env. It's like archlinux without the sadness having to fix things manually. :)
<iclanzan> So Nixos 19.03 fails to build `hfmt`. The error it fails with is this: https://github.com/NixOS/nixpkgs/issues/31568#issuecomment-453963876. In 18.09 `hfmt` is working fine.
jluttine has quit [Ping timeout: 252 seconds]
TonyTheLion has quit [Ping timeout: 252 seconds]
infinee has quit [Ping timeout: 246 seconds]
<wolfman154> benkolera: how do I upgrade from nixos 18.09 to 19.03 without anything crashing?
aanderse-work has joined #nixos
<benkolera> I don't know immediately how to fix that, iclanzan. I do note that it is still broken on unstable also. :(
<{^_^}> [nixpkgs] @adisbladis opened pull request #59377 → emacs: 26.1 -> 26.2 → https://git.io/fjmtb
<wolfman154> infinisil: Is there a link with instructions on how to upgrade nixos 18 to 19?
<adisbladis> wolfman154: Pretty much update your channel and nixos-rebuild
<benkolera> Change your channel by removing the old nixos 18.09 one and adding the 19.03 one. `sudo nix-channel --remove nixos && sudo nix-channel --add nixos https://nixos.org/channels/nixos-19.03 && sudo nix-channel --update && sudo nixos-rebuild switch`.
<benkolera> Gotta run! Cya!
<wolfman154> And what about system.state and home.state?
<wolfman154> They’re both set to 18.09
<infinisil> iclanzan: I see, that's not trivial to fix, but I'll take a look
<adisbladis> tl;dr: Dont touch it
<wolfman154> adisbladis++
<{^_^}> adisbladis's karma got increased to 7
<wolfman154> benkolera++
<{^_^}> benkolera's karma got increased to 2
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
alex``649 has quit [Ping timeout: 255 seconds]
iclanzan has quit [Ping timeout: 264 seconds]
alex``` has quit [Ping timeout: 264 seconds]
wolfman154 has joined #nixos
orivej has quit [Ping timeout: 250 seconds]
stepcut has joined #nixos
ayerhart has joined #nixos
isHavvy has joined #nixos
ayerhart has quit [Remote host closed the connection]
jluttine has joined #nixos
Havvy has quit [Ping timeout: 252 seconds]
ayerhart has joined #nixos
wolfman154 has quit [Client Quit]
mconstant has quit [Ping timeout: 240 seconds]
jluttine has quit [Ping timeout: 252 seconds]
alex``649 has joined #nixos
alex``` has joined #nixos
AleXoundOS has quit [Quit: Leaving]
<infinisil> iclanzan: Well I have the fix but you're gone -.-
ayerhart has quit [Read error: Connection reset by peer]
<infinisil> ,tell iclanzan To fix the hfmt build on 19.03: mkdir -p ~/.config/nixpkgs/overlays && curl https://paste.infinisil.com/5AEb9fyR-c.nix > ~/.config/nixpkgs/overlays/hfmt-fix.nix
<{^_^}> infinisil: I'll pass that on to iclanzan
aloiscochard has joined #nixos
ayerhart has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/43a797b8bb6 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @adisbladis merged pull request #59361 → tomb: add sudo to buildInputs → https://git.io/fjmfv
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjmq3
psalm has quit [Remote host closed the connection]
m0rphism has quit [Ping timeout: 252 seconds]
jasongro` has joined #nixos
jasongrossman has quit [Ping timeout: 250 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
tomberek has joined #nixos
jasongro` has quit [Quit: ERC (IRC client for Emacs 26.1)]
jasongrossman has joined #nixos