mudri has quit [(Ping timeout: 240 seconds)]
tmaekawa has joined #nixos
csingley has joined #nixos
mudri has joined #nixos
Guest23973 has quit [(Changing host)]
Guest23973 has joined #nixos
Guest23973 has quit [(Changing host)]
Guest23973 has joined #nixos
scott is now known as Guest15736
Guest23973 is now known as scott
erictapen has quit [(Ping timeout: 240 seconds)]
numbdewd has joined #nixos
marusich has quit [(Quit: Leaving)]
tmaekawa has quit [(Quit: tmaekawa)]
shachaf has joined #nixos
<shachaf> Did the way GHC packages are managed with Nix change at one point?
<shachaf> I have "haskellEnv = pkgs_.haskellPackages.ghcWithPackages (haskellPackages: with haskellPackages; [ ... ]);" in my ~/.nixpkgs/config.nix
<shachaf> But now ghci can't see any of the packages in that list.
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
numbdewd has quit [(Quit:  ☺ )]
Nobabs27 has joined #nixos
<Nobabs27> A nix-build failed because "mkdir: cannot create directory '/usr/lib': Permission denied", any suggestions?
_ris has quit [(Ping timeout: 240 seconds)]
<clever> Nobabs27: something in the package is trying to install to a place it shouldnt
<clever> Nobabs27: the package will need to be fixed
<Nobabs27> clever: as in, setting the make file to use the right directories, or something else?
<Nobabs27> clever: Also, where should it be installing?
jellowj has quit [(Ping timeout: 246 seconds)]
<clever> Nobabs27: to $out, which is passed to configure via --prefix
<Nobabs27> clever: qmake qmake -set prefix $out sound right maybe?
<Nobabs27> *qmake only once lol
<clever> nixpkgs should also have support to run qmake for you with the right args
Infinisil has quit [(Quit: leaving)]
<disasm> Nobabs27: qt4 or qt5?
<Nobabs27> disasm: qt5, unstable channel
<disasm> Nobabs27: add qt5.qmake to buildInputs
<disasm> Nobabs27: that should set the right qmake options
<disasm> as long as your not overriding configre/build phases :)
<Nobabs27> ...?
<disasm> err nativeBuildInputs
<Nobabs27> ill give it a try lol
<disasm> ah crap... disabled sandboxing this afternoon and just realized I never ran a rebuild switch after switching it back on
<disasm> that's why this package is able to download stuff...
sellout-1 has quit [(Ping timeout: 255 seconds)]
sellout- has joined #nixos
jellowj has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #29486: logilab_common: 0.63.2 -> 1.4.1 (master...logilab) https://git.io/v5dKz
NixOS_GitHub has left #nixos []
mudri has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
<disasm> that moment of dread when you realize pylint has a dependency on your PR... nox-review is going to take a while.
lambdamu has joined #nixos
<disasm> not quite as bad as I thought :) nothing like rebuilding qt...
lambdamu_ has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
<Nobabs27> disasm: this time it failed with a different dir: "mkdir: cannot create directory '/usr/lib': Permission denied"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #29487: python pies: remove packages (master...pies) https://git.io/v5d6U
NixOS_GitHub has left #nixos []
ison111 has joined #nixos
<disasm> Nobabs27: can you share nix file?
<Nobabs27> sure
<disasm> Nobabs27: I think if you remove the buildPhase it will work
<Nobabs27> disasm: the build phase is automatic? it just knows what to do?
koserge has quit [(Ping timeout: 248 seconds)]
<Nobabs27> or is it the appearance of qmake it automatically uses?
<disasm> yeah, when you put qt5.qmake in the nativeBuildInputs it will figure the rest out
<disasm> most of the time :)
<disasm> sometimes you have to do some preConfigure stuff, like substitutions, etc...
<csingley> For servers that stick config files under /var (because they need write access to config), can I declare the config file contents in configuration.nix?
drakonis has quit [(Remote host closed the connection)]
MarcelineVQ has quit [(Remote host closed the connection)]
drakonis has joined #nixos
MarcelineVQ has joined #nixos
MP2E has joined #nixos
jensens has quit [(Ping timeout: 264 seconds)]
U007D has joined #nixos
<disasm> Nobabs27: gonna need some hackery, I'm looking into it
U007D has quit [(Client Quit)]
U007D has joined #nixos
<disasm> I believe it's src/defines.pri
Wizek has quit [(Quit: Connection closed for inactivity)]
<Nobabs27> ?
<Nobabs27> disasm: you sayin I should submit that pull request or...?
jellowj has quit [(Ping timeout: 264 seconds)]
<disasm> just showing you what I did so far
<Nobabs27> ah kk
<disasm> I find git repos easier to follow along when debugging over IRC
<Nobabs27> ok
<Nobabs27> so Im guessing it works but only when called via all-packages.nix ?
<disasm> trying another build
<disasm> yeah, I'm doing it in nixpkgs, and will probly PR it if I get it working :)
<disasm> so other people wanting it can just install it
<Nobabs27> cool
<disasm> doubt it will get in 17.09 though
<Nobabs27> a couple things about qupzilla: theres also the 'plugins' thing in a separate repo, and they are renaming it to Falkon which has a repo on the KDE git thing which makes it somewhat confusing
<disasm> ohfun :)
<disasm> I'm not sure this is going to work, I set the prefix in QMAKE FLAGS but according to build instructings, that would be a en env variable.
<Nobabs27> weird
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
roni has joined #nixos
roni2 has joined #nixos
roni2 has quit [(Client Quit)]
roni has left #nixos []
<disasm> Nobabs27: I do believe I goto it... we'll find out when it finishes.
<Nobabs27> disasm: cool
<disasm> but I see DUSE_DATADIR pointed at the nix store in share
DeaDSouL has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Ping timeout: 246 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
Acou_Bass has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<Nobabs27> hmm
<Nobabs27> what do you suppose that means?
<disasm> and success :)
<Nobabs27> yas
orivej has joined #nixos
DeaDSouL has joined #nixos
<disasm> I'll leave building a plugin as an exercise for you to figure out, time for me to get to bed :)
<Nobabs27> xD
<Nobabs27> so it was you linked to that worked?
Acou_Bass has joined #nixos
hiratara has quit [(Quit: ZNC - http://znc.in)]
ison111 has quit [(Quit: WeeChat 1.9)]
hiratara has joined #nixos
jb55 has joined #nixos
Mateon3 has joined #nixos
jedai42 has joined #nixos
Mateon1 has quit [(Read error: Connection reset by peer)]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #29488: qupzilla: init at 2.1.2 (master...qupzilla) https://git.io/v5dPh
NixOS_GitHub has left #nixos []
xd1le has joined #nixos
jedai has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v5dXU
<NixOS_GitHub> nixpkgs/master 3ba2095 aszlig: nixos/dovecot: Fix createMailUser implementation...
NixOS_GitHub has left #nixos []
michas_ has joined #nixos
michas has quit [(Ping timeout: 240 seconds)]
csingley has quit [(Quit: WeeChat 1.9)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/2ad805568c (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<jasom> I'm seeing an odd error building a custom expression: Error in tempdir() using /var/run/user/1000/nix-build.XXXXXX: Parent directory (/var/run/user/1000) does not exist at /nix/store/das3zvh434rbjhisxr9i0axfc0yqhh0q-nix-1.11.13/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi/Nix/Utils.pm line 45.
<clever> jasom: what is $TMPDIR set to?
<jasom> clever: it's unset in my environment, but doesn't nix-build set it somewhere?
mrkgnao has joined #nixos
<clever> outside of the nix build
<clever> what about $TMP?
<jasom> clever: also unset
<clever> env | grep run/user/1000
<jasom> XDG_RUNTIME_DIR
<jasom> which is mentioned on that line of the perl script, thanks
<clever> what is the value?
<jasom> XDG_RUNTIME_DIR=/var/run/user/1000
<clever> and does that directory exist?
<jasom> yes
<clever> can you gist your custom expression?
<jasom> clever: not easily, there's lots of moving parts, I'm going to try with XDG_RUNTIME_DIR unset real quick
<jasom> it seems to work on nixos, but not my nixpkgs install
<jasom> nixpkgs on gentoo that is
<jasom> unsetting the variable makes it work
<clever> its odd that it exists yet doesnt
b has quit [(Quit: Lost terminal)]
<disasm> Nobabs27: that's it cleaned up a bit. We'll see if someone merges it :)
oahong has quit [(Ping timeout: 264 seconds)]
<disasm> Nobabs27: you could put that in qupzilla.nix and then do (callPackage ./qupzilla.nix {}) in systemPackages to install without it being merged.
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<Nobabs27> mk cool
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg closed pull request #29060: skanlite: init at 2.0.1 (master...master) https://git.io/v5VHu
NixOS_GitHub has left #nixos []
Fare has joined #nixos
<Fare> I don't understand why one machine copies from the other with ssh-substituter-host, but the other claims the packages are not properly signed.
<tnks> when running a window manager, it kicks off a shell, but it seems polluted by all the environment variables set by the wrapper script for the window manager.
<tnks> do people just get by because everything has it's own wrapper script?
justan0theruser has joined #nixos
michas_ has quit [(Ping timeout: 248 seconds)]
<Fare> what variables are ticking you?
mrkgnao has quit [(Ping timeout: 264 seconds)]
<Fare> tnks, I use stumpwm and don't have too much trouble.
tmaekawa has joined #nixos
Fare has quit [(Ping timeout: 260 seconds)]
FareTower has joined #nixos
Nobabs27 has quit [(Quit: Leaving)]
mk-fg has quit [(Quit: o//)]
ison111 has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
kier has quit [(Quit: No Ping reply in 180 seconds.)]
kier has joined #nixos
hamishmack has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
sigmundv has joined #nixos
<eacameron> Has anyone seen nixops deploy just hang while copying closure?
<peterhoeg> Nobabs27 and disasm: I've added some comments about falkon on that PR. Let's take the discussion over there?
<peterhoeg> eacameron: if you are using hasFastConnection = true it will not show you any progress
<peterhoeg> While still doing its thing
<eacameron> peterhoeg: Where is that set?
<peterhoeg> deploytment.hasFastConnection
<peterhoeg> It is what chooses if you copy from the deployment host to the target or if the target will download from the mirros.
<peterhoeg> When the target is downloading from the mirrors you will see progress but nothing if pushing from your deployment host to the target.
<eacameron> peterhoeg: Ohhhh
<eacameron> peterhoeg: I'll bet that's it.
<eacameron> I must have a large deployment...
hio is now known as hoorr
hoorr is now known as peter1
peter1 is now known as hio
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn12 has joined #nixos
<eacameron> peterhoeg: Is there a way too look at the closure of a nixops deployment?
Filystyn12 has quit [(Client Quit)]
Filystyn12 has joined #nixos
Filystyn12 has quit [(Client Quit)]
FareTower has quit [(Ping timeout: 240 seconds)]
Filystyn12 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #29489: go: fix tests and impurity (master...go) https://git.io/v5dyS
NixOS_GitHub has left #nixos []
<peterhoeg> eacameron: I don't know if there is a way to get nixops to show it, but you can always get it from the remote host using nix-store --query -R <path-to-active-generation>
<eacameron> peterhoeg: Ok thanks.
Ivanych has joined #nixos
jsgrant has quit [(Ping timeout: 246 seconds)]
MP2E has quit [(Quit: leaving)]
drakonis has quit [(Quit: Leaving)]
glenn has quit [(Remote host closed the connection)]
<Mic92> disasm: You can switch to the github tarball and extend PATH
glenn has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
glenn has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v5d9u
<NixOS_GitHub> nixpkgs/master 0f0aeed Samuel Leathers: python pies: remove packages
<NixOS_GitHub> nixpkgs/master 469e163 Frederik Rietdijk: Merge pull request #29487 from disassembler/pies...
NixOS_GitHub has left #nixos []
endformationage has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/v5d9r
<NixOS_GitHub> nixpkgs/release-17.09 f22378c Samuel Leathers: python pies: remove packages...
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
Filystyn12 has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
FRidh has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 264 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
isaac__ has joined #nixos
stepcut has quit [(Ping timeout: 255 seconds)]
catch22 has quit [(Remote host closed the connection)]
<offlinehacker[m]> adding a single driver to mesa, and i have to rebuild everything, this is just crazy
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #29484: internetarchive: 0.8.3 -> 1.7.2 (master...internetarchive) https://git.io/v5dVo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 2 new commits to master: https://git.io/v5dHk
<NixOS_GitHub> nixpkgs/master 01174c5 Antoine Eiche: dockerTools.pullImage: use skopeo to pull the image...
<NixOS_GitHub> nixpkgs/master ea6d37c Antoine Eiche: dockerTools.pullImage: release note regarding sha256 argument value
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #29455: Fedora packaging tools update (master...fedora) https://git.io/v55ik
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 2 new commits to release-17.09: https://git.io/v5dHY
<NixOS_GitHub> nixpkgs/release-17.09 dc4178e Antoine Eiche: dockerTools.pullImage: use skopeo to pull the image...
<NixOS_GitHub> nixpkgs/release-17.09 b94ee1a Antoine Eiche: dockerTools.pullImage: release note regarding sha256 argument value...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #29465: aspellWithDicts: use a single env (master...aspell) https://git.io/v55FW
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/v5dHZ
<NixOS_GitHub> nixpkgs/release-17.09 20e1833 Frederik Rietdijk: aspellWithDicts: use a single env...
NixOS_GitHub has left #nixos []
glenn has joined #nixos
glenn has quit [(Ping timeout: 246 seconds)]
dywedir has joined #nixos
justbeingglad has joined #nixos
guest1100101 has joined #nixos
<guest1100101> Hi there, from the LiveCD, is there a way to install unstable directly or would I first have to install the system, boot to it and then change channels to unstable?
iyzsong has quit [(Read error: Connection reset by peer)]
oahong has quit [(Ping timeout: 260 seconds)]
<guest1100101> Hi there, from the LiveCD, is there a way to install unstable directly or would I first have to install the system, boot to it and then change channels to unstable?
<guest1100101> sorry for double post
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v5dH1
<NixOS_GitHub> nixpkgs/master f557aa4 Bjørn Forsman: Fix eval...
NixOS_GitHub has left #nixos []
odi has joined #nixos
<guest1100101> I encounter a problem: curl: (22) The requested URL returned error: 404 Not Found error: cannot download flash_player_ppapi_linux.x86_64.tar.gz from any mirror
GRBurst has joined #nixos
iyzsong has joined #nixos
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<GRBurst> hey - i am trying to compile a program that uses cmake und boost. in order to do so - i use the with nix-shell -p cmake boost. however - cmake is not able to find boost (find_package(CMake Error at CMakeLists.txt:120 (find_package):, altough it is installed on the system.
<GRBurst> Could not find a package configuration file provided by "Boost" with any of
<GRBurst> the following names:
<GRBurst> BoostConfig.cmake
<GRBurst> boost-config.cmake
<GRBurst> Add the installation prefix of "Boost" to CMAKE_PREFIX_PATH or set
<GRBurst> "Boost_DIR" to a directory containing one of the above files. If "Boost"
<GRBurst> provides a separate development package or SDK, be sure it has been
<GRBurst> okay - sry messed up with c&p here xD
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 4 new commits to master: https://git.io/v5dHQ
<NixOS_GitHub> nixpkgs/master 9e39554 Joachim Fasting: linuxPackages.lttng-modules: 2.9.3 -> 2.10.0
<NixOS_GitHub> nixpkgs/master 7d69e5a Joachim Fasting: linuxPackages.lttng-modules: broken on kernels >4.11
<NixOS_GitHub> nixpkgs/master 969db57 Joachim Fasting: lttng-tools: 2.9.5 -> 2.10.1
NixOS_GitHub has left #nixos []
<isaac__> Is there something I can read that will get me up to speed with compiling a haskell project with profiling?
MobileBurst has joined #nixos
<isaac__> cabal (via nix-build) yells at me when using `-prof` and the `haskellPackages_profiling` that I set up
<isaac__> I have also tried adding `enableLibraryProfiling` and `enableExecutableProfiling` in my project's nix file, to no avail
orivej has quit [(Ping timeout: 240 seconds)]
justbeingglad has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 4 new commits to release-17.09: https://git.io/v5dQs
<NixOS_GitHub> nixpkgs/release-17.09 5946d7d Joachim Fasting: linuxPackages.lttng-modules: 2.9.3 -> 2.10.0...
<NixOS_GitHub> nixpkgs/release-17.09 b967357 Joachim Fasting: linuxPackages.lttng-modules: broken on kernels >4.11...
<NixOS_GitHub> nixpkgs/release-17.09 622afa9 Joachim Fasting: lttng-tools: 2.9.5 -> 2.10.1...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #29416: lttng-{modules,tools,uts}: version bumps (master...lttng) https://git.io/v57Ib
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v5dQc
<NixOS_GitHub> nixpkgs/staging 9005970 Frederik Rietdijk: python27: 2.7.13 -> 2.7.14...
NixOS_GitHub has left #nixos []
<isaac__> Okay, apparently the problem is specifying `-prof`in `ghc-options`
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/v5dQ4
<NixOS_GitHub> nixpkgs/master 44db65d Michael Raskin: xmlsec: 1.2.23 -> 1.2.25; enable nss (for LO)
<NixOS_GitHub> nixpkgs/master 02f439d Michael Raskin: cppunit: 1.14.0
<NixOS_GitHub> nixpkgs/master 08b1bc9 Michael Raskin: libreoffice-fresh: 5.3.1.2 -> 5.4.1.2; fixes #29379
NixOS_GitHub has left #nixos []
<isaac__> Removing that, and leaving `enableExecutableProfiling = true` works
dywedir has quit [(Remote host closed the connection)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
thomad[m] has joined #nixos
MobileBurst has quit [(Ping timeout: 260 seconds)]
imnotrichevans has quit [(Read error: Connection reset by peer)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f22378c383 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
JosW has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh force-pushed python-unstable from 38e5675 to 9005970: https://git.io/v5aIf
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
Wizek has joined #nixos
erictapen has joined #nixos
<JosW> can NixOS do kde plasma or arm?
<JosW> plasma mobile that is
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 5 new commits to staging: https://git.io/v5d5Y
<NixOS_GitHub> nixpkgs/staging 1ed3ca2 Lancelot SIX: texinfo: 6.3 -> 6.5...
<NixOS_GitHub> nixpkgs/staging 604ca93 Orivej Desh: libxml2: 2.9.4 -> 2.9.5
<NixOS_GitHub> nixpkgs/staging f6763a4 Vladimír Čunát: Merge #29431: libxml2: 2.9.4 -> 2.9.5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v5d5O
<NixOS_GitHub> nixpkgs/master a2a9b53 Bjørn Forsman: cdrkit: fix 'dirsplit' tool by depending on perl...
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 260 seconds)]
guest1100101 has quit [(Ping timeout: 260 seconds)]
mudri has joined #nixos
odi has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
tmaekawa has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
dywedir has joined #nixos
leat has joined #nixos
kanshazan has joined #nixos
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/v5ddo
<NixOS_GitHub> nixpkgs/staging bebdd7a Frederik Rietdijk: python.pkgs.subprocess32: 3.2.6 -> 3.2.7
<NixOS_GitHub> nixpkgs/staging 96d15ea Frederik Rietdijk: python27: support test/support...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh merged staging into python-unstable: https://git.io/v5ddK
NixOS_GitHub has left #nixos []
mjgilliard has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
Wizek_ has quit [(Ping timeout: 246 seconds)]
<jluttine> if i have a list of attribute sets, how do i merge them into a single attribute set using the same rules as nixpkgs does? that is, it doesn't just overwrite but it somehow intelligently merges the values
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] k0ral opened pull request #29490: [youtube-dl] 2017.08.27 -> 2017.09.15 (master...nixos-unstable) https://git.io/v5dFZ
NixOS_GitHub has left #nixos []
kanshazan has quit [(Ping timeout: 260 seconds)]
mattcode has joined #nixos
<sphalerite> JosW: nice project, thanks for sharing :)
<hyper_ch> hi sphalerite
<sphalerite> hi hyper_ch
<hyper_ch> freed 22gb by removing old generations
<sphalerite> jluttine: you mean nixos modules (as opposed to nixpkgs)?
<jluttine> sphalerite: maybe..
ambro718 has joined #nixos
<jluttine> hmm.. yes, i think so
<sphalerite> have a look at lib/modules.nix
<jluttine> ok, thanks
<sphalerite> I don't really know how it works or how to use it, but the implementation is there
glenn has joined #nixos
glenn has quit [(Remote host closed the connection)]
ambro718 has quit [(Ping timeout: 252 seconds)]
kanshazan has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/676560af25 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh opened pull request #29491: python.pkgs: remove openstack (master...openstack) https://git.io/v5dbf
NixOS_GitHub has left #nixos []
CrazedProgrammer has quit [(Quit: Ping timeout (120 seconds))]
CrazedProgrammer has joined #nixos
hc_ has quit [(Ping timeout: 255 seconds)]
hc has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
michas_ has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5db0
<NixOS_GitHub> nixpkgs/master d0aa64a rnhmjoj: lua-nginx-module: 0.10.5 -> 0.10.10
<NixOS_GitHub> nixpkgs/master 6437b1c Joachim F: Merge pull request #29393 from rnhmjoj/nginx-lua...
NixOS_GitHub has left #nixos []
<mjgilliard> Hi. Can anyone share a config for MacBook-Pro12,1 hardware with working wifi? I currently have it obtaining a DHCP lease but then enable to use the network, which is confusing. I get this error after dhcp `brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23`
<mjgilliard> s/enable/unable
hamishmack has quit [(Quit: hamishmack)]
thc202 has joined #nixos
hamishmack has joined #nixos
kanshazan has quit [(Ping timeout: 240 seconds)]
phdoerfler has quit [(Quit: Leaving.)]
mudri has joined #nixos
silver_hook has joined #nixos
mk-fg has joined #nixos
mk-fg has quit [(Changing host)]
mk-fg has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
<sphalerite> Very useful responses :D
Filystyn has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<JosW> :)
erictapen has joined #nixos
glenn has joined #nixos
<JosW> but the idea sounds like somehow doable
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/20e1833914 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
glenn has quit [(Ping timeout: 246 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
hamishmack has joined #nixos
michiel_l has quit [(Ping timeout: 246 seconds)]
michiel_l has joined #nixos
cfricke has joined #nixos
michas_ has quit [(Ping timeout: 260 seconds)]
Mateon3 has joined #nixos
slyfox has quit [(Ping timeout: 246 seconds)]
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
hamishmack has quit [(Quit: hamishmack)]
tmaekawa has quit [(Ping timeout: 264 seconds)]
stepcut has joined #nixos
slyfox has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5dxv
<NixOS_GitHub> nixpkgs/master 2c58562 Hoang Xuan Phu: rabbitmq_server: 3.6.6 -> 3.6.10
<NixOS_GitHub> nixpkgs/master 3d3e224 Joachim F: Merge pull request #29350 from phunehehe/rabbitmq-3.6.10...
NixOS_GitHub has left #nixos []
ShalokShalom has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29332: gnome-shell-extensions: enable all extensions (master...fix.gnome-shell-extensions) https://git.io/v5SFE
NixOS_GitHub has left #nixos []
ShalokShalom has joined #nixos
stepcut has quit [(Ping timeout: 240 seconds)]
joehh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/v5dxT
<NixOS_GitHub> nixpkgs/master 983d014 Bjørn Forsman: fpart: init at 0.9.3
NixOS_GitHub has left #nixos []
cfricke has quit [(Ping timeout: 240 seconds)]
joko has joined #nixos
<joko> Hello, I am trying to run pavucontrol and I get the following error: "Gtk:ERROR:gtkiconhelper.c:493:ensure_surface_for_gicon: assertion failed: (destination)"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.09: https://git.io/v5dxL
<NixOS_GitHub> nixpkgs/release-17.09 1d156a6 Bjørn Forsman: fpart: init at 0.9.3...
NixOS_GitHub has left #nixos []
<joko> Any idea what goes wrong? The window appears really quickly and the app crashed
<joko> crashes *
eacameron has joined #nixos
<joepie91> aaaaaand there we go again
<joepie91> error: cannot download flash_player_npapi_linux.x86_64.tar.gz from any mirror
<joepie91> fuckssake Adobe.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29493: arangodb: 3.2.2 -> 3.2.3 (master...arangodb-3.2.3) https://git.io/v5dxq
NixOS_GitHub has left #nixos []
tobim[m] has joined #nixos
ambro718 has joined #nixos
<joepie91> the channel for 17.03 is lagging :|
leat has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
<joepie91> this is something that really should be fixed at some point - the flash player builds break way too often
_ris has joined #nixos
hamishmack has joined #nixos
joehh has quit [(Remote host closed the connection)]
joehh has joined #nixos
hamishmack has quit [(Client Quit)]
<joehh> hi there - not sure if my previous question came through - flaky wifi
<joehh> any tricks to getting nat to work on nixos?
<joehh> I've tried enabling it, but the portforwarding doesn't seem to work
csingley has joined #nixos
<Yaniel> did vulkan packaging change recently?
<Yaniel> I can't run vulkaninfo any more
<Yaniel> says it doesn't find a supported driver
MobileBurst has joined #nixos
MobileBurst has quit [(Client Quit)]
<Yaniel> (nixos-unstable)
joehh has quit [(Ping timeout: 248 seconds)]
<xd1le> meh, flash player gon become obsolete in 3 years anyways
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vaibhavsagar opened pull request #29494: nginx-modules: remove unused fetchpatch (master...nginx-modules) https://git.io/v5dpe
NixOS_GitHub has left #nixos []
<hyper_ch> pepperflash for chromium?
zimbatm_ has quit [()]
zimbatm_ has joined #nixos
<joepie91> xd1le: eh, perhaps, but that means 3 years of breaking system builds because of this issue :)
<joepie91> which is... not great
<hyper_ch> I wonder, who still requires flash?
hotfuzz has joined #nixos
pie_ has joined #nixos
<hyper_ch> I mean what websites
xd1le has quit [(Ping timeout: 240 seconds)]
koserge has joined #nixos
orivej has joined #nixos
hotfuzz_ has quit [(Ping timeout: 248 seconds)]
erictapen has quit [(Ping timeout: 246 seconds)]
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alicebob closed pull request #29411: add buildGo19Package and use as default (master...buildgo19package) https://git.io/v5QHv
NixOS_GitHub has left #nixos []
koserge has quit [(Ping timeout: 240 seconds)]
koserge has joined #nixos
joehh has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
cfricke has joined #nixos
jellowj has quit [(Ping timeout: 246 seconds)]
koserge has quit [(Ping timeout: 264 seconds)]
ShalokShalom_ has joined #nixos
linuxnoob23 has joined #nixos
<linuxnoob23> Where does nix store the fetched package tarballs?
<gchristensen> /nix/store
joehh has quit [(Ping timeout: 248 seconds)]
mkoenig has quit [(Ping timeout: 255 seconds)]
<linuxnoob23> It doesn't seem to contain tarballs. I want to prevent re-downloading all the stuff the next time.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
koserge has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
ShalokShalom has quit [(Ping timeout: 264 seconds)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
joehh has joined #nixos
erictapen has joined #nixos
mudri has quit [(Ping timeout: 255 seconds)]
<linuxnoob23> does nix ship with the nixos cache signature to check against?
<gchristensen> it does
<gchristensen> (the public key is cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=)
kanshazan has joined #nixos
<hyper_ch> you know the public key by heart? oO
jellowj has joined #nixos
<gchristensen> you don't? :) (no: cat /etc/nix/nix.conf | grep key)
stanibanani has joined #nixos
<hyper_ch> that looks like a hacker thing what you do there
Infinisil has joined #nixos
<ben> where does nix ship the cache signature from?
<hyper_ch> (the internet)
<linuxnoob23> head -c 2048 /dev/urandom
<gchristensen> ben: I don't understand your question
<ben> how is the trust bootstrapped when i first install nix?
<joepie91> hyper_ch: older sites, mostly, as well as a lot of asian vendor sites (eg. hardware vendors)
<gchristensen> it comes with the nix tarball, so the trust is bootstrapped when you decide the tarball you got was trustworthy
<hyper_ch> joepie91: not sure what you refer to
<gchristensen> ben: you can decide the tarball is trustworthy by, say, GPG verification of the install script (which contains sha256sums of the tarball): https://nixos.org/nix/download.html
jellowj has quit [(Ping timeout: 260 seconds)]
<linuxnoob23> so if i download an untrusted channel tarball, the signatures in the cache variable will ensure the channel is legit?
<linuxnoob23> gchristensen: there is no GPG sig on the link you provided.
<gchristensen> HTTPS ensures you don't get an untrusted channel tarball, the signatures on the packages ensure the _packages_ are good
<linuxnoob23> but the packages from hydra's cache are also delivered trough https
<gchristensen> linuxnoob23: you don't see the .sig URL and "The signing key (https://nixos.org/edolstra.gpg) has fingerprint B541 D553 0127 0E0B CF15 CA5D 8170 B472 6D71 98DE. It is also available on GitHub (https://github.com/NixOS/nixos-homepage/blob/master/edolstra.gpg).
<gchristensen> the signatures make it safe to user internal or http binary caches
<gchristensen> note the channel is different from the binary cache. a channel is a set of nix expressions (these are only protected, currently, by https) the binary cache is the prebuilt version of those expressions
stanibanani has quit [(Ping timeout: 248 seconds)]
stanibanani has joined #nixos
<hyper_ch> kernel 4.14. will be able to manage 128 petabye of ram.... sounds like I need to upgrade my 16gb....
<linuxnoob23> finally, we will be able to compile chromium in a reasonable amount of time ...
<hyper_ch> actually it's 128 petabyte of virtual memory and 4petabe physical memory
<hyper_ch> so I only need to upgrde from 16GB to 4PB
hc_ has joined #nixos
hc has quit [(Ping timeout: 248 seconds)]
hc_ has quit [(Ping timeout: 240 seconds)]
hc has joined #nixos
GRBurst has quit [(Quit: leaving)]
jensens has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5djh
<NixOS_GitHub> nixpkgs/master 70eb31c Vaibhav Sagar: nginx-modules: remove unused fetchpatch
<NixOS_GitHub> nixpkgs/master d72747e Joachim F: Merge pull request #29494 from vaibhavsagar/nginx-modules...
NixOS_GitHub has left #nixos []
<joepie91> hyper_ch: [13:33] <hyper_ch> I wonder, who still requires flash?
<joepie91> it was my answer to that :)
<hyper_ch> ah... and I thought pron sites still required flash
u- has joined #nixos
jellowj has joined #nixos
u- is now known as Guest98962
odi has joined #nixos
erictapen has quit [(Ping timeout: 260 seconds)]
dywedir has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<joepie91> I don't think so?
<joepie91> not sure
griff_ has joined #nixos
mudri has joined #nixos
<joepie91> let's try chrome + minecraft again and see if it *doesn't* crash this time...
kanshazan has quit [(Ping timeout: 260 seconds)]
stanibanani has quit [(Ping timeout: 248 seconds)]
koserge has quit [(Ping timeout: 252 seconds)]
peacememories has joined #nixos
linuxnoob23 has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
FareTower has joined #nixos
FareTower is now known as Fare
newhoggy has joined #nixos
zimbatm_ is now known as zimba-tm
zimba-tm is now known as zimbatm
stanibanani has joined #nixos
<Infinisil> joepie91: minecraft + chrome?
odi has quit [(Ping timeout: 264 seconds)]
odi has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<joepie91> Infinisil: yeah, I'm having some crashing issues
<joepie91> with my GPU
<joepie91> my "new" GPU
<joepie91> appears when running chrome and playing minecraft at the same time
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #29495: vscode: 1.16.0 -> 1.16.1 (master...vscode_1_16_1) https://git.io/v5Fvt
NixOS_GitHub has left #nixos []
* joepie91 brb reboot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5FvY
<NixOS_GitHub> nixpkgs/master c8f43ed Tim Steinbach: linux: 4.13-rc7 -> 4.14-rc1
NixOS_GitHub has left #nixos []
cfricke has quit [(Ping timeout: 248 seconds)]
<joepie91> Infinisil: so tl;dr I'm getting GPU lockups with the radeon drivers on the GPU I just put into my system, and I'm currently trying to figure out how to make it not do that :P
<joepie91> why is it that GPUs always seem to be at fault when there are hardware issues..
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
odi has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
<Infinisil> True dat
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<joepie91> GPU vendors really need to get their shit together :P
michas_ has joined #nixos
<gchristensen> I'd bet DMA is why :)
Guest98962 has quit [(Quit: Toodaloo padawans! 👣)]
<joepie91> idk, it's not like GPUs are the only thing with DMCA
<joepie91> DMA*
<joepie91> that *was* the cause of my previous card's issues though :P
<joepie91> not sure if you were there when I was complaining about it, but it was writing junk to my RAM
stanibanani has quit [(Ping timeout: 264 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler closed pull request #29488: qupzilla: init at 2.1.2 (master...qupzilla) https://git.io/v5dPh
NixOS_GitHub has left #nixos []
<joepie91> to the GPU section when using proprietary drivers, to the *rest of the system* when using open-source drivers...
<joepie91> the latter messed up a few storepaths :/
<joepie91> okay, time for another test
<joepie91> wish me luck..
guillaum1 has joined #nixos
hotfuzz has joined #nixos
<guillaum1> How do you setup a recursive dev shell? To work I need some tools (such as emacs / git / clang), but they are not direct dependencies of my project, so I don't want to add them in my project. Calling two times nix-shell is a bit painful (and shell output is full of garbage). What is the recommanded behavior ?
peacememories has joined #nixos
<Infinisil> guillaum1: You can use a shell.nix file alongside your default.nix, nix-shell prefers shell.nix over default.nix
<joepie91> excellent - issue resolved, it seems
peacememories has quit [(Client Quit)]
<joepie91> so, for future reference for other people running into this issue; if when using radeon drivers ("ati") your GPU starts producing "GPU lockup" / "ring <number> stalled for more than <time>" errors (in journalctl) under load, and your graphics hang, then you can fix this by disabling dynamic power management; `boot.kernelParams = [ "radeon.dpm=0" ];`
<Infinisil> joepie91: How did you figure that out?
peacememories has joined #nixos
<joepie91> in my case, the card is an... R9 270X I think?
<joepie91> Infinisil: there was an issue thread somewhere that suggested this being the issue
<joepie91> one sec, let me find it
<joepie91> also, extra info: kernel version doesn't seem to affect it; got the same issue on 4.4.x and 4.9.x
<Infinisil> I see
Acou_Bass has quit [(Ping timeout: 246 seconds)]
peacememories has quit [(Client Quit)]
<Infinisil> I'm glad we're living in an age where Google and such exists :D
<joepie91> yeah :P
<guillaum1> Infinisil: So you suggest I'm creating a shell.nix which contains as many derivation as in my default.nix and for each I'm overloading the buildInputs?
<Infinisil> guillaum1: buildEnv could be useful
<joepie91> okay, yeah, it's all running stable now, getting about 40-45fps in minecraft, occasionally up to 60fps, no freezing :D
eacameron has quit [(Remote host closed the connection)]
<Infinisil> guillaum1: Hmm or maybe not, I haven't used nix-shell too much
eacameron has joined #nixos
<Infinisil> bbl
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v5FfR
<NixOS_GitHub> nixpkgs/master 8a09e51 Frederik Rietdijk: niff: init at 0.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to release-17.09: https://git.io/v5Ff0
<NixOS_GitHub> nixpkgs/release-17.09 fe2f16e Frederik Rietdijk: niff: init at 0.1...
NixOS_GitHub has left #nixos []
Wanddsd has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #29479: nixos/tinc: Fix tinc cli wrapper for tinc 1.0 (master...fix-tinc-stable) https://git.io/v5dRV
NixOS_GitHub has left #nixos []
Wanddsd is now known as hioo
koserge has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] etu opened pull request #29497: stupidterm: init at 1-752316a (master...master) https://git.io/v5Ffo
NixOS_GitHub has left #nixos []
hio has quit [(Ping timeout: 240 seconds)]
ShalokShalom_ is now known as ShalokShalom
hioo has left #nixos ["Leaving"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yesbox opened pull request #29498: netdata: 1.5.0 -> 1.7.0 (master...netdata_1.7.0) https://git.io/v5Ffx
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<ixxie> rycee: are you around?
newhoggy has joined #nixos
_ris has quit [(Ping timeout: 246 seconds)]
Acou_Bass has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #29499: falkon: init at 2.1.2.1 (master...p/falkon) https://git.io/v5FJR
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
newhoggy has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1d156a60fc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
takle_ has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
eacameron has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Client Quit)]
obadz has quit [(Ping timeout: 248 seconds)]
erictapen has joined #nixos
rauno has joined #nixos
<fearlessKim[m]> is there somewhere a tutorial explaining the whole python wrapping mechanisms. I am trying to mimic that for lua but it's hard to follow
joehh has quit [(Ping timeout: 252 seconds)]
cfricke has joined #nixos
obadz has joined #nixos
<fearlessKim[m]> FRidh: exactly what I was looking for thanks. Scares me a bit but I'll try
<FRidh> fearlessKim[m]: for inspiration you may also look at what I once wrote (far from finished) for Julia https://github.com/FRidh/nixpkgs/commit/d033752fd1ca9529bad4e1a8f5083328636920ef
erictapen has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
acarrico has joined #nixos
sigmundv has quit [(Remote host closed the connection)]
<pie_> tl;dr: you can upload packages to pypi with names similar to poular ones and people will download them, or whatever, and your packages can do bad things (tm). though that shouldnt be surprising i guess. but people generally assume package repos are safe yknow
<rycee> ixxie: Just got home :-) What's up?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v5FUw
<NixOS_GitHub> nixpkgs/master 64bf283 Daiderd Jordan: opensc: add darwin frameworks
NixOS_GitHub has left #nixos []
iyzsong has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5FUo
<NixOS_GitHub> nixpkgs/release-17.09 523fb3c Daiderd Jordan: opensc: add darwin frameworks...
NixOS_GitHub has left #nixos []
stimpleton has joined #nixos
<ixxie> rycee: I was wondering if you heard anything from ts468 since https://github.com/NixOS/nixpkgs/pull/9250#issuecomment-320860635
<stimpleton> hi. could anyone point me in the right direction how to load intel-microcodes in nixos? https://downloadcenter.intel.com/download/26925/Linux-Processor-Microcode-Data-File?product=97185 i wrote a derivation, which installs the firmware files in $out/lib/firmware/intel-ucode, but the loading mechanism expects the files in /lib/firmware/intel-ucode
erictapen has joined #nixos
m0rphism has quit [(Ping timeout: 240 seconds)]
ertes has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v5FUp
<NixOS_GitHub> nixpkgs/master 8525b78 Jan Malakhovski: linuxPackages: properly propagate `features` and `extraConfig`...
NixOS_GitHub has left #nixos []
ertes has joined #nixos
m0rphism has joined #nixos
cfricke has quit [(Quit: WeeChat 1.9)]
<stimpleton> symphorien: thanks
stimpleton has quit [(Quit: Page closed)]
jsgrant has joined #nixos
<rycee> ixxie: Nope, the last mail I got from him was on Aug 6.
<ixxie> rycee: thats a little dissappointing; I donated 50 euros to the cause
<ixxie> rycee: which, you know, whatever - I would have donated to the NixOS foundation anyway
<joepie91> pie_: yeah, that isn't an especially novel thing; package repos really should do something like levenshtein distance checks (especially against stdlib stuff) at the very least
michas_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v5FkR
<NixOS_GitHub> nixpkgs/master daf07c9 Maximilian Güntner: hostapd/wpa_supplicant: update urls
<NixOS_GitHub> nixpkgs/master aa818c5 Joachim F: Merge pull request #29467 from mguentner/wi.fi-urls...
NixOS_GitHub has left #nixos []
<rycee> ixxie: Yeah. hopefully he's doing alright. I'll try sending him an email.
<joepie91> gchristensen: Infinisil: guess who's having memory corruption issues again...
<joepie91> :|
<joepie91> I really don't get it
<ixxie> rycee: aye aye! Life often gets in the way, tis true
<ixxie> hope all is well there
<joepie91> entirely different GPU, same problem
<rycee> ixxie: You can use home-manager meanwhile ;-)
<joepie91> different vendor, different model, even bought from a different country
<Infinisil> joepie91: :O
<ixxie> rycee: how handy is home-manager for deploying dotfiles accross multiple machines?
<joepie91> related annoyance: apparently enabling ati_unfree ties xorg to an older version which causes a from-source build for KDE
<aristid> flight and hotel for nixcon is booked \o/
<joepie91> I'm less than happy about this :P
<Infinisil> ixxie: I just set up to do this yesterday for this machine and my server, it works wonderful :D
<joepie91> because building KDE takes _forever_
<aristid> joepie91: the AMD graphics story in nixos is less than perfect :)
<joepie91> aristid: this seems to be triggered by the xorg version change though
<joepie91> ie. kde is only built by hydra against latest xorg
<rycee> ixxie: I do it but it involves rsyncing the home-manager config and repo around. And needing to run the home-manager command on the machines. So unfortunately it cannot be part of the system configuration.nix, yeat.
<joepie91> I would imagine that the same issue would occur with amdgpu_pro
<joepie91> since that ties it to xorg 1.18
<aristid> joepie91: which makes sense given that hydra only caters for the free package set
<joepie91> (but haven't tested)
<aristid> oh, amdgpu_pro has the same issue?
<Infinisil> rycee: rsyncing a repo? Why not just push/pull?
<joepie91> yes
<joepie91> at least in 17.03
<joepie91> amdgpu_pro is not compatible with xorg 1.19
<joepie91> mind: amdgpu_pro is the proprietary version of amdgpu
<joepie91> both radeon and amdgpu build fine against 1.19 apparently
<joepie91> oddly, I don't believe I had from-source builds for XFCE for xorg 1.17
<aristid> it's amazing how in 2017, it's usually cheaper to book hotels on their own site than on the portals
<joepie91> so I'm not sure this is related to AMD drivers being proprietary
<rycee> Infinisil: I'm lazy and doing an rsync of the configuration + home-manager repo seemed simpler than an rsync of the confguration + git push/pull :-)
<Infinisil> rycee: Ah, so you don't have your config under git
<ixxie> rycee: I was thinking of git rather than rsync, but sounds nice
<rycee> The rsync does the system config + home-manager config + home-manager repo.
<Infinisil> rycee: Yeah, when I make some home-manager changes I also need to pull/push that
<ixxie> Infinisil, rycee - are your dotfiles public? I would love to see how you folks do it
LysergicDreams has quit [(Quit: leaving)]
<joepie91> aristid: so.. proprietary -> Xorg 1.1{7,8} + XFCE -> binary substitute -- OSS -> Xorg 1.19 + XFCE -> binary substitute -- proprietary -> Xorg 1.1{7,8} + KDE -> source build -- OSS -> Xorg 1.19 + KDE -> binary substitute
<rycee> Infinisil: I do have it in git but not hosted anywhere. And the home manager code is in a separate repo.
<Infinisil> ixxie: I just reorganized and put them on github yesterday, you're lucky: https://github.com/Infinisil/home
<joepie91> this looks wrong to me, unfree or not :)
<Infinisil> ixxie: mac.nix is for my mac and dobby.nix for my server
<rycee> ixxie: Unfortunately no. A few times I've tried to sanitize it for public consumption but never managed to go the whole way :-)
erictapen has quit [(Ping timeout: 240 seconds)]
<rycee> My end goal would be to have home-manager (or nixup) integrated in the system configuration and deploy the other machines (and their users) through nixops.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/v5FIU
<NixOS_GitHub> nixpkgs/master 6635149 Michael Raskin: julia_06: init at 0.6.0; make the default julia
<NixOS_GitHub> nixpkgs/master ea1d5e9 Michael Raskin: libreoffice-still: 5.2.6.2 -> 5.3.6.1
NixOS_GitHub has left #nixos []
<Infinisil> rycee: Why isn't that possible already? e.g. invoke home-manager in activationScript
<Infinisil> s
erictapen has joined #nixos
<ixxie> thanks Infinisil, ill have a look
<ixxie> and thanks anyway rycee :)
<ixxie> rycee: so completely declarative user configuration that is deployable
<rycee> Infinisil: I suspect that the home-manager activation script is not sufficiently idempotent to run in the system activationScript (although I can't think of a specific problem at the moment).
<ixxie> rycee: that is awesome :)
hamishmack has joined #nixos
<Infinisil> rycee: Or if activationScripts doesn't work, how about a systemd unit
<ixxie> rycee: what about sheenobu's nix home thingy? Have you considered joining forces with them as well?
<Infinisil> ixxie: Having had a quick glance at nix-home (https://github.com/sheenobu/nix-home), it seems to be a subset of home-manager
<rycee> Infinisil: In principle it shouldn't be far from it, though, but I think it will require some thinking. Perhaps to split the HM activation script to a part that builds the generation and creates its directories and whatnot and another part that runs the actual activation actions. Then to just run the activation actions in the system activation script and run the setup stuff earlier.
<ixxie> Infinisil: but not exactly a fork? You mean its like a competitor with a subset of features or?
<Infinisil> rycee: Oh that sounds good, currently there's no way to just activate a configuration
<rycee> ixxie: nix-home is completely separate from Home Manager. It is quite a lot simpler and focuses on management of individual dot files.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fe2f16e289 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Infinisil> Is there anything nix-home can do that home-manager can't?
<rycee> So in principle I think Home Manager can do do everything that nix-home can. The home-manager command lacks `--rollback`, which nix-home has.
ryanartecona has joined #nixos
<rycee> So if you want to do a rollback in home manager you have to manually run the activation script for the generation your want to restore.
<ixxie> rycee: the home manager examples show configuration options for installing emacs packages; these don't seem to be listed on nixos.org though, are they your own making?
<joepie91> yay, KDE finished compiling
<Infinisil> ixxie: Look at the modules folder in home-manager
<rycee> Should be relatively easy to add `--rollback` functionality to the home-manager command, just I haven't had time or need for it.
<joepie91> that only took an hour!
<rycee> ixxie: Yeah, these options are from the emacs module in Home Manager. Internally that module just uses `emacsWithPackages` from Nixpkgs so it is very simple.
ryanartecona has quit [(Client Quit)]
<ixxie> cheers, thats so neat ^^
<rycee> Anything in Nixpkgs that uses the `xyzWithPackages` pattern work quite nicely as user level modules. Eclipse and Texlive are very similar.
koserge has quit [(Ping timeout: 248 seconds)]
mkoenig has joined #nixos
<Infinisil> rycee: Just opened a PR for home-manager :)
<ixxie> its a bit confusing when you try and look for something like emacsWithPackages and its not in the emacs folder of nixpkgs
<ixxie> theres a good reason for that I presume?
stepcut has joined #nixos
chimay has joined #nixos
Sonarpulse has joined #nixos
kanshazan has joined #nixos
<Infinisil> ixxie: I'd just use `rg 'emacsWithPackages = '`
<Infinisil> Works almost all the time
WinchellsM has joined #nixos
<ixxie> Infinisil: rg?
<Infinisil> ixxie: ripgrep, searches for strings in a directory really fast, written in rust
<rycee> Infinisil: Thanks. Looks good :-)
<Infinisil> rycee: :)
<Infinisil> I have an alias for editing my nixos config, which is now declared as:
<Infinisil> ${config.programs.vim.package}/bin/vim $(nix-instantiate --eval -E "<nixos-config>")
<Infinisil> Very fancy
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 14 new commits to release-17.09: https://git.io/v5FL7
<NixOS_GitHub> nixpkgs/release-17.09 84f5bb3 Joachim Fasting: hardened-config: additional refcount checking...
<NixOS_GitHub> nixpkgs/release-17.09 e15669f Joachim Fasting: hardened-config: enable the randstruct plugin...
<NixOS_GitHub> nixpkgs/release-17.09 34f867d Joachim Fasting: hardened-config: build with fortify source...
NixOS_GitHub has left #nixos []
<S0rin> Hey, I am using a nixos system (stable channel), but I would like to add a way to use a local checkout to override some packages, but I seems to have a syntax error, I add a let { local = import /home/my/nixpkgs
<Infinisil> S0rin: Remove the "{"
<ixxie> thanks Infinisil
<S0rin> let local = import '/home/my/nixpkgs' {}; in { }
seequ has joined #nixos
<S0rin> Infinisil: Sorry it was a typo I did not have a { after the let
<S0rin> The error is : error: syntax error, unexpected $undefined, expecting ';'
<Infinisil> S0rin: let local = import /home/my/nixpkgs {}; in ...
<S0rin> Infinisil: thank you I will try it
<Infinisil> Oh, but actually a string should work too, your error is probably somewhere else
<Infinisil> Can you show the whole nix file, S0rin ?
<kanshazan> Hey, how do I enable zsh-prezto on NixOS? I have programs.zsh.enable = true, and shell = pkgs.zsh; in my user config.
<kanshazan> And zsh-prezto in systemPackages
<S0rin> Infinisil: Removing the ' solve the problem, but yes I will dpaste my config 1 sec
leat has joined #nixos
<Infinisil> S0rin: Ahh, yeah, single quotes don't work, but double quotes should too
<Infinisil> S0rin: No need to paste your config if the problem is solved, unless you have another problem :P
<S0rin> Infinisil: Yes it was the problem I didn't know single quote was not supported
<S0rin> it is solved thank you Infinisil
<Infinisil> S0rin: :)
<S0rin> how often is upgraded the official unstable channel ?
<hyper_ch> S0rin: depends
<Infinisil> S0rin: if tests success no more than every ~2 days (because that's how long it takes to build usually), but if some tests break it could well take more than that, even weeks, until it gets fixed
aanderse-laptop has joined #nixos
chimay has quit [(Quit: WeeChat 1.9)]
<necronian> Is anyone using the weechat-matrix-bridge package? I'm not sure how to set it up properly
Infinisil has quit [(Quit: leaving)]
<S0rin> Ah ok thank Infinisil / hyper_ch :)
<aanderse-laptop> anyone get a ps3 controller working on nixos via bluetooth ever?
<hyper_ch> no
Infinisil has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #29500: teamspeak_client: 3.1.4 -> 3.1.6 (master...teamspeak_3_1_6) https://git.io/v5Fti
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27950: Fix gogs service in the absence of any passwords (master...jgertm/gogs-no-passwd) https://git.io/v7wKV
NixOS_GitHub has left #nixos []
<Infinisil> Hey, rycee, I'm having some env vars problems, it seems that my ~/.zshenv has been sourced already before, maybe with pam or something, do you happen to know how to check what env vars pam sets?
takle_ has quit [(Remote host closed the connection)]
<joepie91> Infinisil: so at this point the only real option left is "my motherboard is buggy"
<joepie91> which is an absolutely bizarre problem to have
takle has joined #nixos
<Infinisil> joepie91: And hard to solve :)
<joepie91> Infinisil: not hard, just expensive
<joepie91> lol
<Infinisil> heh
<joepie91> the solution is basically "get a new mobo"
<joepie91> I might actually prod asrock support about this
<joepie91> I've collected enough data by now to make this reproducible in a lab, I think
<bachp> Hi, is there a way to create a symlink from in /etc to a file that is not in the nix store? I'm trying to add TLS support to Glusterfs and I would like to avoid having the private key stored in the nixstore. And glusterfs expects the key to be present in a folder /etc/ssl.
<nh2> hi, how can I make an `etc.*` entry that links to a path I provide, instead of a path into the nix store?
<nh2> bachp: lol
<joepie91> which is kind of bizarre because I am not at all a hardware export
<bachp> ;)
<joepie91> expert*
<nh2> that was literally in the same second
* joepie91 slow clap
<joepie91> nh2: don't tell me you're asking for glusterfs too :P
<nh2> joepie91: I am, we are working on https://github.com/NixOS/nixpkgs/pull/27340#discussion_r139310975 and don't know how to do it
<Infinisil> Damn, what a coincidence
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] moaxcp opened pull request #29501: obnam: 1.21 -> 1.22 (master...obnam) https://git.io/v5Fqt
NixOS_GitHub has left #nixos []
<bachp> At least now we have everyones attention ;-)
kanshazan has quit [(Quit: Lost terminal)]
<rycee> Infinisil: What is the value of your `home.sessionVariableSetter` setting?
kanshazan has joined #nixos
<Infinisil> nh2: bachp: I haven't tried this, but setting `environment.etc."foo".source = "/some/path"` might work
<Infinisil> rycee: zsh
<rycee> If it is set to "pam" then HM will create `$HOME/.pam_environment`.
<Infinisil> Ohhhh damn, I'm stupid
<ixxie> Infinisil: I don't see any other dotfiles in your repo, I was looking for a way to manage dotfiles for other programs - say emacs - with the home manager for example
takle has quit [(Ping timeout: 260 seconds)]
<ixxie> Infinisil: I guess I wasn't super clear
<Infinisil> rycee: Never mind. I found the problem: I'm sourcing ~/.zshenv myself in ~/.xprofile and totally forgot about it, that's why every program has that env var set to that..
<rycee> Ah :-)
<Infinisil> ixxie: I'm pretty sure that's possible, hold on I'll try home.file."somefile".source = ./dotfileincfgrepo
<bachp> Infinisil: No I tried that and it copies the file to the nix store and links there.
<Infinisil> bachp: Ahh, hmm
ambro718 has quit [(Quit: Konversation terminated!)]
<Infinisil> bachp: ixxie: same for home-manager, it puts it in the nix store and links that instead
<ixxie> symlinks are fine of course
<Infinisil> bachp: nh2: You could just add an activationScript that makes the link: `system.activationScripts.etclink.text = "ln ..."`
<ixxie> all the editing will be done in the repo anyway
<ixxie> thats the point right xD
<ixxie> one repo to rule them all
<Infinisil> ixxie: Yeah that works for me too
<Infinisil> (but not for bachp)
<ixxie> so Infinisil - in your example, "somefile" is the path it will write *to*?
<Infinisil> ixxie: Yes, relative to ~
<bachp> Infinisil: But I would need to take care to remove the links if the user deactivates the option
Bettwaesche has joined #nixos
<ixxie> neat
<Infinisil> bachp: I mean if your link is there and you can access it, then you can also access the file it refers to, so I don't think it matter really
<rycee> ixxie: Check line 80 for my setup of .emacs.d.
<ixxie> sweet! thanks rycee
mattcode has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 3 new commits to release-17.09: https://git.io/v5Fqd
<NixOS_GitHub> nixpkgs/release-17.09 e7e8d1f Anthony Cowley: emacsMacport: emacs-25.2 => 25.3, macport-6.3 => 6.7...
<NixOS_GitHub> nixpkgs/release-17.09 5687327 rnhmjoj: lua-nginx-module: 0.10.5 -> 0.10.10...
<NixOS_GitHub> nixpkgs/release-17.09 07425e4 Vaibhav Sagar: nginx-modules: remove unused fetchpatch...
NixOS_GitHub has left #nixos []
<ixxie> rycee: this would work on linux systems too? Are any features NixOS specific?
<hyper_ch> Mic92: online?
<ixxie> rycee: the services presumably xD
<nh2> Infinisil: the removal is not about whether somebody has permissions to view the file contents or not, it's to tell the program that reads it that the file is "gone". Also, where should we symlink? Straight into /etc? Into /etc/static?
<rycee> ixxie: I can't say exactly where the limitation is but the base stuff should work for other Linuxes and macOS.
pie_ has quit [(Ping timeout: 240 seconds)]
<rycee> The services should work for distros that use systemd.
Bettwaesche has quit [(Remote host closed the connection)]
<nh2> Infinisil bachp: Maybe another alternative is to upload a symlink into the nix store, and have `etc."gluster/thekey".source = /nix/store/thesymlink` essentially, where `thesymlink -> configurablePath`?
<Infinisil> nh2: /etc/static is a symlink to somewhere in /nix/store
<Infinisil> So you can't modify it
aanderse-laptop has quit [(Quit: Konversation terminated!)]
<Infinisil> (which is what static means :P)
<nh2> OK fair enough :D
<nh2> is there a nix lib function to make a symlink?
<ixxie> so what is it NixOS can do but Nix on Linux cannot?
<Infinisil> nh2: Not needed, it's just `ln`
<Infinisil> `ln -s`*
<nh2> Infinisil: do you mean at the activation script level? I was thinking the symlink could be a static file that goes into the nix store already at the build stage
<Infinisil> nh2: bachp: That suggestion with symlinking outside the store won't work, paths in the store can't symlink outside
<bachp> Infinisil: nh2 : I think I found something. If I change the type of the config from path to str it works.
<nh2> ixxie: with NixOS you can declaratively manage (systemd) services, like activate nginx webservers and so on; nix on other Linux distributions cannot manage your services (it may not even have root access)
<bachp> the entries in /etc/static point to the original files
<Infinisil> nh2: Ahh right, then just setting etc."file".source should work, right?
<nh2> Infinisil: what happens if you symlink out of the store? Does it error?
<Infinisil> nh2: Yes
ehmry has left #nixos ["User left"]
<nh2> bachp: I mean if setting it to `types.str` makes it work then that's certainly the cleanest solution, but we definitely have to put that info into the `description`
<ixxie> nh2: rycee seems to think otherwise about managing services with Nix on Linux
<bachp> nh2: If I set the the typo of the option to types.str then you won't be able to supply a types.path as nix will throw an error.
takle has joined #nixos
<nh2> bachp: I mean more like describe that this string is a path *on the machine where glusterfs* runs; for plain NixOS users it doesn't make a difference because the system where they write the config and build the derivations is the one where gluster runs, but for nixops users those are different. You see what I mean?
<bachp> nh2: The problem is that you will not be able to use pkgs.writeText to generate the file
<bachp> nh2: Yes I see the issue there.
<nh2> bachp: that is correct, you'd have to use "/run/keys/keyname.key" directly, or in newer nixops you can use `config.deployment.keys.keyname.path`
<bachp> nh2: If I leave the type to `types.path` but then just supply it a string "/my/cert.pem" instead of a path /etc/mycert.pem it also works.
<nh2> ixxie: that's cool if you can manage user services that way, but if you want to declare your system all the way down to the kernel and GRUB entries, I think the then you need to use NixOS
<nh2> bachp: that sounds risky though (both in terms of that the type doesn't actually match, and that the user may pass in a store path accidentally). types.str sounds good to me
<ixxie> nh2: true enough I am sure
<ixxie> nh2: I would just like to have a clear idea about the line between the two to know how to make portable configurations
<bachp> nh2: To be honest it's kind of confusing behavior of nix here. If I acceidently leave the "" around my path the key ends up in the nixstore.
<nh2> bachp: yes, there is some really strange behaviour of ./paths in nix IMO, the weirdest is that if you use `toString ./path` it stays "./path" and doesn't get resolved IIRC
<bachp> nh2: If I change it to `types.str` I wont be able to put a path e.g. via pkgs.writeText which is also bad if I don't care about my key being in the nix store
<Infinisil> nh2: bachp: You can set the type to `types.either types.path types.str`
<Infinisil> not sure how that's gonna work in the end though
<nh2> bachp: you can still do that with pkgs.writeTextFile, that takes a string file contents and returns you a path you can give as the source
<bachp> Infinisil: I think setting it to `types.either types.path types.str` wouldn't prevent from accidently write the key to the nix store
<nh2> so if it's `types.str` you can still do `.source = pkgs.writeTextFile { text = "--- BEGIN PRIVATE KEY..."; })` if you don't care about your key ending up world readable (though IMO that is quite dangerous in most scenarios)
Sonarpulse has quit [(Remote host closed the connection)]
<nh2> and then it is explicit that you want it
<Infinisil> bachp: Ah right
<nh2> bachp: so I'd go that way, and then we should rename the option, from "cfg.tlsSettings.tlsKey" to something like "cfg.tlsSettings.tlsKeyPath" so that it's clear that this is the file path, not the contents
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz created staging-17.09 (+159 new commits): https://git.io/v5Fm1
<NixOS_GitHub> nixpkgs/staging-17.09 fd059ca Thomas Bach: manual: `name' is not an argument for `mkOption'...
<NixOS_GitHub> nixpkgs/staging-17.09 d9afaff Thomas Bach: manual: fixed remaining placeholder literal...
<NixOS_GitHub> nixpkgs/staging-17.09 a819f3b Thomas Bach: manual: reworked submodule section for better readability...
NixOS_GitHub has left #nixos []
<bachp> nh2: Ok. But leave the other settings as is?
<Infinisil> Until private nix is a reality, it's hard to use secret stuff with nix, see https://github.com/NixOS/nix/issues/8
<nh2> bachp: yes, for pubkeys it's OK to be in the store
<hyper_ch> Mic92: any good https://nixos.wiki/wiki/VPN#OpenVPN ? it was so empty
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5FmQ
<NixOS_GitHub> nixpkgs/master 6460e45 Rodney Lorrimar: nixos/gogs: Fix module when no passwords provided...
NixOS_GitHub has left #nixos []
endformationage has joined #nixos
<ixxie> btw rycee - was ts468's idea to make the home-manager/NixUP project standalone or to work on integrating user profiles into NixOS?
Sonarpulse has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5FYe
<NixOS_GitHub> nixpkgs/master 579a190 k0ral: youtube-dl: 2017.08.27 -> 2017.09.15
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29498: netdata: 1.5.0 -> 1.7.0 (master...netdata_1.7.0) https://git.io/v5Ffx
NixOS_GitHub has left #nixos []
datakurre has joined #nixos
U007D has quit [(Quit: Textual IRC Client: www.textualapp.com)]
ixxie has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #27256: squid service: initial service based on default config (master...squid-service) https://git.io/vQiLu
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v5FY9
<NixOS_GitHub> nixpkgs/master 6af8b10 Pascal Bach: arangodb: 3.2.2 -> 3.2.3
<NixOS_GitHub> nixpkgs/master 64d8f4f Franz Pletz: Merge pull request #29493 from bachp/arangodb-3.2.3...
NixOS_GitHub has left #nixos []
arximboldi has joined #nixos
<arximboldi> hi!
<arximboldi> there is this fun tool in guix to plot a graph of the dependencies of a package... are there similar tools in Nix?
<srhb> arximboldi: Yes, nix-store can do that.
<arximboldi> nice, thanks!
<arximboldi> I always find navigating the nix command space a bit intimidating, I am very looking forward to the upcoming new unified `nix` command :)
<srhb> arximboldi: We all are. :)
griff_ has quit [(Quit: griff_)]
<thomad[m]> Hi, is it possible to get the available version of ati- and nvidia-drivers via nix-env?
<srhb> thomad[m]: nix-env -qaP | grep nvidia
<srhb> Specifically, nvidia-x11, I believe
griff_ has joined #nixos
<srhb> I don't know what the names of the amd/ati drivers are, but I'm sure you can find them.
<thomad[m]> Does this only work in NixOS or also on top of other Linux distributions? On my Fedora machine it doesn't work
<thomad[m]> ati-drivers
<srhb> thomad[m]: How does it not sork?
<srhb> work*
<thomad[m]> The package is not listed but some others which contain nvidia
<srhb> Which channel are you on?
<thomad[m]> nixpkgs-unstable
<srhb> That's odd, looks to me like they're there.
<srhb> Just switched to nixpkgs-unstable, and I get a lot of results for nvidia-x11
<taaperotassu> so only the nixos that has graphical usage contains networkmanager and u can use nmtui.. otherwise u are missing it.. and getting wireless to work becomes harder?
<srhb> taaperotassu: Do you mean it's not possible to enable it without X? I'd find that surprising. How did you conclude this?
<srhb> Oh, do you mean the installer itself?
kriztw has quit [(Quit: leaving)]
<Infinisil> arximboldi: Here is a small script: https://github.com/Infinisil/system/blob/master/bin/graph, try running it with `./graph $(which bash)`, it opens a the graph of its dependencies in feh
<thomad[m]> what version of nix-env are you using?
<srhb> thomad[m]: 1.11.15
<thomad[m]> I only get nvidiabl and nvidia-texture-tools on Fedora with Nix 1.11.13 (nixpkgs-unstable) and NixOS (17.03) with a build of Nix 1.12.*
<taaperotassu> I tried the 32bit version in my minilaptop and nmtui was not found srhb
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to staging-17.09: https://git.io/v5FO6
<NixOS_GitHub> nixpkgs/staging-17.09 285ed1f Daiderd Jordan: darwin-CF: use @rpath for library id and add an rpath entry for CF based on NIX_COREFOUNDATION_RPATH...
<NixOS_GitHub> nixpkgs/staging-17.09 f4af3c5 Daiderd Jordan: darwin-frameworks: use the system CF when frameworks are used...
<NixOS_GitHub> nixpkgs/staging-17.09 2cbe948 Daiderd Jordan: darwin-frameworks: move fixup setup-hook...
NixOS_GitHub has left #nixos []
pie_ has joined #nixos
<srhb> thomad[m]: How are you searching exactly, and what version of the channel are you on?
revtintin has joined #nixos
<thomad[m]> nix-env -qaP | grep nvidia and channel see above
<srhb> thomad[m]: I mean, which commit. Though in all honestly I don't think that's the answer.
<srhb> thomad[m]: Oh, hang on.
<srhb> thomad[m]: Do you have allowUnfree = true? :)
<thomad[m]> Ha! Thanks very much that was the problem.
<srhb> thomad[m]: Ah, good. :)
<srhb> It was getting mysterious.
drakonis has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
Ivanych has quit [(Read error: Connection reset by peer)]
Ivanych has joined #nixos
ONDIE has joined #nixos
ONDIE has left #nixos []
mjgilliard has quit [(Ping timeout: 260 seconds)]
<hyper_ch> anyone with strong wiki fu?
<taaperotassu> I am trying to install nixos with Lukscrypt but without LVM .. do I still need to create some kind of a boot partition
<taaperotassu> instead of just installing it in a single partition?
<hyper_ch> taaperotassu: yes
<taaperotassu> damn
<hyper_ch> just make a 200mb /boot partition
<Infinisil> taaperotassu: You can put boot on a stick (what I did)
<taaperotassu> xD having no clue how to continue.. maybe wipe it again
<taaperotassu> I usually just install it in a single partition
<hyper_ch> you can theoretically install it but it's complicated
<taaperotassu> yeh I was wondering that without boot partition how would it know how to open luks
<Infinisil> hyper_ch: (Assuming UEFI), by using vfat for your root fs?
<taaperotassu> not using UEFI
<taaperotassu> just the regular.. bios/legacy way
<Infinisil> Ahh, never mind what I just said
<hyper_ch> na there are ways
<taaperotassu> oks now using cfdisk
<taaperotassu> so I should make 2 bootable.. and 1 for boot and another one for root and home etc.
<Infinisil> But /boot can't be encrypted, it would need to be supported by the firmware
<hyper_ch> taaperotassu: only /boot needs to be bootable
<hyper_ch> Infinisil: /boot can be encrypted
<taaperotassu> but there are no real reasons to encrypt boot I guess
<hyper_ch> yep :)
<taaperotassu> are boot and the rest .. both primary
<taaperotassu> or should they be extended? what does extended even mean?
<hyper_ch> well, a malicious attacker could replace your unencrpted boot stuff with keylogger
<Infinisil> hyper_ch: There needs to be some unencrypted part to bootstrap all of the encrypted part though
<taaperotassu> true.. but is it okay if I use both to be primary? using cfdisk now
<hyper_ch> grub2 can do it Infinisil
<hyper_ch> taaperotassu: nothing wrong with two primary
<taaperotassu> and both boot and the rest can be ext4
<taaperotassu> are there reasons to use less than ext4 or others for boot?
ison111 has joined #nixos
<joachifm> without something like dm-integrity they can still mess with your stuff
<Infinisil> hyper_ch: How does it work though? A computer can't read encrypted data, which /boot is in that case, where grub normally installs itself
<hyper_ch> Infinisil: read the links I posted
sigmundv has joined #nixos
<joachifm> if you're worried about tampering, that is ...
<hyper_ch> Infinisil: I know it can be done... never attempted it myself
<hyper_ch> joachifm: and don't forget firmware on your cpu etc...
koserge has joined #nixos
<taaperotassu> So I have now lukscrypted my drive
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #29502: abcm2ps: init at 8.13.15 (master...abcm2ps) https://git.io/v5FsW
NixOS_GitHub has left #nixos []
<taaperotassu> how do I empty it? Seems like cfdisk didnät write..eventhought it said syncing disks?
<hyper_ch> taaperotassu: how did you lukscrypt your drive?
<joachifm> hyper_ch: sure, I only meant to suggest that encryption won't help you against tampering, without authenticated crypto
sigmundv_ has joined #nixos
sigmundv_ has quit [(Remote host closed the connection)]
<joachifm> (re: replacing boot files with keyloggers and whatnot)
sigmundv has quit [(Quit: Leaving)]
<Infinisil> hyper_ch: Well a link linked to from your link says indeed that not all of it is encrypted, just most of it
<hyper_ch> Infinisil: there's several links
<hyper_ch> want me to guess which one?
eacameron has quit [(Remote host closed the connection)]
<hyper_ch> no idea, that's from 2010
<Infinisil> Theoretically it absolutely cannot work to boot from a single 100% encrypted disk
<taaperotassu> how does the boot partition.. know how to install into boot
<taaperotassu> I did make it bootable by cfdisk
<Infinisil> taaperotassu: You need to mount it to /boot yourself then nixos-generate-config
<hyper_ch> Infinisil: I never said 100% encrypted disk, I said encrypted /boot
<hyper_ch> first, mount the encrypted root to /mnt
<Infinisil> hyper_ch: Ahh right, sorry, misunderstandment
<hyper_ch> then mount the boot partition to /mnt/boot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28796: WIP: gmime3: init at 3.0.1 (master...gmime-3-init) https://git.io/v58CD
NixOS_GitHub has left #nixos []
<hyper_ch> Infinisil: "Normally a separate boot partition needs to remain unencrypted as the bootloader needs to be able to boot the kernel before invoking LUKS, but because GRUB can load encryption modules such as crypto.mod, luks.mod, and cryptodisk.mod we can use GRUB in various settings and still gain a real full disk encryption model without the need for an unencrypted boot partition."
<Infinisil> but full disk encryption sounds like 100% encrypted disk for me, which can't work
<hyper_ch> it's easier described as full disk ecnryption than 99.9999999% disk encryption
<hyper_ch> but generally this falls under full disk encryption
<hyper_ch> even same goes on widnows with veracrypt
<Infinisil> that's just a lie then, exactly that remaining percentage can be used as an attack vectore
<hyper_ch> it's what it is nowadays and understood as full disk encryption
<Infinisil> not a fan of that
<hyper_ch> like when drives are advertised as 4TB and they use 1000 instead of 1024
<Infinisil> if that's really true
<Dezgeg> well, with uefi and secure boot you can prevent tampering (in theory)
<Infinisil> That's something different, Having 24GB less memory does in no way compromise security
Sonarpulse has quit [(Ping timeout: 255 seconds)]
<hyper_ch> Infinisil: "Expressions full disk encryption (FDE) or whole disk encryption signify that everything on disk is encrypted, but the master boot record (MBR), or similar area of a bootable disk, with code that starts the operating system loading sequence, is not encrypted." https://en.wikipedia.org/wiki/Disk_encryption
* hyper_ch thinks Dezgeg needs to get kicked for mentioning uefi :)
<Myrl-saki> Well
<hyper_ch> Infinisil: just get over it... it's the way it is
<Myrl-saki> How do I statically link something that needs getprotobyname
<Dezgeg> I don't like/use it either, but that actually does provide actual benefits compared to encrypting /boot (in case you manage to get it working)
<Myrl-saki> Oh wait what
<Myrl-saki> There's a patchfor tool?
<Myrl-saki> Or nah
<hyper_ch> Dezgeg: in theory uefi sounds good... in practice it's bad
<taaperotassu> mount /dev/sda1 /mnt/boot
<taaperotassu> and sda1 is bootable
<taaperotassu> does this make nixos installation know to install it as boot?
<hyper_ch> taaperotassu: did you mount the encrypt partition as /mnt ?
sigmundv has joined #nixos
<taaperotassu> yeh
<Infinisil> hyper_ch: I'll get over it :P
<taaperotassu> hyper_ch:
<hyper_ch> taaperotassu: run nixos-generate-config --root /mnt
<taaperotassu> yeah did that hyper_ch I have installed nixos before but only as single partition version
<hyper_ch> pastebin the generated hardware-configuration.nix
<taaperotassu> now trying the lukscrypt.. so making a boot partition feels.. harder
<taaperotassu> ..I have no clue how to pastebin straight from the terminal.
<taaperotassu> not using gui now
arximboldi has quit [(Quit: arximboldi)]
<hyper_ch> taaperotassu: do you have curl?
<Infinisil> taaperotassu: cat /mnt/etc/nixos/hardware-configuration.nix | nix-shell -p gist --run gist
<hyper_ch> or curl -o pastesl https://raw.githubusercontent.com/sjau/pastesl/master/pastesl && chmod 0755 pastesl && ./pastesl /mnt/etc/nixos/hardware-configuration.nix
dieggsy has joined #nixos
sigmundv has quit [(Remote host closed the connection)]
<Infinisil> Oh, and my cat was useless: nix-shell -p gist --run 'gist /mnt/etc/nixos/hardware-configuration.nix'
<taaperotassu> the hardware.nix doesnt have sda1 or sda2 defined
<taaperotassu> seems like nixos did understand tat /boot is the right one
<Infinisil> that's good, these names can be assigned arbitrarily
<Myrl-saki> How do I get static versions of a library?
<Myrl-saki> Or how do I copy all the libraries with it?
<Myrl-saki> Either way works.
<Infinisil> Myrl-saki: I'm pretty sure static stuff is discouraged for nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v5FGD
<NixOS_GitHub> nixpkgs/master a5168fe Daiderd Jordan: gcc: add gccStdenv for darwin
<NixOS_GitHub> nixpkgs/master 261bac2 Daiderd Jordan: Merge pull request #28889 from LnL7/stdenv-gcc...
NixOS_GitHub has left #nixos []
<Infinisil> Myrl-saki: I only know of glibc.static
<Myrl-saki> Infinisil: I "need" to export it to a different OS.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5FGd
<NixOS_GitHub> nixpkgs/release-17.09 3ff962d Daiderd Jordan: gcc: add gccStdenv for darwin...
NixOS_GitHub has left #nixos []
<Infinisil> Myrl-saki: No idea about that. If the other OS's run nix, I'd just use closures to install stuff
<Myrl-saki> Infinisil: That's what I'd have done too.
<hyper_ch> taaperotassu: those are the entries I have for running encrypted / in nixos: https://paste.simplylinux.ch/view/ccb07bf3
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #29254: valgrind: Fix darwin build (master...fix-valgrind) https://git.io/v51VT
NixOS_GitHub has left #nixos []
b has joined #nixos
<hyper_ch> taaperotassu: and here the full file: https://paste.simplylinux.ch/view/628c7269
jellowj has quit [(Ping timeout: 248 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
<hyper_ch> so, off now
sigmundv has joined #nixos
dieggsy has quit [(Ping timeout: 240 seconds)]
sigmundv has quit [(Read error: Connection reset by peer)]
<Myrl-saki> So
<Myrl-saki> My nix-builds are not updating my `result` symlink properly.
<Myrl-saki> That, or my ./result/... is not wroking properly.
<Infinisil> Myrl-saki: You could add --out-link result2 to link it to result2 (maybe that helps to find the problem)
sigmundv has joined #nixos
<Myrl-saki> True.
sigmundv has quit [(Remote host closed the connection)]
<Myrl-saki> Thanks.
arximboldi has joined #nixos
chakerbenhamed has joined #nixos
<Myrl-saki> That didn't work either
<JoJoen> where would i find documentation for the `buildEnv` function?
<Myrl-saki> Maybe `src = ./.;'
<Myrl-saki> is not working properly?
<Infinisil> JoJoen: nixpkgs I guess, by reading the source. It's in nixpkgs/pkgs/build-support/buildenv
<Infinisil> Not sure if there is actual written documentation
<JoJoen> that is also a form of documentation, thank you :D
<JoJoen> i asked because i couldn't find any, you see
<Infinisil> :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/v5Fnv
<NixOS_GitHub> nixpkgs/staging c88fa59 Vladimír Čunát: perl-XML-LibXML: update and avoid failing tests...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gwitmond opened pull request #29503: Fix the automatic override for networking.nameservers when services.bind is enabled. (release-17.09...release-bind-fix) https://git.io/v5FnJ
NixOS_GitHub has left #nixos []
chakerbenhamed has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gwitmond closed pull request #29205: Silently ignored networking.nameservers setting #29202 (release-17.09...1709-hackathon) https://git.io/v5PvT
NixOS_GitHub has left #nixos []
justan0theruser has quit [(Ping timeout: 248 seconds)]
nh2 has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Quit: Leaving)]
odi has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/88604ee33a (from 2 days ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<Myrl-saki> well
jellowj has joined #nixos
sigmundv has joined #nixos
nh2 has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
_ris has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
<Myrl-saki> Welps.
<Myrl-saki> I'm kinda stupid.
<Myrl-saki> I just realized I copied x86-64 libs.
<toogley> what is the best way to automatically and ideally declaratively start some tray apps like networkmanager-applett or volumeicon and so on?
siel has quit [(Read error: Connection reset by peer)]
glenn has joined #nixos
glenn has quit [(Remote host closed the connection)]
sary has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
sary has joined #nixos
<jtojnar> toogley: maybe something like environment.etc."xdg/autostart/app.desktop" = {target = "${app}/share/applications/app.desktop";};
<joepie91> TIL about xdg/autostart
<joepie91> jtojnar: thanks :)
<joepie91> (I was looking for that a few months ago)
Ivanych has quit [(Ping timeout: 264 seconds)]
<jtojnar> we should probably make a nixos module for that
<jtojnar> although it might fail when the user overrides XDG_CONFIG_DIR
<joepie91> I agree, a module would be nice
<jtojnar> you can go for it if you want, I am currently sunk into upgrading gnome
<pbogdan> or perhaps https://nixos.org/nixos/options.html#services.xserver.displaymanager.sessioncommands ?
<joepie91> jtojnar: eventually(tm)...
<joepie91> pbogdan: emphasis: "just before" :)
<joepie91> the desired effect here is something being executed *in* the user session
<Infinisil> How about a systemd unit
jellowj has joined #nixos
<pbogdan> looking at nixos/modules/services/x11/display-managers/default.nix those would appear to be running within a context of a user session
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28857: chromium: 60.0.3112.90 -> 60.0.3112.113 (master...chromium-upd) https://git.io/v5BPX
NixOS_GitHub has left #nixos []
taktoa has quit [(Remote host closed the connection)]
siel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v5FWl
<NixOS_GitHub> nixpkgs/master 50edaff Kranium Gikos Mendoza: freeswitch: fix build
<NixOS_GitHub> nixpkgs/master 7db2916 Franz Pletz: Merge pull request #29463 from womfoo/fix-build/freeswitch...
NixOS_GitHub has left #nixos []
elurin has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nlewo opened pull request #29505: dockerTools.pullImage: use imageDigest (master...pr/docker-pull-digest) https://git.io/v5FWr
NixOS_GitHub has left #nixos []
sary has quit [(Ping timeout: 248 seconds)]
revtintin has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
sary has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/523fb3c77e (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
Infinisil has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] matthewbauer opened pull request #29506: travis-ci: don’t merge prs (master...travis-no-merge) https://git.io/v5Flc
NixOS_GitHub has left #nixos []
kezepema has joined #nixos
<octe> i want to run a service as another user then the one declared in the service's nix-file
<octe> i thought i could set systemd.services.service.serviceConfig.User = "xyz"
<octe> but then i get The unique option `systemd.services.sonarr.serviceConfig.Group' is defined multiple times
<octe> is it the wrong way?
<toogley> jtojnar: hm, i don't have a .desktop file in the share folder of the program
<jtojnar> toogley: what program is that?
<LnL> octe: you can use mkForce "xyz" to give your value a higher priority
<octe> ah thanks
mudri has joined #nixos
<toogley> jtojnar: volumeicon. for networkmanager-applett, there is already a *.desktop file in /nix/store/$hash-network-manager-applett/etc/xdg/autostart
<kezepema> I'm trying to build an iso image for ArchlinuxArm on my NixOs device. The program "bsdtar" is necessary to extract the image, however NixOs shows on execution of the command "bsdtar -xpf <distributionname.tar.gz> -C </home/user/directory/>" the message "Ignoring malformed pax extended attribute" and "./usr/bin/openssl: truncated gzip input". I tried to install bsdtar, but it seems not available in /nix/store. I als tried to replace
<toogley> jtojnar: however, it seems the networkmanager-applett desktop file wasn't generated to /etc
<toogley> jtojnar: btw. i use awesome window manager, not a complete desktop environment like gnome
bennofs has joined #nixos
schaary has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
<jtojnar> you can try environment.etc."xdg/autostart/app.desktop" = { source = "[Desktop Entry]\nType=Application\nName=volumeicon\nExec=volumeicon"; }
<jtojnar> toogley: ^
python476 has joined #nixos
hc has quit [(Read error: Connection reset by peer)]
hc has joined #nixos
<schaary> I am about to run nix as package manager on macOS. Please can someone recommend a fish shell equivalent for `source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh` in a fish shell?
<jtojnar> toogley: though neither arch wiki nor the awesome wm faq mention anything about xdg autostart so it might not be supported
kezepema has quit [(Quit: Page closed)]
newhoggy has joined #nixos
<jtojnar> I would ask in #awesome on oftc.net
nixo[m] has joined #nixos
sepi has joined #nixos
newhoggy has quit [(Ping timeout: 248 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/676560af25 (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has joined #nixos
glenn has joined #nixos
arximboldi has joined #nixos
<toogley> jtojnar: even after changing "source" to "text", no volumeicon was visible after a restart. therefore, i decided it would be easier to run those programs from my window manager's config file. but thanks anyway. :D
<jtojnar> toogley: they list supported XDG specs on their homepage and autostart is not among them so unless you convince them to implement it, that will be probably your best choic
glenn has quit [(Ping timeout: 264 seconds)]
<toogley> jtojnar: ooh, okay
<toogley> jtojnar: thanks
<rycee> ixxie: ts468 contacted me early August and we had a discussion about how to resurrect #9250 and how to combine nixup and home manager for best effect. Basically NixUP is better integrated with NixOS while Home Manager is larger and more mature. So it seemed a good idea to try to take the best of both worlds. To do the integration would require some internal reworking of fundamental NixOS modules and tools (mainly related to
<rycee> systemd), hence ts468's idea to have these donations to highlight that there is a large user interest in having declarative user configuration.
mattcode has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
erictapen has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
<rycee> ixxie: For why I did HM separate from Nixpkgs, please have a look at the beginning of the blog post I wrote some time ago: https://rycee.net/posts/2017-07-02-manage-your-home-with-nix.html
mattcode has quit [(Remote host closed the connection)]
mattcode has joined #nixos
roni has joined #nixos
<roni> hi all! is there a canonical nix way of wrapping an executable to always run with a specific flag enabled?
eacameron has quit [(Ping timeout: 255 seconds)]
<roni> it's the kind of thing i might naively do with an `alias` statement in a .zshrc file, if that makes sense
jb55 has quit [(Ping timeout: 240 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<rycee> roni: I'd say using `writeScriptBin` is pretty canonical.
<rycee> roni: Something like this perhaps: https://www.reddit.com/r/NixOS/comments/6z9epj/using_nix_to_specify_json_configuration_files/dmumj7v/ (although this example does a bit more than just add a flag)
sauyon has quit [(Ping timeout: 240 seconds)]
<roni> rycee: very cool
<rycee> roni: If you are using unstable or 17.09 then `writeShellScriptBin` is available and it shortens it a bit further.
nix-gsc-io`bot has joined #nixos
<roni> can i use this to "override" (or i guess now it's "overlay") an existing package somehow?
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/07425e43ed (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<rycee> (with `writeShellScriptBin` you can skip the `#!${stdenv.shell}` line)
nix-gsc-io`bot has quit [(Client Quit)]
<roni> is that what the example from reddit is doing
<roni> rycee: ah, nice
<roni> also, is this in the documentation somewhere?
griff_ has quit [(Quit: griff_)]
<rycee> roni: No, that example doesn't really do any overriding. I'm not sure how to best replace a specific file of a derivation using the writeXYZ functions. It seems to me like it should be possible using priorities but I don't see an immediate way to set the priority of a writeXYZ derivation. Maybe somebody else has an idea?
<roni> maybe it will help to explain what i want to do: basically, i would like to run chromium with the dpi flag, so it doesn't look tiny on my screen
<roni> something like "chromium --force-device-scale-factor=1.5"
<rycee> Ah, maybe with `hiPrio`?
<roni> i'm not sure if wrapping the chromium package is the right way to achieve this
<rycee> roni: No idea either. Seems like it should pick up something from X.
<rycee> roni: In any case, installing something like `pkgs.hiPrio (pkgs.writeScriptBin "chromium" "#!${stdenv.shell}\nexec chromium --force-device-scale-factor=1.5")` may work. Emphasis on "may" :-)
<roni> :-D
<roni> thank you rycee!
<roni> i will try that out
mizu_no_oto has joined #nixos
simukis has quit [(Ping timeout: 246 seconds)]
WinchellsM has quit [(Quit: Lost terminal)]
FRidh has quit [(Quit: Konversation terminated!)]
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
jellowj has quit [(Ping timeout: 255 seconds)]
<gchristensen> how do I use bluetooth things with nixos?
<samueldr> might depend whether it's audio-related or not
<gchristensen> nevermind, I should ask Google the same question but for linux in general :P
<sphalerite> gchristensen: hardware.bluetooth.enable = true; + bluetoothctl
<sphalerite> or blueman if you want a GUI
<sphalerite> or the thing that's built in to KDE
<samueldr> > hardware.pulseaudio.package = pkgs.pulseaudioFull; # Full for bluetooth audio support
<sphalerite> ninja :p
Filystyn has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v5FR5
<NixOS_GitHub> nixpkgs/master 018a5ae Michael Weiss: fetchRepoProject: Fetch into $out and make it deterministic...
NixOS_GitHub has left #nixos []
<gchristensen> cool, thanks! :D
<sphalerite> rycee roni : that will probably recurse infinitely
<sphalerite> try `exec ${chromium}/bin/chromium…` instead
<roni> sphalerite: ah thanks
<roni> i figured something like that would be necessary
<roni> in that case, what should i name the nix expression / package?
<sphalerite> Where are you putting it?
<roni> i'm not sure, probably in my "private" packages
<sphalerite> if it's in an overlay, probably something other than chromium
mattcode has quit [(Read error: Connection reset by peer)]
<roni> i.e. intuition is to override nixpkgs.chromium
<sphalerite> otherwise I don't think it really matters
<sphalerite> yeah that was my first thought too but that might break assumptions made by other packages
<roni> it's starting to feel like maybe an alias declaration is actually the right way to do this (even if it's not the nix way)
jellowj has joined #nixos
<roni> sphalerite: even within an overlay, there seems to be a package override mechanism - could i use that?
<sphalerite> you could but there's no point
<sphalerite> it allows a subset of what the overlay allows
<sphalerite> an alias will only work in shells, so it's probably not what you want in this case
<roni> sorry are you talking about the alias idea, or the overlay+override idea?
<rycee> sphalerite: Sorry, yeah. I meant `${pkgs.chromium}` 😂D-
<rycee> Umm, I meant :-D
griff_ has joined #nixos
<sphalerite> wait that kind of override
<sphalerite> I thought you meant packageOverrides
<sphalerite> no, it's very unlikely that overriding is what you want because that will probably result in needing to recompile chromium. Which is not fun.
<rycee> roni: Perhaps try the `chromium-flags.conf` file? https://wiki.archlinux.org/index.php/HiDPI#Chromium_.2F_Google_Chrome
griff_ has quit [(Client Quit)]
<rycee> If that works, I guess it is the simplest solution :-)
<rycee> Ah, "The chromium-flags.conf file and the accompanying custom launcher script are specific to the Arch Linux chromium package" :-(
JosW has quit [(Quit: Konversation terminated!)]
<roni> rycee: :'(
<roni> sphalerite: yes, i definitely don't want to recompile chromium - i was thinking more of overriding chromium with a package that delivers a shell script that invokes original chromium with the flag
<roni> maybe using that writeShellScriptBin utility that rycee mentioned
<sphalerite> Ugh, why must the word "override" be overloaded
<sphalerite> Makes talking about this stuff so much more difficult
<roni> hahaha sorry
hiratara has quit [(Ping timeout: 246 seconds)]
<roni> i'm specifically talking about the packageOverrides thing from config.nix, but tbh i haven't gotten my hands dirty with that yet so i don't have a good working understanding of how it works
<sphalerite> I'm not sure replacing the chromium in nixpkgs is a good idea as other stuff might be depending on its contents
<sphalerite> packageOverrides is just the inferior predecessor of overlays
<roni> ok
<sphalerite> you shouldn't need it ever anymore :p
<roni> so, if i *wanted* to do that (other packages' assumptions be damned) i could use an overlay with that "override" function that seems to come with each package, is that right?
<sphalerite> no, you'd just use an overlay with the writeScriptBin
<rycee> My suggestion was not to override the chromium package but to "overprioritize" the /nix/store/…/bin/chromium file :-)
<roni> sphalerite: gotcha
hiratara has joined #nixos
<sphalerite> self: super: {chromium = super.writeScriptBin "chromium" "#!${super.stdenv.shell}\nexec ${super.chromium}/bin/chromium --stuff"}
<rycee> So to install both chromium and the `pkgs.hiPrio (pkgs.writeScriptBin "chromium" …)` thingy. Then everything from chromium should be there but the chromium binary replaced by the script.
<sphalerite> ^ this is the approach that I'd prefer
<sphalerite> Although you might want a desktop entry for it as well
ted_ has joined #nixos
<sphalerite> Because it shouldn't break other packages' assumptions
<sphalerite> oh yeah, and maybe add "$@" to the end of the script so that it passes through any other args
ted_ has quit [(Read error: Connection reset by peer)]
<roni> rycee: ahhhh i see!
<roni> sphalerite: what is a desktop entry?
<sphalerite> roni: the thing that associates the program with an icon and a description for use in menus and such
<roni> oh yes
<roni> i use xmonad and dmenu here
<roni> so no desktop icons for me :-D
python476 has quit [(Remote host closed the connection)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/523fb3c77e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AndersonTorres opened pull request #29508: tcllib: 1.15 -> 1.18 (master...upload/tcllib) https://git.io/v5Fug
NixOS_GitHub has left #nixos []
ktf has joined #nixos
griff_ has joined #nixos
<ktf> hi, I get a cyclic dependency when trying to build / use pandoc (macosx, via nix-shell -p pandoc) but I get a cyclic dependency and nix-shell exits on startup. Any idea what I am doing wrong?
newhoggy has joined #nixos
erictapen has joined #nixos
<Fare> ktf: maybe an update to one of pandoc's dependencies started to use pandoc for its docs...
endformationage has quit [(Quit: WeeChat 1.9)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
<sellout-> ktf: I was just about to say the same with jailbreak-cabal on darwin …
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
glenn has joined #nixos
Fare has quit [(Ping timeout: 252 seconds)]
joehh has joined #nixos
<ktf> sellout: yes, that's exactly my issue as well...
Fare has joined #nixos
hiratara has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
eacameron has joined #nixos
hiratara has joined #nixos
jbl007 has quit [(Quit: jbl007)]
arximboldi has joined #nixos
mizu_no_oto has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Quit: griff_)]
kriztw has joined #nixos
glenn has quit [(Read error: Connection reset by peer)]
<sellout-> ktf: There are issues like https://github.com/NixOS/nixpkgs/issues/18131 that give me at least something to try. Hopefully I’ll get a chance tonight.
glenn has joined #nixos
andrewmcveigh_ has joined #nixos
benzrf has joined #nixos
andrewmcveigh has quit [(Ping timeout: 240 seconds)]
<benzrf> hey, are there any kind of plans to set up something like a recursive callHackage?
<benzrf> something where you can plug in a haskell package and have recursive dependencies of the correct versions?
jb55 has quit [(Ping timeout: 260 seconds)]
kriztw has quit [(Remote host closed the connection)]
newhoggy has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
Myrl-saki has quit [(Ping timeout: 240 seconds)]
sigmundv has quit [(Read error: Connection reset by peer)]
<roni> rycee: sphalerite: it seems to have worked, but i didn't use an overlay - i just created a private package that does the writeBinScript thing
sigmundv has joined #nixos
<roni> i'm not sure if i did this quite right... using writeBinScript directly doesn't let me put in version numbers for the package i created, nor a description, nor a buildInputs where i could express that this thing depends on chromium
<roni> please advise :)
kanshazan has quit [(Ping timeout: 255 seconds)]
<roni> here's the nix expression i created: https://pastebin.com/JeYw7kYD
silver_hook has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] koenigmaximilian closed pull request #29457: palemoon: 27.4.1 -> 27.4.2 (master...patch-3) https://git.io/v55Pl
NixOS_GitHub has left #nixos []
ktf has quit [(Ping timeout: 255 seconds)]
numbdewd has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] koenigmaximilian reopened pull request #29457: palemoon: 27.4.1 -> 27.4.2 (master...patch-3) https://git.io/v55Pl
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
silver_hook has joined #nixos
drakonis has joined #nixos
justan0theruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yrashk opened pull request #29510: awesome: specify version (master...awesome-version) https://git.io/v5F2d
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] koenigmaximilian closed pull request #29457: palemoon: 27.4.1 -> 27.4.2 (master...patch-3) https://git.io/v55Pl
NixOS_GitHub has left #nixos []
predator217 has joined #nixos
<roni> need some help understanding "import <nixpkgs>" - the version that's in my environment is 60.xxx, this is the one i can install after updating my channels and doing nix-env -iA nixpkgs.chromium
<roni> but in the nix-repl, when i import <nixpkgs> and look at the chromium version there, it's 57.xxx
<roni> can someone explain the discrepancy? i don't have a handle on what channels are exactly, and what <nixpkgs> is exactly
predator117 has quit [(Ping timeout: 246 seconds)]
<roni> NIX_PATH shows that <nixpkgs> points to channels stored in /nix/var/nix/profiles/per-user/root/channels/...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #29510: awesome: specify version (master...awesome-version) https://git.io/v5F2d
NixOS_GitHub has left #nixos []
jtojnar_ has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
<jtojnar_> roni nix-env uses ~/.nix-defexpr
jtojnar_ is now known as jtojnar
<jtojnar> any idea where to get pycompile? http://manpages.ubuntu.com/manpages/zesty/man1/pycompile.1.html
<roni> jtojnar: ah thanks! why doesn't <nixpkgs> also come from there?
<jtojnar> no idea, it is confusing to me too
<samueldr> look at <nixos> in nix-repl
<samueldr> it is the name of the channel
<jtojnar> samueldr: wait, is not nixos a different channel?
<samueldr> I, too, am unsure how it all works out
<samueldr> your user has channels, root has channels
<samueldr> and there's the nix path
<jtojnar> at least according to this http://howoldis.herokuapp.com/
<roni> user channels are in .nix-defexpr; roots channels are in /var/nix/...; and the nix path can point anywhere it wants... for me it points to the root channels
<roni> do i just have a weird setup?
<samueldr> if you didn't touch the nix attributes in your configuration, probably not
<samueldr> I know my setup is non-default, so I cannot exactly compare
<jtojnar> https://www.nixos.wiki/wiki/FAQ#How_do_I_know_where.27s_nixpkgs_channel_located_and_at_which_commit.3F
<jtojnar> Note that nix-env uses ~/.nix-defexpr regardless of $NIX_PATH.
<samueldr> I'm not using a channel for my nix path
<roni> samueldr: what does your NIX_PATH have in it?
<samueldr> /etc/nixos:nixpkgs=/etc/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<roni> hrm ok
<roni> you have it set up like that to build packages out of a local clone of nixpkgs, right?
silver_hook has quit [(Ping timeout: 240 seconds)]
<samueldr> don't take that as a good example, this was setup when I started a couple months ago and still haven't looked at why everything is setup like I did
<samueldr> but yes
newhoggy has joined #nixos
<samueldr> as you said, to track a specific commit
<samueldr> I use my own copy of nixpkgs to synchronize the exact revision used by my 4 computers
<roni> right, sounds legit
<samueldr> though, I moved every customizations I had to overlays, just today
<roni> samueldr: with your setup, you don't have to build things from source right? binaries get pulled from an appropriate cache?
<samueldr> I don't, BUT
<samueldr> there's one catch
<samueldr> use this repository to track the branches
<roni> right
<samueldr> otherwise you might go further than what hydra built
<samueldr> and then you'd need to build
<roni> gotcha
<roni> i tried this once and it didn't quite work out so i must have made a mistake somewhere
<samueldr> and furthermore, those branches, like channels, only update when hydra tests all pass
<roni> did you use this blog post to get going with this setup: http://matrix.ai/2017/03/13/intro-to-nix-channels-and-reproducible-nixos-environment/
mkoenig_ has joined #nixos
<samueldr> probably not since I believe I made the switch a bit before this
<roni> ok cool, thanks
<samueldr> (judging by the date in the URL)
mkoenig has quit [(Ping timeout: 248 seconds)]
<samueldr> or I could have, it's been only since may, but I had it on another computer in late 2016
<jtojnar> jtojnar: apparently. pycompile is a debian specific script added to the package by the packager
<samueldr> skimming the article, no, I never read that article I believe
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<roni> thanks samueldr; if you did use a tutorial/blog post/etc. to get going, i'd love to know which one
<samueldr> if only I could remember
<roni> :-D
<samueldr> I know I extensively made use of the documentation, even though it's a bit hard to understand at first
<samueldr> documentations of nix, nixpkgs and nixos
<samueldr> and probably a couple dozens of google searches
<roni> i'm about to do the same
griff_ has joined #nixos
<roni> so, if i try this out, i should be able to have a single source of packages for all the different mechanisms, is that correct?
<roni> or will i still not be able to use nix-env to install packages to my environment, because of that .nix-defexpr bit?
<samueldr> well, I personally make use of that feature to have the system's packages in stable versions, known to work
<samueldr> and use both nixos and unstable channels for my user
<samueldr> allowing me to install some stuff through unstable even though nothing else is on unstable
<roni> so your system packages listed in configuration.nix, those come from the pinned repository version
<roni> but then you use the ordinary channel mechanism with nix-env?
<samueldr> yes
<roni> so i assume that environment.systemPackages uses... NIX_PATH to do its work
<roni> and of course you can set the nix path in configuration.nix
<samueldr> It is still hazy how it works, for me
<samueldr> as in, *when does it activate?
<samueldr> during the first rebuild having the nixPath attribute set?
<samueldr> in the next?
<samueldr> or only when the environment variables are refreshed? (login)
jsgrant has quit [(Remote host closed the connection)]
bennofs has quit [(Quit: WeeChat 1.9)]