gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
<_Geeko_> the grub install can't find it :/
<_Geeko_> for sure i am doing something wrong
<azazel> _Geeko_: are you using old style (msdos) partitions or gpt?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/074b7e3ebca (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<_Geeko_> gpt
<azazel> ah, so, what's the final entry you have used?
<azazel> i.e. what's the text of the entry you have tested?
<clever> of note, you can just tab-complete the kernel and initrd commands in the grub shell
ryantrinkle has joined #nixos
<clever> and it will complete as you would expect tab-completion to work
trh_ has joined #nixos
<clever> and once you find commands that work, paste those into the nixos config
<aswanson> anyone running multimonitor setups? From what I can tell in `man configuration.nix` I should be able to just put in the two monitor outputs ordered left to right in `services.xserver.xrandrHeads` but the monitors are still in the wrong order
<clever> aswanson: i just didnt configure the monitors in configuration.nix
<clever> aswanson: at bootup, the login screen is somewhat mirrored, then when i do login, xfce takes over and fixes the config
<clever> aswanson: and then i just configure it in xfce, plain drag&drop of the monitors to lay them out right
_Geeko_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jluttine has quit [Ping timeout: 250 seconds]
elibrokeit has quit [Ping timeout: 240 seconds]
<aswanson> clever: I'm using i3, I'll have to give up on the nix method and see the proscribed method for i3
elibrokeit has joined #nixos
<azazel> aswanson: if you're using i3 then you can just use xrandr for that, see xrandr --help
<gchristensen> or arandr
<aswanson> azazel: just add the xrandr incantation to the i3 config?
<azazel> yes, I don't remember the way now
_Geeko_ has joined #nixos
npmccallum has quit [Quit: npmccallum]
<_Geeko_> when i builded it found the partition atleast
<_Geeko_> did not use an entry yet
<jasongrossman> or autorandr
npmccallum has joined #nixos
npmccallum has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/22a606e20d6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
npmccallum has joined #nixos
dbmikus__ has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
nuh^ has quit []
trh_ has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjtjo
<{^_^}> [nixpkgs] @melazyk opened pull request #59238 → rebase from upstream → https://git.io/fjtjX
freeman42x has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @melazyk closed pull request #59238 → rebase from upstream → https://git.io/fjtjX
jurpeedurp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has joined #nixos
jurpeedurp has joined #nixos
jurpeedurp has quit [Client Quit]
jurpeedurp has joined #nixos
jurpeedurp has quit [Client Quit]
jurpeedurp has joined #nixos
jurpeedurp has quit [Client Quit]
<{^_^}> [nixpkgs] @jonafato opened pull request #59239 → gnomeExtensions.appindicator: 23.1 -> 28 → https://git.io/fjtjb
<{^_^}> [nixpkgs] @aanderse closed pull request #52020 → simgear: 2018.2.2 -> 2018.3.1 → https://git.io/fpFut
jurpeedurp has joined #nixos
uranther has joined #nixos
silver has quit [Read error: Connection reset by peer]
jackdk_ has joined #nixos
jackdk has quit [Disconnected by services]
trh_ has joined #nixos
jackdk_ is now known as jackdk
alexozer has joined #nixos
alexozer is now known as alexozer_
alexozer_ is now known as alexozer
jluttine has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
alexozer has quit [Remote host closed the connection]
alexozer has joined #nixos
_Geeko_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
kreisys has joined #nixos
_Geeko_ has joined #nixos
alexozer has quit [Quit: WeeChat 2.4]
alexozer has joined #nixos
drakonis_ has joined #nixos
ryantrinkle has quit [Ping timeout: 255 seconds]
alexozer has quit [Client Quit]
o1lo01ol1o has joined #nixos
aanderse-laptop has quit []
_h3x has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
buffet_ has joined #nixos
Qubasa has quit [Ping timeout: 246 seconds]
buffet has quit [Ping timeout: 250 seconds]
Qubasa has joined #nixos
dhkl has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59240 → tk: use aqua backend on darwin → https://git.io/fjqeo
trh_ has quit [Ping timeout: 250 seconds]
alexozer has joined #nixos
buckley310 has quit [Quit: Lost terminal]
dbmikus__ has joined #nixos
buckley310 has joined #nixos
_h3x has quit [Ping timeout: 255 seconds]
alexozer has quit [Quit: WeeChat 2.4]
alexozer has joined #nixos
_Geeko_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jackdk_ has joined #nixos
jackdk has quit [Disconnected by services]
jackdk_ is now known as jackdk
jmgai_ has joined #nixos
_Geeko_ has joined #nixos
jmgai has quit [Ping timeout: 252 seconds]
hlolli_ has joined #nixos
hlolli has quit [Ping timeout: 264 seconds]
InFlames has joined #nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<alexozer> do you think we'll ever be able to install a debian package for example into some container and bundle it as a nixos package
<alexozer> like for compatibility
<alexozer> that was a huge bottleneck when I wanted to use NixOS in a situation where most needs were covered by existing packaging but packaging all the rest was taking a while
<clever> alexozer: thats basically what steam does
drakonis has joined #nixos
<clever> (the nixpkgs steam package)
<simpson> alexozer: Hopefully that would only be a temporary solution for anything in Debian's free repository. Which packages did you have in mind?
alexozer has quit [Quit: mozilla]
trh_ has joined #nixos
jurpeedurp has quit [Quit: Textual IRC Client: www.textualapp.com]
sheeldotme has joined #nixos
<sheeldotme> I think clang 8 is missing a dependency for darwin: apple-lib-xpc. Is there a way for me to manually edit the derivation on my local machine to see if it resolves the issue?
Ariakenom has joined #nixos
sigmundv_ has quit [Ping timeout: 245 seconds]
InFlames has quit [Ping timeout: 250 seconds]
rjmill has joined #nixos
dbmikus__ has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52589 → argp-standalone: add x86_64-linux support → https://git.io/fhvcx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjqep
<{^_^}> [nixpkgs] @romildo opened pull request #59242 → deepin-screenshot: init at 4.1.8 → https://git.io/fjqve
drakonis has quit [Quit: WeeChat 2.3]
stepcut has joined #nixos
<azazel> sheeldotme: nix edit nixpkgs.clang
<azazel> and then use nix-build to build it
_Geeko_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<sheeldotme> Exactly what I was looking for, thanks azazel!
<slack1256> azazel: magic, no WIZARDRY
stepcut has quit [Ping timeout: 255 seconds]
InFlames has joined #nixos
_Geeko_ has joined #nixos
_Geeko_ has left #nixos [#nixos]
<sheeldotme> lol
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fjqvk
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #59240 → tk: use aqua backend on darwin → https://git.io/fjqeo
<teto> Looking forward to this merge https://github.com/NixOS/nixpkgs/pull/56503
<{^_^}> #56503 (by teto, 5 weeks ago, open): vimPlugins: adding vim-sneak,unicode.vim, nvim-hs.vim [RDY]
<{^_^}> [nixpkgs] @lihop opened pull request #59243 → burpsuite: 1.7.23 -> 1.7.36 → https://git.io/fjqvI
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #59244 → deepin.dde-dock: init at 4.9.2.1 → https://git.io/fjqv3
<{^_^}> [nixpkgs] @marsam merged pull request #58568 → vale: 1.3.2 -> 1.4.0 → https://git.io/fjkvW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjqvn
slack1256 has quit [Remote host closed the connection]
pxc has joined #nixos
wolfman154 has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
wolfman154 has quit [Client Quit]
joehh has joined #nixos
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @ryantm merged pull request #57359 → scribus: 1.4.7 -> 1.4.8, dep fixups → https://git.io/fhjti
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/fjqv2
[Leary] has joined #nixos
ryantrinkle has joined #nixos
Lears has quit [Ping timeout: 255 seconds]
Shados has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/11a6d01db66 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
gagbo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @jonafato to staging-next « gnomeExtensions.appindicator: 23.1 -> 28 »: https://git.io/fjqfv
<{^_^}> [nixpkgs] @worldofpeace closed pull request #59239 → gnomeExtensions.appindicator: 23.1 -> 28 → https://git.io/fjtjb
deadloko has joined #nixos
<mog> is there a way to see why a package failed in the patch phase of building?
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #59246 → crawl: 0.22.1 -> 0.23.2 → https://git.io/fjqfU
hlolli_ has quit [Remote host closed the connection]
hlolli_ has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #59247 → deepin.udisks2-qt5: init at 0.0.1 → https://git.io/fjqfk
sb0 has quit [Quit: Leaving]
alex_giusi_tiri has joined #nixos
mjrosenb_ is now known as mjrosenb
<{^_^}> [nixpkgs] @marsam opened pull request #59248 → pythonPackages.sqlparse: 0.2.4 -> 0.3.0 → https://git.io/fjqfI
<teto> mog: if you use nix-build with -K , the failed result might still leave in /tmp
<mog> thanks
<teto> (and the path should be displayed at the end of the failed build)
<ee1943> Is there any way to override the cmake build configuration for a dependency in a derivation.nix?
_h3x has joined #nixos
o1lo01ol1o has joined #nixos
alexozer[m] has joined #nixos
Ariakenom has quit [Remote host closed the connection]
fusion809_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @marsam closed pull request #58604 → postgresqlPackages.pg_cron: 1.1.2 -> 1.1.3 → https://git.io/fjk2U
Ariakenom has joined #nixos
Shados has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
kreisys has joined #nixos
ryantrinkle has quit [Ping timeout: 245 seconds]
<mog> thanks teto got it working now
endformationage has quit [Ping timeout: 246 seconds]
Jonathan___ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @mogorman opened pull request #59249 → networkmanager: 1.14.6 -> 1.16.0 → https://git.io/fjqfs
Rusty1 has quit [Quit: Konversation terminated!]
xkapastel has quit [Quit: Connection closed for inactivity]
<mog> sometimes it feels too easy to make updates to nixos
<OmnipotentEntity> Really true, making a debian package is so much more involved, I've had to do so on a handful of occasions and I always hated it.
<OmnipotentEntity> can't speak to RPMs, because I never seriously used a RH-derived distribution.
<mog> rpms are worse then debs to me
<{^_^}> [nixpkgs] @teto opened pull request #59250 → networkmanager-l2tp: 1.2.12 -> 1.7.0-dev → https://git.io/fjqf8
palo1 has joined #nixos
<teto> Everytime I've wanted to create a (clean) .deb, the sheer size of requirements and tutorials just stopped me. And seems like it's a shared feeling. In that regards https://michael.stapelberg.ch/posts/2019-03-10-debian-winding-down/ is interesting
grumble has quit [Quit: If we're putting dbus in the linux kernel, I want a Java RMI registry there too.]
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/22a606e20d6 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
<jackdk> I particularly like the use of #!/usr/bin/make -f in debian/rules. That's a cute trick.
cyphase has quit [Ping timeout: 244 seconds]
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
grumble has joined #nixos
<teto> ee1943: like cmakeFlags ?
<ee1943> I've narrowed down my question. I would just like to override the unpackPhase for clang_8, to keep it from pulling down the clang-extra-tools and breaking my build
<ee1943> teto: ^
<{^_^}> [nixpkgs] @lilyball opened pull request #59252 → init: cocoapods-beta at 1.7.0.beta.3 → https://git.io/fjqf0
<teto> ee1943: you can set unpackPhase=":"
<teto> or not running it if you are in a nix-shell
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fjqfu
alex_giusi_tiri has left #nixos [#nixos]
<ee1943> teto: Could you please provide an example? I'm quite new to the whole nix ecosystem. My derivation.nix looks like: https://pastebin.com/raw/LDB5vfVL
ddellacosta has quit [Ping timeout: 245 seconds]
<teto> ee1943: maybe you could use clangStdenv.mkDerivation instead. What's docgen homepage ?
<ee1943> teto: it's a project of my own, not hosted publicly anywhere yet :)
<ee1943> Have you got a link you can point me to with an example of its use? I don't want to bother the chat too much
<teto> ee1943: it can be hardcore at the beginning but a good way is to just grep a clone of nixpkgs
<ee1943> Also, clang is a runtime dependency, not a buildtime dependency, so I'm not sure if modifying the stdenv is the right thing to do
<ee1943> Yeah I thought about doing that but it would make sharing the config between machines cumbersome, each would need the custom nixpkgs or a patch
<teto> I meant to look for examples
<teto> do you need it for libclang ?
lovesegfault has quit [Ping timeout: 259 seconds]
<ee1943> Yes, it depends on libtooling (similar to libclang)
slack1256 has joined #nixos
<teto> ee1943: maybe you could just save the path ${llvmPackages.clang.cc.lib} instead of adding it to buildInputs, see clang_complete
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59253 → Get Android cross working again → https://git.io/fjqfV
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to release-19.03: https://git.io/fjqfr
<ee1943> teto: mmm not sure if that's going to work, I need more than just libclang.dylib/so. Eg. libclangAST, libclangTooling, etc
jackdk has quit [Ping timeout: 268 seconds]
cyphase has joined #nixos
<teto> ee1943: I remember dealing with libclang was kind of tricky at some point so I am afraid I won't be of much help. Why pulling clang-extra-tools breaks the build in the first place ?
<{^_^}> [nixpkgs] @pSub merged pull request #58618 → pyre: 0.0.20 -> 0.0.22 → https://git.io/fjko7
<{^_^}> [nixpkgs] @pSub pushed 3 commits to master: https://git.io/fjqfX
<ee1943> teto: Some darwin-specific missing header. I'm waiting for the build to fail and then I'll open an issue
<ee1943> Thank you for your help nevertheless :) It's best if the issue is resolved at the source (missing header) instead of hacking around it
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59024 → haskell: add fpcomplete mirror, use hackage mirrors in more places → https://git.io/fjLwZ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fjqf1
<{^_^}> [nixpkgs] @matthewbauer pushed to master « static: remove libjpeg static override »: https://git.io/fjqfM
<teto> ee1943: tried to answer but that might be a longshot
kleisli_ has quit [Ping timeout: 250 seconds]
thePirateKing has joined #nixos
adamt has joined #nixos
Ariakenom has joined #nixos
adamt is now known as Guest77347
jtojnar has quit [Remote host closed the connection]
Ariakenom has quit [Client Quit]
sheeldotme has quit [Quit: Textual IRC Client: www.textualapp.com]
ixxie has joined #nixos
thePirateKing has quit [Remote host closed the connection]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
domogled has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ead2380ae97 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @andrew-d opened pull request #59254 → aws-vault: 4.3.0 -> 4.5.1 → https://git.io/fjqJL
cyraxjoe has quit [Ping timeout: 268 seconds]
Guest77347 has quit [Quit: WeeChat 2.4]
cyraxjoe has joined #nixos
linarcx has joined #nixos
ixxie has quit [Ping timeout: 246 seconds]
<andi-> MiloIgnis[m]: I got rid of the font issue by sanboxing firefox further.. It probably can't read the systems font configuration anymore and now falls back to a proper font for the menu :/
<teto> ee1943: you may be interested in https://github.com/NixOS/nixpkgs/issues/59241
<{^_^}> #59241 (by sheeldotme, 4 hours ago, open): Clang 8 fails to build on MacOS Mojave
trh_ has quit [Quit: Lost terminal]
<ee1943> teto: yep, that's exactly what I'm experiencing. I had looked for related issues earlier but didn't find anything. Thanks for the link, I'll comment on it.
cdepillabout has joined #nixos
kyren has quit [Remote host closed the connection]
linarcx has quit [Ping timeout: 246 seconds]
<cdepillabout> I'm seeing `nix-build` fail to build our local project at work when it can't reach one of the substituters (our company-wide nix cache is down right now). Is there a way to tell `nix-build` to ignore the substituters and just build locally?
Anton-Latukha has joined #nixos
linarcx has joined #nixos
<srhb> cdepillabout: --fallback
kyren has joined #nixos
<cdepillabout> @srhb, Thanks!
goibhniu1 has joined #nixos
cdepillabout has quit [Quit: Leaving]
crmlt has joined #nixos
Tucky has joined #nixos
logzet has joined #nixos
slack1256 has quit [Remote host closed the connection]
kreetx has joined #nixos
shibboleth has joined #nixos
dnlkrgr has joined #nixos
sam_ has quit [Remote host closed the connection]
myme has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #59255 → python3Packages.WazeRouteCalculator: 0.7.2 -> 0.9.0 and pyupdate: 1.3.5 -> 1.3.6 → https://git.io/fjqJ7
<jluttine> i have shell.nix for my python package so that it resembles "pip install -e". however, the executables of the propagatedBuildInputs aren't in PATH.. why not? am i doing something wrong? how to fix?
ee1943 has quit [Quit: The Lounge - https://thelounge.github.io]
ee1943 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #59256 → quaternion-git: init at 0.0.9.4-rc2 → https://git.io/fjqJd
kyren has quit [Remote host closed the connection]
crmlt has quit [Ping timeout: 246 seconds]
ee1943 has quit [Client Quit]
ee1943 has joined #nixos
sb0 has joined #nixos
m0rphism has joined #nixos
kyren has joined #nixos
<jluttine> that is, how should i add packages as inputs so that when i nix-shell to the build environment, the executables of those packages would be available?
Makaveli7 has joined #nixos
<teto> jluttine: i usually do nix-shell -A python3Packages.myPackage ~/nixpkgs from the source of myPackage
<teto> nix-shell detects the setup.py and switches to develop mode I think
orivej has joined #nixos
npmccallum has quit [Quit: npmccallum]
<jluttine> teto: yes, but the executables of the build inputs aren't in PATH in that case
npmccallum has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lheckemann merged pull request #58858 → nixos/pantheon: enable lightdm gtk greeter → https://git.io/fjIgJ
<{^_^}> [nixpkgs] @lheckemann pushed 5 commits to master: https://git.io/fjqUZ
<{^_^}> [nixpkgs] @worldofpeace pushed to master « gnome-podcasts: fix build »: https://git.io/fjqUn
<jluttine> or hmm.. they are when doing nix-shell -A...
linarcx has joined #nixos
<jluttine> confusing :S
<{^_^}> [nixpkgs] @lheckemann pushed 4 commits to release-19.03: https://git.io/fjqUW
npmccallum has quit [Ping timeout: 245 seconds]
<jluttine> teto: in that case you have added myPackage to your own nixpkgs checkout in ~/nixpkgs right?
Myhlamaeus has joined #nixos
obadz has quit [Ping timeout: 250 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
kyren has quit [Quit: ZNC 1.7.2 - https://znc.in]
arjen-jonathan has joined #nixos
<jluttine> teto: i tried `nix-shell '<nixpkgs>' -A python3Packages.jupyterlab` but jupyterlab doesn't seem to available in that environment, so it's not installed as `pip install -e`.
<jluttine> i opened python and ran `import jupyterlab` and got import error
<teto> jluttine: yes, but running just "nix-shell" will pickup the default,nix or shell.nix in current folder
<jluttine> that shouldn't happen if jupyterlab was installed as `pip install -e`
zupo has joined #nixos
arjen-jonathan has quit [Ping timeout: 250 seconds]
ckauhaus has joined #nixos
<teto> jluttine: are you running the python from the generated environment ? I use the python develop mode everyday and it works fine. One caveat is not to override shellHook see pkgs/development/interpreters/python/build-python-package-setuptools.nix
<teto> if it detects a setup.py then it runs in develop mode
dnlkrgr has quit [Ping timeout: 245 seconds]
kyren has joined #nixos
kisik21 has joined #nixos
<kisik21> nix run nixpkgs.android-studio - Android Studio glitches out because Gradle can start because seemingly something changes the PATH to /run/wrappers/bin:/usr/bin:/bin and it can't find Java and a lot of other things!
<kisik21> And as there is seemingly no way to use Android SDK in NixOS aside from installing Android Studio...
<kisik21> At least when I check the in-built terminal which should probably inherit the PATH, it says that the PATH is crippled
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sam_ has joined #nixos
linarcx has quit [Ping timeout: 246 seconds]
linarcx has joined #nixos
joehh has quit [Ping timeout: 250 seconds]
hyper_ch2 has joined #nixos
sam_ has quit [Ping timeout: 245 seconds]
johanot has joined #nixos
linarcx has quit [Ping timeout: 268 seconds]
linarcx has joined #nixos
Jetien_ has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #57276 → libgpgerror: 1.34 -> 1.35 → https://git.io/fhhAC
thc202 has joined #nixos
pie_ has joined #nixos
ixxie has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/0363abe66b4 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
<jluttine> teto: even weirder.. i have exactly the same files (only setup.py and shell.nix) on two different locations. the other adds executables to PATH but the other doesn't.. somehow this nix-shell for src=./. isn't pure i suppose? something weird going on..
<mabel> simple question, but what trickery does the nixos module system use to make things like systemd.service.foo.enable = true; work, where foo hasn't been defined?
ixxie has quit [Ping timeout: 246 seconds]
nschoe has joined #nixos
<mabel> or etc."x/y".mode = 0777;
ixxie has joined #nixos
sam_ has joined #nixos
<teto> jluttine: same envionrments ? PATH etc ? same computers ?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
linarcx has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dotlambda merged pull request #59178 → pythonPackages.cntk: mark as broken with python 3.7 → https://git.io/fjtBZ
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjqTM
linarcx has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #59255 → python3Packages.WazeRouteCalculator: 0.7.2 -> 0.9.0 and pyupdate: 1.3.5 -> 1.3.6 → https://git.io/fjqJ7
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fjqTy
linarcx has quit [Ping timeout: 250 seconds]
linarcx has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/55f4df0b3a3 (from 68 minutes ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @dotlambda merged pull request #57688 → python.pkgs.pyyaml: 3.13 -> 5.1 → https://git.io/fje9j
<{^_^}> [nixpkgs] @dotlambda pushed 12 commits to staging: https://git.io/fjqkk
equivrel has joined #nixos
<jluttine> teto: different computers, both using nixos-unstable (might be a bit different commit though)
<jluttine> i copied the folder with setup.py and shell.nix to a different machine. ran nix-shell on both machines. one of them has build input executables on PATH, the other doesn't
InFlames has quit [Ping timeout: 246 seconds]
<teto> jluttine: run nix-shell with verbose output -vv and see what differs
InFlames has joined #nixos
shibboleth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @pSub merged pull request #59243 → burpsuite: 1.7.23 -> 1.7.36 → https://git.io/fjqvI
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fjqks
johnnyfive has quit [Ping timeout: 252 seconds]
<pie_> what does it mean if nix-store -q --roots [something] says {memory:641}
knupfer has joined #nixos
awygle_ has quit [Ping timeout: 264 seconds]
awygle has joined #nixos
johnnyfive has joined #nixos
<{^_^}> [nixpkgs] @zimbatm merged pull request #59254 → aws-vault: 4.3.0 -> 4.5.1 → https://git.io/fjqJL
<{^_^}> [nixpkgs] @zimbatm pushed commit from @andrew-d to master « aws-vault: 4.3.0 -> 4.5.1 (#59254) »: https://git.io/fjqkB
<jluttine> teto: didn't spot anything obvious, but they did have differences in store paths etc. maybe need to have a much closer look. but anyway i opened an issue: https://github.com/NixOS/nixpkgs/issues/59257
<{^_^}> #59257 (by jluttine, 48 seconds ago, open): Python package build input executables not in PATH in development mode shell
knupfer has quit [Ping timeout: 268 seconds]
awygle has quit [Quit: No Ping reply in 180 seconds.]
awygle has joined #nixos
nakkle has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #59258 → tahoe-lafs: 1.13.0 -> unstable-2019-04-08 → https://git.io/fjqk6
<jluttine> can i somehow point my system nixpkgs in nixos to a specific commit in github nixpkgs repo?
ixxie has quit [Ping timeout: 250 seconds]
<nakkle> Hey guys, I have a stack project which needs to be compiled with `-threaded`. When I translate the project into a nix derivation with `stack2nix`, that flag is ignored, whether I put it into the stack.yaml or the project.cabal file. I'd have to manually overwrite the derivation with `buildFlags = [ "--ghc-option=-threaded" ]` for it to compile correctly. Does anyone know whether there's a better way than such a manual override?
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #59236 → flightgear & simgear: 2018.2.2 -> 2018.3.1 → https://git.io/fjtpi
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fjqkx
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #59259 → Merge simple updates → https://git.io/fjqIe
buffet_ is now known as buffet
<{^_^}> [nixpkgs] @xeji merged pull request #56605 → c-blosc: 1.14.4 -> 1.16.2 → https://git.io/fhA2v
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « c-blosc: 1.14.4 -> 1.16.2 (#56605) »: https://git.io/fjqIf
<teto> jluttine: there are some tutorials, you can google "nixpkgs pinning"
<teto> nakkle: you can do the override on the command line if you don't want to add it to a file. I would add the override to either an overlay or pkgs/development/haskell-modules/configuration-common.nix
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teto> ,pinning
<teto> jluttine: ^
<nakkle> teto: Thanks for your suggestion, but I was rather thinking of a solution that does not involve overriding these attributes. If I want to add compiler flags I'd rather do it in the stack.yaml or in the project.cabal. Probably best to file a bug report on stack2nix for that though.
<jluttine> teto: yeah, thanks. i just don't quite understand how to apply that system wide used by configuration.nix and wherever <nixpkgs> is used..
<pie_> yeah so i had a weird problem because i accidentally overrode TMPDIR in the environment i was running nix-build in and thought something was breaking in my sanbox which didnt make sense, it was just that the directory didnt exist and nix was trying to create its temporary build directory there
<teto> nakkle: I think the stack2nix is not very reliable. I believe adding the flags to the .cabal file should be ok though but not 100% sure
<jluttine> i was hoping i could do something like `nix-channel --add https://url.to.specific.nixpkgs.commit nixos`
<nakkle> teto: cabal2nix doesn't seem to take these flags into account either
<nakkle> so I'll have to add it to some nix override anyways
<teto> jluttine: you can modify you NIX_PATH to contain nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable.tar.gz (replace the url)
<teto> nakkle: I see so yes you may file an issue to cabal2nix
Glider_IRC__ has joined #nixos
sam_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #59259 → Merge simple updates → https://git.io/fjqIe
<{^_^}> [nixpkgs] @timokau closed pull request #34985 → Nginx formatter → https://git.io/vAZtk
Glider_IRC_ has quit [Ping timeout: 245 seconds]
sam_ has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « ethabi: 4.1.0 -> 7.0.0 (#59218) »: https://git.io/fjqIl
<{^_^}> [nixpkgs] @xeji merged pull request #59218 → ethabi: 4.1.0 -> 7.0.0 → https://git.io/fjtdj
<jluttine> teto: i did that now by setting nix.nixPath in configuration.nix. but there's no sha256 checking :/
deadloko has quit [Quit: WeeChat 2.3]
fendor has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59222 → powerline-go: 1.11.0 -> 1.12.1 → https://git.io/fjtbZ
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « powerline-go: 1.11.0 -> 1.12.1 (#59222) »: https://git.io/fjqIV
<jluttine> teto: btw, i downgraded my nixos and now nix-shell has the build input executables in path. so probably some recent change in nixpkgs has broken it. https://github.com/NixOS/nixpkgs/issues/59257#issuecomment-481624267
civodul has joined #nixos
dhkl has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #58306 → libsodium: 1.0.16 -> 1.0.17 → https://git.io/fjUOR
romildo has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59228 → cargo-xbuild: init at 0.5.7 → https://git.io/fjtNk
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « cargo-xbuild: init at 0.5.7 (#59228) »: https://git.io/fjqI1
<romildo> Now that I can merge, I need guidance on how to merge the pull request https://github.com/NixOS/nixpkgs/pull/59247
<{^_^}> #59247 (by romildo, 5 hours ago, open): deepin.udisks2-qt5: init at 0.0.1
dave_uy has quit [Quit: Ping timeout (120 seconds)]
<romildo> The PR have two commits from different people. The second one is a fixup.
dave_uy has joined #nixos
<romildo> Is it ok to "Squash and merge"?
pxc has quit [Ping timeout: 255 seconds]
<romildo> Maybe @worldofpeace can tell me that.
fendor has quit [Ping timeout: 250 seconds]
<qyliss^work> Does GH let you edit the commit message when you squash merge?
<qyliss^work> If so, I'd squash merge and remove worldofpeace's message. Otherwise, I'd squash locally and then just push to master.
Makaveli7 has quit [Quit: WeeChat 2.4]
<thblt> Is there an explanation of how home-manager works somewhere? I'm interested on the project but I don't understand how it fits the rest of the Nix system. Dous it just create an environment like nix-env then symlinks stuff into ~?
<srhb> thblt: That's basically it, yes.
<srhb> thblt: But it's more like how nix-env works behind the scenes with /run/current-system
<srhb> thblt: Like, the system profile.
<srhb> thblt: Essentially that, but for your homedir.
<thblt> srhb: thanks!
<romildo> qyliss^work, yes GH does that.
mounty has joined #nixos
<qyliss^work> Squash merge then IMO
Makaveli7 has joined #nixos
<eyJhb> srhb: what is the best way to mark a package broken? Cannot seem to get matplotlib to work on Python 2.7 on NixOS Stable
<qyliss^work> eyJhb: set metadata.broken
<eyJhb> But should I get someone to test it beforehand, or just.. Me?
<qyliss^work> If it doesn't work for you, it's unlikely to work for anybody else
sam___ has joined #nixos
<qyliss^work> Nothing wrong with a sanity check though
<eyJhb> qyliss^work: you up for a sanity check? ;)
Jetien_ has quit [Ping timeout: 244 seconds]
<qyliss^work> already on it :)
<{^_^}> [nixpkgs] @domenkozar opened pull request #59260 → python37: get it to build again on darwin → https://git.io/fjqIh
sam_ has quit [Remote host closed the connection]
<eyJhb> Weird, it seems to work using nix-shell -p python27Packages.matplotlib
ubert has joined #nixos
<eyJhb> Get this output - https://pastebin.com/raw/F7DafqGe
<qyliss^work> ython27Packages.matplotlib
<qyliss^work> Works for me
<eyJhb> Hmm... ANy clue on the above output then? :/
<srhb> disasm: The logs reveal that you may have tried to package freeipa for NixOS -- did that ever happen? :)
<eyJhb> I can get it to work using python3 in my .nix conf, works fine, python2.7, no dice
<qyliss^work> What nixpkgs are you using with your nixos-config?
<eyJhb> I might have found the problem ...
<{^_^}> [nixpkgs] @romildo merged pull request #59247 → deepin.udisks2-qt5: init at 0.0.1 → https://git.io/fjqfk
<{^_^}> [nixpkgs] @romildo pushed to master « deepin.udisks2-qt5: init at 0.0.1 (#59247) »: https://git.io/fjqLG
work_ has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @primeos pushed to master « nvme-cli: 1.8 -> 1.8.1 »: https://git.io/fjqLZ
<{^_^}> [nixpkgs] @domenkozar merged pull request #59260 → python37: get it to build again on darwin → https://git.io/fjqIh
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to release-19.03: https://git.io/fjqLc
<eyJhb> qyliss^work: If I run NixOS I should add this is a channel called nixos, right? https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz
<qyliss^work> Channels confuse me and I don't use them
<qyliss^work> But I do know that it's not your channels that matter for NixOS, but root's.
<eyJhb> Then what do you do?
<qyliss^work> I have a clone of the nixpkgs repo, and I set NIX_PATH to point to it.
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/f52505fac8c (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
<qyliss^work> eyJhb: I _think_ you want root to have that channel you described.
ixxie has joined #nixos
strobelight has joined #nixos
<eyJhb> But ... Seems like it does the same, and works :%
<worldofpeace> romildo: With the fixup commit, it's always a rebase with autosquash locally and a force push for me
<qyliss^work> eyJhb: maybe the channels are pointing to different revisions? If I understand correctly
<eyJhb> qyliss^work: I was pointing to a outdated version of the channel... (My own repo)
<eyJhb> SO now I am building using the new
<eyJhb> *new updated channel*
<{^_^}> [nixpkgs] @basvandijk merged pull request #59234 → fluentd: 1.2.3 -> 1.4.2 → https://git.io/fjtxa
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjqLV
fendor has joined #nixos
zupo has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #59229 → [18.09] flatpak: 1.0.5 -> 1.0.8 → https://git.io/fjtNI
<{^_^}> [nixpkgs] @hedning pushed 2 commits to release-18.09: https://git.io/fjqLd
InFlames has quit [Ping timeout: 246 seconds]
nschoe has quit [Ping timeout: 250 seconds]
init_6 has joined #nixos
uranther has quit [Quit: Connection closed for inactivity]
joehh has joined #nixos
sinner has joined #nixos
sinner is now known as Guest71148
Guest71148 has quit [Client Quit]
silver has joined #nixos
knupfer has joined #nixos
romildo has quit [Quit: Leaving]
<eyJhb> How I hate Displaylink... So so so much
gratto has joined #nixos
<srhb> eyJhb: Give it up. That's what I did. My life improved markedly.
<srhb> Like, at least 0.2 percentage points.
<eyJhb> srhb: Then I have to wave goodbye to my third screen... (talking about the DisplayLink driver for USB 3.0 docking stations)
<eyJhb> And I want my thrid screen :(
<eyJhb> Only alternative is using eGPU and then removing a stick of ram
ixxie has quit [Ping timeout: 246 seconds]
<eyJhb> qyliss^work: still no dice on Matplotlib.. Seems weird
<qyliss^work> Try posting nix-shell -p nix-info --run "nix-info -m" ?
<eyJhb> Reading the output, it says it is having a collision - collision between `/nix/store/qgv9ddrnmxvb7jk66lnbky1s7lzbw021-python2.7-backports.ssl_match_hostname-3.5.0.1/lib/python2.7/site-packages/backports/__init__.pyc' and `/nix/store/ic1mx25c4a8ghjxd74crb140ym4470a2-python2.7-backports.functools_lru_cache-1.5/lib/python2.7/site-packages/backports/__init__.pyc'
gour has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest61738
strobelight_ is now known as strobelight
Guest61738 has quit [Ping timeout: 246 seconds]
eyJhb has quit [Quit: Bye]
sam___ has quit [Remote host closed the connection]
eyJhb has joined #nixos
<eyJhb> qyliss^work: did my last paste go through?
<eyJhb> Seems like BuyVM is having a case of DDoS again
<{^_^}> [nixpkgs] @minijackson closed pull request #58400 → Kodi wayland → https://git.io/fjUwu
<tilpner> eyjhb: The topic has a link to public logs: https://logs.nix.samueldr.com/nixos/
<eyJhb> It did! But I really have no clue about this matplotlib collision...
sam_ has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #59261 → Backport elk: 6.5.1 -> 6.7.1 to release-19.03 → https://git.io/fjqt6
andymandias has quit [Remote host closed the connection]
andymandias has joined #nixos
<{^_^}> [nixops] @PsyanticY opened pull request #1127 → EC2: Add physical specs for elastic IP resources → https://git.io/fjqtP
sam_ has quit [Ping timeout: 250 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
ixxie has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
strobelight has quit [Ping timeout: 240 seconds]
sam_ has joined #nixos
sam_ has quit [Remote host closed the connection]
sam_ has joined #nixos
Jetien_ has joined #nixos
kreisys has joined #nixos
jasongrossman has joined #nixos
ixxie has quit [Ping timeout: 245 seconds]
abcrawf has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
abcrawf has joined #nixos
zupo has quit [Client Quit]
infinee has quit [Ping timeout: 245 seconds]
gratto has quit [Quit: Quit]
infinee has joined #nixos
Erasmus has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #59262 → Backport prometheus2 to release-19.03 → https://git.io/fjqqK
zupo has joined #nixos
aloiscochard has joined #nixos
xkapastel has joined #nixos
tdbgamer has joined #nixos
sb0 has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kisik21 has quit [Ping timeout: 252 seconds]
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @xeji merged pull request #58676 → gildas: update to 20190401_a → https://git.io/fjkbI
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/fjqqh
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #59220 → go-ethereum: 1.8.22 -> 1.8.25 → https://git.io/fjtFN
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « go-ethereum: 1.8.22 -> 1.8.25 (#59220) »: https://git.io/fjqme
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<gour> hello, does nixos stay with systemd for the foreseeable future? i stumbled upon some discussion that it will go away eventually...
<gchristensen> there is no plan or intention to stop using systemd
<gour> ok, thanks
<gour> i'm looking for some non-systemd distro to work nicely for xfce..
<gchristensen> ah, sorry, NixOS is not it :)
Neo--- has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<fendor> can I write fish config in nix?
<fendor> I mean, provide an overlay for it
<gour> gchristensen: what is the best supported DE on NixOS?
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « python3.pkgs.asynctest: 0.12.2 -> 0.12.3 »: https://git.io/fjqmJ
<{^_^}> [nixpkgs] @xeji merged pull request #59221 → now-cli: 14.0.3 -> 15.0.3 → https://git.io/fjtFp
<{^_^}> [nixpkgs] @xeji pushed commit from @NathanielHill to master « now-cli: 14.0.3 -> 15.0.3 (#59221) »: https://git.io/fjqmU
<Taneb> gour: KDE is installed by default but there's lots of people using lots of DEs
<gchristensen> gour: hmm I honestly don't know. what Taneb said :)
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @Zimmi48 opened pull request #59263 → dune: 1.8.2 -> 1.9.0 → https://git.io/fjqmT
<srhb> I also think they're all a bit.. Flaky. :-P But I guess "best" is relative.
<gour> ta
<gchristensen> I like i3, but I'm just an i3 kind of person
* srhb made a distinction between DE and WM, if it wasn't clear
<gchristensen> right. right. srhb++
<{^_^}> srhb's karma got increased to 51
Erasmus has quit [Quit: END-AUMF]
<tokudan[m]> I've got a strange phenomen with firefox recently: I cannot enter the character "q" anywhere in any text box on any website. Q works perfectly fine, but if I hit the key for q, it's just ignored. This does not affect the url or the search bar, or any other "native firefox" text box.
<gchristensen> do you have a vim keybinding thing setup?
<tokudan[m]> no addon with vim in the name anywhere
<tokudan[m]> this also affects more than a single computer... it's on my private laptop and also on my work desktop (both nixos 18.09)
grischeg has joined #nixos
<tokudan[m]> addons: COokie AutoDelete, Pwdhash, ublock origin, umatrix
gour has left #nixos ["Leaving"]
<tokudan[m]> omg, it is an addon...
<grischeg> Where can I find the latest NixOS 19.03 download? I can only find 18.09 and 19.09 downloads on the page.
<tokudan[m]> pwdhash
fendor has quit [Remote host closed the connection]
<srhb> grischeg: 19.03 is not released yet.
<grischeg> srhb: I am aware of that
<srhb> grischeg: Alright, you can grab it from Hydra then :)
<tokudan[m]> gchristensen: thanks for the suggestion... didn't consider my addons before
<gchristensen> woot
<grischeg> srhb: does hydra build live CDs as well? Can you give me some pointers where I would find it on Hydra?
<srhb> grischeg: https://hydra.nixos.org/build/91949732 https://hydra.nixos.org/build/91949755 for linux 64 bit graphical/minimal respectively
<grischeg> srhb: thanks a lot
<srhb> grischeg: Completely arbitrary (but recent) evaluation though
<srhb> grischeg: So no guarantees about safety :-)
<grischeg> srhb: it is good enough for me :)
<srhb> grischeg: fwiw it's pretty easy to install an arbitrary version of nixos from any other arbitrary installer cd, usually..
<srhb> OK! :)
<MiloIgnis[m]> andi-: That could totally be the bug, good find. Hmm, that font solution makes sense in a way
uranther has joined #nixos
<pie_> is it possible to use the nix sandbox but allow network connections?
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1125 → EC2: Return allocation ID for ec2 elastic ip resource id → https://git.io/fjLYn
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fjqm1
<andi-> MiloIgnis[m]: I'll probably setup a Fedora box to see how Firefox behaves there. This morning I found an issue with EGL on e.g. maps.google.com; must still verify if that is of something missing in the sandbox or another wayland thing
basvandijk has joined #nixos
<symphorien> pie_: with fixed-output derivations
<{^_^}> [nixpkgs] @basvandijk opened pull request #59264 → alertmanager: 0.15.3 -> 0.16.2 → https://git.io/fjqmh
kleisli has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9484ea47d0b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<pie_> symphorien, what im trying to do is i run some java stuff in the sandbox and i want to connect the debugger to do some stuff but it needs networking for that
<symphorien> for debugging, maybe use breakPointHook ?
<pie_> not sure I could fixed-output that? well I guess I dont need the output anyway so I could just have it fail
<pie_> symphorien, will that get me networking to the inner jvm though?
<symphorien> ah right this could work
init_6 has quit []
<pie_> symphorien, oh right, so, fixed outputs can connect out, but what if i want to connect in?
<symphorien> pie_: I have never used breakPointHook, but it advertises itself as a way to enter the sandbox
<symphorien> I think they have no network namespace at all, so it may work
abathur has joined #nixos
<Yaniel> how long does it take for channels to update after their tests finish?
thblt has left #nixos ["ERC (IRC client for Emacs 26.1)"]
<Yaniel> https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents shows all green for today but howoldis says unstable was only updated two days ago
<gchristensen> all of the evaluation's jobs need to complete: https://hydra.nixos.org/build/91950854 of which there are 220
<grischeg> How do I find the name of a package for a specific binary?
strobelight has joined #nixos
knupfer has quit [Remote host closed the connection]
<Taneb> grischeg: to do this locally you can use https://github.com/bennofs/nix-index
<Taneb> We have an IRC bot that does but I don't know how to use it
knupfer has joined #nixos
<qyliss^work> ,locate bin convert
<{^_^}> Found in packages: imagemagick, imagemagick7, imagemagickBig, imagemagick_light, imagemagick7_light, graphicsmagick-imagemagick-compat
<qyliss^work> ^ like that
<grischeg> ,locate bin sgdisk
<{^_^}> Found in packages: gptfdisk
<qyliss^work> (you can also PM the bot. I do that several times a day)
<grischeg> Taneb: thanks though, it's nice to have
johanot has joined #nixos
<grischeg> qyliss^work: will do, thanks
<pie_> symphorien, i guess ill have to test if breakpointhook works while the build is still running or only once it fails
<pie_> symphorien, not sure how that would get me what i want though
<pie_> symphorien, i have an eclipse running in my normal environment and i want to attach it as the debugger
dhkl has joined #nixos
<symphorien> ah you would have to run eclipse in the shell breakpointHook gives you
ee1943 has quit [Ping timeout: 246 seconds]
ee1943 has joined #nixos
<symphorien> or do a complicated socat-based danse
<pie_> the socat based dance is probably fine as long as i can make nix handle it for me
<symphorien> well breakpoint hook gives you a bidirectionnal channel between your computer and the sandbox: the pty of the shell. So you can connect a port to this pty with socat outside the sandbox, and then connect the pty to the port within the sandbox with socat again, I imagine.
<symphorien> But this won't be automatic
<hlolli_> what's the logic with the versioning of gcc. This is a nix-shell command, but im having this problem as well in a build. $ nix-shell -p gcc48 --pure $ gcc --version & gcc (GCC) 7.4.0
<symphorien> you need to use a different stdenv
winem_ has joined #nixos
<symphorien> this implies using a shell.nix and not -p
<hlolli_> I use stdenvNoCC.mkDerivation
<symphorien> use (overrideCC stdenv gcc48) instead of stdenv
knupfer has quit [Remote host closed the connection]
winem_ has quit [Remote host closed the connection]
<hlolli_> and as buildInput gcc48, but my stacktraces go to gcc 7.4.0
<hlolli_> ok I try that with the shell
<symphorien> it won't work with nix-shell -p
<symphorien> you have to use a shell.nix
<hlolli_> ah I got you !
<hlolli_> thanks!
<hlolli_> symphorien++ (test)
<{^_^}> symphorien's karma got increased to 17
<{^_^}> [nixpkgs] @peterhoeg opened pull request #59265 → repology: fix homepage for a few packages - nothing else → https://git.io/fjqYu
<pie_> symphorien, maybe i could do some networking hackery with a fixed output derivation thats expected to fail
<pie_> so i make a connect-out that pipes stuff back in
Erasmus has joined #nixos
<pie_> is there really no sane way to do this lol
<symphorien> become a trusted user and add --option sandbox false ?
knupfer has joined #nixos
<pie_> symphorien, that stops me from having filesystem sandboxing though and i dont want crap dumped all over my fs (a bit of an overstatement)
<gchristensen> you can set sandbox mode to relaxed and then __usechroot (iirc, check the nix manual) to turn it off sometimes
<pie_> also i think i tried that but i still didnt see the port, i can try again though
<pie_> ^ @ disabling sandbox
<immae> __noChroot
infinee has quit [Ping timeout: 255 seconds]
<gchristensen> what are you trying to do?
<gchristensen> this sounds bad
drakonis has joined #nixos
<pie_> im using nix to run some stuff and i want to debug the stuff im running sometimes
<pie_> said stuff is java and i want to attach a debugger
abathur has quit [Ping timeout: 246 seconds]
<gchristensen> oh
<{^_^}> [nixpkgs] @peterhoeg opened pull request #59266 → nmapsi4: 0.5.0-alpha1 -> 0.4.80-20180430 → https://git.io/fjqYi
<gchristensen> maybe mic92's cntr is the thing
<disasm> srhb: I gave up :)
<LnL> cntr is amazing :)
<disasm> I should say I switched jobs when they made it clear they didn't want to use nixos :)
<pie_> if i want to google for how this stuff works, its network namespaces?
Makaveli7 has quit [Quit: WeeChat 2.4]
wolfman154 has joined #nixos
<monotux> so, I'm building a go package but would like to copy some files from git folder of the go package. I think postInstall is a good place to do this from, but what's my path at that stage? I know the layout of the git repo and tried just copying the relevant folder but it didn't seem that I was in the right directory (files in git root not found)
<gchristensen> disasm: what did you give up on?
<immae> monotux: just after unpack you have a "cd $src"
<disasm> monotux: use "${src}/foo/bar"
<monotux> oh! thank you immae & disasm
ninjin has joined #nixos
<immae> FWI: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L1302 (it’s the only implicit cd in the process, any other would be written in the derivation somehow)
<disasm> gchristensen: freeipa
<gchristensen> packaging it?
<gchristensen> I never liked IPAs, too hoppy.
<disasm> lol :)
<srhb> gchristensen: Ok, I will agree on that.
<srhb> gchristensen: Though actually, it's the.. Perfumyness, not the hoppyness that bothers me.
<srhb> disasm: Anyway, thanks :)
<disasm> yeah, packaging it. My last job moved to M$ AD authentication. I was trying to get freeipa to get my nixos systems to authenticate
<gchristensen> ohh ouch :(
<disasm> yeah, glad that chapter is done :)
<gchristensen> what did you end up doing?
<srhb> AD means kerberos and ldap at least...
<disasm> switched jobs :)
<srhb> lol
<gchristensen> LOL
<aminechikhaoui> colemickens an update regarding yesterday's nix install on Centos 7 issue, seems `grubby --args="user_namespace.enable=1" --update-kernel="$(grubby --default-kernel)"` fixed the issue
<pie_> how the heck does it get a container from just a $out path?
<aminechikhaoui> will put that in the nix issue in case it helps other people
<gchristensen> nice, aminechikhaoui!
<Yaniel> has anyone had success in getting bluetooth audio to work on nixos?
<gchristensen> Yaniel: every day! :)
<Yaniel> what's your setup?
<Yaniel> I can't connect to my headset
<infinisil> Working for me as well
<Yaniel> says A2DP is not available
dhkl has quit [Ping timeout: 245 seconds]
<Yaniel> and I have switched to pulseaudioFull
<gchristensen> I use `bluetoothctl connect the-physical-address` at the CLI to connect
<Yaniel> tried, doesn't work
<aminechikhaoui> I think there is a wiki page for Bluetooth that is quite helpful
<gchristensen> ^
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> I think I had to play with rfkill the first time
<Yaniel> so what's the deal with the wiki and the manual now
<monotux> immae & disasm that did the trick!
kreisys has joined #nixos
<Yaniel> wasn't the wiki deprecated
<gchristensen> wiki.nixos.com was, nixos.wiki popped up as an "unofficial" wiki and has been really good
<Yaniel> I see
<infinisil> I wish we had an option like `system.batteriesIncluded = true;`, which would set stuff like pulseaudioFull, and include other things not set by default
<disasm> Yaniel: did you run scan on?
<Yaniel> yes and pairing works
<Yaniel> it just fails to connect after that
<hlolli_> symphorien, this overrideCC works, and `gcc --version` returns the right number. But for some reason, a c code that I compile with clang always looks at gcc-7.4.0/include directories. Would I need to override clang to prevent this?
<disasm> yeah, I've had that before too. I had to stop the service rmmod the module and remodprobe then start it back up again. Would happen randomly.
<symphorien> hlolli_: the nix clang toolchain uses libstd++ and not libc++
<symphorien> I don't know how to tell it to use an older libstdc++
<symphorien> why do you want this ?
knupfer has quit [Ping timeout: 246 seconds]
npmccallum has joined #nixos
<hlolli_> this is my stacktrace https://pastebin.com/G0RdEMES this sulong llvm isn't suppose to work with gcc above 4.8, so 7.4.0 is far I would assume. Just ruling out the causes of this frustrating error.
domogled has quit [Ping timeout: 255 seconds]
<symphorien> hlolli_: try using libcxxStdenv maybe ?
<symphorien> it should not have anything to do with gcc
dhkl has joined #nixos
<pie_> symphorien, i dont suppose its possible to bidirectionally communicate over a pipe
<hlolli_> ok I'll try. I can't reproduce this error when I write similar code. It's somehow trying to write its own core files. I did try clangstdenv and libcxxstdenv. Trying everything to see how the error message change :-)
drakonis has quit [Quit: WeeChat 2.3]
<{^_^}> [nixpkgs] @bendlas merged pull request #58635 → cask: init at 0.8.4 → https://git.io/fjk1l
<{^_^}> [nixpkgs] @bendlas pushed commit from @FlexW to master « cask: init at 0.8.4 »: https://git.io/fjqOt
<pie_> oh boy fifo screwery time
<monotux> oh wait. the go package I've built seems to create two folders in nix store, one with suffix -bin and one without -bin. the folder without -bin seems to be the $out folder (to which I've copied files), but the other folder is in PATH, so trying to copy files from the $out folder points to -bin. wtf?
abathur has joined #nixos
fusion809 has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #59268 → linux: kernel: Add kernels with rt patchset → https://git.io/fjqOG
abathur has quit [Ping timeout: 255 seconds]
jabranham has joined #nixos
<musicmatze> The effort in https://discourse.nixos.org/t/prs-already-reviewed/2617 is really nice,... but is it really necessary to tell people "hey I reviewed this and that" in the topic? I mean... we already have the "approved" or "requested changes" in github, why also mentioning it in discourse? Is there any benefit at all?
abathur has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<symphorien> sometimes I review things I know nothing about, and I just check that they don't segfault at startup, but someone else could have checked that they really work.
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/63f250ed6cb (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
alexozer[m] has left #nixos ["User left"]
dhkl has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
<timokau[m]> musicmatze: my motivation behind this is to call attention to a specific kind of review, e.g. ones I'd be willing to merge. Hence the list of hard requirements.
sam__ has joined #nixos
<timokau[m]> Also helps to give it a bit more visibility as a signal to all users "hey, you can review PRs just as well even if you don't have commit access"
<musicmatze> Yes, the intention is perfect and I don't argue! Someone mentioned that I reviewed 10% of the PRs in the last few days (50 out of 500) ... what I am asking is why people are writing down "hey I reviewed this PR" ... which does not make any sense to me because you can already see it in github
<musicmatze> no need to write it down in discourse because who goes to discourse to check for reviewed PRs? Nobody!
sam_ has quit [Ping timeout: 255 seconds]
<timokau[m]> What they are really writing is "hey I reviewed this PR according to the instructions in this discourse post"
<musicmatze> btw can someone link me to the statistics who reviewed how many PRs?
<timokau[m]> musicmatze: I'm currently experimenting with that here: https://discourse.nixos.org/t/weekly-leaderboards/2637
<{^_^}> [nixops] @AmineChikhaoui merged pull request #1127 → EC2: Add physical specs for elastic IP resources → https://git.io/fjqtP
<{^_^}> [nixops] @AmineChikhaoui pushed 2 commits to master: https://git.io/fjqOa
<timokau[m]> See last post for full stats
<musicmatze> ah, nice!
<musicmatze> Wow, nice, I'm indeed in the top ten. That's nice
<timokau[m]> musicmatze: top ten is seriously underselling your work ;) Thanks!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/180aa21259b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<musicmatze> Yeah, but what lilyball said: I am mostly reviewing simple package-version bump PRs, so I am not that awesome, actually! :-)
jabranham has quit [Ping timeout: 245 seconds]
<timokau[m]> musicmatze: Nothing wrong with that. It makes sense to clear those PRs first
joehh has quit [Ping timeout: 245 seconds]
<timokau[m]> (Actually now rereading the latest stats it seems like "Merges of already reviewed PRs" is not quite right, no way 111 of @xesjis PRs were already reviewed
<timokau[m]> )
<musicmatze> This weekend I will start working on an RFC to improve the whole process. I hope I can get it done before May... lets just hope PRs do not explode until then! :-) And of course lets hope that it gets approved and implemented then :-)
ddellacosta has joined #nixos
<timokau[m]> musicmatze: https://github.com/NixOS/rfcs/pull/30 may interest you
<{^_^}> rfcs#30 (by timokau, 34 weeks ago, closed): [RFC 0030] Formalize review workflow
<musicmatze> I'll have a look
fendor has joined #nixos
<timokau[m]> I didn't push any further because currently only committers can set labels. That may be resolved by ofBorg, but I didn't have the time / feel comfortable to hack on that. It could also be resolved by GitHub itself and they have shown some interest: https://github.com/isaacs/github/issues/148#issuecomment-472856684
<{^_^}> [nixpkgs] @bendlas pushed to master « webkitgtk: 2.24.0 -> 2.24.1 »: https://git.io/fjqOS
<musicmatze> I'm in the middle of reading, but so far this looks good. My RFC would redesign the whole workflow with branches and stuff... so its scope is different ... but I won't say too much about it this time... after the weekend maybe, I have a first draft...
iyzsong has quit [Ping timeout: 252 seconds]
kisik21 has joined #nixos
<pie_> symphorien, almost got this to run, it complains about wrong number of parameters for some reason though :/ socat EXEC:"sudo cntr attach -t command cntr-/nix/store/w9rk4mk0n6ah3js38hrdwys0xpnb32z3-ghidra-sample-result-mount socat STDIO TCP4:localhost:18001" TCP4-LISTEN:8888
jabranham has joined #nixos
<{^_^}> [nixpkgs] @bendlas pushed to release-19.03 « webkitgtk: 2.24.0 -> 2.24.1 »: https://git.io/fjqO9
<pie_> wrong number of parameters (3 instead of 1)
slyfox has quit [Ping timeout: 252 seconds]
slyfox has joined #nixos
ddellacosta has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @basvandijk merged pull request #59264 → alertmanager: 0.15.3 -> 0.16.2 → https://git.io/fjqmh
<{^_^}> [nixpkgs] @basvandijk pushed 3 commits to master: https://git.io/fjqOd
<infinisil> I'm trying to focus my reviewing work on NixOS modules
<infinisil> But because I know that every new module increases evaluation time for nixos-rebuild I've become very hesitant
<worldofpeace> musicmatze: What's your handle on GitHub?
<musicmatze> matthiasbeyer
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #59253 → Get Android cross working again → https://git.io/fjqfV
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to master: https://git.io/fjqOx
joehh has joined #nixos
Ariakenom has quit [Ping timeout: 250 seconds]
<worldofpeace> musicmatze: Ohh, I was just talking to you 😆
sam__ has quit [Remote host closed the connection]
johanot has quit [Quit: WeeChat 2.4]
<musicmatze> When, where?
sam_ has joined #nixos
<worldofpeace> #59105
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59105 (by matthiasbeyer, 3 days ago, open): linux: kernel: Add linux-ck for 4.14, 4.19 and 5.0
<musicmatze> Ah... yes. I thought here in the office :-) haha
<worldofpeace> Lol, that would be kinda weird
<worldofpeace> Also gonna note for that pr, you said eval would fail in the OP
<worldofpeace> And I think https://github.com/NixOS/nixpkgs/pull/59105#discussion_r272839061 is actually needed
orivej has joined #nixos
<musicmatze> needed?
<musicmatze> Why?
<musicmatze> I guess I could also remove it and it may work. I do not have a machine to test this though...
<manveru> infinisil: is there a proposal to fix that performance issue yet?
<infinisil> manveru: I wish there was, I've been trying to come up with something that would solve it, but nothing promising yet. See https://github.com/NixOS/nixpkgs/issues/57477 as well
<{^_^}> #57477 (by Infinisil, 4 weeks ago, open): `nixos-rebuild --switch` too slow, tracking issue
<infinisil> I do have an idea that might work, but it would be a *very* big refactor of nixpkgs
<Yaniel> oh, maybe I need to tweak some dbus thingie?
<Yaniel> since I have pulseaudio set to system-wide
<musicmatze> (afk, ...
<{^_^}> [nixpkgs] @minijackson reopened pull request #58400 → Kodi wayland → https://git.io/fjUwu
<manveru> infinisil: wouldn't a system where you do `imports = [ <nixos/modules/foo> <nixos/modules/bar> ]` fix that?
<manveru> i mean, at the cost of convenience...
rjmill has quit [Ping timeout: 240 seconds]
<infinisil> manveru: Yeah, but that requires changes to *every* users configuration.nix, and one of the main selling points of nixos is that you can just set `foo.enable = true;` and you have it running
<{^_^}> [nixpkgs] @srhb opened pull request #59269 → Revert "spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.0.237.g378f6f25-11" → https://git.io/fjq3I
<Yaniel> orrr I could try to get pulseaudio working in user mode again, hmm
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to release-19.03 « nixos/home-assistant: account for "The Great Migration" »: https://git.io/fjq3m
<{^_^}> 1connect/nginx-config-formatter#16 (by Mic92, 2 days ago, open): errounous semicolon after single-line location block
rjmill has joined #nixos
<Yaniel> oh right, usermode pulseaudio makes the plasma volume control widget freak out
<gchristensen> system-wide pulseaudio is pretty dangerous afaik
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/5c52b25283a (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<Yaniel> also makes firefox unable to play any audio unless I kill mpd
crmlt has joined #nixos
Erasmus has quit [Quit: END-AUMF]
<Yaniel> it's oldschool alsa all over again
Tucky has quit [Quit: WeeChat 2.2]
<jabranham> 0834
<jabranham> whoops, ignore that
<goibhniu1> FWIW the plasma audio volume control applet works fine here. Maybe there's something up with your mpd config?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58708 → libinput: 1.12.6 -> 1.13.1 → https://git.io/fjIfc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/fjq30
<Yaniel> not really?
<Yaniel> oh yeah and if I stop mpd to let firefox play something, firefox doesn't gtfo once it's done so I can't start mpd again until I kill firefox
<Yaniel> hm maybe it's mpd not actually using the pulse output even though that's the only one I specified for it?
<{^_^}> [nixpkgs] @basvandijk opened pull request #59270 → nixos/prometheus/alertmanager: use DynamicUser instead of nobody → https://git.io/fjq32
sam_ has quit [Remote host closed the connection]
<Yaniel> or does this mean I have to run mpd as my own user
<Yaniel> because it'd start pulse as the mpd user otherwise
sam_ has joined #nixos
Minijackson[m] has joined #nixos
linarcx has joined #nixos
kreetx has quit [Quit: leaving]
<{^_^}> [nixpkgs] @srhb merged pull request #59073 → ocamlPackages.faraday: 0.5.0 -> 0.7.0 → https://git.io/fjL9d
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjq3D
<worldofpeace> system-wide pulseaudio is pretty dangerous afaik
<worldofpeace> gchristensen tell that to the gui install iso :P
<gchristensen> well that shouldn't be root at all
Erasmus has joined #nixos
<chaker> Hey, is there a way to update grub options in NixOS without rebuild the configuration?
abathur has quit [Ping timeout: 246 seconds]
<srhb> chaker: Why do you want to do this? It's probably not a good idea.
sam_ has quit []
ryantrinkle has joined #nixos
<chaker> The goal is to support hibernation in EC2. I need to set some offset to point to a swap file. However since grub.conf is located at the Nix store. This isn't straightforward
<srhb> chaker: Isn't that a kernel command line param?
endformationage has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #59059 → redmine: 3.4.9 -> 3.4.10, redmine_4: 4.0.2 -> 4.0.3 → https://git.io/fjLS2
<{^_^}> [nixpkgs] @srhb pushed 3 commits to master: https://git.io/fjqsf
<chaker> Yep, that's correct.
<srhb> chaker: Would it be possible to just add it as such rather than in the grub config?
<srhb> Via boot.kernelParams
<srhb> Or does it need to mutate with each boot..
aanderse-work has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #59061 → redmine: 3.4.9 -> 3.4.10 (19.03 backport) → https://git.io/fjLSF
<{^_^}> [nixpkgs] @srhb pushed 3 commits to release-19.03: https://git.io/fjqsU
<chaker> Yes, it may be changed.
<srhb> Mkay. No idea how to do that in a nice way.
<aanderse-work> srhb: sorry i missed you on irc the other day. irc just sort of idles on my main pc regardless if i'm there or not
<chaker> Well, I'm sure it will be changed at least once ( first time the instance boot).
<srhb> aanderse-work: Not a problem, I just felt guilty for leaving you hanging :')
<aanderse-work> no problem at all
<{^_^}> [nixpkgs] @StillerHarpo opened pull request #59271 → lolcat: 99.911 -> 99.9.96 → https://git.io/fjqsk
<srhb> aanderse-work: Did my proposal make sense?
<Yaniel> should pulseaudio complain about not being able to contact dbus?
<aanderse-work> srhb: absolutely. i agree that makes much more sense. thanks for the commit on top :)
<srhb> Perfect :)
<{^_^}> [nixpkgs] @srhb merged pull request #59062 → redmine: 3.4.9 -> 3.4.10 (18.09 backport) → https://git.io/fjLSN
<{^_^}> [nixpkgs] @srhb pushed 2 commits to release-18.09: https://git.io/fjqsq
<worldofpeace> ping jtojnar
ddellacosta has joined #nixos
<worldofpeace> (would've been in *-dev but it might get **flakey**)
b1000101 has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #57937 → physfs: 3.0.1 -> 3.0.2 → https://git.io/fjfs8
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjqsn
seanparsons has quit [Remote host closed the connection]
seanparsons has joined #nixos
abathur has joined #nixos
<b1000101> hi guys, I'm trying to build this package https://github.com/1000101/nixpkgs/blob/master/pkgs/applications/altcoins/monero-gui/default.nix but it's failing when linking libusb1 - anyone ever encountered something like this? That package has dependency on monero package, where libusb1 is propagated through propagatedBuildInputs. The error is:
<b1000101> binutils-2.31.1/bin/ld: /nix/store/-monero-0.14.d.sl/lib/libwallet_merged.a(transport.cpp.o): undefined reference to symbol 'libusb_release_interface'
<b1000101> [output ommited] libusb-1.0.22/lib/libusb-1.0.so.0: error adding symbols: DSO missing from command line
<b1000101> I've left some hashes out
<{^_^}> [nixpkgs] @xeji merged pull request #59201 → brook: init at 20190401 → https://git.io/fjt13
<{^_^}> [nixpkgs] @xeji pushed commit from @xrelkd to master « brook: init at 20190401 (#59201) »: https://git.io/fjqs0
arjen-jonathan has quit [Ping timeout: 255 seconds]
<b1000101> any ideas how to fix such issue?
<Taneb> "nix edit" is pretty neat
ixxie has joined #nixos
<srhb> Taneb: So much.
waleee has joined #nixos
samrose has quit [Ping timeout: 258 seconds]
rjmill has quit [Ping timeout: 250 seconds]
drakonis_ has quit [Ping timeout: 245 seconds]
nschoe has joined #nixos
pie_ has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
ubert has quit [Quit: Leaving]
ixxie has quit [Ping timeout: 268 seconds]
linarcx has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
linarcx has joined #nixos
<aanderse-work> as a preface to what i'm about to say: i've never worked with go or go packaging on nix
<aanderse-work> i'm looking at https://github.com/NixOS/nixpkgs/pull/56234
<{^_^}> #56234 (by freezeboy, 6 weeks ago, open): demoit: init at 20190211
rjmill has joined #nixos
<aanderse-work> from reading the nixpkgs manual i expect there to be a deps.nix file, but there is none
<aanderse-work> i go through the nixpkgs manual to reproduce what the author may have done
<aanderse-work> the manual tells me to use go2nix, go2nix tells me to use vgo2nix, and vgo2nix fails
<srhb> aanderse-work: It doesn't need to be there if there's external deps.
<srhb> er, no external deps*
<aanderse-work> srhb: i figured that... but know so little about go that i can't even tell if there are any external deps! :D
aloiscochard has quit [Quit: Connection closed for inactivity]
<tilpner> Here it seems that the project vendored all the dependencies
<aanderse-work> the binary ran, so i assumed that everything was ok...
<aanderse-work> but thought it better to ask someone who actually knows
<tilpner> But then again, there's a go.mod file?
<aanderse-work> i should really learn some go...
* tilpner doesn't actuall know
<srhb> Oh, goModules...
<aanderse-work> or rust
<srhb> So this is quite new.. Let me have a look..
<aanderse-work> srhb: thanks
Ariakenom has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
<srhb> aanderse-work: At a first guess I suspect what really happened is that the author bumped the git commit but didn't bump the sha256
<srhb> Then it appeared to work because the old fixed-output-drv was in their store
<srhb> As an aside, I advise against advising nix-prefetch-* over the TOFU approach
<aanderse-work> reason?
<srhb> TOFU will always do the right thing, prefetch will do the right thing if you don't point it towards your foot when you shoot.
b1000101 has quit [Ping timeout: 256 seconds]
<srhb> (eg unpacking vs. not unpacking)
<aanderse-work> ah
<aanderse-work> yeah, ok
hyper_ch2 has joined #nixos
drakonis has joined #nixos
<srhb> Anyway, with the right sha everything looks good on my end.. And yeah, it uses the new goModules stuff.
erasmas has joined #nixos
<aanderse-work> srhb: one more question then...
<aanderse-work> ls /nix/store/jvk3shz6nxqyzy7mv63pi1jrqig19aqm-demoit-unstable-2019-03-29-bin/bin/
<aanderse-work> demoit sources
<aanderse-work> not sure what sources is... is that a go thing?
<srhb> aanderse-work: Pretty sure that's a sources thing
<srhb> er
drakonis_ has quit [Ping timeout: 245 seconds]
<srhb> a package thing*
<srhb> brain fart :P
<aanderse-work> k
<srhb> It prints Hello world! endlessly :3
<tilpner> srhb: This looks like a new package. Are you saying the author first packaged an older version and then updated that before PRing it?
<srhb> tilpner: Yes.
<{^_^}> [nixpkgs] @adisbladis pushed to master « pythonPackages.pythonix: 0.1.4 -> 0.1.6 »: https://git.io/fjqGI
<srhb> It happens pretty often.
<aanderse-work> tilpner: they seem to have made some mistakes on the sha256 a few times, so that sounds reasonable
Erasmus has quit [Quit: END-AUMF]
<tilpner> Okay :)
<srhb> The alternative is that either git, nix or fetchFromGitHub or github itself is broken, at least :-P
ddellacosta has quit [Ping timeout: 258 seconds]
PC_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
slack1256 has joined #nixos
wfranzini has joined #nixos
slack1256 has left #nixos [#nixos]
rcshm has joined #nixos
Lears has joined #nixos
_h3x has quit [Ping timeout: 246 seconds]
drakonis has quit [Read error: Connection reset by peer]
[Leary] has quit [Ping timeout: 246 seconds]
basvandijk has quit [Ping timeout: 245 seconds]
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « python3Packages.nixpkgs: Fix ImportError with recent pythonix versions »: https://git.io/fjqGZ
lovesegfault has quit [Ping timeout: 255 seconds]
InFlames has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-19.03: https://git.io/fjqG8
samrose has joined #nixos
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjqGB
<{^_^}> [nixpkgs] @FRidh merged pull request #58803 → hdf5: 1.10.4 -> 1.10.5 → https://git.io/fjICU
T_S_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyper_ch2 has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
zupo has joined #nixos
alexozer has joined #nixos
jabranham has quit [Ping timeout: 255 seconds]
zupo_ has joined #nixos
silver has quit [Read error: Connection reset by peer]
zupo has quit [Ping timeout: 268 seconds]
ninjin has quit [Remote host closed the connection]
alex`` has quit [Quit: WeeChat 2.4]
alexozer has quit [Quit: WeeChat 2.4]
psyanticy has joined #nixos
basvandijk has joined #nixos
psyanticy has quit [Client Quit]
sigmundv_ has quit [Ping timeout: 246 seconds]
i1nfusion has joined #nixos
psyanticy has joined #nixos
<psyanticy> !
ninjin has joined #nixos
InFlames has quit [Ping timeout: 246 seconds]
Jetien_ has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #59272 → go-ethereum: 1.8.25 -> 1.8.26 → https://git.io/fjqZY
Glider_IRC_ has joined #nixos
Glider_IRC__ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @exarkun closed pull request #59231 → tahoe-lafs: fix build on aarch64 → https://git.io/fjtNN
knupfer has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 250 seconds]
nschoe has quit [Ping timeout: 246 seconds]
b1000101 has joined #nixos
<Minijackson[m]> Hello everyone!
<Minijackson[m]> I'm looking for someone who would be willing to review my PR for kodi on wayland: https://github.com/NixOS/nixpkgs/pull/58400
<{^_^}> #58400 (by minijackson, 2 weeks ago, open): Kodi wayland
pxc has joined #nixos
amfabaiste has joined #nixos
__monty__ has joined #nixos
dnlkrgr has joined #nixos
<b1000101> Hi guys, any help would be appreciated. I'm trying to build https://github.com/1000101/nixpkgs/blob/master/pkgs/applications/altcoins/monero-gui/default.nix and I've managed to fix most of the errors but now I'm stuck at binutils-2.31.1/bin/ld: /nix/store/qyckqrrxpszr1g7y3wxr85z7l1i26pq9-libusb-1.0.22/lib/libusb-1.0.so.0: error adding symbols: DSO missing from command line - any ideas?
shabius has quit [Quit: Leaving]
shabius has joined #nixos
jasongrossman has quit [Ping timeout: 255 seconds]
cyphase has joined #nixos
_Geeko_ has joined #nixos
<_Geeko_> hi guys
<_Geeko_> which DE's are you guys using on nixos? :D
<clever> i prefer xfce
<_Geeko_> clever which displaymanager do you use for xfce?
lovesegfault has quit [Ping timeout: 246 seconds]
<clever> _Geeko_: slim
<_Geeko_> clever would you mind to share your nix config?
<clever> services.xserver = { enable = true; displayManager.slim.enable = true; desktopManager.xfce.enable = true; };
<_Geeko_> ty
<__monty__> Isn't slim discontinued?
<clever> __monty__: it still works great for me
<infinisil> clever: Well yeah, but I wouldn't suggest slim for new users
lovesegfault has joined #nixos
<infinisil> "The SliM project has been abandoned (last release was 2013, the project homepage is down), and is not fully compatible with systemd, including logind sessions."
nD5Xjz has quit [Ping timeout: 246 seconds]
b1000101 has quit [Ping timeout: 256 seconds]
crmlt has quit [Ping timeout: 250 seconds]
nD5Xjz has joined #nixos
gagbo has joined #nixos
<clever> infinisil: ive been thinking about reviving hsdm as well, have you seen that project?
<infinisil> Yea
<gchristensen> link?
<gchristensen> I'm hoping lots and lots of people switch to wayland-based tools so emacs gui finally gets fixed up :P
nD5Xjz_ has joined #nixos
<clever> a display manager written in haskell
<gchristensen> oh cool
nD5Xjz has quit [Ping timeout: 255 seconds]
<infinisil> gchristensen: What's the problem with emacs gui?
<gchristensen> it doesn't handle scaled displays very well
<gchristensen> since it isn't Really a GTK application, it doesn't do the magic that actual GTK applications do
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> I see
Thra11 has joined #nixos
<clever> gchristensen: related, the biggest problem i ran into with hsdm, was the gui for the login screen
<clever> i have since come up with an idea on how to cheat, hard :P
<clever> brick, ncurses, in tty7!
<clever> AFTER you login, start X!
<__monty__> : O fantastic idea.
<clever> would also result in lower resource usage when not logged in
_Geeko_ has left #nixos [#nixos]
<__monty__> Yes, I use antergos' lightdm(?) setup and it uses like 20% CPU when *not* logged in o.O
<gchristensen> infinisil: here is an (exaggerated) example of the problem: https://screenshotscdn.firefoxusercontent.com/images/505a49c9-016d-4fbe-a6eb-73aa38f15404.png
<samueldr> > ly.meta.description
<{^_^}> "TUI display manager"
<samueldr> clever: ^
<clever> though i dont see it in services.xserver.displayManager
<samueldr> I don't think it i
nomeata has joined #nixos
<infinisil> We should be able to do `services.xserver.displayManager = pkgs.ly`, pkgs.ly could have some passthru attributes that define itself as a DM
<nomeata> If I were to write a tool that modifies nix expressions, what are my options? I see that hnix (Haskell) has a parser and a printer, I and already got them to work, but I don't see much in terms of additional language support (in particular a function to calculate free variables)
<nomeata> If I were to write a tool that modifies nix expressions, what are my options? I see that hnix (Haskell) has a parser and a printer, I and already got them to work, but I don't see much in terms of additional language support (in particular a function to calculate the set of free variables of an expression)
<nomeata> sorry for the double post, too much Slack use these days…
<infinisil> nomeata: I actually PR'd a free variables function to hnix :)
<nomeata> ah, neat
<infinisil> Well, one existed beforehand, but it didn't work right
<{^_^}> [nixpkgs] @veprbl opened pull request #59273 → snakemake: 5.2.2 -> 5.4.4 → https://git.io/fjqnN
<__monty__> There's also a rust project iirc?
<gchristensen> ,jdwhat
<{^_^}> haskell-nix/hnix#363 (by Infinisil, 30 weeks ago, merged): More precise freeVars
<{^_^}> jD91mZM2
<__monty__> I've been considering just dropping the display manager altogether tbh.
<gchristensen> then sway is for you! =)
<__monty__> No point if you're the only user and you only use one session.
<disasm> love sway :)
<infinisil> I should also give it a try
<gchristensen> it is easier to setup than I expected
<samueldr> one (albeit fixable) point is that the DM will not leave a session in a VT which can be hijacked
<samueldr> and the X initialization happens in a different order with regards to profiles/rc files
<samueldr> (but that's not a point)
<__monty__> I guess I'll try it when I switch to NixOS. Not usually one to experiment with DM/WM/DE though so switching underlying graphics protocol isn't something I look forward to.
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #59181 → nixos/nginx: fix error in writeNginxConfig → https://git.io/fjtRr
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjqnh
<Mic92> Izorkin: alright. I merged it now.
<Izorkin> thanks
<nomeata> infinisil: Ok, this is in 0.6.0, which doesn’t build (when using just cabal/hackage) at the moment, due to https://github.com/haskell-nix/hnix/issues/493. So thanks, I’ll get that working somehow (or wait for it to be fixed)
<{^_^}> haskell-nix/hnix#493 (by Profpatsch, 1 week ago, open): nix-store-core is missing an export symbol
Mithror has joined #nixos
<__monty__> samueldr: I hadn't even considered that problem. Thanks for pointing it out.
<infinisil> I can't update to latest nixos-unstable because the 4.20 kernel is not supported anymore (only 4.19 and 5.0), but 5.0 is not supported by zfs unstable, and 4.19 seems to not work with the nvidia driver I need (nouveau seems to have problems for me)
<infinisil> :(
<infinisil> I could probably switch away from ZFS unstable, but that would be a >2GB data shuffle
<samueldr> it's among my personal reasons not to use zfs :/ out of tree stuff spooks me; though at least adding the 4.20 kernel in an overlay should be trivial
silver has joined #nixos
<infinisil> trivial?
<gchristensen> eh? 5.0 should supported just fine by zfs stable and unstable, infinisil
<gchristensen> I'm on 5.0.4 and using zfs stable
<infinisil> stable supports 5.0, but unstable only up to 4.20
<__monty__> Then what's the benefit of unstable?
<jD91mZM2> gchristensen: Ahahah that exists, amazing
<infinisil> __monty__: The features of unstable, which includes most prominently encryption. I enabled this once to try it out, but now I can't switch back xD
domogled has quit [Ping timeout: 255 seconds]
<__monty__> samueldr: Btrfs ftw!? : )
wfranzini has quit [Remote host closed the connection]
<samueldr> ext4 from inertia
wfranzini has joined #nixos
<gchristensen> infinisil: ah yeah that is a thing
<infinisil> It is a bit odd..
<gchristensen> infinisil: part of why I decided against using ZFS's encryption.
<infinisil> gchristensen: The fact that it's not yet stable?
<gchristensen> right, and ties you in to fewer options
waleee has quit [Quit: WeeChat 2.4]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8a71ce3cae6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<infinisil> Well it's just that once you enable some features for a pool, you can't revert that. I could've created a different pool for trying out encryption and then the original one could still be used by an older zfs version
<clever> for some features, you can turn them off if you delete all data using them
<infinisil> gchristensen: Or what do you mean by "ties you into fewer options" exactly?
<clever> i believe the zpool man page says which ones
<infinisil> Ah right, I don't think encryption is one of those though unfortunately
* infinisil checks
<clever> `man zpool-features`
<clever> Once the feature is active, it will remain in that state until the pool is destroyed.
<clever> Existing pools where this feature is active can be imported.
<clever> This feature is active while there are any filesystems, volumes, or snapshots which were created after enabling this feature.
<infinisil> Guess I could probably turn it off :o
<clever> the last one implies you can disable the feature if you simply destroy the datasets in question
<gchristensen> infinisil: well so since I don't use any unstable features I can use stable or unstable, which ever works for the kernel I want
<clever> send|recv could likely shuffle the data around within the pool, and de-feature it
<gchristensen> buying in to unstableu stuff means I can only usu that
<clever> encryption is not in my man page
<infinisil> Ah yeah
<infinisil> clever: Well then you're probably not using unstable :)
<{^_^}> [nixpkgs] @erosennin opened pull request #59274 → [backport] renpy: 7.1.3 -> 7.2.0 → https://git.io/fjqcz
nschoe has joined #nixos
<jD91mZM2> nomeata: Like they mentioned, my rnix project is a possibility, but beware it is also just a parser and a printer, and all logic is up to either you or some helper library
<clever> embedded_data looks like a handy feature for dealing with a lot of small files
<gchristensen> infinisil: you could bump zfs-unstable to a version from git probably
<clever> and its already active
<gchristensen> that seems extra spooky to me, but eh
<infinisil> Yeah I won't do that, too spoopy
<clever> ahh yeah
<clever> action: Enable all features using 'zpool upgrade'. Once this is done,
<gchristensen> infinisil: or, "just" apply the 5.0 patches to 8.0
<nomeata> jD91mZM2: thanks. Might be an excuse to get deepter into rust :-)
nomeata has quit [Remote host closed the connection]
<gchristensen> infinisil: cautious though, zfs unstable apparently used to / may will again point to arbitrary git commits
polman has quit [Read error: Connection reset by peer]
polman has joined #nixos
<infinisil> I think I'll just redo my disk layout, use stable ZFS, maybe slap some encryption on it too with luks
<{^_^}> #58553 (by sjau, 1 week ago, closed): zfs_unstable: 0.8.0-rc3 -> 2019-03-29
<{^_^}> #58795 (by adisbladis, 1 week ago, open): zfsUnstable: 0.8.0-rc3 -> 2019-04-01
dnlkrgr has quit [Ping timeout: 268 seconds]
growpotkin has joined #nixos
<clever> infinisil: previously, i put lvm on my luks, to share a single passphrase between swap and zfs
<clever> infinisil: but, the nixos initrd can now reuse the same luks passphrase on multiple devices, so thats not required
<infinisil> Since when? How? Got a PR number?
<clever> also, the reason i even wanted stable encryption on the swap was hibernate, but zfs doesnt support that, so: swapDevices.*.randomEncryption
basvandijk has quit [Ping timeout: 246 seconds]
<growpotkin> Hey if im packaging (to contribute) a repo which contains a `default.nix` I can just clone and do `callPackage ./.` yeah?
basvandijk has joined #nixos
freeman42x has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
equivrel has quit [Read error: Connection reset by peer]
<infinisil> clever: Wait but what if you have different passwords?
<clever> infinisil: if the previous one fails to unlock the device, it will just prompt again
<samueldr> it tries to
freeman42x has joined #nixos
growpotkin_ has joined #nixos
growpotkin has quit [Read error: Connection reset by peer]
<infinisil> growpotkin: Not really. What you need to do can vary a lot
<infinisil> -.-
<infinisil> (they left a second before I replied)
<gchristensen> Peer reset their connection. that jerk.
equivrel has joined #nixos
PC_ has quit [Ping timeout: 255 seconds]
alexozer has joined #nixos
<growpotkin_> Infinisil: okay, I’ll get crafty. I imagined it might be dead simple. JFC i wrote the default.nox myself such that it performs the install, its not like an “unknown expression”.
<growpotkin_> .nix**
<infinisil> gchristensen: xD
Mithror has quit [Ping timeout: 252 seconds]
_Geeko_ has joined #nixos
<gchristensen> growpotkin_: right, but it isn't (exactly) about being trusted or not, but a limitation of the build system: IFD is prohibited
<gchristensen> ,IFD
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result.
<{^_^}> [nixpkgs] @aanderse merged pull request #56234 → demoit: init at unstable-2019-03-29 → https://git.io/fjqcQ
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjqc7
<infinisil> growpotkin_: I see. If it's the standard `with import <nixpkgs> {}` at the top, then you can replace that with `{ stdenv, cmake, <whathaveyounot> }:` and callPackage that
<_Geeko_> mmmh i have a weird issue changed to xfce DE and know i can't find my nvidia folder anymore seems the driver is just not installed anymore
basvandijk has quit [Ping timeout: 245 seconds]
<_Geeko_> now*
<growpotkin_> Gotcha now that i consider it this makes sense; i suppose we want to keep package installation definitions in `nixpkgs` rather than leave them up to any random dev on GitHub.
Glider_IRC_ has quit [Quit: Leaving]
ddellacosta has joined #nixos
Jonathan_ has joined #nixos
<clever> This feature enables the use of the Edon-R hash algorithm for checksum, including for nopwrite (if compression is also enabled, an overwrite of a block whose checksum matches the data being writ‐
<clever> infinisil: :O, i could see that helping performance in some cases
growpotkin_ has quit [Quit: Mutter: www.mutterirc.com]
<infinisil> clever: That's neat
<infinisil> Aw man, why can't 8.0 be released already
<gchristensen> gotta give time for TRIM to stabilize
<gchristensen> also apparently there is a show-stopping bug in raw sends
mounty has quit [Ping timeout: 245 seconds]
Glider_IRC has joined #nixos
<_Geeko_> services.xserver = { enable = true; displayManager.lightdm.enable = true; videoDrivers = [ "nvidiaBeta" ];};
<_Geeko_> what is wrong that he does not find the videodrivers?
<_Geeko_> there is no error
<myme> Hi fine folks. Just jumped into NixOS and had no large trouble with the setup. My first roadblock has been to figure out how to setup a dev env for working on our main Python/JavaScript codebase. As the only dev on Nix I don't want to be too invasive on the others (aka impose too many changes to the codebase). A few of our deps use compiled code (Pillow, lxml, paramiko, ...). What's been the least amount of
<myme> setup so far has been using buildFHSUserEnv, and install all deps in there: https://gist.github.com/myme/d6923dfc176880249226e28977e20095
<myme> An obvious challenge then is e.g. editor integration. I've been using emacs with pyls and lsp-mode for language integration. Would be great not to have to specify *all* of this in the env as well (as in, have it running on the outside).
nschoe has quit [Ping timeout: 258 seconds]
<_Geeko_> clever so what do i do?
<clever> _Geeko_: what is not working?
thc202 has quit [Ping timeout: 245 seconds]
nakkle has quit [Ping timeout: 258 seconds]
<_Geeko_> clever its just not building the nvidia drivers
<_Geeko_> it worked fine with kde
dnlkrgr has joined #nixos
nschoe has joined #nixos
nakkle has joined #nixos
<clever> _Geeko_: what error is it giving?
nschoe has quit [Remote host closed the connection]
<_Geeko_> clever no error
<_Geeko_> thats the funny part
<clever> _Geeko_: why do you think its not building the nvidia drivers?
<averell> anyone experience problems with TMUX_TMPDIR on the desktop? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/tmux.nix#L180 looks like a wrong escape, but my problems only started much later than that line changed.
<_Geeko_> clever bc i can't see any map in my nix store
Neo--- has quit [Ping timeout: 250 seconds]
<_Geeko_> normally i saw there the driver nvidia xx
<clever> averell: that should eval XDG_RUNTIME_DIR at runtime i think
<averell> ok, it's not set for me unless i log in via ssh. so maybe that's my problem?
<averell> sounds like two bugs then though
rjmill has quit [Ping timeout: 250 seconds]
equivrel has quit [Read error: Connection reset by peer]
<clever> averell: how are you logging in when it isnt set?
rjmill has joined #nixos
thc202 has joined #nixos
<averell> i start a terminal from xmonad. i just checked, non-x console is fine too.
<clever> averell: which shell are you using?
pmiddend has joined #nixos
<averell> zsh. bash is the same. even when i give --login.
<pmiddend> Does anyone know if NixOS can cross-compile Python for Windows yet?
<clever> averell: did you set programs.zsh.enable?
<averell> yes
<clever> averell: one min...
<clever> averell: the tmux var should wind up in a set-environment file, which is referenced by /etc/profile
mounty has joined #nixos
dnlkrgr has quit [Ping timeout: 255 seconds]
<clever> averell: the problem is likely that your desktop manager (xmonad) is not sourcing /etc/profile on startup
<averell> it is there, just XDG_RUNTIME_DIR is not set in nev
<averell> i have this escaped TMUX_TMPDIR
PC_ has joined #nixos
coconnor has joined #nixos
zupo has joined #nixos
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ed436a69239 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<averell> also ETC_PROFILE_DONE is 1. i couldn't find any recent change mentioning XDG_RUNTIME_DIR (this is on master).
<{^_^}> [nixpkgs] @anderspapitto opened pull request #59275 → crawl: 0.22.1 -> 0.23.2 → https://git.io/fjqC2
_Geeko_ has left #nixos [#nixos]
Shouou has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #59269 → Revert "spotify: 1.0.96.181.gf6bc1b6b-12 -> 1.1.0.237.g378f6f25-11" → https://git.io/fjq3I
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjqCP
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d50bc0afd23 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mconstant has joined #nixos
pxc has quit [Ping timeout: 245 seconds]
linarcx has quit [Ping timeout: 245 seconds]
lovesegfault has quit [Ping timeout: 245 seconds]
<ninjin> Okay, now I am supremely confused. Containers are supposed to have their own network interfaces, no? Yet my vanilla container does not have an interface and has network access without me enabling NAT.
<clever> ninjin: what does `ifconfig -a` show inside the container?
<ninjin> clever: Exactly the same thing that it shows outside the container.
equivrel has joined #nixos
<clever> ninjin: then its likely not using a network namespace
<ninjin> I used `root-login`, but surely that should not matter.
<gchristensen> ninjin: how did you set it up?
<gchristensen> they don't necessarily use their own interface
<gchristensen> containers.<name>.privateNetwork
<ninjin> gchristensen: Declaratively in my configuration, I can paste it. What is our pastebin of choice around here?
<gchristensen> infinisil: you know what'd be coooool? ,option containers.<name>.privateNetwork => {^_^}: containers.<name>.privateNetwork: Whether to give the container its own private virtual Ethernet interface. The interface is called eth0, and is hooked up to the interface ve-container-name on the host. If this option is not set, then the container shares the network interfaces of the host, and can bind to any port on any
<gchristensen> interface. (boolean, default: false)
<ninjin> Did I read the manual wrong perhaps, `privateNetwork` is clearly `false` by default.
<eyJhb> Is there any good and easy way to e.g. block/override 1000 hosts?
<eyJhb> (or if anybody already have a hostfile for blocking FB)
<gchristensen> ninjin: right, meaning that your container is not on a private network
<infinisil> gchristensen: That would be pretty cool
<ninjin> “When you create a container using nixos-container create, it gets it own private IPv4 address in the range 10.233.0.0/16.”, I guess it differs if it is declarative or not. My bad, thank you guys.
ingenieroariel has joined #nixos
* ninjin is trying to force an application to go through a tunnel by putting it in a container.
ingenieroariel is now known as Guest6217
cantstanya has quit [Remote host closed the connection]
<gchristensen> nice
<gchristensen> I've been doing some clever container playing
<ninjin> FYI, the way I found out that they were not separate was by nuking the routes inside the container and being forced to reboot. '^^
<gchristensen> LOL :D
alexozer has quit [Ping timeout: 255 seconds]
<ninjin> There were a few curses, yes. ;P
aanderse-work has quit []
<NemesisD> this is probably a long shot but is there any way to tell how many packages in my dependencies are marked broken without having to build the whole thing? i'm willing to fork and fix a few but if its gonna be dozens i'll have to figure something else out
alexozer has joined #nixos
wolfman154 has joined #nixos
kleisli has quit [Ping timeout: 268 seconds]
<wolfman154> Should I do: { config, pkgs, lib, ... }:
<wolfman154> }
<wolfman154> with pkgs.lib;
<wolfman154> { config, pkgs, ... }:
<wolfman154> Or
<wolfman154> At the top of home.nix(does it even matter?)
<wolfman154> }
<clever> wolfman154: i prefer { config, pkgs, lib, ... }:
<wolfman154> clever: thanks, but do they mean the same thing?
<gchristensen> config, pkgs, lib are parameters. if you don't use lib, you can leave it out
<clever> i think { lib, ... }: gets it by directly importing lib/default.nix
<clever> so it wont directly depend on the pkgs
<clever> oh, but i'm basing that on nixos, home-manager may do it differently
<clever> the difference comes into play if you start using lib to mutate pkgs in drastic ways
<clever> it may need lib to compute pkgs.lib, and then infinite recursion
<clever> but { pkgs, lib, ... }: allows the lib to be isolated from pkgs
pxc has joined #nixos
<wolfman154> clever: yes, I’m using home-manager, I’ll try your way, if it does not work, I’ll try the with pkgs.lib;
<wolfman154> home
<clever> you can also do { pkgs, lib }: without the ..., to see what other arguments are available to you
mconstant has quit [Ping timeout: 255 seconds]
mconstant has joined #nixos
<wolfman154> home-manager is overriding setxkbmap, so my custom keyboard layout is not loading when I reboot, so hopefully this will stop xmodmap changes from getting reset after a rebuild switch
nD5Xjz_ has quit [Ping timeout: 255 seconds]
silverluke[m] has joined #nixos
nD5Xjz has joined #nixos
_Geeko_ has joined #nixos
<_Geeko_> clever it was builded already without me knowing XD
<_Geeko_> clever you know where themes are stored by default?
<_Geeko_> in xfce
<clever> _Geeko_: /run/current-system/sw/share/themes/
<_Geeko_> ty
Mithror has joined #nixos
wolfman154 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #59271 → lolcat: 99.9.19 -> 99.9.96 → https://git.io/fjqsk
<{^_^}> [nixpkgs] @xeji pushed commit from @StillerHarpo to master « lolcat: 99.9.19 -> 99.9.96 (#59271) »: https://git.io/fjqWZ
growpotkin_ has joined #nixos
kleisli has joined #nixos
Guest6217 has quit [Quit: Page closed]
<_Geeko_> clever seems i can't mv themes to that folder
growpotkin_ has quit [Read error: Connection reset by peer]
pmiddend has quit [Quit: WeeChat 2.4]
<_Geeko_> they have only a read permission
growpotkin_ has joined #nixos
<clever> _Geeko_: you must configure that in configuration.nix
<clever> _Geeko_: packages containing themes have to be added to environment.systemPackages
<_Geeko_> ic
dnlkrgr has joined #nixos
<clever> which could be as simple as environment.systemPackages = [ ./foo ];, and then create a foo/share/themes
lovesegfault has joined #nixos
growpotkin__ has joined #nixos
growpotkin_ has quit [Read error: Connection reset by peer]
<_Geeko_> clever any example somewhere?
<ninjin> Hmm… Minor progress, `privateNetwork` has an effect. However, the following trivial config https://pastebin.com/cWs89BMP gives me a single loop-back interface – no eth0 as was promised.
growpotkin__ has quit [Client Quit]
<clever> _Geeko_: just make a directory like /etc/nixos/foo/share/themes, drop some themes into it, and then add ./foo to your systemPackages in configuration.nix
<_Geeko_> sorry for me being a noob :D
leotaku has quit [Ping timeout: 250 seconds]
<_Geeko_> thanks
<Yaniel> how do I get systemd to see service files of things I installed in with nix-env?
<Yaniel> so I can autorun them with systemctl --user
<Jonathan_> I am working on switching to using NixOS from Arch. I use Sway as my window manager. The latest version on nixpkgs though apparently is the old `0.15`. I found this post in the forum `https://discourse.nixos.org/t/overlay-for-sway-and-other-wayland-wms-tools/1282`. But I cannot figure out how to use it. What is meant by overlay? Is this even the right way to go about it?
mounty has quit [Ping timeout: 245 seconds]
<AlexRice[m]> Jonathan_: Version 1.0 is in unstable and I believe that overlay only works with unstable anyway
<Jonathan_> So `nixos.org/nixos/packages.html` only search stable?
xkapastel has quit [Quit: Connection closed for inactivity]
<AlexRice[m]> Jonathan_: I think so
<adisbladis> Jonathan_: Yes
<Jonathan_> Oh, well that explains it.
<Jonathan_> Is their a good "unstable" alternative?
<Jonathan_> *there
<AlexRice[m]> Jonathan_: I just search the nixpkgs repository but there is likely a better way
<adisbladis> Jonathan_: You can use `nix search` from the command line
<AlexRice[m]> Jonathan_: nix-env -qa sway seems to work aswell
Mithror has quit [Ping timeout: 252 seconds]
<Jonathan_> Cool.
leotaku has joined #nixos
<Jonathan_> Thanks guys!
<{^_^}> [nixpkgs] @xeji merged pull request #58873 → rspamd: 1.8.3 -> 1.9.0 → https://git.io/fjI2F
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « rspamd: 1.8.3 -> 1.9.0 (#58873) »: https://git.io/fjqWw
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @anderspapitto closed pull request #59275 → crawl: 0.22.1 -> 0.23.2 → https://git.io/fjqC2
<{^_^}> [nixpkgs] @xeji merged pull request #58615 → gotop: 2.0.1 -> 3.0.0 → https://git.io/fjkrw
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « gotop: 2.0.1 -> 3.0.0 (#58615) »: https://git.io/fjqWi
<averell> another weird problem, maybe someone has seen: my dhcpcd service is broken. i increased logging in the systemd script, every line is printed in duplicate, with the same pid (if that's what it is). then it forks, and the second fork overwrites the first pid file, so it never completes starting. anyone know what that is?
nD5Xjz has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d5cc30b721e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<_Geeko_> clever stuck with adding ./foo to my nix file
nD5Xjz has joined #nixos
<clever> _Geeko_: can you pastebin that file and any erorrs its giving?
ddellacosta has quit [Ping timeout: 240 seconds]
<_Geeko_> environment.systemPackages = with pkgs; [ wget vim firefox ntfs3g steam discord gnome3.gnome-disk-utility grub2_efi ./foo ];
<_Geeko_> i probs added it wrong
<clever> _Geeko_: looks right to me, what error does it give?
ddellacosta has joined #nixos
<_Geeko_> The option value `environment.systemPackages.[definition 3-entry 9]' in `/etc/nixos/configuration.nix' is not of type `package'.
<{^_^}> [nixpkgs] @xeji merged pull request #58623 → dep2nix: 0.0.2 -> 2019-01-20 → https://git.io/fjkKl
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « dep2nix: 0.0.2 -> 2019-04-02 (#58623) »: https://git.io/fjqWX
<clever> _Geeko_: ahh, systemPackages has gotten more strict, one min
nD5Xjz has quit [Ping timeout: 246 seconds]
wfranzini has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
mconstant has quit [Ping timeout: 250 seconds]
wfranzini has joined #nixos
nD5Xjz has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #58622 → influxdb: 1.6.3 -> 1.7.5 → https://git.io/fjkKs
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « influxdb: 1.6.3 -> 1.7.5 (#58622) »: https://git.io/fjqWD
zupo has joined #nixos
amfabaiste has left #nixos [#nixos]
<_Geeko_> clever syntax error, unexpected LET, at /etc/nixos/configuration.nix:50:1
<clever> _Geeko_: why is it on line 50?
<clever> my example had it near the very top
<_Geeko_> oh ye i see
Neo--- has joined #nixos
<_Geeko_> attempt to call something which is not a function but a set, at /etc/nixos/configuration.nix:11:4
<{^_^}> [nixpkgs] @xeji merged pull request #58612 → brig: 0.3.0 -> 0.4.1 → https://git.io/fjkw6
<clever> _Geeko_: can you pastebin your whole configuration.nix?
<{^_^}> [nixpkgs] @xeji pushed commit from @bricewge to master « brig: 0.3.0 -> 0.4.1 (#58612) »: https://git.io/fjqWA
<_Geeko_> yup
markus1189 has quit [Ping timeout: 246 seconds]
<clever> _Geeko_: after the in, you have 2 sets, that should be 1 set
<clever> let ... in {...} {...} is invalid
<clever> it must be let ... in { ... }
Jonathan_ has quit [Ping timeout: 256 seconds]
Anton-Latukha has quit [Ping timeout: 252 seconds]
__monty__ has quit [Quit: leaving]
kleisli has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 258 seconds]
basvandijk has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
i1nfusion has quit [Remote host closed the connection]
crmlt has joined #nixos
i1nfusion has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #59270 → nixos/prometheus/alertmanager: use DynamicUser instead of nobody → https://git.io/fjq32
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjqls
<_Geeko_> clever can't seem to fix it would you be so kind to sent me the correct nix conf?
<{^_^}> [nixpkgs] @veprbl opened pull request #59278 → netbsd.mkDerivation: fix darwin build → https://git.io/fjqlc
<_Geeko_> clever thanks for your help it works now!
<_Geeko_> this community is so nice!
<gchristensen> <3 yay!
<_Geeko_> will be soon in top 100 on distrowatch for sure
<gchristensen> I didn't know people still used distrowatch :X
Jonathan_ has joined #nixos
<averell> we are top 100. i was just about to switch away... :)
<NemesisD> what causes haskell packages in nix to be labeled broken? i set allowBroken = false and packages that were marked as broken seem to be compiling fine
<ajs124> People also still use Windows XP ^^
<ninjin> #95 in fact, it seems.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/95 (by cpages, 6 years ago, merged): minecraft: update to 1.3.1
<gchristensen> I find it likely distrowatch's stats are gamed :)
<ninjin> “…definite elitism in some of the interactions I've had with NixOS users and likely devs”, hehe.
markus1189 has joined #nixos
<ninjin> I have to disagree with that one, everyone has been friendly so far.
<averell> big GNU is paying for reviews
<ninjin> That commenter can head over to OpenBSD misc to get some perspective.
Thra11 has quit [Ping timeout: 245 seconds]
<gchristensen> I want us to be friendly, not just friendly relative to other distros ;)
tmaekawa has joined #nixos
pie_ has joined #nixos
<enteee> hi, when i build and run a vm with nixos-rebuild build-vm && result/bin/run* everything works fine, but when I then restart the same vm again the installed packages in the user environment do no longer exist. Is this expected?
<ninjin> Friendly comes in many flavours, not expecting people to due dilligence before asking is not being friendly for example, that is allowing yourself to be exploited and will hurt everyone in the long run.
<gchristensen> sure, though that too can be handled in a friendly supportive way
<ninjin> Giving up on my container adventures for today, I need to wrap my head around how and how not things are updated. I managed to get the devices to appear with a lot of starting and stopping, but it is too magical at this point.
<_Geeko_> clever same way for icons?
arjen-jonathan has quit [Ping timeout: 246 seconds]
<ninjin> One thing I have loved about NixOS so far, not much magic at all. So clearly I need to figure out what I am missing.
<clever> _Geeko_: could probably just add them to the same directory
<ninjin> gchristensen: Indeed, manners above all.
<_Geeko_> clever seems not too work :/
<_Geeko_> must be too easy
<clever> _Geeko_: what path would the icons normally be installed to?
mconstant has joined #nixos
<_Geeko_> to the folder icons?
<clever> _Geeko_: looks like share/icons, what happens if you drop them into /etc/nixos/foo/share/icons and nixos-rebuild?
<_Geeko_> rip me i did not rebuild
Jonathan_ has quit [Ping timeout: 256 seconds]
Neo--- has quit [Ping timeout: 255 seconds]
<emilsp> So I know there's support for luks/dmcrypt, I know there's support for zfs, but has has anyone really been far even as decided to use even go want to do zfs on top of luks for the root drive on nix?
<clever> emilsp: my laptop has zfs on lvm on luks
<emilsp> clever: is it stable?
<clever> emilsp: yep
<emilsp> This is incredibly tempting now.
<clever> emilsp: the lvm i used is no longer needed, that was just to support encrypted swap
<_Geeko_> clever rebuild did it! :D
<emilsp> What is your solution for encrypted swap now?
<_Geeko_> clever thanks for your time bro!
<clever> emilsp: just put the swap on its own luks partition
<clever> emilsp: nixos will now reuse the password if both devices share the same one
<emilsp> yeah, I guess that works. what about suspending to disk?
<clever> emilsp: i dont think hibernation works with zfs
<clever> suspend still works fine though, as i discovered by accident!
<emilsp> well, I never had it in my current setup, so I'll live with plain old suspension to memory
<clever> i was using a voice chat on the laptop, while servicing the desktop, and the lcd panel got in the way, so i just closed the lid
<clever> and it put itself to sleep, lol
<emilsp> heh
alexozer has left #nixos ["WeeChat 2.4"]
<clever> opened the lid, and it instantly woke up, like nothing happened!
Makaveli7 has quit [Quit: WeeChat 2.4]
<emilsp> I'd hope it would've locked itself at the very least :>
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<clever> not by default, and i havent looked into that
freeman42x has quit [Ping timeout: 252 seconds]
* AlexRice[m] uploaded an image: NixosInstall.jpg (794KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/EteiAfvXWqnbNKYrsUZITUTW >
<chrisaw> Can anyone tell me how I can enable the javaws plugin for oracle jdk?
<AlexRice[m]> bit of a long shot but does anyone know what causes this
<chrisaw> I see there's a flag in the package but I'm not sure how to set it
<AlexRice[m]> the only things I can find online are github issues saying it was fixes 3 years ago
<clever> AlexRice[m]: usb device?
<AlexRice[m]> clever: What do you mean? I am trying to boot from the install iso which is on a usb stick
<clever> AlexRice[m]: it could be that the usb stick is damaged or just loose
<clever> chrisaw: it appears to be tied to the pluginSupport flag, which is true by default
silverluke[m] has left #nixos ["User left"]
<AlexRice[m]> clever: I've tried with a couple of different usb sticks and a couple of different ports
Jonathan_ has joined #nixos
<clever> AlexRice[m]: weird
obadz has joined #nixos
<averell> did you remove other usb devices? could be a hub, cable, usb-motherboard-cable too.
<chrisaw> clever: I did see that but I'm a bit mystified - looks like it checks to see if pluginSupport is set and if not - it removes javaws. The problem I'm having is - javaws isn't getting installed despite not tinkering with that flag.
<AlexRice[m]> averell: I haven't tried that, will try now
Ariakenom has quit [Quit: Leaving]
basvandijk has quit [Ping timeout: 245 seconds]
tmaekawa has quit [Quit: tmaekawa]
<AlexRice[m]> exactly the same thing happens with everything removed
<{^_^}> [nixpkgs] @costrouc opened pull request #59279 → python3Packages.nixpkgs-pytools: init at 1.0.0 → https://git.io/fjq8m
drakonis has joined #nixos
fendor_ has joined #nixos
wfranzini has quit [Remote host closed the connection]
nD5Xjz has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #59280 → mkchromecast: init at 5872a246 → https://git.io/fjq8s
<AlexRice[m]> averell: when you say usb-motherboard-cable do you mean an internal one in the computer?
nD5Xjz has joined #nixos
fendor_ has quit [Client Quit]
<averell> yes. if you have front and back ones on a desktop for example, you should try the other one respectively. i'm just guessing though, it's not super likely.
fendor_ has joined #nixos
fendor has quit [Ping timeout: 255 seconds]
stepcut has joined #nixos
<AlexRice[m]> interestingly it failed with a different error when plugged into the back
work_ has joined #nixos
ryantrinkle has quit [Ping timeout: 246 seconds]
joehh has quit [Ping timeout: 246 seconds]
<pie_> symphorien, i got your amazing socat idea to work
<pie_> "thanks i hate it"
<pie_> um
<pie_> or at least i thought i did
<{^_^}> [nixpkgs] @markuskowa opened pull request #59281 → hpl: init at 2.3 → https://git.io/fjq8C
basvandijk has joined #nixos
stepcut has quit [Remote host closed the connection]
Glider_IRC_ has joined #nixos
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
stepcut has joined #nixos
Glider_IRC has quit [Ping timeout: 250 seconds]
basvandijk has quit [Ping timeout: 245 seconds]
<AlexRice[m]> averell: clever: for some reason the unstable install image worked, I have no idea what difference it made but thanks for the help
<{^_^}> [nixpkgs] @booxter opened pull request #59282 → flashplayer: 32.0.0.156 -> 32.0.0.171 → https://git.io/fjq8u
<{^_^}> [nixpkgs] @booxter opened pull request #59283 → flashplayer: 32.0.0.156 -> 32.0.0.171 → https://git.io/fjq8g
crmlt has quit [Ping timeout: 246 seconds]
wfranzini has joined #nixos
<clever> ,locate gst-play
<{^_^}> Found in packages: gst_all_1.gst-plugins-base
fresheyeball has joined #nixos
<fresheyeball> how can I capitalize a string?
<fresheyeball> I see toUpper but that does the whole string
<fresheyeball> and I don't see how to uncons a string
drakonis has quit [Quit: WeeChat 2.3]
ryantrinkle has joined #nixos
alexozer has joined #nixos
dnlkrgr has quit [Ping timeout: 255 seconds]
_Geeko_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
ryantrinkle has quit [Ping timeout: 255 seconds]
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
stepcut has quit [Ping timeout: 250 seconds]
Neo--- has joined #nixos
mconstant has joined #nixos
nuh^ has joined #nixos
strobelight has quit [Ping timeout: 250 seconds]
stepcut has joined #nixos
<{^_^}> [nixpkgs] @burke opened pull request #59284 → When packaging rubygems, prune git repos from the bundler cache: → https://git.io/fjq85
sigmundv_ has joined #nixos
o1lo01ol1o has joined #nixos
pxc has quit [Ping timeout: 250 seconds]
drakonis has quit [Ping timeout: 252 seconds]
tmaekawa has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
Jonathan_ has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erasmas has quit [Quit: leaving]
<fresheyeball> [builtins.head [1 2]] ++ (builtins.tail [1 2])
Soo_Slow has quit [Remote host closed the connection]
<fresheyeball> [ «primop» [ ... ] 2 ]
<fresheyeball> wtf
<infinisil> parens
<fresheyeball> why?
<infinisil> > [(head [1 2])] ++ tail [1 2]
<{^_^}> [ <CODE> 2 ]
<infinisil> > :p [(head [1 2])] ++ tail [1 2]
<{^_^}> [ 1 2 ]
<infinisil> Because that's how Nix works :)
<fresheyeball> I don't understand though
<infinisil> > [1 2]
<{^_^}> [ 1 2 ]
<infinisil> > :p [id 2]
<{^_^}> [ <LAMBDA> 2 ]
<infinisil> > :p [(id 2)]
<{^_^}> [ 2 ]
<infinisil> Nix uses " " as a separator between list elements
<fresheyeball> oic
<fresheyeball> Oh!
<fresheyeball> :mind_blown:
<{^_^}> [nixpkgs] @risicle opened pull request #59286 → Ris afl qemu diet → https://git.io/fjq8h
doyougnu has joined #nixos
ryantrinkle has joined #nixos
Neo--- has quit [Ping timeout: 245 seconds]
<duairc> buildInputs is for stuff a derivation needs for building, right? What about if a the resulting program depends on a command-line executable provided by another package (but doesn't need it to build or otherwise link against it)? Where does that go?
<infinisil> ,runtimeDeps duairc
<{^_^}> duairc: In order of preference: Patch source OR ((if it uses PATH -> wrap with new $PATH) AND (if it uses dlopen, (patchelf --set-rpath in postFixup OR wrap with new LD_LIBRARY_PATH)))
dhkl has joined #nixos
<duairc> Also, relatedly (though this probably belongs in #haskell), does anyone know if it's possible in a cabal file to say that your Haskell library depends on a particular binary? Preferably something cabal2nix understands so that you could hook it up with the right binary with nix
<duairc> infinisil: Thanks
wolfman154 has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #56809 → Zotero: Fix to use patchelf instead of FHS Env. → https://git.io/fhxZN
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/fjq4I
<infinisil> duairc: Wondering about that too, haven't seen anything like that, and I suspect there isn't one
iceypoi has joined #nixos
wolfman154 has quit [Client Quit]
wolfman154 has joined #nixos
rcshm has quit [Ping timeout: 250 seconds]
<duairc> infinisil: That's a pity. I have a Haskell library that, among other things, uses wkhtmltopdf to make PDFs from HTML, but the version in nixpkgs builds against qt5 instead of the patched qt4 that you need for a full featured wkhtmltopdf, so I've made my own derivation that does, it would be great to somehow automatically tie that in with my Haskell library
<duairc> I guess wkhtmltopdf has a C library as well, maybe I could write Haskell bindings for it rather than calling the binary
<infinisil> Can't you just make the correct binary available with nix?
<duairc> Ultimately, yes
<infinisil> So, where's the problem?
doyougnu has quit [Ping timeout: 255 seconds]
<duairc> There isn't exactly a problem, it'd just be nice if the derivations for the Haskell library (that cabal2nix makes) could have the dependency on the binary encoded in them, but yeah I can also just make sure that it's in the environment whenever I run it, put it in my shell.nix or whatever
<{^_^}> [nixpkgs] @dywedir merged pull request #59282 → [18.09] flashplayer: 32.0.0.142 -> 32.0.0.171 → https://git.io/fjq8u
<{^_^}> [nixpkgs] @dywedir pushed 3 commits to release-18.09: https://git.io/fjq4s
stepcut has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir merged pull request #59283 → [19.03] flashplayer: 32.0.0.156 -> 32.0.0.171 → https://git.io/fjq8g
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to release-19.03: https://git.io/fjq4G
stepcut has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
stepcut has quit [Ping timeout: 250 seconds]
hlolli__ has joined #nixos
rjmill has quit [Ping timeout: 250 seconds]
hlolli_ has quit [Ping timeout: 258 seconds]
stepcut has joined #nixos
<fresheyeball> cp -r ${lib-path}/elm/* elm-lib
<fresheyeball> works
<fresheyeball> but the next line
o1lo01ol1o has quit [Remote host closed the connection]
<fresheyeball> cp ${colors-elm} elm-lib/Lib/Color.elm
<fresheyeball> says
<fresheyeball> cp: cannot create regular file 'static/Color.sass': Permission denied
o1lo01ol1o has joined #nixos
<fresheyeball> sorry
<fresheyeball> cp: cannot create regular file 'elm-lib/Lib/Color.elm': Permission denied
<fresheyeball> that is what is says
<fresheyeball> this is in the build step
<fresheyeball> never had a permissions issue like this in nix
<Qubasa> Kann man einen service eigentlich overlayen und z.B. nur den systemd service überschreiben?
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<tilpner> qubasa: Jein. Overlays funktionieren nicht für Module, aber man kann trotzdem gezielt Eigenschaften von systemd Service ändern
<tilpner> qubasa: But you should probably stick to English here, or much fewer people will understand the conversation
<clever> fresheyeball: one sec
<clever> fresheyeball: cp --no-preserve=mode,ownership
<clever> fresheyeball: when you copy things from /nix/store, the directories are read-only
gagbo has quit [Ping timeout: 245 seconds]
<fresheyeball> clever: oh!
<Qubasa> tilpmer: Alright thanks! So I can just say systemd.service.<name> = { add this attribute } or does this completly overwrite the service?
<clever> qubasa: nixos will merge things
<Qubasa> Sweet!
ryantrinkle has quit [Ping timeout: 268 seconds]
jasongrossman has joined #nixos
jluttine has quit [Ping timeout: 245 seconds]
iceypoi has quit [Quit: WeeChat 2.4]
m0rphism has quit [Ping timeout: 244 seconds]
jackdk has joined #nixos
rjmill has joined #nixos
<mog> where can you see the nixos_label in a running system
<mog> nix-info doesnt seem to dump it
<mog> i see it in /boot/grub.cfg
<gchristensen> /etc/os_release's VERSION_ID?
dhkl has quit [Ping timeout: 244 seconds]
<mog> export NIXOS_LABEL="$(nix-info -m|grep channels\(root|cut -f2 -d'"'|cut -f2 -d'-')_$(git rev-parse --short HEAD)" is what im using. i put my /etc/nixos into a gjt repo so trying to have the version id be the version from nixpkgs and version of config
nD5Xjz has quit [Ping timeout: 245 seconds]
<mog> version_id seems to be just the version of nixos
<gchristensen> wait so what is your goal exactly?
<mog> my goal is when i do a nixos-rebuild, that somewhere i can see the version of nixos im running and version of my config files
<gchristensen> got it
<gchristensen> you could make a file in /etc contain it easily
<gchristensen> environment.etc."nixos-label".text = config.system.nixos.label
nD5Xjz has joined #nixos
rcshm has joined #nixos
nuh^ has quit []
<Qubasa> clever: error: The unique option `systemd.services.netdata.serviceConfig.Environment' is defined multiple times
<Qubasa> doesn't seem to work :/
amfdsrt^ has joined #nixos
<mog> gchristensen, perfect
<mog> thanks
<gchristensen> yep!
<mog> although i am curious why nixos_label seems to only be utilized by grub and not more things
<mog> brb rebooting to verify its everywhere i want it to be
<clever> qubasa: some options cant be merged
<Qubasa> Welp
<clever> qubasa: try systemd.services.<name>.environment instead
<clever> that one should support merging
<Qubasa> ohh ok
<Qubasa> ahh yeah it does!
xkapastel has quit [Quit: Connection closed for inactivity]
mconstant has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
goibhniu1 has quit [Ping timeout: 245 seconds]
basvandijk has joined #nixos
basvandijk has quit [Ping timeout: 255 seconds]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
pxc has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
jybs has joined #nixos
<AlexRice[m]> is there anything special you need to do to get grub to work on uefi in nixos?
<aanderse> AlexRice[m]: all 5+ of my nixos boxes are uefi and all i have is this:
<aanderse> boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;
<aanderse> and that was automatically generated
<aanderse> not grub though
<aanderse> any specific reason you need grub?
<clever> grub works pretty much the same way
<clever> and i prefer grub over systemd-boot
<AlexRice[m]> I'm trying to dual boot with windows
<jasongrossman> Someone (wish I could remember who) is making a NixOS service for refind, which will be great for dual booting.
<aanderse> at one point i had a dual boot going using the same config, grub was not required
rcshm has quit []
<jasongrossman> You can already use refind, in fact.
<jasongrossman> But there's a danger of other boot loaders overwriting it.
<AlexRice[m]> aanderse: it just automatically found the other os?
<aanderse> AlexRice[m]: yes, i didn't have to do anything