gchristensen changed the topic of #nixos to: NixCon live stream: https://www.youtube.com/c/NixCon/live https://nixcon2018.org/ || NixOS 18.09 released https://discourse.nixos.org/t/1076 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
acarrico has quit [Ping timeout: 272 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<ottidmes> clever: any idea how to deal with not having a yarn.lock when using yarn2nix, I could of course manually make it and add it, that okish, automatically generating one would be best, but I guess I cannot run yarn install in e.g. yarnPreBuild
<clever> ottidmes: you need to generate one outside of a nix sandbox, and commit it to your repo
<clever> probably with `yarn install`
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<ottidmes> clever: ah well, then I will just have to add the yarn.lock to my Nix package. I am not going to maintain a git fork just to have the yarn.lock added
<clever> that should also work i believe
elgoosy has quit [Ping timeout: 252 seconds]
<ottidmes> clever: curl: (1) Protocol "git+https" not supported or disabled in libcurl, any idea? I tried naively adding: buildInputs = [ git ]; to mkYarnPackage, but that had no effect
<clever> ottidmes: are you using the fork of yarn2nix from the example i linked?
<ottidmes> clever: no, should I? is the stable one too outdated?
<clever> ottidmes: the fork from my example has had some improvements to fix various things, not sure if they got int nixpkgs or not
<ottidmes> clever: tried it, same error though, I will try my unstable version, or else try getting the latest
drakonis has joined #nixos
badmutex has joined #nixos
<ottidmes> clever: found it, I am using yarn 1.9.1, but yarn2nix mentions I have to use 1.10.x at least, so hopefully I just have to rebuild the lock file
badmutex has quit [Quit: Quit]
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> found changes in the lockfile /nix/store/f2bl6cj1pkicaj4id07m2sx15x3xpi2z-yarn.lock aborting... (huh, yeah sure I modified the lock file, but this should be stateless, so why is it crashing on it)
<catern> if I import the same file from the same derivation twice, is it cached or does it actually re-evaluate the file?
<catern> I'm going to do a bunch of IFD and I'm wondering if I should try to do it in an efficient way
<clever> ottidmes: did you edit the file in the store?
<ottidmes> clever: no
<catern> but if the caching all works and is relatively cheap, then maybe I don't need to do any efficiency tricks?
<clever> ottidmes: is this on nixos?
<ottidmes> clever: yes
<clever> not sure then
<ottidmes> clever: I am confused as well :P
<clever> catern: there is an import cache that maps paths to values, so it should cache the result of importing
<clever> catern: but there is no cache for function calls, so you can wind up wasting a lot of cpu and ram by re-calling the same function repeatedly
<clever> (with the same args)
<catern> right, okay
<catern> I guess I will do things the efficient way
<clever> ,profiling
<{^_^}> Use NIX_COUNT_CALLS=1 and/or NIX_SHOW_STATS=1 to profile Nix evaluation
<clever> catern: and using those vars, you can see if a function is being called too much
<{^_^}> [nixpkgs] @melazyk opened pull request #49715 → plex: 1.13.8.5395 -> 1.13.9.5456 → https://git.io/fxhVL
tomberek has joined #nixos
zolk3ri has quit [Remote host closed the connection]
badmutex has joined #nixos
Dedalo has joined #nixos
jperras has joined #nixos
<angerman> fresheyeball, clever: https://github.com/input-output-hk/nixpkgs/pull/6
<{^_^}> input-output-hk/nixpkgs#6 (by angerman, 4 days ago, merged): Iohk 18.09 angerman
<clever> ah
<tomberek> howdy, is there a way to output a local resource with NixOps? or to produce an output. The usecase would be to generate fresh crypto (ideally on the deployed machines) then send the results (the public keys/CSRs) back to the deployment machine
drakonis has quit [Read error: Connection reset by peer]
<fresheyeball> angerman++
<{^_^}> angerman's karma got increased to 1
<fresheyeball> thank you angerman, you have anger manned it just right
drakonis has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 5 commits to master: https://git.io/fxhVP
acarrico has joined #nixos
<angerman> well...
<clever> angerman: do you happen to know if the RTS generates any chunks of code at runtime, such as with thunks, requiring pages to be mapped executable?
<{^_^}> [nixpkgs] @thoughtpolice pushed 66 commits to staging: https://git.io/fxhVS
<angerman> clever: only the linker/ghci should I think
<clever> ah, then it shouldnt have too much trouble with the CFG leaks in windows
drakonis has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos
iyzsong has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
iyzsong has quit [Ping timeout: 268 seconds]
justanotheruser has quit [Ping timeout: 244 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
jtojnar has quit [Quit: jtojnar]
jperras has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fxhw4
<{^_^}> [nixpkgs] @eadwu opened pull request #49716 → vscode: fix insiders build → https://git.io/fxhwR
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #49717 → vscode-with-extensions: fix insiders build → https://git.io/fxhw2
<ottidmes> I am still stuck with: curl: (1) Protocol "git+https" not supported or disabled in libcurl (found changes in the lockfile error was solved by updating to the latest yarn2nix, it was actually only fixed 9 days ago)
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #49718 → ibm-plex: 1.1.6 -> 1.2.1 → https://git.io/fxhww
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #49719 → 1password: 0.5.3 -> 0.5.4 → https://git.io/fxhwH
drakonis_ has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9ea650bb5de (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Ariakenom has quit [Quit: Leaving]
slack1256 has joined #nixos
<Ashy> has anyone had any success with vagrant and libvirt on nixos?
init_6 has joined #nixos
badmutex has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @NeQuissimus opened pull request #49720 → graalvm: 1.0.0-rc3 -> 1.0.0-rc8 → https://git.io/fxhrK
badmutex has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
<init_6> Hi all! I still have the same error https://github.com/NixOS/nixpkgs/issues/49048 on nixos-18.09. + http://howoldis.herokuapp.com/ show what has not been updated 5 days. The question is this - everything has already been fixed and just need to wait?
<{^_^}> #49048 (by xurei, 1 week ago, closed): Steam won't install - cannot download libvulkan1.deb from any mirror
Supersonic has quit [Ping timeout: 252 seconds]
endformationage has joined #nixos
tomberek has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @costrouc opened pull request #49721 → Update jupyter packages to python 3 only packages → https://git.io/fxhrN
Supersonic has joined #nixos
<ottidmes> init_6: If I check: https://github.com/NixOS/nixpkgs-channels/tree/nixos-18.09/pkgs/games/steam I see it is not yet processed, so it looks like you will have to wait a little longer
<ottidmes> init_6: while if you check: https://github.com/NixOS/nixpkgs/tree/release-18.09/pkgs/games/steam you can see that it indeed has been backported to 18.09, the automatic build processed just has not caught up yet with that commit yet
<init_6> ottidmes: it is sad
<ottidmes> init_6: I did not look at the impact of this change, if it does not result in too much rebuilding, you could also just try your luck and just setting your nixpkgs to the commit where it has been backported (if you have a local nixpkgs checkout)
drakonis_ has joined #nixos
jperras has quit [Quit: WeeChat 2.2]
<init_6> ottidmes: thanks for the explanation
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/98c1150f2cc (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
justanotheruser has joined #nixos
jasongrossman has quit [Ping timeout: 268 seconds]
init_6 has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @davidak opened pull request #49722 → radeon-crimson: fix download → https://git.io/fxhoP
drakonis_ has quit [Ping timeout: 252 seconds]
init_6 has quit [Client Quit]
sigmundv has quit [Ping timeout: 252 seconds]
ottidmes has quit [Ping timeout: 252 seconds]
erictapen has quit [Ping timeout: 252 seconds]
init_6 has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #49723 → gst_all_1: make extensible → https://git.io/fxhod
justanotheruser has joined #nixos
drakonis_ has joined #nixos
slack1256 has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 245 seconds]
iyzsong has joined #nixos
spacefrogg has quit [Remote host closed the connection]
aw has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
drakonis has joined #nixos
iyzsong has quit [Ping timeout: 244 seconds]
justanotheruser has joined #nixos
<colemickens> Did fetchpatch change between release-18.09 and nixos-unstable?
<colemickens> fixed-output derivation produced path '/nix/store/zv44x0kvws6fkf1cp1f90fp3fjvb5jfc-23e43186fd1ebeb553c89317f69613e67b266cd3.patch' with sha256 hash '03v0xppjb3ns0rkdinidhp3di4k127f5gxrjklwrid5jppfgg264' instead of the expected hash '1n5vv2cf1h0q920sxd1ksyfn0ld7f9h72mpp8478ln0r3hjz4f1k'
<colemickens> cannot build derivation '/nix/store/bznkkvx9vc3j0480kmlr0l37s99mddjj-wlstream-182076a94562b128c3a97ecc53cc68905ea86838.drv': 1 dependencies couldn't be built
iyzsong has joined #nixos
<colemickens> I'm not sure what to make of that message.
<colemickens> If I use nixos-unstable nixpkgs, my configuration builds.
<colemickens> With nixos-18.09, it throws an error complaining about the sha256 ?
drakonis_ has quit [Ping timeout: 268 seconds]
hlolli__ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
hlolli_ has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pbogdan opened pull request #49725 → chrootenv: strip the binary → https://git.io/fxhKR
drakonis has joined #nixos
justanotheruser has joined #nixos
ddellacosta has quit [Remote host closed the connection]
ddellacosta has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 252 seconds]
<pbogdan> why does nix-env silently die when trying to install unfree software?
justanotheruser has quit [Ping timeout: 252 seconds]
wykurz has joined #nixos
<pbogdan> hmm, trying to install a package marked as insecure also seems to result in a silent "failure"... (with exit code 0, no output and no package installed)
hlolli__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dtzWill opened pull request #49727 → jdupes: 1.10.4 -> 1.11 → https://git.io/fxh6t
<wykurz> hi, looks like my pr (adding new package) got stuck in a limbo. any suggestions how to get someone's attention to review it?
ddellacosta has joined #nixos
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
oida has quit [Remote host closed the connection]
drakonis_ has joined #nixos
oida has joined #nixos
Drakonis__ has joined #nixos
phreedom has quit [Remote host closed the connection]
oida has quit [Write error: Connection reset by peer]
phreedom has joined #nixos
oida has joined #nixos
Drakonis__ has quit [Client Quit]
endformationage has quit [Quit: WeeChat 1.9.1]
rulethirty has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
ddellacosta has quit [Remote host closed the connection]
Ariakenom has joined #nixos
orivej has quit [Ping timeout: 252 seconds]
rulethirty has quit [Ping timeout: 256 seconds]
valwal has joined #nixos
revtintin has joined #nixos
orivej has joined #nixos
jD91mZM2 has joined #nixos
wykurz has quit [Ping timeout: 268 seconds]
iyzsong has quit [Ping timeout: 240 seconds]
RocketSLC has joined #nixos
justanotheruser has joined #nixos
badmutex has quit [Quit: Quit]
<RocketSLC> not sure if this is the place to ask stupid questions or not
<RocketSLC> i'm having issues with video drivers on my laptop and i've exausted all of my ideas
<hyper_ch> what issues?
<RocketSLC> when i start display manager, the screen flickers between the terminal and a black screen. i've tried using intel drivers and nvidia drivers in my config and neither seem to work
badmutex has joined #nixos
badmutex has quit [Client Quit]
<RocketSLC> this is a fresh install after the ISO
justanotheruser has quit [Ping timeout: 272 seconds]
<thefloweringash> which display manager are you using?
<hyper_ch> what video card do you have?
<RocketSLC> services.xserver.displayManager.sddm.enable & services.xserver.desktopManager.plasma5.enable
<hyper_ch> what video card do you have?
<RocketSLC> I have a nvidia quadro P2000 in my laptop but i believe the intel interface is the one that is connected to my laptops display
iyzsong has joined #nixos
<hyper_ch> you need the power of the nvidia?
<RocketSLC> it would be nice but i don't need it to function i suppose. i tried following the wiki on how to use both by disabling nvidiaOptimus
orivej has quit [Ping timeout: 244 seconds]
<hyper_ch> you could try to add boot.blacklistedKernelModules = [ "nouveau" ]; to your hardware-configuration.nix
<hyper_ch> that should disable the nvidia one
<hyper_ch> and try again
<RocketSLC> okay, let me give that a shot. thank you
<RocketSLC> rebuilt and rebooted, same symptoms though
<RocketSLC> flashing black screen
<hyper_ch> hmmm, too bad, I hoped that would work - then we would have found the issue
<RocketSLC> is there any way to see what drivers the ISO is using? because that doesn't have issues
<hyper_ch> lsmod
<hyper_ch> and use lspci -k
<hyper_ch> yeah, use lspci -k
Sigma has quit [Ping timeout: 260 seconds]
Sigma has joined #nixos
<hyper_ch> RocketSLC: found it?
mulderr_ has quit [Ping timeout: 260 seconds]
MasseR has quit [Ping timeout: 260 seconds]
<RocketSLC> so it looks like the only thing that says "VGA compatible controller" is my quadro and its using "nvidiafb, nouveau"
<RocketSLC> oops, i lied, there is also the intel controller
<RocketSLC> which is using i915
<hyper_ch> pastebin
<hyper_ch> so, try to add to the hardware configuration nix: boot.kernelModules = [ "i915" "nvidiafb" "nouveau" ];
<RocketSLC> okay thanks, one second
<{^_^}> [nixpkgs] @vbgl opened pull request #49728 → acgtk: 1.3.1 -> 1.5.0 → https://git.io/fxhPl
angelsl has joined #nixos
<angelsl> i'm trying to follow this: https://yann.hodique.info/blog/nix-in-custom-location/ to get a Nix that i can install on a compute cluster i have access to (no root access naturally)
<angelsl> ... but i run into segfaults in /tmp/nix-build-perl-5.28.0.drv-0/perl-5.28.0/perl and /tmp/nix-build-bison-3.1.drv-0/bison-3.1/conftest and i have no idea why
<angelsl> tried it in an Alpine-based docker, and then i did away with docker (so now just an Alpine chroot with the nix release installed)
<RocketSLC> hyper_ch: still flashing unfortunately.. should i try removing my xserver settings?
<hyper_ch> RocketSLC: you can try
<angelsl> ok, now the newly-built make also segfaults
<angelsl> ..weird..
<RocketSLC> hyper_ch: that worked! thank you! do you have a bitcoin address that i could tip you on?
<hyper_ch> no
<hyper_ch> nixos doesn't seem to have one either
<hyper_ch> but no bitcoin
<RocketSLC> well, i'll happily donate in your honor!
tomberek has joined #nixos
<{^_^}> Channel nixos-18.09 advanced to https://github.com/NixOS/nixpkgs/commit/9ea650bb5de (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-18.09)
zack_moe has joined #nixos
<{^_^}> [nixpkgs] @pvgoran opened pull request #49729 → nixos/tomcat: add purifyOnStart option → https://git.io/fxhPj
lsyoyom has quit [Ping timeout: 268 seconds]
RocketSLC has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @FRidh opened pull request #49730 → python34: remove → https://git.io/fxhXG
<{^_^}> [nixpkgs] @vbgl merged pull request #49639 → coq_8_9: init at 8.9+beta1 → https://git.io/fxxgQ
<{^_^}> [nixpkgs] @vbgl pushed commit from @Zimmi48 to master « coq_8_9: init at 8.9+beta1 »: https://git.io/fxhX8
Theuni2 has joined #nixos
Theuni2 has quit [Client Quit]
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @FRidh merged pull request #49722 → radeon-crimson: fix download → https://git.io/fxhoP
<{^_^}> [nixpkgs] @FRidh pushed commit from @davidak to master « radeon-crimson: fix download »: https://git.io/fxhXz
schopp0r has left #nixos ["Error from remote client"]
tomberek has quit [Quit: Page closed]
schopp0r has joined #nixos
ddellacosta has joined #nixos
iyzsong has quit [Remote host closed the connection]
valwal has quit [Ping timeout: 250 seconds]
Theuni2 has joined #nixos
Theuni2 has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « meson: fix building with python 3.7 »: https://git.io/fxhXQ
FRidh has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 68 commits to staging-next: https://git.io/fxhXx
init_6 has quit [Ping timeout: 252 seconds]
angelsl has left #nixos ["Detaching"]
iyzsong has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #49731 → networkmanager-l2tp: hoist pname attribute → https://git.io/fxh10
<mudri> How can I find the previous revision of nixos-unstable? The current one is broken, and I want to roll my clone of nixpkgs back to some tested version.
justanotheruser has joined #nixos
<mudri> Ralith: Any indication of which of those commits happened just before an update of nixos-unstable?
Theuni2 has joined #nixos
<Ralith> I suppose not
justanotheruser has quit [Ping timeout: 240 seconds]
<mudri> I feel that the answer is on hydra.nixos.org, but I don't understand it and don't know where to look.
iyzsong has quit [Ping timeout: 268 seconds]
adamantium has joined #nixos
switchy has quit [Ping timeout: 250 seconds]
iyzsong has joined #nixos
<mudri> Ah, and bottom is newest?
<adamantium> Hey, i just ran "curl https://nixos.org/nix/install | sh" in a debian terminal, it created /nix, i logged out and back in, but i do not have any nix commands in my path
<adamantium> never mind.
<adamantium> got it ;)
adamantium has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #49733 → ocamlPackages.checkseum: init at 0.0.3 → https://git.io/fxhMU
o1lo01ol1o has joined #nixos
agander has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
iyzsong-x has joined #nixos
<{^_^}> [nixpkgs] @cyraxjoe opened pull request #49734 → nixos/dockd: add new service → https://git.io/fxhMn
iyzsong has quit [Ping timeout: 250 seconds]
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49603 → slack-term: init at 0.4.1 → https://git.io/fxAnF
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxhM8
oida has quit [Remote host closed the connection]
oida has joined #nixos
c0bw3b_ has joined #nixos
iyzsong-x has quit [Remote host closed the connection]
iyzsong has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging-next: https://git.io/fxhMh
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/c9e13806267 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
agander has quit [Ping timeout: 272 seconds]
iyzsong has quit [Ping timeout: 272 seconds]
Theuni2 has joined #nixos
justanotheruser has joined #nixos
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @pvgoran opened pull request #49735 → nixos/mysql: support package=mysql57 → https://git.io/fxhDR
justanotheruser has quit [Ping timeout: 260 seconds]
Mr_Keyser_Soze has joined #nixos
<schopp0r> hi. how can I compile nix without aws-support?
<schopp0r> I compile nix with a different store-dir
<schopp0r> on nixos, using a nix-expression
<schopp0r> and then compile it on the target machine again, and doing the aws-tests loops indefinitely, and disabling tests is aparently *impossible* in nix. so how can I disable AWS-Support, I don't need aws anyway.
srhb has quit [Quit: ZNC 1.7.1 - https://znc.in]
srhb has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 272 seconds]
globin has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « Revert "Merge pull request #49398 from Synthetica9/implement-rfc0035" to fix eval »: https://git.io/fxhyL
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fxhy3
<{^_^}> [nixpkgs] @nh2 opened pull request #49736 → glusterfs service: Switch to simple unit instead of forking → https://git.io/fxhy8
<angerman> how do I build a package in `nix-shell` like nix would build in `nix-build`? genericBuild seems to do something different :(
Theuni2 has joined #nixos
<thefloweringash> https://github.com/dezgeg/nix-debug-shell is a good place to start
jtojnar has joined #nixos
Theuni2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @cocreature opened pull request #49737 → yacreader: init at 9.5.0, libunarr: init at 1.0.1 → https://git.io/fxhy1
Theuni2 has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #49738 → bazel-deps: 2018-08-16 -> 2018-11-01 → https://git.io/fxhy9
<{^_^}> [nixpkgs] @timokau opened pull request #49739 → spotify: 1.0.83.316.ge96b6e67-5 -> 1.0.93.242.gc2341a27-15 → https://git.io/fxhyH
<{^_^}> [nixpkgs] @FRidh pushed 7 commits to staging-next: https://git.io/fxhyd
<{^_^}> [nixpkgs] @FRidh pushed 14 commits to staging: https://git.io/fxhyN
nschoe has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<nschoe> Hi everybody! I am trying to install nixOS on my rPi 3, I have followed https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration and https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi#Notes_about_the_boot_process. I don't have a USB keyboard nor a USO to TTL device. So I'm trying to get the rpi to launch an SSH server.
<{^_^}> [nixpkgs] @FRidh pushed 877 commits to python-unstable: https://git.io/fxhSY
<nschoe> I have plugged the Ethernet cable and I can ping the rPi, but `nmap <ip> -Pn` shows the 22 ssh port as "closed". I have tried editing the configuration.nix to add `openssh.enable = true;` but it did not change. Any idea? :D
<{^_^}> [nixpkgs] @FRidh opened pull request #49741 → Python package set major updates → https://git.io/fxhSs
<{^_^}> [nixpkgs] @timokau merged pull request #49739 → spotify: 1.0.83.316.ge96b6e67-5 -> 1.0.93.242.gc2341a27-15 → https://git.io/fxhyH
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxhSC
<{^_^}> [nixpkgs] @FRidh opened pull request #49742 → Staging next → https://git.io/fxhSW
agander has joined #nixos
<avn> nschoe: obiviously question -- are you `nixos-rebuild switch` after changing config?
<{^_^}> [nixpkgs] @timokau merged pull request #49727 → jdupes: 1.10.4 -> 1.11 → https://git.io/fxh6t
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/fxhS4
<{^_^}> [nixpkgs] @peti merged pull request #49698 → ghc-8.2.1-binary: Patch shebang causing failures in Centos 6 → https://git.io/fxhGt
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxhSR
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fxhSE
<{^_^}> [nixpkgs] @peti merged pull request #49701 → RStudio 1.2 preview init → https://git.io/fxhC5
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fxhSu
<nschoe> avn, well I thought this was handled by the boot process, otherwise no I don't, because I can't: the only thing I can do is to mount the sdcard on my laptop, edit some config files. I can't issue commands since I don't have a keyboard
<{^_^}> [nixpkgs] @peti pushed 4 commits to haskell-updates: https://git.io/fxhSz
<nschoe> (thansk for answering btw :D)
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxhSg
<avn> nschoe: configuration.nix not processed on boot, only on system build.
Jackneill has quit [Ping timeout: 244 seconds]
<nschoe> avn, oh, okay no luck then :/
<{^_^}> [nixpkgs] @primeos merged pull request #49687 → sway-beta module: add missing pieces → https://git.io/fxhkq
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fxhSo
<nschoe> avn, anyway I can "chroot", "qemu", "run" the sd card image from mu laptop, to rebuild the image?
<{^_^}> [nixpkgs] @nh2 opened pull request #49743 → glusterfs: 3.12.12 -> 4.0.0 → https://git.io/fxhSP
ottidmes has joined #nixos
angelsl has joined #nixos
Ariakenom has quit [Quit: Leaving]
FRidh has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fxh9R
justanotheruser has joined #nixos
brejoc has quit [Ping timeout: 268 seconds]
thc202 has joined #nixos
justanotheruser has quit [Ping timeout: 240 seconds]
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49710 → linux-samus: remove → https://git.io/fxhEs
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxh9H
<{^_^}> [nixpkgs] @c0bw3b merged pull request #49411 → libmtp: 1.1.15 -> 1.1.16 → https://git.io/fx7V7
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/fxhHf
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hspec-core: update overrides for the new version »: https://git.io/fxhHU
<{^_^}> [nixpkgs] @nyanloutre opened pull request #49744 → Python gitlab: init at 1.6.0 → https://git.io/fxhH3
zack_moe_ has joined #nixos
halfbit has quit [Quit: WeeChat 2.2]
zack_moe has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #49745 → xapian: 1.4.8 -> 1.4.9 → https://git.io/fxhH4
fendor_ has joined #nixos
justanotheruser has joined #nixos
justanotheruser has quit [Ping timeout: 244 seconds]
Itkovian has joined #nixos
agander_ has joined #nixos
justanotheruser has joined #nixos
justbeingglad has joined #nixos
agander has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @roberth pushed to fix-nixos-bash-completion-comment « nixos: programs.bash: Fix comment about completion »: https://git.io/fxhHr
justanotheruser has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @roberth opened pull request #49746 → nixos: programs.bash: Fix comment about completion → https://git.io/fxhHP
mayhewluke has quit [Ping timeout: 268 seconds]
mayhewluke has joined #nixos
__monty__ has joined #nixos
ptotter[m] has joined #nixos
<ptotter[m]> I'm trying to install nixos on a cloud vm (hetzner cloud), but I cannot boot from the install media. How should I go about installing if I get to boot to another linux?
<hyper_ch> ptotter[m]: clever's kexec
<andi-> ptotter[m]: why can't you boot from the media? hetzner cloud provides and 18.03 image
<andi-> s/and/an/
mg- has quit [Ping timeout: 252 seconds]
vidbina_ has joined #nixos
<avn> nschoe: better ask folks, who use rpi -- how they build/maintain images ;)
<ptotter[m]> andi- (IRC): can you boot from it? it seems to just allow mounting the image
justanotheruser has quit [Ping timeout: 252 seconds]
jasongrossman has joined #nixos
<andi-> ptotter[m]: I think I booted from that. You have to restart after you mounted it.
<ptotter[m]> ok, I'll try that thanks
<andi-> But I usually also use the kexec approach from clever. I started writing an example for that with terraform here: https://github.com/andir/nixos-terraform-hetzner
<aanderse> andi-: you're happy with solr after the git history rewrite? ps. thanks for asking me to rewrite the history... i screwed it up originally, but then figured out the right way so learnt much :)
<andi-> it works but terraform will never figure out the installation finished
<andi-> aanderse: haven't checked yet. I'll do in a bit.
<aanderse> andi-: thanks!
<nschoe> avn, thanks for your answers :). Actually I finally found an old USB to TTL converter. So I managed to have the console routed to my laptop. But now... well the aarch64 image kernel panics on boot :/
<{^_^}> [nixpkgs] @andir merged pull request #49589 → vimPlugins: add jedi-vim plugin → https://git.io/fxAUG
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-18.09: https://git.io/fxhHN
b has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/fxhHj
<{^_^}> [nixpkgs] @andir merged pull request #49283 → solr: 4.10.3 -> 7.5.0, refactor service to reflect major changes in version bump → https://git.io/fxH3e
Itkovian has joined #nixos
bennylb has joined #nixos
Theuni2 has quit [Ping timeout: 252 seconds]
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agander_ is now known as agander
init_6 has quit []
<bennylb> Tumbleweeds
erictapen has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #49746 → nixos: programs.bash: Fix comment about completion → https://git.io/fxhHP
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fxhQa
<bennylb> Ah cool so my client is working
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #48047 → gnome3.mutter: fix crash on startup with nvidia drivers → https://git.io/fxGMQ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fxhQo
booglewoogle has joined #nixos
<bennylb> How would i go about appending to a package argument set and then using that arg in an attribute override of the same package?
ilikeheaps has joined #nixos
<bennylb> in say an overlay
alienpirate5 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/179b8146e66 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alienpirate5 has joined #nixos
hlolli has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #49747 → [18.09] gnome3.mutter: fix crash on startup with nvidia drivers → https://git.io/fxhQp
bennylb has quit [Ping timeout: 245 seconds]
benny has joined #nixos
katyucha has joined #nixos
bennylb- has joined #nixos
justanotheruser has joined #nixos
<bennylb-> Got disconnected. Did anyone have suggestions?
sigmundv has joined #nixos
<tilpner> No, and I'm not sure I understand your question
<simpson> bennylb-: At a higher level, could you explain what you're trying to achieve? I'm not sure I understand where you're headed.
<bennylb-> Sure, I've installed inkscape but exporting to svg requires an additional dependency scour which is not included in default.nix arguments and needs to be added to nativeBuildInputs
<bennylb-> I was hoping to do this in an overlay
<tilpner> self: super: { inkscape = super.inkscape.overrideAttrs (old: { nativeBuildInputs = old.nativeBuildInputs ++ [ self.scour ]; }); }
<tilpner> Or something like that
<simpson> You could use `overrideAttrs` to get this effect: https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs
<simpson> Note also that you could edit your local nixpkgs to have this fix, and then send in a PR.
<bennylb-> Yeah that's a good point
<hlolli> I have ssh-agent and ssh-add on my login session. I'm running systemd service which calls shell script. And the user field and whoami return the same user, which should have the ssh auth working. But when I read the journal logs, I always get `git@gitlab.com: Permission denied (publickey).`, after some googleing some peeps online said this is selinux, so I tried calling first `restorecon -R -v /etc/ssh` but didn't work. Someone recognizes
<hlolli> this problem and knows solution?
justanotheruser has quit [Ping timeout: 260 seconds]
Itkovian has joined #nixos
periklis has joined #nixos
<bennylb-> Normally i would just use overrideAttrs but as <nixpkgs> isn't passed as an argument to default.nix wasn't sure whether scour would be available when overriding
<bennylb-> Is the nixpkgs set passed in by default?
<bennylb-> I think I'll just modify and send a pull request
<__red__> sily question
<__red__> are the OSX Hydra builds build over a serial port? ;-)
<thefloweringash> I don't know what causes the encoding errors, but if you want to see that log: `curl -fsL https://hydra.nixos.org/build/82976494/log/raw | nix run nixpkgs.brotli -c brotli -d`
justanotheruser has joined #nixos
<thefloweringash> hlolli (IRC): check smaller steps: does `ssh-add -l` show your key? if not, is `SSH_AUTH_SOCK` set in your environment? Are you using the standard nixos `programs.ssh.startAgent`? You might also be interested in the ssh config option: `AddKeysToAgent yes`.
iyzsong has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
Thra11 has joined #nixos
<hlolli> thefloweringash: thanks, I need to take smaller steps, I have `programs.ssh.startAgent = true;` and I have listed known hosts with programs.ssh.knownHosts. But need to check the env-var and ssh-add -l....
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « timescaledb: fix license (Apache 2.0, not PostgreSQL) »: https://git.io/fxh7x
<{^_^}> [nixpkgs] @thoughtpolice pushed to release-18.09 « timescaledb: fix license (Apache 2.0, not PostgreSQL) »: https://git.io/fxh5J
Rusty1 has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @thoughtpolice closed pull request #49695 → timescaledb: (0.11.0 -> 1.0.0) → https://git.io/fxh33
<hlolli> for `ssh-add -l` I get `Could not open a connection to your authentication agent.`
<__red__> thanks thefloweringash
<hlolli> `SSH_AUTH_SOCK` is an empty variable..
Ariakenom has quit [Quit: Leaving]
Ariakenom has joined #nixos
<thefloweringash> the implementation of the ssh agent user service appears to hardcode the path of the ssh agent socket at `$XDG_RUNTIME_DIR/ssh-agent`
<hlolli> To end the brain dump, if I add `eval `ssh-agent -s``. then `ssh-add -l` prints `The agent has no identities. /tmp/ssh-AOkpr3hOutOY/agent.29274` So it's clear that the systemd service doesn't inherit the environment, despite same user pid, ssh works in the terminal but not within the script.
<simpson> Then it's not in your environment. Not gonna lie, I was never able to get this particular NixOS/ssh-agent integration to work, and I use keychain instead.
<simpson> $ eval $(nix-shell -p keychain --run 'keychain --eval')
Ariakenom has quit [Read error: Connection reset by peer]
<__red__> got it - thanks thefloweringash
<thefloweringash> since the socket isn't dynamic, and there's no magic socket activation, if you force your script to have `export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent"` it should see the session scoped agent.
<hlolli> My "non-lie" is that ssh-agent has been such a pain that I've been typing my passwords for every push last 5 years :)
Ariakenom has joined #nixos
fendor has joined #nixos
<hlolli> ok I'll read about keychain and ssh, this is new to me.
<hlolli> ok I try that
<hlolli> I could add that into the environment in the systemd service, the SSH_AUTH_SOCK..
<thefloweringash> depending how and when the XDG_RUNTIME_DIR is set, you might have to use systemd's "%t" interpolation
<simpson> That's not really how I recommend using keychain. Just run it once when you start your development/git shell.
<hlolli> if I provide pid to the user field, I could `/run/user/${pid}`/ssh-agent
<{^_^}> [nixpkgs] @andir opened pull request #49749 → nixos/prometheus: check configuration before activating, allow specifying custom prometheus package → https://git.io/fxh5W
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #49745 → xapian: 1.4.8 -> 1.4.9 → https://git.io/fxhH4
<{^_^}> [nixpkgs] @globin pushed commit from @dtzWill to master « xapian: 1.4.8 -> 1.4.9 »: https://git.io/fxh5B
orivej has quit [Ping timeout: 244 seconds]
periklis has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
globin has joined #nixos
<hlolli> thefloweringhash it worked! Not from environment in systemd but hardcoded in the shell script, very nice!
<thefloweringash> yay :-)
sigmundv has quit [Ping timeout: 250 seconds]
<hlolli> it's an haskell app that is actually running this script, so my best guess is that the environment doesn't get correctly passed. I'm not a haskell programmer, but this is some lightweight server handler.
<hlolli> defenitely good to know for future as well :P
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @dotlambda merged pull request #47985 → pythonPackages.sslib: init at 0.2.0 → https://git.io/fxsIR
<{^_^}> [nixpkgs] @dotlambda pushed commit from @jqueiroz to master « pythonPackages.sslib: init at 0.2.0 (#47985) »: https://git.io/fxh5A
Itkovian has joined #nixos
Itkovian has quit [Client Quit]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #49749 → nixos/prometheus: check configuration before activating, allow specifying custom prometheus package → https://git.io/fxh5W
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fxhdY
<ottidmes> Could anybody help me with packaging Bitwarden Vault (the web interface)? I got it working outside of Nix, so for my own use case I can workaround it by just reusing my local build, but if I want to make a pull request for Bitwarden, the web interface really should be included
<bennylb-> Thanks for the advice simpson and tilpner. I'm off for the night o/
<ekleog> what's the option to make nix-build rebuild something already in the store and check for binary reproducibility? I can't find it again :(
<thefloweringash> `--check`
justanotheruser has quit [Ping timeout: 252 seconds]
<ekleog> oh it's not in the man-page of nix-build but of nix-store, so that's why I didn't find it again. Thanks! :)
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-18.09: https://git.io/fxhdB
<{^_^}> [nixpkgs] @vcunat merged pull request #49747 → [18.09] gnome3.mutter: fix crash on startup with nvidia drivers → https://git.io/fxhQp
bennylb- has quit [Remote host closed the connection]
xy2_ has joined #nixos
shabius has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « pulseaudio-modules-bt: unstable-2018-10-16 -> unstable-2018-11-01 »: https://git.io/fxhdP
Dedalo has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « plv8: unbreak build, bump to version 2.3.8 »: https://git.io/fxhdx
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.simplejson: disable tests with python 3 »: https://git.io/fxhFv
<nschoe> Hello again, what is the file `/nix/var/nix/db/schema`?
<nschoe> What's it for?
justanotheruser has joined #nixos
booglewoogle has quit [Remote host closed the connection]
<clever> nschoe: the version of state like db.sqlite
<symphorien> schopp0r: can you explain in detail how you build nix ?
justanotheruser has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @andir merged pull request #49592 → vimPlugins: add jedi-vim → https://git.io/fxAtS
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/fxhFl
<nschoe> clever, ah thanks. I have finally managed to boot (with serial console) my rPi 3. But the schema is corrupt :)
<nschoe> clever, file is empty.
<nschoe> nixos-build thus fails ^^
<arianvp> Can anybody reproduce this issue on nixos, or has any clue why it's happening? https://github.com/NixOS/cabal2nix/issues/383
<{^_^}> cabal2nix#383 (by arianvp, 1 day ago, closed): installPhase that cabal2nix generates for xmonad is invalid
<arianvp> kinda been stuck on it for a day now
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #49750 → git-big-picture: 0.9.0 -> 0.10.1 → https://git.io/fxhFu
Thra11 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed 30 commits to staging: https://git.io/fxhFV
<__red__> btw - do we have any active nix users on chromeos?
<ottidmes> arianvp: what is your filesystems config like? do you have /nix/store mounted in some special way?
<thefloweringash> arianvp (IRC): your analysis looks fairly correct to me. The value of $data is empty, so it's trying to `mv /**/... to $doc/share/man/man1/`. I do note that this postInstall phase is an override that comes from cabal2nix, and was changed in cabal2nix commit a77f6a79a574b61ebc631634264ac179361bf200
<clever> thefloweringash: $data will only exist if a special bool is set when running mkDerivation
<ottidmes> arianvp: when I build your file I get: Setup: No cabal file found.
<ottidmes> arianvp: ah, I missed some steps, nvm
<thefloweringash> clever (IRC): is this a nix thing or a haskell thing?
<clever> thefloweringash: mostly nix
<arianvp> I have no idea? It seems a nix thing? $data comes from the nix stuff I Guess
<clever> thefloweringash: enableSeparateDataOutput = true; has to be set on the derivation, which cabal2nix should be doing
peacememories has joined #nixos
justanotheruser has joined #nixos
<thefloweringash> oh I see, it's a haskell mkDerivation flag that enables a nix split output
<clever> yep
Synthetica has quit [Quit: Connection closed for inactivity]
<clever> and it sounds like the postInstall code in cabal2nix expects it to always be on
<thefloweringash> cabal2nix prior to a77f6a79a574b61ebc631634264ac179361bf200
<Baughn> __red__: Yep, I use Nix on cros.
<Baughn> (And everywhere else.)
<thefloweringash> what method did you use to install nix on cros?
<Baughn> Crostini. Nothing special was needed.
<Baughn> So just the normal installer.
<catern> is there an easy way to replace *all* instances of /bin/bash with the appropriate Nix path? I'm building something that invokes /bin/bash from its Makefiles
justanotheruser has quit [Ping timeout: 240 seconds]
<symphorien> patchShebang ?
<catern> that only works on shebangs, right?
<symphorien> ah sorry in the plain text also ?
<catern> yes, just "/bin/bash" with no shebang before it
<symphorien> does find . -type f -execdir sed s@/bin/bash/@${pkgs.bash}/bin/bash} -i "{}" \; count ?
<catern> meh, I suppose it does
<Baughn> It's a little scary, but yes.
<__red__> Baughn: can you do it without having to install debian choots and all that stuff?
o1lo01ol1o has joined #nixos
<clever> symphorien: i have seen somebody run a command like that before, which replaced paths inside a zip file
<Baughn> __red__: If your Chromebook runs Crostini? Yes.
<__red__> Baughn: I've found a script that seems to attempt the installation, but is dependent on wget
<clever> symphorien: i then spent 2 hours helping them debug why the zip file was corrupt :P
<Baughn> Though then that's a Debian VM instead.
<symphorien> no luck :)
<__red__> Well - let's see what version I have ;-)
<clever> symphorien: try patchShebangs instead, since it knows what a #! looks like
<Baughn> You could actually install a NixOS VM instead, but I'm not sure anyone has tried yet, and you'd lose the VM guest drivers. Those aren't packaged yet.
o1lo01ol1o has quit [Remote host closed the connection]
<Baughn> Either way it depends on Crostini, which is still alpha and not rolled out to every device.
<Baughn> catern: What are you trying to package?
sigmundv has joined #nixos
<__red__> Baughn: I'm on rev 69, which is crostini - right?
<__red__> any hints as to where to start?
<catern> Baughn: some internal software at $DAYJOB
<__red__> fwiw, I'm only wanting to install a few command line tools from nix, not a full OS or anything "driver-esque"
<Baughn> __red__: It depends on your device. What model Chromebook?
<Baughn> Crostini was only rolled out on 69 stable on Pixelbooks. 70 has it on a few more.
<__red__> CB3-131
<__red__> Chromebook Acer 11
<Baughn> Asus Chromebox 3?
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cc39474fd07 (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
sanscoeur has quit [Ping timeout: 244 seconds]
<Baughn> __red__: I don't see it on the conpat list, but the CB3-132 is supposed to have it, so you might be lucky. You'll need to use the beta channel, though.
<{^_^}> [nixpkgs] @joachifm merged pull request #49579 → brightnessctl: fix udev and clean unnecessary make flags → https://git.io/fxNrM
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fxhb5
<__red__> Baughn: do you know of any resources I can check to follow-up on?
<Baughn> Yeah, the crostini subreddit. That's the nexus for this.
<__red__> Thanks - I'll take a look
<{^_^}> [nixpkgs] @woffs opened pull request #49751 → phototonic: 1.7.1 -> 2.1 → https://git.io/fxhbd
<__red__> if I'm successful, I may return for nix-specific hints :-) Thank you!
<Baughn> __red__: You said terminal apps, but note that X11 also works.
<catern> why, when I use builtins.toFile "builder.sh" ''${nixpkgs.bash}'', do I get "the file 'builder.sh' cannot refer to derivation outputs?
<Baughn> Even mpv works. Though sound isn't implemented yet.
<{^_^}> [nixpkgs] @joachifm closed pull request #36109 → neovim-gtk: init at 0.1.1 → https://git.io/vAP75
<clever> catern: i believe the product of builtins.toFile must have zero dependencies, you want pkgs.writeText or pkgs.writeTextFile
<catern> I see, thanks
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @joachifm closed pull request #35538 → texpretty: init at 0.02 → https://git.io/vAwFG
Thra11 has joined #nixos
wykurz has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
<__red__> Baughn: beta or unstable?
<__red__> (upgraded to 70 with a firmware check)
<Baughn> Beta
<__red__> and still developer mode I presume
<wykurz> hi, I have a PR that appears to have been forgotten by the person who was originally reviewing it... any chance someone can take a look and hopefully merge? https://github.com/NixOS/nixpkgs/pull/48765
<{^_^}> #48765 (by wykurz, 2 weeks ago, open): cpuset: init at 1.5.8
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.click: rebase fix-paths.patch »: https://git.io/fxhAz
<{^_^}> [nixpkgs] @nthorne opened pull request #49752 → bashdb: 4.4-0.94 -> 4.4-1.0.0 → https://git.io/fxhAV
justanotheruser has quit [Ping timeout: 252 seconds]
agander has quit [Ping timeout: 252 seconds]
<__red__> Baughn: updates to 71, but I don't see Linux support in chrome://settings :-/
<{^_^}> [nixpkgs] @nthorne closed pull request #49752 → bashdb: 4.4-0.94 -> 4.4-1.0.0 → https://git.io/fxhAV
schopp0r has left #nixos ["Error from remote client"]
schopp0r has joined #nixos
lassulus has joined #nixos
<{^_^}> [nixpkgs] @nthorne opened pull request #49753 → bashdb: 4.4-0.94 -> 4.4-1.0.0 → https://git.io/fxhAS
badmutex has joined #nixos
<__red__> Baughn: no vt in /proc/cpuinfo - I'm deaded
mayhewluke has quit [Ping timeout: 244 seconds]
edcragg has quit [Quit: ZNC - http://znc.in]
mayhewluke has joined #nixos
edcragg has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #49116 → Add dhallPackages and add current Prelude → https://git.io/fxyWn
<{^_^}> [nixpkgs] @Profpatsch pushed to master « Add dhallPackages and add current Prelude »: https://git.io/fxhxI
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @nthorne closed pull request #49753 → bashdb: 4.4-0.94 -> 4.4-1.0.0 → https://git.io/fxhAS
<{^_^}> [nixpkgs] @dotlambda pushed to python-unstable « python.pkgs.pytest_xdist: add filelock to checkInputs »: https://git.io/fxhxK
<{^_^}> [nixpkgs] @nthorne opened pull request #49754 → bashdb: 4.4-0.94 -> 4.4-1.0.0 → https://git.io/fxhx1
badmutex has quit [Quit: Quit]
<{^_^}> [nixpkgs] @arianvp opened pull request #49755 → nixos/ssh: Add pkcs11 support for ssh agent → https://git.io/fxhxD
justanotheruser has quit [Ping timeout: 240 seconds]
FPtje has joined #nixos
<arianvp> a wild falco appears!
badmutex has joined #nixos
<arianvp> :'d
endformationage has joined #nixos
<hyper_ch> tightvnc isn't a viewer?
<FPtje> arianvp, Hi!
<FPtje> Yeah, I'm working on the NixOS 18.09 upgrade for LumiGuide
<FPtje> layus, That one Hydra fix wasn't enough to build everything. It still got stuck building more, haha. I found today that I need to add "i686-linux" to the build machine systems (where we also added "builtin" before)
<arianvp> going smooth, or still some issues?
<FPtje> Still some issues, I just found a bug that causes shellHook to be ignored for Haskell packages. I'm making a pull request about it right now
<nschoe> Hi again, I'm facing an error after `nixos-rebuild build` which says "The bootloader cannot find the proper kernel image.
<nschoe> (Expecting /nix/store/55l7999chwi8n44ybp3g6jr15gvp16xz-linux-4.19/Image)". I don't seem to have other indications. Any idea of what I can do? :/
<{^_^}> [nixpkgs] @andir opened pull request #49756 → nixos/prometheus: check alertmanager configuration → https://git.io/fxhpC
o1lo01ol1o has joined #nixos
schopp0r has left #nixos ["Error from remote client"]
schopp0r has joined #nixos
periklis has joined #nixos
justanotheruser has joined #nixos
Dedalo has quit [Quit: Textual IRC Client: www.textualapp.com]
<o1lo01ol1o> I'm trying to make a basic derivation from two build commands that use the environments defined in my shells attribute but I don't have the release.nix defined correctly. Could anyone take a look and tell me what I'm doing wrong? gist: https://gist.github.com/o1lo01ol1o/3c74676b35806e5fc84577c169edfa75
<o1lo01ol1o> nix-shell -A shells.ghc8_4 correctly enters the shell, and I can build using those commands from there, but not in the derivation
<o1lo01ol1o> defined in release.nix
<gchristensen> it seems with networkd captive portals don't "work", ie: doesn't use their dns, doesn't let me authenticate.
ddellacosta has joined #nixos
peacememories has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
periklis has quit [Ping timeout: 260 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
periklis has joined #nixos
<{^_^}> [nixpkgs] @Moredread opened pull request #49757 → i3: 4.15 -> 4.16 → https://git.io/fxhpP
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6795bdd58ca (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @FPtje opened pull request #49758 → haskellPackages.*.env: Fixed shellHook being ignored → https://git.io/fxhpX
<{^_^}> [nixos-homepage] @c0bw3b opened pull request #249 → nixos/packages: display license long name first → https://git.io/fxhpD
<steveeJ> o1lo01ol1o: I can take a guess. could you maybe inherit the overrides in the release.nix?
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to python-unstable: https://git.io/fxhpQ
<steveeJ> o1lo01ol1o: I actually have no clue what the "frontend" is
<steveeJ> o1lo01ol1o: is it a a directory which contains a derivation?
<Zajcev_> guys, can I rm /nix/store/gpd0z885nx4klb3cb37h18gjd74g2xli-vsftpd.conf ? It's little bit weird and I'd like to start with default ...
<o1lo01ol1o> in default.nix: frontend = ./frontend that directory contains the (haskell) source that's being built.
<gchristensen> Zajcev_: no, but you can change settings via these https://nixos.org/nixos/options.html#vsftpd
<gchristensen> Zajcev_: what do you find weird?
<Zajcev_> gchristensen: of course I use that options
<o1lo01ol1o> steveeJ: ^^
<steveeJ> o1lo01ol1o: do you actually depend on the overrides?
aanderse has quit []
<steveeJ> o1lo01ol1o: you also might want to give the error you're facing. so far you've told us that you can't build the release.nix ;-)
<o1lo01ol1o> steveeJ: the overrides recursively get applied to all the defined packages in reflex-platform. I don't actually think those packages are defined but . . .
<Zajcev_> gchristensen: when I use only services.vsftpd.enable = true, some options are not in default value ...
<steveeJ> o1lo01ol1o: is that feature supported by the nix-shell (i'm just curious) ? it don't see how it's pulled into release.nix, it doesn't look like it is
<Zajcev_> gchristensen: for examle write_enable=YES should be NO
<o1lo01ol1o> steveeJ: the nix-shell -A shells.blah commands pull the packages defined in overrides
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #49720 → graalvm: 1.0.0-rc3 -> 1.0.0-rc8 → https://git.io/fxhrK
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fxhht
schopp0r has left #nixos ["Error from remote client"]
schopp0r has joined #nixos
<steveeJ> o1lo01ol1o: I see, I wasn't aware of that. if the package depends on the overrides taking effect, you have to pass them to the nixpkgs import
justanotheruser has joined #nixos
<gchristensen> Zajcev_: set "services.vsftpd.writeEnable = false" explicitly
<gchristensen> and try again? weird
<o1lo01ol1o> steveeJ: I don't think i'm at that problem yet ;) I've updated the gist with the error
<Zajcev_> gchristensen: writeEnable = false;
<Zajcev_> write_enable=YES
ilikeheaps has quit [Ping timeout: 246 seconds]
<gchristensen> Zajcev_: run: ps auxfg | grep vsftp
schopp0r has left #nixos ["Error from remote client"]
<gchristensen> Zajcev_: then make sure you're looking at the right config file? :/
schopp0r has joined #nixos
<Zajcev_> ExecStart=vsftpd /nix/store/pynfxla0vf2avr50dfk20ccbxczhb125-vsftpd.conf
<gchristensen> great, look in that file, not /nix/store/gpd0z885nx4klb3cb37h18gjd74g2xli-vsftpd.conf
<steveeJ> o1lo01ol1o: oh right, you're missing a src. where's the source code?
<Zajcev_> [root@nixosV:/home/kriloter]# less /nix/store/gpd0z885nx4klb3cb37h18gjd74g2xli-vsftpd.conf |grep write_enable
<Zajcev_> write_enable=YES
<Zajcev_> hm w8
booglewoogle has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
periklis has quit [Ping timeout: 252 seconds]
<Zajcev_> gchristensen: uff, wth ... sorry
<{^_^}> [nixpkgs] @michaelpj closed pull request #45919 → nixos-rebuild: use `nix build` and `nix copy` → https://git.io/fAlO1
<Zajcev_> but where I've got that file?
<Zajcev_> :-)
<Zajcev_> easy to lost in hashes ... :-)
<gchristensen> no idea :)
justanotheruser has quit [Ping timeout: 252 seconds]
valwal has joined #nixos
schopp0r has left #nixos ["Error from remote client"]
<Zajcev_> gchristensen: looks like anythime I change something it's another hash ... there was my fault ...
<Zajcev_> thanks :-)
<steveeJ> Zajcev_: you would probably find all related config files starting from the systemd unit that runs vsftp
<gchristensen> good! :)
<nschoe> Is this guide https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration still up to date regarding the raspberry pis? When I add this line 'boot.kernelPackages = pkgs.linuxPackages_latest;' to my configuration.nix, `nixos-rebuild` fails with "The bootloader cannot find the proper kernel image."
callahad has joined #nixos
schopp0r has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49750 → git-big-picture: 0.9.0 -> 0.10.1 → https://git.io/fxhFu
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxhhw
ilikeheaps has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
booglewoogle has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fxhhF
<{^_^}> [nixpkgs] @danieldk closed pull request #49731 → networkmanager-l2tp: hoist pname attribute → https://git.io/fxh10
schopp0r has left #nixos ["Error from remote client"]
schopp0r has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.78 -> 4.14.79 »: https://git.io/fxhjf
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-18.09: https://git.io/fxhjJ
<callahad> Hi! I'm dipping my feet into NixOS and not quite grokking it, yet. Let's say I'm on 18.09, which has a Rust package, fd 7.1.0 (https://github.com/NixOS/nixpkgs/blob/18.09/pkgs/tools/misc/fd/default.nix). For the sake of education, let's say I want to create an overlay with fd 7.2.0. What's the easiest way to do that? I know I somehow need to updat
<callahad> e the src and cargo hashes, as well as change which version of Rust is used by buildRustPackage.
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49719 → 1password: 0.5.3 -> 0.5.4 → https://git.io/fxhwH
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxhjk
booglewoogle has joined #nixos
<callahad> (Just copying the body of fd/default.nix into my overlay works except for figuring out how to change the Rust version passed in)
<callahad> (...but I feel like there should be some way to use override / overrideAttrs instead of copying and pasting the main derivation?)
drakonis_ has joined #nixos
justanotheruser has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
<o1lo01ol1o> steveeJ: got disconnected. The source would be in ./frontend/: ie, cabal new-build et al should be run from there.
<o1lo01ol1o> steveeJ: however, setting src = ./frontend; doesn't change the error . . .
justbeingglad has quit [Quit: Leaving.]
<catern> hey #nixos
<catern> if I'm making a new special derivation-maker-helper-function-thingy like mkDerivation and buildPythonPackage for a new build system, what should I call it?
<catern> mkSomebuildsystemDerivation or buildSomeSystemPackage?
<arianvp> or maybe myBuildSystem.mkDerivation ?
<arianvp> idk there isn't a lot of consistency I think
<arianvp> we have goBuildPackage, but haskellPackages.mkDerivation, etc
<tilpner> callahad - nixos-unstable-small has 7.2.0
<tilpner> ,unstable
<simpson> I think it depends on whether the input attrset looks derivation-like. `mkDerivation` passes through most of its arguments, in some sense.
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/35151f695ef (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Thra11 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixops] @domenkozar merged pull request #1039 → Check types wit mypy → https://git.io/fxpyp
<{^_^}> [nixops] @domenkozar pushed 8 commits to master: https://git.io/fxhjN
<o1lo01ol1o> I have the src attribute set to the location of my sources in a mkDerivation (it's just src = ./foo;) so why would I keep getting the error: variable $src or $srcs should point to the source?
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjee
<{^_^}> [nixpkgs] @Mic92 merged pull request #49718 → ibm-plex: 1.1.6 -> 1.2.1 → https://git.io/fxhww
<callahad> tilpner: Yeah, that's what I'm actually using, but I'm curious about how to do that when -unstable doesn't have something, yet. Figured it'd be a good exercise.
<tilpner> callahad - fd.overrideAttrs (old: rec { name = "fd-${version}"; version = "7.2.0"; src = fetchFromGitHub { ... }; })
<{^_^}> [nixpkgs] @Mic92 merged pull request #49738 → bazel-deps: 2018-08-16 -> 2018-11-01 → https://git.io/fxhy9
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjeU
<tilpner> You are not required to change name and version
<callahad> tilpner: That's what I tried first, but it still tried to use the previous fd-7.1.0-vendor for cargo libraries, rather than generating a new one
<tilpner> Oh, right
civodul has joined #nixos
<callahad> ...I should probably post this on Discourse with more "here's what I tried, here's what didn't work" snippets :)
justanotheruser has joined #nixos
<tilpner> It's still possible, just very ugly
<tilpner> You could pass a modified rustPlatform with a modified buildRustPackage that always applies your custom cargoSha256
<{^_^}> [nixpkgs] @Mic92 merged pull request #49728 → acgtk: 1.3.1 -> 1.5.0 → https://git.io/fxhPl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjeq
<{^_^}> [nixpkgs] @dotlambda pushed 4 commits to python-unstable: https://git.io/fxjeY
<steveeJ> o1lo01ol1o: you also need a src in the release.nix
<tilpner> fd.override { rustPlatform.buildRustPackage = r: rustPlatform.buildRustPackage (r // { cargoSha256 = "foo"; }); }
<tilpner> That can be combined with overrideAttrs to change src, name, and version
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to python-unstable: https://git.io/fxjen
<tilpner> You probably need { rustPlatform = rustPlatform // { buildRustPackage = ...; }; }
justanotheruser has quit [Ping timeout: 245 seconds]
<tilpner> callahad - ^
<callahad> tilpner: That sounds promising! I'll give it a shot after I get the kid down for bed :) Thanks!
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49638 → mupdf: 1.13.0 -> 1.14.0 → https://git.io/fxxgg
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxjer
<hlolli> I'm looking for simple " => \" quoting, trying "${lib.strings.escape conf}", but it takes a list while conf is a string, is there a simpler way to achieve this?
<andi-> Lib.escapeString?
<andi-> Iirc there is a function for that
<hlolli> is escape string part of string lib or builtin?
<steveeJ> tilpner: why can't one use overrideAttrs on it and change version and src?
<tilpner> steveeJ - You can
<steveeJ> tilpner: but it doesn't do what you'd expect
<tilpner> > lib.strings.escapeNixString "foo\""
<{^_^}> "\"foo\\\"\""
<tilpner> steveeJ - You also need to change cargoSha256
<valwal> hey #nixos. i'm unable to get brightness to work: xbacklight returns "No outputs have backlight property" and when i enable "programs.light" and run "/run/wrappers/bin/light -U 10" it has no effect.
<hlolli> at the same time discovered lib.escapeShellArg. So string operators are on many corners :D
<tilpner> And while overrideAttrs may be able to change the derivation attribute named cargoSha256, it can't change all the potential strings the argument was interpolated into
<tilpner> valwal - You can always script you way around /sys/class/backlight
justanotheruser has joined #nixos
<valwal> if that folder is empty for me, would i have to add a script for my specific, uh, brightness device?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49604 → matrix-synapse: 0.33.6 -> 0.33.8 → https://git.io/fxA8G
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxjeA
<{^_^}> [nixpkgs] @7c6f434c merged pull request #49606 → matrix-synapse: 0.33.6 -> 0.33.8 → https://git.io/fxA4L
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-18.09: https://git.io/fxjep
<tilpner> valwal - I don't know why it would be empty :/
<valwal> np, thanks. i think i can just symlink from that folder to one of the outputs of `sudo find /sys/ -type f -iname '*brightness*'`
<{^_^}> [nixpkgs] @Mic92 merged pull request #49669 → Provide all the binaries needed by the vim-go plugin → https://git.io/fxpAO
<{^_^}> [nixpkgs] @Mic92 pushed 19 commits to master: https://git.io/fxjvv
<{^_^}> [nixpkgs] @dotlambda merged pull request #49147 → pythonPackages.imageio: 1.6 -> 2.4.1 → https://git.io/fxSzZ
<{^_^}> [nixpkgs] @dotlambda pushed commit from @pmiddend to master « pythonPackages.imageio: 1.6 -> 2.4.1 (#49147) »: https://git.io/fxjvm
justanotheruser has quit [Ping timeout: 245 seconds]
badmutex has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #49327 → tmux: fix tmux sha256 hash → https://git.io/fxHHP
<{^_^}> [nixpkgs] @xeji pushed commit from @ookhoi to master « tmux: fix tmux sha256 hash (#49327) »: https://git.io/fxjvC
<steveeJ> tilpner: not sure how exactly that has to look. would you point it out please? https://gist.github.com/dab8a4f7b8e882383ab4355e0dedc513
schopp0r has left #nixos ["Error from remote client"]
<{^_^}> [nixpkgs] @dotlambda merged pull request #49744 → pythonPackages.python-gitlab: init at 1.6.0 → https://git.io/fxhH3
<{^_^}> [nixpkgs] @dotlambda pushed 3 commits to master: https://git.io/fxjvz
schopp0r has joined #nixos
badmutex has joined #nixos
oida has quit [Ping timeout: 256 seconds]
oida has joined #nixos
etu has joined #nixos
schopp0r has left #nixos ["Error from remote client"]
schopp0r has joined #nixos
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #49730 → python34: remove → https://git.io/fxhXG
<{^_^}> [nixpkgs] @globin pushed 4 commits to master: https://git.io/fxjft
<{^_^}> [nixpkgs] @dywedir merged pull request #49715 → plex: 1.13.8.5395 -> 1.13.9.5456 → https://git.io/fxhVL
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fxjfY
<{^_^}> [nixpkgs] @7c6f434c merged pull request #44303 → nixos/tomcat: add purifyOnStart option → https://git.io/fNr5Y
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fxjfn
<{^_^}> [nixpkgs] @dywedir pushed to revert-49715-master « Revert "plex: 1.13.8.5395 -> 1.13.9.5456" »: https://git.io/fxjfB
justanotheruser has quit [Ping timeout: 252 seconds]
badmutex has quit [Remote host closed the connection]
Akii has joined #nixos
badmutex has joined #nixos
<{^_^}> [nixpkgs] @dywedir pushed 0 commits to revert-49715-master: https://git.io/fxjfy
<{^_^}> [nixpkgs] @7c6f434c closed pull request #49729 → nixos/tomcat: add purifyOnStart option (alt) → https://git.io/fxhPj
hyper_ch has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49635 → coqPackages.contribs.zfc: enable for Coq 8.8 → https://git.io/fxxuS
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjfF
hyper_ch has joined #nixos
<gchristensen> Mic92: do I need to do something special to have networkd work for captive porals?
fendor_ has quit [Remote host closed the connection]
<callahad> tilpner: Hah, for some reason structuring things per that gist breaks network resolution (curl error: Could not resolve host: github.com), while other derivations work fine... it also looks like it's still trying to build fd-7.1.0-vendor.drv
<{^_^}> [nixpkgs] @Infinisil merged pull request #49758 → haskellPackages.*.env: Fixed shellHook being ignored → https://git.io/fxhpX
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fxjJs
justanotheruser has joined #nixos
<tilpner> Fine, I'll try locally
hyper_ch_ has joined #nixos
<hyper_ch_> hmmm
hyper_ch has quit [Ping timeout: 252 seconds]
<callahad> tilpner: No obligation! If I don't figure this out tonight I'll post on Discourse and let it sit for a bit. Certainly not urgent at all.
<Mic92> gchristensen: no, if you use dhcp and there dns server it should just work. Usually I use an IP like 1.1.1.1 to get redirected to their page.
hyper_ch_ is now known as hyper_ch
<Mic92> gchristensen: networkctl status wlan0
<Mic92> this will also show you the dns server.
<gchristensen> I use dhcp and don't specify DNS servers. when I would go on a captive portal, routectl would show 8.8.8.8 as my DNS servers, despite 10.0.101.1 being advertised in dhcp
<gchristensen> ok, I'll switch back to networkd to explore :)
<Mic92> gchristensen: are you sure you did not override it anywhere?
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/fxjJu
<Mic92> gchristensen: also note that you need resolved enabled for dns to work.
<callahad> Oh, mayb eit is working just naming the -vendor.drv incorrectly?
<Mic92> I mean otherwise it would not add the nameserver
<gchristensen> Mic92: hmmm but it does work without it ... maybe enabling resolved would fix it?
badmutex has quit [Quit: Quit]
<Mic92> gchristensen: it should be enabled unless you have disabled it. /etc/resolv.conf should be a symlink then
<gchristensen> (1) I don't have nameservers set anywhere. (2) I don't have resolved enabled, but I haven't disabled it
<tilpner> callahad - Yep, my mistake
<gchristensen> rebooting to networkd, brb
<Mic92> Personally I don't use the provider's dns so I take the dns manually when I have a captive portal
justanotheruser has quit [Ping timeout: 245 seconds]
<Mic92> But this is because the dns providers I have here in UK sometimes are crappy.
<tilpner> callahad - Though note this requires rustc >= 1.29
c0bw3b_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<gchristensen> nixos-option services.resolved.enable says it is enabled
<catern> how do I implement something like Python's package overrides for my own new package management system?
<catern> i.e. I want to be able to do mypkgOverrides = mypkg-self: mypkg-super: { etc }
<catern> (to be precise, I'm writing Nix packages for software coming from an existing build system/package manager, so I'll have a buildMypkgPackage etc)
<gchristensen> and /etc/resolv.conf isa symlink to systemd's
<Mic92> gchristensen: ah, you also using the networking.interfaces backend?
<callahad> tilpner: yeah, 1.30 is available as latest.rustChannels.stable.rust in the nixpkgs-mozilla overlay, but that should be easy enough to override in that rustPlatform redefinition
<callahad> tilpner: Thank you for taking the time, I'll hack on that and report back :)
<gchristensen> Mic92: hmm, no, I don't touch networking.interfaces
<Mic92> gchristensen: I mean you have networking.useNetworkd = true?
<gchristensen> yeah
schopp0r has left #nixos [#nixos]
<gchristensen> should I do something else? :)
<Mic92> gchristensen: what does the 99-main.network looks like?
schopp0r has joined #nixos
<Mic92> gchristensen: I had problems enabling my own network files when useNetworkd was set. They were just overwritten by set
<Mic92> I should open an issue for that to have the problem at least documented
<gchristensen> https://github.com/grahamc/nixos-config is my complete configuration, note router.nix is not included, so disregard that stuff :)
<Mic92> gchristensen: no, you cannot use systemctl for that.
<Mic92> networkd is independent in that sense
<gchristensen> ah
<gchristensen> I don't know how to tell you what it looks like then
<Mic92> gchristensen: you can use cat on the file in /etc/systemd/network
<Mic92> gchristensen: something like this should work instead of networking.interfaces: https://github.com/Mic92/dotfiles/blob/master/nixos/vms/eddie.nix#L42
justanotheruser has joined #nixos
<gchristensen> but that does seem to explain it
<Mic92> gchristensen: yeah, it should not even do dhcp judging this file
<gchristensen> so I don't think I've configured anything about this at all. I wonder why it defaulted to not using dhcp
<gchristensen> https://search.nix.gsc.io/?q=DHCP.*none&i=nope&files=&repos= *goes spelunking*
justanotheruser has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Mic92 merged pull request #49632 → fastlane: 2.105.2 -> 2.107.0 → https://git.io/fxx45
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjUV
<catern> is there a nixpkgs library function to replace all occurrences in string A of string B with string C?
<{^_^}> [nixpkgs] @basvandijk pushed commit from @FPtje to release-18.09 « haskellPackages.*.env: Fixed shellHook being ignored »: https://git.io/fxjUP
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/fxjUM
<simpson> catern: As part of a phase, there's `substituteInPlace` and friends.
<gchristensen> Nix's replaceStrings builtin will do it
<gchristensen> > replaceStrings [ "a" "b" ] [ "c" "e" ] "aebe"
<{^_^}> undefined variable 'replaceStrings' at (string):205:1
<gchristensen> > builtins.replaceStrings [ "a" "b" ] [ "c" "e" ] "aebe"
<{^_^}> "ceee"
<catern> great, thanks
<gchristensen> Mic92: figured it out
c0bw3b_ has joined #nixos
booglewoogle has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « pythonPackages.rsa: fix tests »: https://git.io/fxjT4
<{^_^}> [nixpkgs] @matthewbauer merged pull request #49670 → Fix pkgsi686Linux assertion → https://git.io/fxpx2
<{^_^}> [nixpkgs] @matthewbauer pushed 4 commits to master: https://git.io/fxjTV
goibhniu has joined #nixos
<steveeJ> is there a lib or builtin that can fetch a bare git repo to the store?
<catern> steveeJ: builtins.fetchgit?
<steveeJ> catern: I just tried and the outPath contains the worktree
<catern> oic
<catern> didn't understand what you meant, no idea then
<catern> what package contains the "arch" tool from coreutils? coreutils doesn't seem to have it
<makefu> > locate bin arch
<wykurz> nixops question - how do you define an EC2 instance to be launched with a specific iam role (such that it can obtain S3 access key via instance role)?
<{^_^}> undefined variable 'locate' at (string):205:1
<simpson> ,locate bin arch
<{^_^}> Found in packages: mailman, busybox
<catern> I guess it is not in our build of coreutils
<steveeJ> catern: you can alias it to `uname -m`
<makefu> catern: busybox contains the binary
<makefu> ah, too slow
<catern> steveeJ: well, that won't be inherited by the build script I'm invoking
<catern> makefu: hmm, seems a bit weird to add busybox to my buildInputs just for this
<simpson> Just add busybox, it's not big.
<steveeJ> catern: you could write a wrapper script for it too
<simpson> Or sed the build script.
<catern> simpson: well, also then if my package uses any GNU-isms, they won't work
<catern> yeah I'm thinking of just patching it
<makefu> catern: and try to send the patch upstream, sometimes good stuff happens
<simpson> catern: What I've found is that often the top-level build script is not worth calling.
<wykurz> cransom: thanks! reading...
<catern> steveeJ: is there an easy way in nixpkgs to make a wrapper script and add it to PATH?
<catern> that would be a cool helper
<symphorien> catern: add (writeScriptBin ...) to buildInputs ?
<Mic92> gchristensen: make sense probably, so your wifi was actually handled by network-manager instead?
<catern> symphorien: hey, fancy that... cool
<Mic92> gchristensen: also in that case it should disable resolved as well.
<Mic92> fpletz: this is what ubuntu is working on https://netplan.io/
<Mic92> maybe we can learn from them.
<{^_^}> [nixpkgs] @k0ral opened pull request #49760 → Add slurp and grim → https://git.io/fxjks
<{^_^}> [nixpkgs] @k0ral closed pull request #49760 → Add slurp and grim → https://git.io/fxjks
<{^_^}> [nixpkgs] @k0ral reopened pull request #49760 → Add slurp and grim → https://git.io/fxjks
mayhewluke has quit [Ping timeout: 252 seconds]
<Mic92> fpletz: mhm. for the most part it just seems a configuration generator.
<{^_^}> [nixpkgs] @k0ral closed pull request #49760 → Add slurp and grim → https://git.io/fxjks
mayhewluke has joined #nixos
rhitakorrr has joined #nixos
<rhitakorrr> Hey folks - is there a package for Private Internet Access on NixOS? I only saw a related Haskell package while searching.
<rhitakorrr> Or otherwise, is there a preferred VPN people use?
<Mic92> openvpn, tinc, wireguard seems to be popular choices
<{^_^}> [nixpkgs] @Mic92 merged pull request #49628 → raspberrypiWirelessFirmware: 2018-05-30 -> 2018-08-20 → https://git.io/fxxO5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjk2
b has quit [Ping timeout: 244 seconds]
<lukego> I have a NixOS box that won't boot due to a bad kernel. I also don't have a boot menu appearing to allow me to switch to an older configuration (systemd-boot). What are my rescue options? If I boot from USB is there an easy way to mount the FS and make it roll back?
<{^_^}> [nixpkgs] @k0ral opened pull request #49761 → Add slurp and grim → https://git.io/fxjkw
<rhitakorrr> Thanks, Mic92. I'll check those out.
<clever> lukego: after you boot from something else, you can use `nixos-enter` to chroot into it (assuming you mounted everything right), and can then `nixos-rebuild boot`
b has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #49664 → bup: 0.29.1 -> 0.29.2 → https://git.io/fxp5P
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fxjki
<lukego> Thanks clever
<lukego> also: Googling for mysterious missing boot menus seems to lead to "reinstall EFI" suggestions. Is that something that makes sense in this context?
<arianvp> andi-:
<clever> lukego: i prefer using grub, and ive heard that systemd-boot lacks the rollback menu
<arianvp> is it worth it trying to update to prometheus 2.0 while we're at it?
<lukego> (Could it even be that my server is booting in BIOS mode when it should be booting in EFI mode or something like this? I must admit EFI is a mystery to me.)
<clever> lukego: systemd-boot is efi only
<clever> lukego: if it was booting via legacy, it would be more likely to have a proper menu
<lukego> Oh so it just doesn't offer a rollback menu? Yeah, that'd be quite a downside compared with grub.
v0|d has joined #nixos
<tilpner> I use systemd-boot and get a menu to choose generations at boot
<steveeJ> can I somehow grant a runCommand network-access?
<clever> steveeJ: one sec
<lukego> Could be that I need to boot into an EFI shell and poke some variables to make the menu appear. Hoping I could also hold down some key to summon it at least...
agander has joined #nixos
<sphalerite> clever: you've heard wrong :p
<Ralith> yes, it definitely has a menu
<clever> steveeJ: runCommand "name" { outputHashAlgo = "sha256"; outputHash = "...."; outputHashMode = "flat"; } "script"
<sphalerite> lukego: systemd-boot does offer booting into any generation just like grub
<steveeJ> clever: :D so I have to make it fixed?
<gchristensen> Mic92: I was, yeah, but I can't get networkd + networkmanager to work with captive porals, so going back to scripted networking for a bit :)
<steveeJ> clever: funny, I'm trying to avoid using fetchgit because it requires me to set a sha
<clever> steveeJ: if your build fails to meet the defined outputHash, then nix will consider it a failure
<lukego> sphalerite: Question then is how to troubleshoot systemd-boot not offering that on this machine. If I could summon that menu and boot a previous generation that would get me out of the pickle that I'm in now.
<steveeJ> clever: I see. if only builtins.fetchgit supported leaveDotGit
<clever> steveeJ: why do you need .git?
<steveeJ> clever: because I want to clone the repo to the filesystem from the store
<tilpner> From the store? Why do you need network then?
<steveeJ> tilpner: to get the repo into the store
<lukego> Maybe I need to boot Linux from USB and poke in efivarsfs to enable the menu in the server firmware
seese has joined #nixos
c0bw3b_ has left #nixos [#nixos]
<steveeJ> clever: I think I'll got with what you wrote, thanks a bunch :-)
<{^_^}> [nixpkgs] @roberth merged pull request #49462 → pkgs.nixos: Add example to inline documentation → https://git.io/fxdtu
<{^_^}> [nixpkgs] @roberth pushed 3 commits to master: https://git.io/fxjIB
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @roberth closed pull request #42657 → Haskell bash completion → https://git.io/f4dUt
<steveeJ> clever: is there an equivalent of runCommand that allows $out to be a directory?
<steveeJ> I'm being told: output path '/nix/store/ylbs5y7r68q3rw2gn5plr06k05j269pc-fetchbare' should be a non-executable regular file
seese has quit [Quit: seese]
<{^_^}> [nixpkgs] @roberth pushed to docs-make-channel « Remove incorrect sentence from make-channel comment. »: https://git.io/fxjIb
<{^_^}> [nixpkgs] @roberth pushed to docs-make-channel « Remove incorrect sentence from make-channel comment »: https://git.io/fxjIj
agander has quit [Ping timeout: 268 seconds]
<infinisil> steveeJ: runCommand can just create the directory?
endformationage has joined #nixos
<infinisil> mkdir $out; echo foo > $out/foo
<steveeJ> infinisil: I think the issue is with outputHashMode = "flat"
<infinisil> steveeJ: Yeah flat seems to only be for files, why not use "recursive" then?
<steveeJ> infinisil: trying right now ;)
<clever> steveeJ: outputHashMode = "flat"; is what required $out to be a file, not runCommand
<clever> steveeJ: outputHashMode = "recursive"; allows it to instead be a dir
justbeingglad has joined #nixos
leotaku has joined #nixos
<leotaku> is "security.acme.certs.<name>.extraDomains" the correct way to add subdomains to my certs using the acme nixos module?
drakonis_ has quit [Ping timeout: 268 seconds]
<steveeJ> clever: wheres this stuff implemented?
<Mic92> gchristensen: I gave up on networking.interfaces and just try to avoid everywhere.
<Mic92> both backends
<clever> steveeJ: the deep internals of nix
<steveeJ> clever: haha I see, well all I can't seem to escape the outputHash in this case :D
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « haskell-hspec-discover: update overrides for the new version »: https://git.io/fxjtC
<leotaku> ok, I found the answer in an old commit message, sorry for the clutter
justbeingglad has left #nixos [#nixos]
<ottidmes> leotaku: if you need any help, let me know, I just finished setting it up myself
gamble has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #49762 → nixos/fontconfig/make-fonts-cache: don't fail to clean the cache → https://git.io/fxjqY
<gamble> hi all - noticing postgrest won't build on recent nixos releases https://gist.github.com/gamb/70fcd04e0ced1aa084a1f0c7682e95f9
<gamble> I'm using 18.09.797.617607e0437 (Jellyfish).
<gamble> Still learning nix. How can I go about getting a working build from PostgREST if the version on the channel is failing?
<steveeJ> clever: is the command run every build or will nix use the value in the store if the hash is found?
<ottidmes> gamble: I think the problem is that Semigroup is now a super type class of Monoid, which is only the case in GHC 8.4.x, what version of ghc are you using?
<gamble> thanks ottidmes - ghci is 8.4.3
sigmundv__ has joined #nixos
<ottidmes> gamble: so you will need to use ghc 8.2.x in order for this package to work, apparently it has yet to be updated
Diagon has quit [Read error: Connection reset by peer]
<gamble> ak great, thanks - unsure how i can change ghc version inside my shell.nix? currently just have buildInputs = [ haskellPackages.postgrest ]
aleph- has joined #nixos
<ottidmes> gamble: is it just an exe, not a lib? if it is an exe, you could just install pkgs.haskell.packages.ghc822.postgrest instead
<gamble> right! yes just an exe. that's really helpful thanks
jD91mZM2 has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @vbgl merged pull request #49456 → Small refactoring in coqPackages → https://git.io/fx5xS
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/fxjqA
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/21b7f59ae12 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
tonic_ has joined #nixos
rhitakorrr has left #nixos ["WeeChat 2.2"]
<gamble> ottidmes - bother. laptop got pretty hot for a while, but ended up with the test suite failing!
Diagon has joined #nixos
aanderse has joined #nixos
<gamble> as you say, it is just an exe. so i guess i could run it inside a docker container
<ottidmes> gamble: it still mentions ghc 8.4.3 in your linked gist
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gamble> oh sorry just look at gistfile2.txt the first file was from first attempt.
<gamble> this was a result of nix-shell on `buildInputs = [ pkgs.haskell.packages.ghc822.postgrest ]`
<ottidmes> gamble: it seems like it has not been able to be build on NixOS for some time: https://hydra.nixos.org/search?query=postgrest
<clever> steveeJ: never attempt to do network in an activation script
<clever> steveeJ: that will leave your maching unable to boot
<steveeJ> clever: it's a home activation script ;-) but I do get the point
<steveeJ> clever: that's why I've populated the repo to the store now
<clever> ah, home-manager is safer then
<clever> with nixos, any error in the activation scripts results in it partially aborting the boot
<clever> causing systemd to never wind up in PATH
<clever> then it tries to continue the boot, and fails
<steveeJ> clever: the online URLs are still in there for the pre-population script. the activation clones from store and sets the remote urls correctly
<steveeJ> clever: that sounds like a horrible thing to encounter :D
<gamble> ottidmes: ah hydra is useful. so looks like i could curl one of the reproduce scripts and get an old / working copy of postgrest that way. best option?
<clever> steveeJ: the more fun part, is that it works at nixos-rebuild, so you leave it for 3 months, and then GC all old generations :P
<steveeJ> clever: oh, and then nixos-install defers it to the boot time
<steveeJ> clever: or do you mean you don't reboot in 3 months?
<clever> if you dont reboot for 3 months
<steveeJ> clever: would nixos-install run the activation scripts though?
<clever> steveeJ: i think it does, but the network is online at the time
<ottidmes> gamble: that is indeed a valid option, it will take a while to build it all, because most dependencies will likely no longer be in cache, another route is to try and make it work outside of Nix
<steveeJ> clever: interesting. what's the environment there? chroot? what's `hostname`?
<gamble> yeah - i think in this instance i'm better off running it through a docker container
justanotheruser has joined #nixos
orivej has joined #nixos
<clever> steveeJ: hostname i dont think is changed
<tilpner> 0 store paths deleted, 254753.12 MiB freed
<tilpner> Huh, something's wrong with accounting
<clever> tilpner: that can happen if you ctrl+c a previous gc, or had a lot of failing builds
<tilpner> Oh, that might do it
vk3wtf has quit [Ping timeout: 250 seconds]
katyucha has quit [Ping timeout: 268 seconds]
hamishmack has joined #nixos
switchy has joined #nixos
random_yanek has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @rycee opened pull request #49763 → lombok: 1.16.22 -> 1.18.4 → https://git.io/fxjOx
FPtje has quit [Quit: Leaving]
<valwal> hey #nixos, switching from nouveau to nvidia drivers made my firefox and login prompt way too zoomed in. anyone know why/how to fix?
<valwal> i'm running with only discrete graphics, no hybrid or integrated
gamble has quit [Quit: Page closed]
<valwal> specs: 01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
xy2_ has quit [Ping timeout: 268 seconds]
Thra11 has joined #nixos
<srhb> valwal: I bet it's setting a strange dpi value.
<srhb> valwal: in which case explicitly setting services.xserver.dpi might help
phreedom has quit [Ping timeout: 256 seconds]
phreedom has joined #nixos
random_yanek has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « lombok: 1.16.22 -> 1.18.4 »: https://git.io/fxj3D
<{^_^}> [nixpkgs] @rycee merged pull request #49763 → lombok: 1.16.22 -> 1.18.4 → https://git.io/fxjOx
<steveeJ> is there a function handy in builtins or nixpks that can use the first N characters of a string?
<steveeJ> I could probably use builtins.match regex str
<tilpner> Can use? builtins.substring?
<steveeJ> tilpner: even better, thanks! I didn't see that one
<{^_^}> [nixpkgs] @sengaya opened pull request #49764 → Ansible py3 → https://git.io/fxj3x
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bf7930d582b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
romanofskiWork has joined #nixos
<Mic92> I created a survey to estimate how many people we need to plan for the 35c3 nixos assembly: https://discourse.nixos.org/t/survey-for-35c3-assembly-to-estimate-assembly-size/1366
<rawtaz> Mic92: is this an assembly at the CCC that's held between christmas and new years in germany?
<makefu> exactly
<rawtaz> i never went to that but thought about it many times, but there was always such a huge cost for accommodation and of course the conference in totalt
<rawtaz> -t
<etu> Mic92: Oh, I will vote tomorrow when at a computer since I'll be at the event:)
dbmikus has joined #nixos
vk3wtf has joined #nixos
marusich has joined #nixos
<valwal> srhb: thank you, since it was only on firefox i just changed the firefox settings in about:config.. but might give that a shot anyway
<Mic92> rawtaz: well you probably don't want the hotels next to the conference.
<yangm97> anyone running nixOS on zfs?
<Mic92> yangm97: many people
<yangm97> Mic92 (IRC): good to know
<yangm97> I currently have a buggy ubuntu zfs on root install
<yangm97> been thinking about dual booting
rprije has joined #nixos
<yangm97> is there anything like beadm for nixOS?
<Mic92> yangm97: not really required since it can be achived on the nixos level
<Mic92> *package management level
<Mic92> there is a module for auto snapshots though
<yangm97> Mic92 (IRC): wdym? I wanted an easy way to switch between my other OSes
<{^_^}> [nixpkgs] @roberth opened pull request #49766 → [WIP] Add private options to the module system → https://git.io/fxjGm
<dongcarl> Hi all, I'm wondering where I can read more about the difference between installing packages using `environment.systemPackages` and using `nix-env`? Are the packages installed using `nix-env` declared in a config file somewhere?
<yangm97> (I could add freeBSD and macOS to this zroot if I really wanted)
<rawtaz> Mic92: yeah :) where would you recommend one stay, not too far away and not too pricey?
<Mic92> rawtaz: you can stay also in the city center, last year they made an effort to keep the public transport up all night.
<Mic92> yangm97: no nothing like this exists, I also had the intention that tool is for freebsd only
<yangm97> Mic92 (IRC): and solaris. too bad it hasn't been ported over
carlosdagos has joined #nixos
marusich has quit [Ping timeout: 245 seconds]
<yangm97> that tutorial assumes an install environment, I wonder if I could just create another root dataset and install nixOS there, from my running ubuntu
<Mic92> yangm97: you can install nix on ubuntu and get nixos-install.
<yangm97> nice
<tilpner> dongcarl - Check .nix-profile/manifest.nix
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1dd64452521 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jasongrossman has quit [Ping timeout: 260 seconds]
<avn> If I understand right, you can install nixos and other os on different datasets in same pool, but it require some extra careful planning (and probably magic with bootloaders)
<dongcarl> tilpner: thanks!
mayhewluke has quit [Ping timeout: 245 seconds]
tonic_ has quit [Ping timeout: 252 seconds]
marusich has joined #nixos
mayhewluke has joined #nixos
<Mic92> yangm97: it is not directly exposed from non-nixos, but you can do: nix-shell -p '(nixos {}).nixos-install'
<Mic92> and then have shell with it
vidbina_ has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Ping timeout: 245 seconds]
markus1189 has quit [Ping timeout: 272 seconds]
Thra11 has quit [Ping timeout: 246 seconds]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #47679 → Document make-channel.nix → https://git.io/fxkNV
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to master: https://git.io/fxjZv
vk3wtf has quit [Ping timeout: 252 seconds]
worldofpeace has joined #nixos
Ariakenom has quit [Quit: Leaving]
<aanderse> yangm97: yes, running nixos on zfs on root on 4 pcs
<yangm97> do you also happen to run a desktop environment and use steam?
nschoe has quit [Quit: Program. Terminated.]
<yangm97> with a nvidia gpu
<aanderse> yangm97: yes
<aanderse> 1 pc is a desktop/htpc multimonitor setup
<aanderse> nvidia binary driver
* infinisil is also using NixOS and ZFS and steam and Nvidia
<aanderse> another pc is dedicated htpc setup which also runs nvidia binary driver
<yangm97> are proton games playing fine?
<aanderse> yangm97: <3 proton
<yangm97> I think I found the perfect setup
<infinisil> Never tried proton on NixOS, is it packaged and stuff?
<aanderse> infinisil: its part of steam, so nixos doesn't need to package it
<aanderse> yangm97: perfect setup?
<yangm97> aanderse (IRC): for my gaming rig
<aanderse> yeah, tell me about it :)
<aanderse> love hearing about perfect setups
<infinisil> aanderse: Ohh, so it just allows you to magically start windows programs from steam directly?
<yangm97> I got tired of windows BS and then switched to ubuntu, but then apt breaks just by staring at it, so I'm now looking at nixOS
<aanderse> infinisil: magically is the key! yes, it is great
<aanderse> no screwing around with wine
<clever> its just a fork of wine, baked into steam
<clever> with support for the steam overlay
<yangm97> aanderse (IRC): which DE are you using?
markus1189 has joined #nixos
<aanderse> clever: mhm, but it integrates with the native steam client which is the big deal
<aanderse> yangm97: on desktop i'm using kde, on htpc just openbox running kodi
<clever> aanderse: yeah
Rusty1 has quit [Quit: Konversation terminated!]
<aanderse> i have a kodi plugin which adds my steam games to the menu. before proton i had a hack to run both windows steam via wine and regular steam, that sucked
__monty__ has quit [Quit: leaving]
<yangm97> I've never used nix before for more than installing 3 packages, wish me luck
<aanderse> with steam proton it eliminated the need for that hack entirely, and now everything just works great :)
<aanderse> yangm97: installing nixos on zfs is easy peasy, but yeah good luck
<aanderse> :)
<yangm97> aanderse (IRC): what about getting all the other stuff to run though?
<yangm97> (nvidia drivers and steam)
<yangm97> just writing stuff to configuration.nix?
<aanderse> yeah, for the most part
<aanderse> environment.systemPackages = [ pkgs.steam ];
<aanderse> that covers steam
<aanderse> services.xserver.videoDrivers = [ "nvidia" ];
<aanderse> that covers nvidia
<aanderse> i suppose there are a couple more things than that
<aanderse> someone should write a programs.steam.enable = true; which automatically adds hardware.pulseaudio.support32Bit = true; and whatnot...
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<{^_^}> [nixpkgs] @jtojnar pushed to master « remmina: fix version »: https://git.io/fxjZd
<{^_^}> [nixpkgs] @rycee opened pull request #49767 → svtplay-dl: 1.9.11 -> 2.1 → https://git.io/fxjZb
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/179b8146e66 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
Rusty1 has joined #nixos
<{^_^}> [nixops] @Mic92 opened pull request #1041 → fix release build w.r.t. mypy → https://git.io/fxjnq
Dedalo has joined #nixos
<{^_^}> [nixops] @Mic92 opened pull request #1042 → Travis support for better code review → https://git.io/fxjnY
bgamari has joined #nixos
marusich has quit [Ping timeout: 260 seconds]
<Mic92> mhm, nix build could output some more lines on error: https://travis-ci.com/Mic92/nixops/builds/90208780#L470
goibhniu has quit [Ping timeout: 268 seconds]
<makefu> i still haven't found out how nix build does the same output as nix-build
rprije has quit [Ping timeout: 268 seconds]
<Mic92> maybe I can it combine it with nix log for the travis case.
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « svtplay-dl: 1.9.11 -> 2.1 »: https://git.io/fxjnB
<{^_^}> [nixpkgs] @rycee closed pull request #49767 → svtplay-dl: 1.9.11 -> 2.1 → https://git.io/fxjZb
<makefu> yeah, nix log should work
<Mic92> the nix-build --quiet option is what I was looking for.
<{^_^}> [nixpkgs] @LnL7 opened pull request #49768 → darwin: don't include cf-private in framework dependencies → https://git.io/fxjni
<Mic92> where can I find the travis image for nix?
marusich has joined #nixos
justbeingglad has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fa30c8cfca9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
justbeingglad has left #nixos [#nixos]
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/21b7f59ae12 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
thc202 has quit [Ping timeout: 252 seconds]