gchristensen changed the topic of #nixos to: NixCon 2018 CfP is now open! https://nixcon2018.org/ || Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/flatpak: explicitly disable gdm to fix eval »: https://git.io/fAlZQ
dhess has joined #nixos
* gchristensen does his customary switch-to-nixos-unstable-right-before-branch-off
<colemickens> Why do some Go applications have `goDeps = ./deps.nix` and others don't?
<gchristensen> if they're 100% vendored I don't think they need to?
<gchristensen> ^guess
<colemickens> For example, @gchristensen, you packaged 'packet' a while back and I'd like to update it. I'm unsure what I'd need to do to update the Nix definition totally.
<colemickens> looks like ebsarr/packet does not vendor deps, so that's probably why.
<gchristensen> hmm
<gchristensen> let's see!
<gchristensen> oh I used go2nix to build that ... hmm!
<colemickens> okay, should I do the same, or have best practices changed since the time of packaging?
<gchristensen> probably should use go2nix
georgew has joined #nixos
Fare has joined #nixos
hellrazor has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
<Ralith_> when does the next release branch?
<gchristensen> ~18hrs I think
<gchristensen> and then released in ~30d
v0latil3 has quit [Ping timeout: 252 seconds]
hellrazor has joined #nixos
<{^_^}> [nixpkgs] @colemickens opened pull request #45923 → packet: v20161215 -> v2.2.2 → https://git.io/fAlnZ
<colemickens> Thanks for the assistance @gchristensen ^ :)
<gchristensen> woo!
v0latil3 has joined #nixos
<gchristensen> oh oops I didn't need totrigger a bild, since you're a known user it'd have built automatically.
<{^_^}> [nixpkgs] @ryantm closed pull request #36603 → kipi-plugins: 5.2.0 -> 5.8.0 → https://git.io/vAxdv
<{^_^}> [nixpkgs] @ryantm closed pull request #36661 → phrasendrescher: 1.0 -> 1.2.2b → https://git.io/vApQq
<{^_^}> [nixpkgs] @ryantm closed pull request #37090 → rednotebook: 2.3 -> 2.4 → https://git.io/vxLoG
<{^_^}> [nixpkgs] @ryantm closed pull request #37344 → v8_6_x: 6.2.414.27 -> 6.6.335 → https://git.io/vx3gs
<{^_^}> [nixpkgs] @ryantm closed pull request #37791 → linuxPackages.evdi: 1.5.0 -> 1.5.0.2 → https://git.io/vxRjV
<colemickens> I'm not familiar with Go + ARM, but I'm guessing the error about GOARM isn't specific to the `packet` tool? (RE: https://logs.nix.ci/?key=nixos/nixpkgs.45923&attempt_id=3ced5555-129a-40f2-8c45-f465f45b6979 )
<gchristensen> yeah, don't worry 'bout it.
Fare has quit [Ping timeout: 240 seconds]
hiratara has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « travis: 1.8.8 -> 1.8.9 »: https://git.io/fAlnz
Fare has joined #nixos
<justanotheruser> what is the correct secure place to put a username and password that my configuration depends on?
aarvar has quit [Ping timeout: 250 seconds]
v0latil3 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #45924 → bird: set reloadIfChanged to true → https://git.io/fAlnM
v0latil3 has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #45923 → packet: v20161215 -> v2.2.2 → https://git.io/fAlnZ
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fAln7
mayhewluke has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
<tnks> before I get lost in override code, does anyone know for sure if it's safe to call overrideAttrs on Haskell or Python packages, which have their respective overrideCabal and overridePythonAttrs functions?
hiratara has quit [Quit: ZNC - http://znc.in]
<tnks> My gut feeling is that this is okay... but I can also imagine a world where this loses overrides.
<clever> tnks: overrideAttrs applies after generic-builder has translated things from haskellPackages.mkDerivation to stdenv.mkDerivation
<tnks> clever: if I alternate calls to overrideAttrs and overrideCabal, would that be fine then?
<clever> you must do them in the right order
<clever> overrideCabal first, then overrideAttrs second
<clever> once overrideAttrs is ran on it, its not a valid "haskell derivation" so overrideCabal cant really be used
<tnks> clever: okay, that was my concern.
<tnks> this is all very good to know.
<clever> the main reason i use overrideAttrs on haskell stuff, is to insert arguments that generic-builder.nix wont allow me to pass to the stdenv
<{^_^}> [nixpkgs] @markuskowa opened pull request #45925 → slurm: 17.11.9-2 -> 18.08.0-1 → https://git.io/fAlnh
<tnks> clever: got it.
<clever> the order for things in general, override can be used on anything returned by callPackage, and it will re-call the file with different args
<clever> overrideCabal can be used on anything haskell
<clever> overrideAttrs to mutate the args before stdenv.mkDerivation has manipuluated them
<clever> and overrideDerivation to mutate them after stdenv.mkDerivation has already done its own mutations
<tnks> clever: yeah, but I think it's good to know when one type of overriding after another risks losing overrides.
<clever> yeah
<clever> also, (stdenv.mkDerivation { ... }) // { a = 5; }
<clever> this adds an attribute to the result, so you can do .a to access the 5
<clever> but ALL of the override methods are unaware of it, and will remove it
<tnks> yeah, that's why I'm using passthru.
<clever> yep
<tnks> but I want to call it with the right override so it persists.
<tnks> passthru is a very useful hack.
kaychaks[m] has joined #nixos
<clever> yep
hiratara has joined #nixos
hellrazor has quit [Ping timeout: 252 seconds]
cransom has quit [Quit: WeeChat 2.1]
<Ralith_> gchristensen: oh dear
* Ralith_ bumps his longstanding vulkan PR
Fare has quit [Ping timeout: 252 seconds]
nuncanada has quit [Ping timeout: 245 seconds]
zopsi has quit [Quit: Oops]
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
hellrazor has joined #nixos
zopsi has joined #nixos
mkoenig has quit [Remote host closed the connection]
das_j has quit [Quit: "Bye!";]
v0latil3 has quit [Ping timeout: 246 seconds]
v0latil3 has joined #nixos
mkoenig has joined #nixos
work_ has joined #nixos
<gchristensen> Ralith_: hrm?
<gchristensen> oh
<gchristensen> Ralith_: link?
<{^_^}> #45195 (by Ralith, 2 weeks ago, open): vulkan: 1.1.77.0 -> 1.1.82.1
<Ralith_> it's a slightly fiddly one because it incorproates a patch fix that upstream did an extremely poor job of tagging
<Ralith_> but the impact of that is just mildly confusing version numbers and a fetchpatch
<gchristensen> ack
thc202 has quit [Ping timeout: 252 seconds]
<gchristensen> Ralith_: *sees the size of the change, feels uneasy, goes to ping maintainer, sees it is you...*
das_j has joined #nixos
S1tiSchu has joined #nixos
Fare has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/15e6e1ff6f9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Dedalo has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
SitiSchu has quit [Ping timeout: 250 seconds]
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #44347 → fix vlan interface bring up on boot → https://git.io/fNKEX
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to master: https://git.io/fAlCf
<Ralith_> gchristensen: :D
<gchristensen> it would be _VERY_ nice if ofborg could label something with "from:maintainer"
<p_l> how can I include gcc etc. in buildFHSUserEnv?
<{^_^}> [nixpkgs] @grahamc merged pull request #45195 → vulkan: 1.1.77.0 -> 1.1.82.1 → https://git.io/fNhdH
<{^_^}> [nixpkgs] @grahamc pushed 7 commits to master: https://git.io/fAlCt
<gchristensen> thank you Ralith_
<Ralith_> \o/
<Ralith_> thanks for the merge
hellrazor has quit [Ping timeout: 246 seconds]
cryptix has quit [Ping timeout: 240 seconds]
<p_l> managed to get RubyMine working as it should
<p_l> took "just" 9 hours of searching through snippets etc. :/
<p_l> "yay"
silver has quit [Read error: Connection reset by peer]
<samueldr> hopefully your learned through the whole 9 hours
<p_l> the answer might contain metric tons of sarcasm that might be a bit off putting
<samueldr> oh, sorry :/
lassulus_ has joined #nixos
<p_l> (tl;dr I'm currently seriously considering bootstrapping gentoo while having something to use while it sets up)
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
<p_l> (the final solution was to use buildFHSUserEnv with ruby-mine, ruby and necessary deps)
Mateon1 has quit [Quit: Mateon1]
Mateon1 has joined #nixos
<infinisil> Okay I'll give up on the module system for today
<infinisil> Turns out option declarations like `foo = mkOption { options = ...; }` exist, and I didn't know until now what they do
<infinisil> Spoiler: They add options to submodules
<infinisil> So when you have `foo = mkOption { type = types.loaOf (types.submodule { ... }); }` somewhere, the above code will add additional options to the submodule
<clever> infinisil: you can also have 2 different modules doing foo = mkOption { options = ...; } i believe
<clever> infinisil: and the options they defined will be merged
<infinisil> Indeed
<infinisil> Any number of modules can add submodule options like that
<infinisil> clever: The comment here says it's obsolete: https://github.com/NixOS/nixpkgs/blob/master/lib/options.nix#L23
<infinisil> But I can't find anything that could replace it..
<clever> infinisil: it looks like you can even mix loaOf and options
<infinisil> Yup, I just stumbled over the implementation of that
<infinisil> Options remember what submodules they have, and the options attribute works with that
<infinisil> Having done some changes, these instances of options now give me trouble though, they don't seem to be properly merged anymore :(
<infinisil> And that's why I'm giving up for now, can't find the error
<infinisil> It's so so so friggin hard to debug nix..
<clever> infinisil: what i tend to do is expose the thing via an attribute
<clever> then i can eval them seperately in the repl
<p_l> hmm, why is `assert args ? localSystem -> !(args ? system || args ? platform);` triggered when mixing stable and unstable? The only thing I did was override a module according to wiki
<clever> p_l: can you gist the files you changed?
<infinisil> clever: Yeah, won't work quiet so well in some module system computation 4 layers deep in lambdas :P
<clever> infinisil: yeah, you sort of need to modify the eval-modules function to return its internal state, rather then the result of merging
JonReed has quit [Ping timeout: 252 seconds]
<clever> p_l: <unstable>/nixos/modules/virtualisation/lxd.nix can be changed to <unstable/nixos/modules/virtualisation/lxd.nix>
<clever> but thats unrelated to the problem
<clever> <unstable>.nixpkgs.lxd is probably where its failing
<clever> you forgot to import nixpkgs, you tried to just access an attribute on a path
<clever> (import <unstable> {}).lxd
<p_l> still fails
<clever> can you paste the --show-trace output?
evil-olive has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/fAlW5
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #45922 → androidndk: fix eval → https://git.io/fAlZC
evil-olive has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
jonreeve has joined #nixos
MarkRBM_ has joined #nixos
drakonis has joined #nixos
<clever> p_l: oh!, <unstable>/nixos/modules/virtualisation/lxd.nix is the problem!
<clever> > [ <nixpkgs>/pkgs ]
<jonreeve> Does anyone know how to install an elm package using Nix? I see some packages here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/elm/packages/elm-elm.nix but I can't quite figure out how to install them.
<{^_^}> [ <CODE> /pkgs ]
<clever> p_l: thats 2 paths, not 1!
<p_l> seems to work now
<clever> the problem is that you had just passed nixpkgs as a module, and it was calling nixpkgs and passing it every module arg
cransom has joined #nixos
init_6 has joined #nixos
MarkRBM_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr merged pull request #39142 → [RDY] networkmanager: enrich dispatcher PATH → https://git.io/vpLzj
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/fAllm
Denommus has joined #nixos
drewc has quit [Ping timeout: 268 seconds]
MarkRBM_ has joined #nixos
MarkRBM_ has left #nixos [#nixos]
MarkRBM_ has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #45926 → deepin-gettext-tools: init at 1.0.8 → https://git.io/fAllR
<MarkRBM_> when trying to add pkgs.1password to environment.systemPackages I get 'undefined variable password' error on that line, do I need to escape the '1' somehow?
shreyansh_k has left #nixos ["Leaving"]
shreyansh_k has joined #nixos
<infinisil> > <nixpkgs>/pkgs
<{^_^}> attempt to call something which is not a function but a path, at (string):171:1
<infinisil> > pkgs."1password"
<{^_^}> attribute '1password' missing, at (string):171:1
<infinisil> > pkgs._1password
<{^_^}> "<derivation /nix/store/s7709686lb98r190l73jscl2rjq4rwlc-1password-0.5.3.drv>"
<infinisil> MarkRBM_: ^
<MarkRBM_> _? thanks
<MarkRBM_> pkgs._1password gives attribute '_1password' missing
<clever> MarkRBM_: which channel are you on?
<MarkRBM_> 18.03 i believe
<clever> > pkgs._1password.meta.position
<{^_^}> "/var/lib/nixbot/state/nixpkgs/pkgs/applications/misc/1password/default.nix:37"
<clever> MarkRBM_: it was added to nixpkgs in may, 18.03 is from march
<clever> so only nixos-unstable has it
<MarkRBM_> ahhh that makes sense I suppose
<MarkRBM_> whats the release cycle (day two with nixos here)
<hodapp> any examples for a package that must make use of several CMake builds at once?
<samueldr> we're less than a day away from branching off the next release
<samueldr> it's released on a six-month schedule
<MarkRBM_> oh nice, and will that be 18.04?
<samueldr> 18.09, first number year, last number month
<clever> 18.09
<MarkRBM_> ok thanks I can survive another couple of days without it thanks
<samueldr> the actual release may be at the end of the month though
<clever> MarkRBM_: you can also just use nixos-unstable until then
<samueldr> though, we're about to get the channels for 18.09...
<MarkRBM_> it just being in the pipeline is good enough for me
<infinisil> > src _1password
<MarkRBM_> so I have basically all the packages I want installed, do I use dotfiles the same way I would on another distro or on mac in nixos? It seems wierd to go to all the trouble to define the system dependencies and then just dump a bunch of dotfiles in the home folder. I have things like zshrc, emacs conf, tmux conf etc. Any good blog posts or similar on the topic of user specific configs?
jonreeve has quit [Ping timeout: 252 seconds]
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
<worldofpeace> I've been really surprised by how crazy nixpkgs gets before the branch off. Is it always like this?
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has quit [Quit: WeeChat 1.9.1]
work_ has quit [Quit: Connection closed for inactivity]
<c15ade4> MarkRBM_: there is something called home manager
<c15ade4> I haven't tried it
<{^_^}> [nixpkgs] @xeji pushed commit from @ckauhaus to staging « poppler 0.61: patch against CVE-2018-13988 (#45916) »: https://git.io/fAl80
<{^_^}> [nixpkgs] @xeji merged pull request #45916 → poppler 0.61: patch against CVE-2018-13988 → https://git.io/fAlqV
<{^_^}> [nixpkgs] @xeji merged pull request #45926 → deepin-gettext-tools: init at 1.0.8 → https://git.io/fAllR
<{^_^}> [nixpkgs] @xeji pushed commit from @romildo to master « deepin-gettext-tools: init at 1.0.8 (#45926) »: https://git.io/fAl8w
worldofpeace has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xeji merged pull request #45924 → bird: set reloadIfChanged to true → https://git.io/fAlnM
<{^_^}> [nixpkgs] @xeji pushed commit from @flokli to master « bird: set reloadIfChanged to true (#45924) »: https://git.io/fAl8o
<drakonis> c15ade4, its nice
logzet has joined #nixos
semilattice has joined #nixos
jD91mZM2 has joined #nixos
MarkOtaris has quit [Quit: issued !quit command]
<MarkRBM_> hmm I am lookng at it now and I guess I dont really understand its unique selling point. In my head how it would work was I would tell nix about my dotfiles and where they need to be symlinked to and maybe get some rllback niceness if I mess them up but maybe thats out of scope for nix
<MarkRBM_> with emacs for example I can see how to install it and do some config for it through nix and even install emacs packages. but I have a bunch of elisp files with various settings that I dont see how to manage with nix
drakonis has quit [Remote host closed the connection]
worldofpeace has joined #nixos
MarkOtaris has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ca47cc90c2d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jaeckel has quit [Ping timeout: 240 seconds]
<MarkRBM_> actually this repo makes me think there is a patch to what I would like to do with home manager github.com/yrashk/nix-home/blob/master/home.nix
<MarkRBM_> thanks c15ade4
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #45928 → cargo-tree: 0.19.0 -> 0.20.0 → https://git.io/fAl8j
<Purple-mx> python pros, how would you go about nixing this: https://github.com/aivarsk/scruffy
<Purple-mx> pypi2nix seems to require a `requirements.txt` file, which this project doesnt have
<Enzime> Purple-mx: take a look at the setup.py which shows the requirements
<Purple-mx> there must be a tool that can use that to create it
<Purple-mx> found this which Im trying to use now https://github.com/bndr/pipreqs
worldofpeace has quit [Ping timeout: 245 seconds]
<Purple-mx> im not very successful with pypi2nix
<Purple-mx> I think I found the trick
jmeredith has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #45929 → backblaze-b2: 1.1.0 -> 1.3.6 → https://git.io/fAl4i
semilattice has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @aszlig opened pull request #45930 → nixos: Split paras by \n\n in option descriptions → https://git.io/fAl4S
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/displayManagers/auto: allow root auto-login »: https://git.io/fAl45
Wharncliffe has quit [Quit: Lost terminal]
vcunat has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #45928 → cargo-tree: 0.19.0 -> 0.20.0 → https://git.io/fAl8j
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fAl4h
PolarIntersect has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45921 → Cleanup homepage links → https://git.io/fAlZv
<{^_^}> [nixpkgs] @xeji pushed 27 commits to master: https://git.io/fAlBm
gspia has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45929 → backblaze-b2: 1.1.0 -> 1.3.6 → https://git.io/fAl4i
<{^_^}> [nixpkgs] @xeji pushed commit from @danieldk to master « backblaze-b2: 1.1.0 -> 1.3.6 (#45929) »: https://git.io/fAlBC
simukis has joined #nixos
xeji has joined #nixos
Fare has quit [Ping timeout: 245 seconds]
tg has quit [Excess Flood]
tg has joined #nixos
Izorkin has joined #nixos
gspia has quit [Quit: Leaving]
slack1256 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @xeji opened pull request #45931 → nixos/release.nix: disable blivet test → https://git.io/fAlBQ
<{^_^}> [nixpkgs] @etu opened pull request #45932 → nixos/switch-to-configuration: Fix reload of user units for users of fish shell → https://git.io/fAlB7
gspia has joined #nixos
<{^_^}> [nixpkgs] @utdemir opened pull request #45934 → bluejeans-gui: init at 1.6.39 → https://git.io/fAlBd
udono has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45931 → nixos/release.nix: disable blivet test → https://git.io/fAlBQ
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/release.nix: disable blivet test (#45931) »: https://git.io/fAlRv
orivej has joined #nixos
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
vmandela has joined #nixos
aramiscd has joined #nixos
<{^_^}> [nixpkgs] @dotlambda pushed to master « home-assistant: 0.77.1 -> 0.77.2 »: https://git.io/fAlRm
theunknownxy has joined #nixos
kenshinC1 has joined #nixos
iyzsong-x has joined #nixos
shabius has joined #nixos
shabius has quit [Remote host closed the connection]
shabius has joined #nixos
iyzsong has quit [Ping timeout: 272 seconds]
typetetris has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #45936 → nixos/accountservice: Don't restart account-daemon on upgrades → https://git.io/fAlRw
vcunat has quit [Ping timeout: 252 seconds]
seanparsons has quit [Quit: ZNC 1.6.5 - http://znc.in]
seanparsons has joined #nixos
<{^_^}> [nixpkgs] @alexeymuranov opened pull request #45938 → [18.03] gnome3.geary: 0.12.3 → 0.12.4 (cherry-picked from master) → https://git.io/fAlRd
baimafeima has joined #nixos
bahamas has joined #nixos
<bahamas> hello. I'm on mac os. can anyone point me to instructions on upgrading to nix 2?
<clever> bahamas: `sudo -i` then `nix-channel --update ; nix-env -iA nixpkgs.nix`
<bahamas> clever: I get this "error: the group ‘nixbld’ specified in ‘build-users-group’ does not exist" when running `nix-channel --update`
<clever> bahamas: do you know if its a single or multiuser install?
<clever> bahamas: without root, what does `ls -lh ~/.nix-profile` output?
<bahamas> clever: lrwxr-xr-x 1 lucian staff 29 Dec 22 2016 /Users/lucian/.nix-profile -> /nix/var/nix/profiles/default/
<clever> ah, single-user install
<clever> then just `nix-channel --update ; nix-env -iA nixpkgs.nix` without root
ixxie has joined #nixos
<bahamas> clever: when running the nix-env command, I get an error starting with "This version of Nixpkgs requires Nix >= 2.0, please upgrade:"
jaeckel has joined #nixos
<clever> ah, you need nix2 to parse nixpkgs, one min
<clever> > "${(import <nixpkgs> { system = "x86_64-linux"; }).nix}"
<{^_^}> "/nix/store/zk9plca43q4643ma41d85bqadfm48p6i-nix-2.0.4"
<clever> bahamas: do nix-store -r /nix/store/zk9plca43q4643ma41d85bqadfm48p6i-nix-2.0.4 && /nix/store/zk9plca43q4643ma41d85bqadfm48p6i-nix-2.0.4/bin/nix-env -iA nixpkgs.nix
<clever> wait doh
<clever> i put linux, not darwin, lol
<clever> > "${(import <nixpkgs> { system = "x86_64-darwin"; }).nix}"
<{^_^}> "/nix/store/wnw7dish1kawsqlzvvriqi9z4dgdcs1c-nix-2.0.4"
<clever> : nix-store -r /nix/store/wnw7dish1kawsqlzvvriqi9z4dgdcs1c-nix-2.0.4 && /nix/store/wnw7dish1kawsqlzvvriqi9z4dgdcs1c-nix-2.0.4/bin/nix-env -iA nixpkgs.nix
<clever> bahamas: that one should do it
<bahamas> clever: the command starting with nix-store?
<clever> yeah
<{^_^}> [nixos-hardware] @yegortimoshenko merged pull request #78 → Fix unusable Lenovo Thinkpad X1 profile → https://git.io/fAWAW
<{^_^}> [nixos-hardware] @yegortimoshenko pushed 7 commits to master: https://git.io/fAl0L
klntsky has quit [Ping timeout: 250 seconds]
klntsky has joined #nixos
<bahamas> clever: it worked. thank you!
thc202 has joined #nixos
saltsa has left #nixos [#nixos]
hotfuzz_ has joined #nixos
hotfuzz has quit [Ping timeout: 252 seconds]
rfold has joined #nixos
nefix has joined #nixos
puffnfresh has quit [Quit: ZNC 1.6.5 - http://znc.in]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #45939 → sc-controller: 0.4.3 -> 0.4.4 → https://git.io/fAl0z
nefix has quit [Quit: leaving]
baimafeima has quit [Ping timeout: 240 seconds]
<LnL> bahamas: nix2 uses http2 to download caches, you're going to notice a big difference:)
hiratara has quit [Quit: ZNC - http://znc.in]
Acou_Bass has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji closed pull request #45144 → sc-controller: 0.4.3 -> 0.4.4 → https://git.io/fNhnf
<rfold> Does the gnatmake package from nixpkgs some sort of custom version of gnatmake? It does not support the --version flag, causing dependent packages to fail configuring.
<clever> > gnatmake.src.urls
<{^_^}> undefined variable 'gnatmake' at (string):171:1
<clever> rfold: i dont see gnatmake in nixpkgs
Thra11 has quit [Quit: WeeChat 1.4]
Ariakenom has quit [Ping timeout: 244 seconds]
<rfold> clever: sorry, the package is called gnatboot and it has an executable gnatmake
<clever> > gnatboot.src.urls
<{^_^}> undefined variable 'gnatboot' at (string):171:1
<clever> rfold: not sure where the source is, the wrapper is complicating things
<rfold> Hmm thanks, seems to be a wrapper script for Gentoo.
bahamas has quit [Ping timeout: 272 seconds]
<rfold> I'll see if I can patch it or work around its limitations.
<rfold> Oh I think gnatboot is a package for bootstrapping GNAT, and so it has different tools.
Thra11 has joined #nixos
pluplog has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #45938 → [18.03] gnome3.geary: 0.12.3 → 0.12.4 (cherry-picked from master) → https://git.io/fAlRd
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to release-18.03: https://git.io/fAlEO
<jtojnar> srhb: In the end, I used skopeo to compare a label with a hash of default.nix: https://gitlab.gnome.org/GNOME/buoh/merge_requests/4/diffs
<Enzime> how do I find the history of a Nix channel?
<srhb> jtojnar: Ah!
<Enzime> srhb: thanks :)
<{^_^}> [nixpkgs] @FRidh pushed 106 commits to staging: https://git.io/fAlEK
<{^_^}> [nixpkgs] @FRidh pushed 224 commits to staging-next: https://git.io/fAlEX
FRidh has joined #nixos
<Enzime> FRidh: do you come on IRC when you do big pushes? :P
<FRidh> Enzime: yea it's the moments I realize I'm not logged in :)
<Enzime> FRidh: what IRC client do you use?
<{^_^}> [nixpkgs] @FRidh opened pull request #45941 → Staging next → https://git.io/fAlE7
<{^_^}> [nixpkgs] @gebner pushed to master « gpxsee: 4.19 -> 5.17 »: https://git.io/fAlEN
bahamas has joined #nixos
jtojnar has quit [Quit: jtojnar]
baimafeima has joined #nixos
jtojnar has joined #nixos
<genesis> this gpxsee is neat
kisik21 has joined #nixos
bahamas has quit [Ping timeout: 244 seconds]
bahamas has joined #nixos
baimafeima has quit [Ping timeout: 250 seconds]
<infinisil> ,locate bin gnatmake
<{^_^}> Couldn't find any packages
<{^_^}> [nixpkgs] @tex opened pull request #45943 → FreeOrion 0.4.7.1 -> 0.4.8-575bdae → https://git.io/fAluN
fendor has joined #nixos
vcunat has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #45945 → nixos/switch-to-configuration: support shells which aren't POSIX compliant → https://git.io/fAlzJ
mayhewluke has quit [Ping timeout: 245 seconds]
mayhewluke has joined #nixos
<{^_^}> [nix] @LnL7 opened pull request #2394 → nix doctor: add command → https://git.io/fAlzc
baimafeima has joined #nixos
fenedor has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
puffnfresh has joined #nixos
revtintin has joined #nixos
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8c172c44265 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<Mic92_> can nixops already deploy aarch64 from x86?
<Mic92_> or in other words, can I set the target system architecture somewhere?
<gchristensen> sure
<Mic92_> what do I need to set?
<gchristensen> just like you would in any configuration.nix ... iirc it is nixpkgs.system = "aarch64-linux", but maybe Cross stuff changed that
booglewoogle has joined #nixos
<infinisil> There's nixpkgs.localSystem and nixpkgs.crossSystem
<booglewoogle> hey, anyone here using a chromium-based browser? it seems the pepperFlash and widevine plugins aren't working for vivaldi. maybe this is somehow connected to chromium being broken? https://pastebin.com/7VvCi4DZ
iyzsong-x has quit [Ping timeout: 252 seconds]
Ridout has joined #nixos
<Mic92_> infinisil: thanks, I had to set nixpkgs.localSystem.system, not nixpkgs.system
fendor has joined #nixos
fenedor has quit [Read error: Connection reset by peer]
booglewoogle has quit [Read error: Connection reset by peer]
<Dezgeg> ugh
<gchristensen> Dezgeg: hm?
booglewoogle has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45818 → ipfs-cluster: init at v0.5.0 → https://git.io/fAcSU
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fAlgC
<Dezgeg> having to call your remote system 'local' in nixops
nefix has joined #nixos
<nefix> Hey! Could someone explain me how the vim plugins are managed? I can't figure out the correct way to add plugins to my neovim configuration :/
<nefix> But what package manager is it using? Since now I was using Plug for managing plugins
<LnL> nothing, nix fetches the sources
<nefix> And what if the package I need isn't in the sources?
<LnL> this example uses the plugin support added to vim8
<LnL> then you'd have to write an expression for the package yourself
<nefix> Oh, okay!
<nefix> Thank you!
pamplemousse has joined #nixos
nefix has quit [Quit: leaving]
<LnL> whoops
bahamas has quit [Quit: Lost terminal]
<LnL> hah, is turingmachine the hostname?
Ariakenom_ has joined #nixos
<Mic92_> turingmachine is my laptop.
<Yaniel> that's a lot of (v)cores
<Mic92_> thunderX arm cores
Ariakenom has quit [Ping timeout: 252 seconds]
<LnL> ah, thunderX
<Mic92_> But I am connect via ssh, not that I have 96 cores in my laptop.
booglewoogle has quit [Quit: Leaving]
alexteves has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
aarvar has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45907 → install-grub.pl: avoid double '/' in menu.lst and grub.conf → https://git.io/fAWh4
<{^_^}> [nixpkgs] @xeji pushed commit from @volth to master « install-grub.pl: avoid double '/' in menu.lst and grub.conf (#45907) »: https://git.io/fAl2g
obadz has joined #nixos
init_6 has quit []
<fgaz> Could someone help me with nixos container networking?
<fgaz> I'm trying to get them to connect to the internet
<fgaz> I enabled NAT as esplained in the nixos manual and created an empty container
<fgaz> It can see the virtual interface but it can only reach the host
xeji has quit [Quit: WeeChat 2.1]
<{^_^}> [nixpkgs] @grahamc opened pull request #45948 → ideao: move meta to each package → https://git.io/fAl2M
trebuh has joined #nixos
Fare has joined #nixos
pamplemousse has quit [Ping timeout: 244 seconds]
udono has quit [Ping timeout: 252 seconds]
<LnL> you might need to enable ip forwarding
pluplog has quit [Read error: Connection reset by peer]
<fgaz> LnL: Doesn't networking.nat do it?
avn has joined #nixos
<fgaz> Some logs: machinectl status: http://0x0.st/svrK.txt
revtintin has quit [Quit: WeeChat 1.9.1]
<LnL> not sure, I'm talking about boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
<fgaz> LnL: already enabled :/
<LnL> ok
avn has quit [Client Quit]
avn has joined #nixos
<fgaz> ip a host: http://0x0.st/svrP.txt container: http://0x0.st/svrZ.txt
__monty__ has joined #nixos
ilikeheaps has joined #nixos
chreekat has quit [Ping timeout: 250 seconds]
hotfuzz_ has quit [Ping timeout: 246 seconds]
<LnL> I'm a bit surprised your host has eth0 tho
<fgaz> LnL: I'm on 18.03 too... maybe some other config interferes...
<fgaz> LnL: it's a vultr vps
<LnL> nixos should be using declarative interface names, like enp0s31f6
<symphorien> there is an option to opt out though
v0latil3 has quit [Ping timeout: 250 seconds]
<LnL> yeah, but that's not on by default
ixxie has quit [Quit: Lost terminal]
<fgaz> The weird thing is that this is the second machine out of two that does this
<fgaz> I'm trying the 3rd now
v0latil3 has joined #nixos
<LnL> and using networking.nat.externalInterface = "eth0"; while that interface doesn't exist would explain why it's not working
<LnL> fgaz: nixos-option networking.usePredictableInterfaceNames
FRidh has quit [Quit: Konversation terminated!]
<LnL> is that false?
<fgaz> LnL: true
<aristid> Mic92_: no, 2 years is _not_ enough for me to update my window manager :P
<LnL> then you should have ens42, enp1s42, ... type interface names on the host
<aristid> why would i ever bother upgrading that
<aristid> especially if they don't have API compatibility
<Mic92_> aristid: well, you can build the old package yourself.
<fgaz> LnL: The third machine also does not work. So I must be doing something wrong...
<fgaz> I did initially forget to replace eth0 on all three machine... but I changed it now
v0latil3 has quit [Ping timeout: 252 seconds]
<LnL> I'd expect that to fix it, not sure if you have to restart the containers afterwards
<fgaz> did that mess things up?
Acou_Bass has joined #nixos
<fgaz> I destroyed and recreated them for good measure but nothing
v0latil3 has joined #nixos
philippD has joined #nixos
<LnL> I think that's the only relevant stuff in my config
<fgaz> LnL: The whole system needed a reboot it seems
<LnL> weird, I wonder if ip_forward was actually set then
<LnL> might be that it only generates a sysctl config
<fgaz> Let's see if rebooting the vps fixes it there too
<fgaz> Yup. Fixed. I should have tried this sooner
<fgaz> I'll update the manual I guess
<fgaz> LnL: thanks for pointing out the interface name
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8c172c44265 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
Denommus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fAlwB
civodul has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45901 → bluez: 5.48 -> 5.50 → https://git.io/fAWFR
<{^_^}> [nixpkgs] @xeji pushed commit from @jraygauthier to release-18.03 « bluez: 5.48 -> 5.50 (#45901) »: https://git.io/fAlwK
<{^_^}> [nixpkgs] @peti merged pull request #45348 → haskellPackages.shellFor: fix after recent getHaskellBuildInputs fix. → https://git.io/fAvg1
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fAlw9
Dedalo has joined #nixos
vmandela has quit [Read error: Connection reset by peer]
vmandela has joined #nixos
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/8c172c44265 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
v0latil3 has quit [Ping timeout: 272 seconds]
v0latil3 has joined #nixos
vbernat has quit [Remote host closed the connection]
fenedor has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #45853 → android-studio: Add desktop item → https://git.io/fAC8s
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fAlrW
ixxie has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
monotux has quit [Quit: Ping timeout (120 seconds)]
monotux has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #45827 → itk: 4.13.0 -> 4.13.1 → https://git.io/fAcd6
<{^_^}> [nixpkgs] @xeji pushed commit from @r-ryantm to master « itk: 4.13.0 -> 4.13.1 (#45827) »: https://git.io/fAloU
le_jonge has quit [Ping timeout: 250 seconds]
Baughn_ has joined #nixos
jtojnar has quit [Remote host closed the connection]
mayhewluke has quit [Ping timeout: 244 seconds]
klntsky has quit [Ping timeout: 250 seconds]
simukis has quit [Quit: simukis]
Baughn has quit [Ping timeout: 268 seconds]
simukis has joined #nixos
Baughn_ is now known as Baughn
simukis has quit [Remote host closed the connection]
tnias has quit [Ping timeout: 246 seconds]
simukis has joined #nixos
klntsky has joined #nixos
mayhewluke has joined #nixos
<Zajcev> guys ... how to lock user in homedir?
jtojnar has joined #nixos
tnias has joined #nixos
WilliButz has quit [Ping timeout: 272 seconds]
<Yaniel> lock?
<Zajcev> jail
<Zajcev> :-)
<Zajcev> I'm trying to make sftp user only jailed in homedir
<Zajcev> no shell
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @xeji closed pull request #45828 → snakemake: init at 5.2.2 → https://git.io/fAcFG
<{^_^}> [nixpkgs] @ryantm merged pull request #45730 → snakemake: init at 5.2.2 → https://git.io/fAGqW
<{^_^}> [nixpkgs] @ryantm pushed 3 commits to master: https://git.io/fAloE
nlyy has joined #nixos
<nlyy> hi
<nlyy> I find myself repeating these commands a lot: users.users.guixbuild0 = makeGuixBuilder "guixbuild0";
<nlyy> for however many cores i might have
<nlyy> I have 12 threads
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nlyy> Is there any cleaner way to do this?
<nlyy> In case I wasn't clear, I am defining system user accounts to be used as builders
<symphorien> > builtins.listToAttrs( map (x: { name="guixbuilder${toString x}"; value="guixbuild${toString x}"; }) (lib.range 0 3))
simukis_ has joined #nixos
<{^_^}> { guixbuilder0 = <CODE>; guixbuilder1 = <CODE>; guixbuilder2 = <CODE>; guixbuilder3 = <CODE>; }
simukis has quit [Ping timeout: 245 seconds]
<symphorien> you have to adapt to have users.users but this is the principle
simukis_ is now known as simukis
<{^_^}> [nixpkgs] @jtojnar opened pull request #45949 → gcolor3: 2.2 → 2.3 → https://git.io/fAloQ
<Thra11> Running "nix -u -eq" can reduce the number of dependencies floating around the system, but is there a command which can just list the 'duplicates' in a profile? e.g. tell me how many different glibcs I have on my system.
<symphorien> nix-store -qR /run/current-system/ | grep glibc
<nlyy> looking
<Thra11> symphorien: Thanks, but I meant something that will list any duplicates, without me having to know which package to grep for.
<{^_^}> [nixpkgs] @xeji merged pull request #45569 → wireguard: change preStop to postStop, require network.target → https://git.io/fAtue
<{^_^}> [nixpkgs] @xeji pushed commit from @yorickvP to master « wireguard: change preStop to postStop, require network.target (#45569) »: https://git.io/fAlox
<nlyy> symphorien, this? map (x: { name = "users.users.guixbuild${toString x}"; value = ''makeGuixBuilder guixbuild${toString x}''; }) (lib.range 0 11);
<nlyy>
<symphorien> Thra11: nix-store -qR /run/current-system/ | cut -d- -f2- | sed "s/-[0-9].*$//" | sort | awk 'BEGIN {x=""} {{if (x == $0) print $x}; x=$0}' | sort -u
<nlyy> builtins.listToAttrs map (x: { name = "users.users.guixbuild${toString x}"; value = ''makeGuixBuilder guixbuild${toString x}''; }) (lib.range 0 11);
<symphorien> nlyy: don't put '' around the value
simukis has quit [Quit: simukis]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8b92a4e6004 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<symphorien> put quotes around the argument of makeGuixBuild since it expects a string
<symphorien> also users.users won't work
simukis has joined #nixos
<symphorien> { users.users.blah = 1;} is sugar for { users = { users = { blah = 1; } } }
<symphorien> so maybe: { users.users = (the big expression here which generates { blah = 1; foo = 2; }); }
<nlyy> making corrections
simukis has quit [Client Quit]
<nlyy> great explanations btw, thanks. trying
<pie__> i heard nixos can be used to make virtual machine images?
<symphorien> pie__: nixos-rebuild build-vm
simukis has joined #nixos
<nlyy> Will users.users = { blah }; be fine if I have users.users.myUser in another file in imports?
Dedalo has joined #nixos
<symphorien> yes if it is in another file then the module system will merge them by magic
<pie__> symphorien, id like to create a "separate" system though
baimafeima has quit [Quit: Leaving]
<pie__> or would i just set some env vars and paths and stuff
<symphorien> if it is in the same file then you will have an error massage about a duplicate definition
<symphorien> pie__: yes nixos-rebuild can be told to look for configuration.nix elsewhere
<nlyy> haha, nice
<{^_^}> #44918 (by symphorien, 3 weeks ago, open): nixos-rebuild build-vm-with-bootloader fails to build
<pie__> symphorien, thanks ill check it out
simukis has quit [Client Quit]
<symphorien> see in the "steps to reproduce" section
<pie__> so uh..its broken?
simukis has joined #nixos
juhe has joined #nixos
simukis has quit [Remote host closed the connection]
<symphorien> just with bootloader
<symphorien> just build-vm works fine
simukis has joined #nixos
<symphorien> and I doubt you need the vm to have grub :)
simukis has quit [Remote host closed the connection]
simukis has joined #nixos
simukis has quit [Read error: Connection reset by peer]
<pie__> ah.
simukis has joined #nixos
baimafeima has joined #nixos
v0latil3 has quit [Ping timeout: 245 seconds]
vmandela has quit [Quit: Leaving]
<nlyy> symphorien, something weird is happening
<nlyy> error: The option `users.users.guixbuild0.value' defined in `/etc/nixos/configs/guix-daemon.nix' does not exist.
<symphorien> huh
<nlyy> FOR: users.users = map (x: {name = "guixbuild${toString x}"; value = makeGuixBuilder "guixbuild${toString x}"; }) (lib.range 0 11);
simukis has quit [Client Quit]
<symphorien> hah: map returns a list when users.users should be an attrset
<symphorien> you forgot listToAttrs
simukis has joined #nixos
simukis has quit [Read error: Connection reset by peer]
simukis has joined #nixos
<nlyy> oh, I thought that was an IRC command
<symphorien> no it's a nix builtin
<symphorien> to invoke the bot you just need >
mudri has quit [Quit: Connection closed for inactivity]
<symphorien> > builtins.listToAttrs [{name="a"; value=1;}]
<{^_^}> { a = 1; }
<nlyy> works like a charm! thank you!
<nlyy> > (lib.range 0 2)
<{^_^}> [ <CODE> <CODE> <CODE> ]
<symphorien> > builtins.seq (lib.range 0 2)
<{^_^}> <PRIMOP-APP>
<nlyy> Nice :)
drakonis has joined #nixos
juhe has quit [Quit: Leaving.]
juhe has joined #nixos
<nlyy> builtins.seq would return the last element of the sequence?
<symphorien> no it forces evaluation of its argument
<Dezgeg> > let x = lib.range 0 2; in builtins.seq x x
<{^_^}> [ <CODE> <CODE> <CODE> ]
<symphorien> as opposed as "let's be lazy"
<Dezgeg> > let x = lib.range 0 2; in lib.deepSeq x x
<{^_^}> [ 0 1 2 ]
<infinisil> Oh, I didn't know deepSeq makes it display the <CODE>'s
<infinisil> Neat
juhe has quit [Client Quit]
<Dezgeg> needs an helper to avoid this let stuff though
<nlyy> and what would happen if builtins.seq x?
<nlyy> > let x = lib.range 0 2; in builtins.seq x
<{^_^}> <PRIMOP-APP>
<symphorien> > let x = lib.range 0 2; in builtins.seq x x
<{^_^}> [ <CODE> <CODE> <CODE> ]
<symphorien> I was just using it wrong
<nlyy> What's PRIMOP-APP?
<symphorien> also the builtin seq is not recursive
<nlyy> oh
<symphorien> partial application of a builtin
<symphorien> let f = x: y: x+y; in f 1
<symphorien> > let f = x: y: x+y; in f 1
<{^_^}> <LAMBDA>
<symphorien> this is the equivalent for "normal" functions
<Dezgeg> > deepEval = x: builtins.deepSeq x x
<{^_^}> deepEval defined
<Dezgeg> > deepEval (lib.range 0 2)
juhe has joined #nixos
<{^_^}> [ 0 1 2 ]
<symphorien> nice
<symphorien> Dezgeg++
<{^_^}> Dezgeg's karma got increased to 4
<nlyy> nice
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.30 « gnome3.aisleriot: 3.22.5 → 3.22.6 »: https://git.io/fAl65
<nlyy> Dezgeg++ symphorien++
<nlyy> Dezgeg++
juhe has quit [Remote host closed the connection]
<{^_^}> Dezgeg's karma got increased to 5
<nlyy> symphorien++
<{^_^}> symphorien's karma got increased to 5
<nlyy> There
<nlyy> :)
<infinisil> The bot also has a certain magical function _show which it applies to the result of every computation to show it
<infinisil> > :v _show
<{^_^}> _show = x: if lib.isDerivation x then "<derivation ${x.drvPath}>" else x
<infinisil> But I don't think it would be smart to always deepForce a value, would probably behave in non-intended ways at times
<symphorien> yes
<Dezgeg> I would guess so too
<Dezgeg> > linuxPackages_latest
<{^_^}> { __unfix__ = <LAMBDA>; acpi_call = <CODE>; amdgpu-pro = <CODE>; ati_drivers_x11 = <CODE>; batman_adv = <CODE>; bbswitch = <CODE>; bcc = <CODE>; beegfs-module = <CODE>; blcr = <CODE>; broadcom_sta = <...
<Dezgeg> > deepEval linuxPackages_latest
<{^_^}> anonymous function at /var/lib/nixbot/state/nixpkgs/pkgs/build-support/fetchurl/boot.nix:5:1 called with unexpected argument 'recursiveHash', at /var/lib/nixbot/state/nixpkgs/pkgs/build-support/fetchz...
<infinisil> There are so many eval errors hidden in nixpkgs..
<infinisil> I have a branch of nixpkgs where I get rid of all such errors which prevent package evaluation
<Dezgeg> > deepEval hello
<{^_^}> "<derivation /nix/store/v2l3ncp0ypdssjf7b8rxyppn3kyq3w87-hello-2.10.drv>"
<Dezgeg> ok the 'recursiveHash' wasn't something I expected :P
<infinisil> Same
endformationage has joined #nixos
MinceR has quit [Ping timeout: 246 seconds]
drakonis has quit [Remote host closed the connection]
MinceR has joined #nixos
jdnavarro has quit [Quit: WeeChat 2.1]
v0latil3 has joined #nixos
<pie__> symphorien, where does it output the vm image?
* pie__ looks for docs meanwhile
Dedalo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdnavarro has joined #nixos
hotfuzz has joined #nixos
<symphorien> pie__: it prints the path
<symphorien> I guess a result symlink
<pie__> ok
kenshinC1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 74 commits to gnome-3.30: https://git.io/fAlPO
<pie__> symphorien, so, no grub, that means i should remove the enable grub stuff in configuration.nix right? will it still be able to boot?
<{^_^}> [nixpkgs] @etu closed pull request #45932 → nixos/switch-to-configuration: Fix reload of user units for users of fish shell → https://git.io/fAlB7
<symphorien> the grub stuff will just be ignored
<symphorien> and yes it will boot like a charm
<pie__> awesome
<{^_^}> [nixpkgs] @Ma27 closed pull request #45945 → nixos/switch-to-configuration: support shells which aren't POSIX compliant → https://git.io/fAlzJ
baimafeima has quit [Quit: Leaving]
baimafeima has joined #nixos
MarkRBM_ has quit [Ping timeout: 246 seconds]
<Thra11> Nix aborted an operation due to lack of disk space, and now I'm getting errors like "error (ignored): aborting transaction: SQL logic error (in '/nix/var/nix/db/db.sqlite')" Is there a way to magically fix the database?
<pie__> thats odd. id have figured nixos would be doing everything sufficiently atomically at this point ¯\_(ツ)_/¯
baimafeima has quit [Remote host closed the connection]
<Thra11> Also, that error happened during nix-collect-garbage, and seems to have resulted in it using *more* space than before.
<Thra11> Maybe I need a certain amount of free disk space to successfully collect the garbage?
<pie__> symphorien, so how can i control how much disk space it gets and whatnot?
<symphorien> no idea
<pie__> "The VM mounts the Nix store of the host through the 9P file system." uh so the vm image may not actually be transferrable
<symphorien> I know there is a mksquashfs function in nixpkgs
JonReed has joined #nixos
<symphorien> tilpner my know more on this iirc
<{^_^}> [nixpkgs] @jtojnar opened pull request #45950 → [WIP] gnome3: 3.28 → 3.30 → https://git.io/fAlXT
<{^_^}> [nixpkgs] @primeos pushed to master « android-studio: Refactor the code & minor improvements »: https://git.io/fAlXY
Orbstheorem has quit [Quit: WeeChat 1.8]
smolboye has quit [Quit: WeeChat 2.2]
smolboye has joined #nixos
kenshinC1 has joined #nixos
johs has joined #nixos
Orbstheorem has joined #nixos
TheAppleMan has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #45949 → gcolor3: 2.2 → 2.3 → https://git.io/fAloQ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fAl1i
drakonis_ has joined #nixos
emily has quit [Quit: Reconnecting]
emily has joined #nixos
kisik21 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @qoelet opened pull request #45951 → gnu-pw-mgr: 2.3.3 -> 2.4.2 → https://git.io/fAlMJ
Denommus has joined #nixos
sigmundv__ has joined #nixos
johnny101 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #45952 → racket-minimal: fix hash → https://git.io/fAlDq
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
johanot has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #45953 → kitty: Add terminfo attr → https://git.io/fAlDQ
mayhewluke has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @pschuprikov opened pull request #45954 → clang_complete (vimPlugin): fix multiple clang outputs → https://git.io/fAlyI
mayhewluke has joined #nixos
worldofpeace has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #45955 → dtkwidget: init at 2.0.9.3 → https://git.io/fAlyO
yegortimoshenko has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1ee3ad6732d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jD91mZM2 has quit [Quit: WeeChat 2.0]
<yegortimoshenko> is there some way to do something like `nix-store --query --requisites`, or libstore's `computeFSClosure` from within a nix expression?
<Orbstheorem> Hello, why does builtins.toPath requires absolute paths? where as paths can be relative to the nix file?
<{^_^}> [nixpkgs] @grahamc merged pull request #44526 → nixos/activation: Identifies the snippet that failed → https://git.io/fNXQg
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fAlyg
<{^_^}> [nixpkgs] @grahamc merged pull request #45911 → nixos/manual: nixos-help knows about colon-separated BROWSER → https://git.io/fAlTs
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fAlyK
<gchristensen> anyone have PRs they want merged?
<infinisil> It would be nice to have https://github.com/NixOS/nixpkgs/pull/42793 in 18.09, to reduce everybody's closure size, but I really don't feel like cleaning this PR up right now
<{^_^}> #42793 (by Infinisil, 9 weeks ago, open): nixos/grub: light grub by default, 150MB closure size reduction
<gchristensen> yeah that is a tricky one
ixxie has quit [Ping timeout: 240 seconds]
logzet has quit [Remote host closed the connection]
<Orbstheorem> how can I remove a trailing newline from a string read from a file?
<johanot> gchristensen: I'd this this one merged: https://github.com/NixOS/nixpkgs/pull/45670, but yeah.. I admit it's also tricky :P
<{^_^}> #45670 (by johanot, 6 days ago, open): nixos/kubernetes: Module refactor
<gchristensen> wayyyyy out of my wheelhouse but I know who to ping@
<gchristensen> !
<johanot> please ping away :)
aarvar has quit [Ping timeout: 240 seconds]
<infinisil> johanot: Um, how many options does this add?
<infinisil> Because I'd prefer not adding too many, since they add eval time for everybody, even though 99.99% won't use these options
<clever> infinisil: i just had an idea on how to further improve performance
<gchristensen> ^ this is a challenge we need to solve: capturing these hugely, hugely valuable services while also protecting a commons
<clever> if the type of options could somehow depend on the config tree?
<infinisil> clever: I think they can
<clever> if services.nginx.enable = false, then services.nginx is just an untyped attrset, and essentially ignored
<clever> NOP out every option, dont even put them in the options tree
<clever> it would need an off switch, because it would even vanish from the docs :P
<infinisil> Not possible unfortunately, how the module system works currently at least
<johanot> infinisil: haven't counted to be honest. added a handful I think, but also removed some. srhb and I actually talked about maybe moving the k8s module to a separate repo. which has.. both pros and cons I guess.
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8b92a4e6004 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<infinisil> clever: It first needs to go through all modules to find valid options, then evaluate the config of each module and check if the values you assigned are valid options
v0latil3 has quit [Ping timeout: 250 seconds]
<clever> infinisil: yeah, it would be a drastic change in how things currently work
v0latil3 has joined #nixos
<gchristensen> johanot: I _love_ those new docs!
<infinisil> Oh and actually, I think submodules can be lazy, but they aren't effectively because the man pages include every options
<infinisil> option*
<johanot> clever infinisil how about "rm module-list.nix" ? :P
<samueldr> there was a proposal to let the end-user fill in their modules list
<infinisil> johanot: If you mean to include modules manually, that would work, but it would remove one of the selling points of nix, namely that you can just `services.foo.enable = true;` and it works
<samueldr> but IIRC it's tricky since some modules will reference options from other modules
<infinisil> Oh, but the module can be enabled by default then
<gchristensen> *nixos
<clever> johanot: oh, thats an idea, just omit modules, and require the user to do `imports = [ <nixpkgs/nixos/modules/services/web-servers/nginx/default.nix> ];`
<infinisil> Similar to the language proposal
<johanot> infinisil: that was what I meant yes :)
chreekat has joined #nixos
<johanot> clever: exactly.
<infinisil> Give https://gist.github.com/edolstra/29ce9d8ea399b703a7023073b0dbc00d a read, it's been updated by niksnut recently, with very nice ideas :D
<clever> johanot: i did try doing something similar, with the flag to disable modules, but it ran into dependency problems
* johanot reading
<johanot> clever: I think it's a nice idea in theory, but it would probably require a major refactor of the entire module tree.
periklis has joined #nixos
<samueldr> it may very well need one!
<johanot> infinisil: I especially like the "Migration path: TODO" in that gist :D
<samueldr> let's hope it's as transparent as possible to the end-users
<infinisil> Heh yeah
<Orbstheorem> found lib.strings.fileContents ^^
<johanot> gchristensen: Thanks. Credit to srhb again who always advocates for more docs. I got nudged a couple of times there. :)
<gchristensen> yay!
<gchristensen> I should send her a sticker or something as a thank you
<samueldr> oof, that's a lot of changes johanot :)
<johanot> samueldr: sorry :( I mean... Especially sorry for squashing new features and just moval of existing code together. 2000 additions and 2000 deletions is a bit misleading because of that.
<samueldr> ah, then it's probably not so bad
<johanot> you live you learn
<pie__> aszlig, hey, you're listed as a maintainer for gajim, any chance for updating it to a newer version?
asslick has joined #nixos
<infinisil> What the hell: fixed-output derivation produced path '/nix/store/ingwqhaav953m4m4yhzjhf7sna87xlha-cabal-helper-0.8.1.0.tar.gz' with sha256 hash '098jjdjzkzpr4lgb78fhy9k80r5m96shyj39km69m5x4ls16cj4g' instead of the expected hash '098jjdjzkzpr4lgb78fhy9k80r5m96shyj39km69m5x4ls16cj3z'
periklis has quit [Ping timeout: 250 seconds]
<infinisil> Those hashes differ by 2 letters..
<samueldr> that's eerily close
<emily> infinisil: are you sure that's just not someone typoing
<{^_^}> [nixpkgs] @cjpbirkbeck opened pull request #45956 → Added an example for environment.variable. → https://git.io/fAl9k
<emily> when copying it
<emily> sounds more plausible than sha256 suddenly breaking
<infinisil> Definitely, but I have to first find where this hash is coming from
<{^_^}> [nixpkgs] @xeji merged pull request #45939 → sc-controller: 0.4.3 -> 0.4.4 → https://git.io/fAl0z
<{^_^}> [nixpkgs] @xeji pushed 4 commits to master: https://git.io/fAl9t
<clever> infinisil: using nix-hash, you can convert between base32 and base16
<clever> infinisil: then grep nixpkgs for both
philippD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
xeji has joined #nixos
<clever> nix reports in base32 i believe, even if the input was 16, which can make it difficult to find the right hash to edit
<infinisil> I modified a stack2nix generated file like that
<infinisil> That is indeed base 16, the sha256 one
aarvar has joined #nixos
<clever> [root@router:~]# nix-hash --type sha256 --to-base16 098jjdjzkzpr4lgb78fhy9k80r5m96shyj39km69m5x4ls16cj4g
<clever> 8f486682a6a4979a4c9d69480fb549b5648066f2d0a1b31e25f9fef965931225
<clever> infinisil: yep, thats the hash from line 2
<infinisil> ah yeah, so the first hash stayed constant :)
<infinisil> Phew
<clever> [root@router:~]# nix-hash --type sha256 --to-base16 098jjdjzkzpr4lgb78fhy9k80r5m96shyj39km69m5x4ls16cj3z
<clever> 7f486682a6a4979a4c9d69480fb549b5648066f2d0a1b31e25f9fef965931225
<infinisil> Yeah just did that command too
<clever> oh, interesting, the byte order is reversed, its a single bit out!
<infinisil> Interesting indeed
laduke-13 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #45955 → dtkwidget: init at 2.0.9.3 → https://git.io/fAlyO
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/fAl9W
<{^_^}> [nixpkgs] @xeji merged pull request #45951 → gnu-pw-mgr: 2.3.3 -> 2.4.2 → https://git.io/fAlMJ
<{^_^}> [nixpkgs] @xeji pushed commit from @qoelet to master « gnu-pw-mgr: 2.3.3 -> 2.4.2 (#45951) »: https://git.io/fAl94
<infinisil> clever: I need to edit it manually for this btw: https://github.com/haskell/haskell-ide-engine/pull/789/files
<infinisil> stack2nix doesn't seem to be able to handle that just yet, I'll probably open an issue for it
<clever> ah
<clever> cabal revisions have been a constant pain in stack2nix
<clever> infinisil: can you open an issue on the stack2nix github so the @rev:0 stuff is tracked?
<infinisil> Yeah, doing that right now
<{^_^}> [nixpkgs] @xeji merged pull request #45953 → kitty: Add terminfo attr → https://git.io/fAlDQ
<{^_^}> [nixpkgs] @xeji pushed commit from @rvolosatovs to master « kitty: Add terminfo attr (#45953) »: https://git.io/fAl9r
<clever> infinisil++
<{^_^}> infinisil's karma got increased to 22
<{^_^}> input-output-hk/stack2nix#127 (by Infinisil, 11 seconds ago, open): Support for manually specified revisions
<clever> infinisil: which package was that revision on?
periklis has joined #nixos
<pie__> sphalerite, i see you're also in the jitsi channel, have you by any chance been able to get it to connect to xmpp?
<infinisil> clever: cabal-helper?
<clever> *looks*
<clever> 0.8.1.0
<infinisil> Why was this done..
<clever> infinisil: its generally done to fix build errors because of mistakes in the version constraints
<clever> infinisil: the odd part, is that the hashes in your error (which match the 2 cabal files perfectly), arent the hashes that had a single-bit error
<clever> i was hoping/worrying that the cabal files where a near hash collision :P
periklis has quit [Ping timeout: 240 seconds]
<infinisil> Ah yeah, it was not the hash of the cabal file, but of the package itself
<clever> yeah, but cabal revisions dont effect the hash of the source
<infinisil> Yup, just learned that
<{^_^}> [nixpkgs] @xeji merged pull request #45956 → Added an example for environment.variable. → https://git.io/fAl9k
<{^_^}> [nixpkgs] @xeji pushed commit from @cjpbirkbeck to master « Added an example for environment.variable. (#45956) »: https://git.io/fAlHC
<infinisil> Phew, at last, I have succeeded in updating haskell-ide-engine, and it works!
orivej has joined #nixos
<pie__> sphalerite, ugh this looks related https://github.com/NixOS/nixpkgs/issues/31069
<{^_^}> #31069 (by castilma, 43 weeks ago, open): jitsi issues
<gchristensen> https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aclosed does this link break for anyone?
<gchristensen> or is it really slow?
<clever> infinisil: i believe domen has also done something with hie
<infinisil> clever: Yeah, hie-nix
<infinisil> And I've been trying to update it to a reasonable version of HIE, see https://github.com/domenkozar/hie-nix/pull/26
<{^_^}> domenkozar/hie-nix#26 (by Infinisil, 1 week ago, open): Update HIE (d769a30608cd5)
<clever> gchristensen: from the http headers, < X-Runtime-rack: 6.179089
<infinisil> And now I finally cracked it, will update the PR
<johanot> gchristensen: http 500 at first, second time it worked - veerrry slow though
<gchristensen> hehehehe same johanot!
<gchristensen> looks like we're a problematic repo for github :)
<johanot> gchristensen: probably already migrated to azure ;)
<gchristensen> boo
periklis has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #45912 → dhcpcd: 6.11.5 -> 7.0.8 → https://git.io/fAlku
<{^_^}> [nixpkgs] @samueldr pushed 3 commits to master: https://git.io/fAlHP
<samueldr> gchristensen: PR searches in nixpkgs is always slow to me
<samueldr> often get the octopus falling in a ravine
<infinisil> How big is the archive of all nixpkgs PRs?
<infinisil> Would be cool to be able to search it locally :P
periklis has quit [Ping timeout: 240 seconds]
<samueldr> 834MB, not optimized
<infinisil> Phew
* samueldr forgot to share the code + archive 😞
v0latil3 has quit [Ping timeout: 245 seconds]
<gchristensen> love diffing minified html
<rotaerk> unminify both versions and compare the results
v0latil3 has joined #nixos
<gchristensen> not a bad idea
<clever> infinisil: http://ghtorrent.org/
<infinisil> That's pretty fancy
<{^_^}> [nixpkgs] @xeji pushed commit from @tex to master « FreeOrion 0.4.7.1 -> 0.4.8 (#45943) »: https://git.io/fAlQE
<{^_^}> [nixpkgs] @xeji merged pull request #45943 → FreeOrion 0.4.7.1 -> 0.4.8 → https://git.io/fAluN
<bigvalen> Right. Going to try boot to the 'installer' and try remember how to switch root volume to a different ZFS partition.
<infinisil> ,locate bin patch
<{^_^}> Found in packages: busybox, gnupatch
<bigvalen> I'm sure it'll all go swimmingly
<infinisil> Is the patch binary really not in a more common package? I would have expected it to be somewhere in coreutils or so
<infinisil> I'm also wondering how I have the patch binary on my path even though I don't have either of those packages installed
<clever> gnupatch.out 180,240 x /nix/store/id4hp2barkyn10z4wrmwg8smj901qsgf-patch-2.7.5/bin/patch
<clever> i think gnupatch is the main one
<{^_^}> [nixpkgs] @xeji pushed commit from @oxij to master « fbreader: 0.99.4 -> 0.99.6, switch to fetchFromGitHub, add more build options (#45840) »: https://git.io/fAlQD
<{^_^}> [nixpkgs] @xeji merged pull request #45840 → fbreader: 0.99.4 -> 0.99.6, switch to fetchFromGitHub, add more build options → https://git.io/fACf4
<clever> same as grep being in gnugrep
<infinisil> Oh and apparently that's installed by default
<infinisil> ,find system-path.nix
<{^_^}> [nix] @edolstra pushed to master « Release notes tweaks »: https://git.io/fAlQH
<{^_^}> [nix] @edolstra pushed to 2.1-maintenance « Release notes tweaks »: https://git.io/fAlQ5
<clever> why?! lol
<{^_^}> [nixpkgs] @grahamc pushed to master « nixos docs: more IDs »: https://git.io/fAlQF
<LnL> - 2018-08-31 + 2018-09-02 :D
<gchristensen> so so so many "idm"links
<gchristensen> maybe shold make the docs fail to build if they're present
<infinisil> idm links?
<LnL> yeah, I've noticed that a few times when linking a section
<{^_^}> [nixpkgs] @xeji merged pull request #45952 → racket-minimal: fix hash → https://git.io/fAlDq
<{^_^}> [nixpkgs] @xeji pushed commit from @marsam to master « racket-minimal: fix hash (#45952) »: https://git.io/fAl7I
<infinisil> Ah I see
v0latil3 has quit [Ping timeout: 250 seconds]
Mateon3 has joined #nixos
<{^_^}> [nixpkgs] @grahamc pushed to master « nixos docs: more IDs »: https://git.io/fAl78
Mateon1 has quit [Ping timeout: 272 seconds]
Mateon3 is now known as Mateon1
<gchristensen> ok now that there aren't any idm links I can properly diff docs.
duncan^ has quit [Quit: K-lined: Don't email support.]
<gchristensen> would it be too harsh to block the build if idm links are introduced?
<gchristensen> probably yes unless docs were built onevery pr
<LnL> dunno, given a clear error message it's pretty easy to fix
<gchristensen> I'll experiment after playing with maintainer pings.
georges-duperon has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @grahamc merged pull request #45930 → nixos: Split paras by \n\n in option descriptions → https://git.io/fAl4S
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fAl7F
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<{^_^}> [nix] @edolstra pushed to master « Bump version »: https://git.io/fAl5f
<gchristensen> LnL: better submit those daemon selling points fast :D
wpcarro has joined #nixos
<LnL> I didn't write anything yet, if that's what you're suggesting
<gchristensen> ah well that is okay
simukis has quit [Quit: simukis]
goibhniu has joined #nixos
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/black@2016-06-02: https://git.io/fAl5r
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/black@2016-08-31: https://git.io/fAl5o
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/black@2016-09-01: https://git.io/fAl5K
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/v208: https://git.io/fAl56
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/zr/171223: https://git.io/fAl5P
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/zr/171224: https://git.io/fAl51
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/zr/2017-07-15: https://git.io/fAl5y
philippD has joined #nixos
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/zr/2017-07-14: https://git.io/fAl5Q
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to refs/tags/zr/2017-08-20: https://git.io/fAl55
<philippD> Hey, I get to following error "warning: unable to download 'https://github.com/chisui/nix-mkPandoc/archive/bb98878ee0bdeb71bdd1d88c0746101d473a164b.tar.gz': Problem with the SSL CA cert (path? access rights?) (77);" when I call nix-prefetch-url on that url but neither firefox nor curl complain about the cert. Does anyone know what's going on here?
<{^_^}> [nixpkgs] @vcunat pushed to release-docs « nixos manual: releases workflow improvements »: https://git.io/fAl5A
kenshinC1 has quit [Ping timeout: 245 seconds]
<gchristensen> (a little time-out for {^_^} while we deleted many accidentally created tags)
<{^_^}> [nixpkgs] @vcunat opened pull request #45957 → [WIP] nixos manual: releases workflow improvements → https://git.io/fAlde
<clever> philippD: try nix-prefetch-url with just http instead of https
<philippD> clever: it redirects to https
<{^_^}> [nixpkgs] @vcunat pushed 0 commits to refs/tags/black@2016-05-13: https://git.io/fAldq
<philippD> Hm, the file that $NIX_SSL_CERT_FILE points to doesn't exist
vdemeester has joined #nixos
<clever> philippD: ah, then maybe download with the browser, and then run nix-prefetch-url file:///path/to/thing.tar.gz
<{^_^}> [nixos-org-configurations] @samueldr opened pull request #53 → channels: Add 18.09 → https://git.io/fAldc
<philippD> clever: I would rather fix the underlying issue that the cert file is missing.
<{^_^}> [nixpkgs] @samueldr pushed 0 commits to release-18.09: https://git.io/fAldl
selfsymmetric-mu has quit [Remote host closed the connection]
<gchristensen> vcunat++
<{^_^}> vcunat's karma got increased to 1
<gchristensen> samueldr++
<{^_^}> samueldr's karma got increased to 18
cransom has quit [Ping timeout: 252 seconds]
<p_l> clever: btw, yesterday's attempt at getting LXD from unstable didn't work ultimately - it required overriding package list globally to include unstable lxd in place of nixpkgs.lxd
<clever> p_l: thats usually required with services
<{^_^}> [nixpkgs] @samueldr pushed to master « 18.09 -> 19.03 »: https://git.io/fAldM
<p_l> (and less than documented)
IRCsum has quit [Ping timeout: 250 seconds]
Dedalo has joined #nixos
<infinisil> clever: Lol, turns out domenkozar opened an issue for the same thing 4 hours earlier: https://github.com/input-output-hk/stack2nix/issues/126
<{^_^}> input-output-hk/stack2nix#126 (by domenkozar, 6 hours ago, open): Pin revision according to stackage plan
cransom has joined #nixos
Dedalo has quit [Client Quit]
<cransom> and thank you kexec_nixos... finally got around to zfs'ing my linode.
<clever> infinisil: aha!
Denommus` has joined #nixos
Denommus has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @samueldr opened pull request #45958 → nixos: Sets default channel for 18.09 → https://git.io/fAlFq
IRCsum has joined #nixos
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I'm having trouble with `kdeconnect`. I've installed the package and opened some ports. However (I'm on XFCE), there does not seem to be a working GUI. My phone can see my desktop client, but not vice versa. Anybody have success with it?
<selfsymmetric-mu> More generally I'm looking for a way to get Android notifications through an API. Another option for that would be PushBullet's websocket interface.
<selfsymmetric-mu> But maybe there are other solutions that I haven't seen yet?
nlyy has quit [Quit: Leaving]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/8b92a4e6004 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
<gchristensen> do we have any Polish-speakers?
<selfsymmetric-mu> I speak a little.
das_j has quit [Ping timeout: 246 seconds]
S1tiSchu has quit [Read error: Connection reset by peer]
<gchristensen> there is a person I know of who seems to only speak Polish but wants to get involved
fenedor has quit [Ping timeout: 250 seconds]
johanot has quit [Quit: leaving]
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @ashkitten opened pull request #45959 → roccat-tools: init at 5.7.0 → https://git.io/fAlbt
cransom has quit [Quit: WeeChat 2.1]
<Orbstheorem> why doesn't `man -k` work in nixos?
<{^_^}> [nixos-hardware] @Mic92 merged pull request #70 → lenovo/thinkpad/x260: Init → https://git.io/fNbf1
<{^_^}> [nixos-hardware] @Mic92 pushed 6 commits to master: https://git.io/fAlbs
<clever> Orbstheorem: probably because makewhatis hasnt been ran
<Orbstheorem> when I search makewhatis on nix-locate, it's on man-old. Is it deprecated, or something?
das_j has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
mudri has joined #nixos
lord| has joined #nixos
witchof0x07 has joined #nixos
rfold has quit [Ping timeout: 240 seconds]
cransom has joined #nixos
witchof0x20 has quit [Remote host closed the connection]
witchof0x07 is now known as witchof0x20
evil-olive has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/61deecdc34f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nh2> niksnut: I found something very ugly (CC clever): https://github.com/NixOS/nix/issues/2395
<{^_^}> nix#2395 (by nh2, 9 minutes ago, open): Use of PR_SET_PDEATHSIG results in Broken pipe errors when using SSH substituters
mayhewluke has quit [Ping timeout: 246 seconds]
mayhewluke has joined #nixos
nefix has joined #nixos
nefix has quit [Client Quit]
<{^_^}> [nixpkgs] @samueldr pushed to master « release-notes: Adds 19.03 — Koi »: https://git.io/fAlNO
<dhess> probably a stupid question but I'm jetlagged and not exactly thinking straight. Is there a way to set a NIX_PATH component in a .nix file? i.e., do what -I does ?
<gchristensen> ..yes... but usually doing that is a bad path to walk down
* dhess cries
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
semilattice has joined #nixos
<gchristensen> ...why?:)
<aszlig> pie__: it is already up to date, the current version is only a release canidate
<semilattice> anyway to get the root paths for the current nix-shell?
<aszlig> pie__: unless i missed something?
Thra11 has quit [Ping timeout: 244 seconds]
<semilattice> so if I run 'nix run nixpkgs.hello', I want it to include /nix/store/nic2bl8ry6vfyxr9717983d5b2l4sn1c-hello-2.10
<dhess> gchristensen: there's probably a better way to do what I'm doing, but with my NixOps deployments, I've started using overlays to provide configuration state, so that I can easily swap out production for testing or whatever.
<dhess> and right now I do that via -I state=path/to/state
<aszlig> pie__: and last time i checked a few plugins don't yet work with the rc
theunknownxy has quit [Quit: theunknownxy]
<dhess> and I'd like to provide a default path if i don't provide one
<semilattice> the end goal in this case is to be able to use nix-shell/nix run for vim plugins (or other non-bin portions)
<symphorien> semilattice: nix-build "<nixpkgs>" -A hello
<symphorien> and --no-out-link
<semilattice> @symphorien, I'm not asking for building specific packages. I'm saying, if I run an arbitrary nix-shell or nix run command
<dhess> I can probably just switch to args rather than path and then provide a default argument
<semilattice> I want to know the root(s) associated with that command, while inside of it
camsbury has joined #nixos
sigmundv has quit [Ping timeout: 246 seconds]
<symphorien> I don't understand
camsbury has quit [Client Quit]
<symphorien> ah maybe: inside nix-shell -p hello, the path to hello is in $buildInputs
<symphorien> no idea for nix run
<semilattice> symphorien: that actually works for nix-shell. That's exactly what I wanted
kisik21 has joined #nixos
mayhewluke has quit [Ping timeout: 252 seconds]
semilattice has quit [Ping timeout: 272 seconds]
mayhewluke has joined #nixos
glasserc has quit [Read error: Connection reset by peer]
worldofpeace has quit [Quit: worldofpeace]
georges-duperon has quit [Ping timeout: 252 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
<philippD> I have a strange issue that I can build on travis-ci and my lokal NixOs machine but on my arch machine I get this error:"collision between `/nix/store/fw9d7b7mr0nws6ddvxrkflg4f22kbndb-texlive-tetex-3.0/scripts/texlive/texconfig.sh' and `/nix/store/7xlkmw909saqvk8m3c0mpjv95na1xbw3-texconfig-2017/scripts/texlive/texconfig.sh'"
hamishmack has joined #nixos
<philippD> This is the expression I try to build https://github.com/chisui/dakka/blob/master/thesis/default.nix
<{^_^}> [nixpkgs] @samueldr pushed commit from @aszlig to release-18.09 « nixos: Split paras by \n\n in option descriptions »: https://git.io/fAlAX
<philippD> The strange thing is that I'm pinning nixpkgs too.
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
obadz has quit [Ping timeout: 240 seconds]
<infinisil> philippD: How are you building it?
<philippD> `nix-build thesis` in the base dir of the repo
obadz has joined #nixos
kisik21 has quit [Ping timeout: 245 seconds]
<philippD> the mkPandoc stuff adds a little indirection. It creates a custom texlive bundle using texlive.combine if that is important.
vcunat has quit [Quit: Leaving.]
<infinisil> philippD: Can you gist the full logs?
worldofpeace has joined #nixos
goibhniu has quit [Ping timeout: 272 seconds]
<philippD> Oh, I found the error. I had imported a file without passing pkgs through and it defaulted to <nixpkgs>.
<{^_^}> [nixpkgs] @NeQuissimus pushed 0 commits to refs/tags/black@2016-05-13: https://git.io/fAlxK
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 4.19-rc1 -> 4.19-rc2 »: https://git.io/fAlx6
xeji has quit [Quit: WeeChat 2.1]
<wpcarro> does anyone have a configuration.nix file available that is known to work on a Raspberry Pi 2? Having a lot of trouble getting this to work
<wpcarro> I have some prompt that say root@nixos, at which point I'm supposed to edit the existing configuration.nix file. I put what was on the wiki in, but that is yielding me errors
<samueldr> wpcarro: what kind of errors?
<wpcarro> error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/lib/eval-config.nix:53:5:
<samueldr> also note, you should use `boot.kernelPackages = pkgs.linuxPackages_latest` and not the _rpi packages
<wpcarro> samueldr: I'm using pkgs.linuxPackages_latest
<samueldr> good
<samueldr> (just a common gotcha, since the other one says _rpi)
<wpcarro> samueldr: I'm not connected to internet but I was expecting that to be a problem down the line
<wpcarro> I'm also getting a Bad initial deap size 100000 warning
<wpcarro> and then `error: invalid integer '4294967295'`
<wpcarro> I'm surprised there isn't an existing configuration.nix file that is known to work for RPi2. Feels like a common use case
<{^_^}> [nixpkgs] @Mic92 merged pull request #45848 → augeas: 1.10.1 -> 1.11.0 → https://git.io/fACko
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fAlxp
<wpcarro> an index of starting, workable configuration.nix files by laptop make and model would be quite valuable imo
<makefu> wpcarro: this is the nixos config i use for my rpi2: https://git.shackspace.de/krebs/stockholm/blob/master/krebs/1systems/onebutton/config.nix
<wpcarro> makefu: thanks for sharing! going to give this a try for myself
<wpcarro> makefu: you're using an RPi1, right?
<makefu> ummmm ...... maybe? haha
<makefu> i thought it was a 2
<makefu> but i am not sure anymore. it is very slow though
<wpcarro> just noting _rpi instead of _latest
<makefu> i used the image provided by https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ for the rpi
<{^_^}> [nixos-org-configurations] @edolstra merged pull request #53 → channels: Add 18.09 → https://git.io/fAldc
<{^_^}> [nixos-org-configurations] @edolstra pushed 2 commits to master: https://git.io/fAlpJ
<wpcarro> ok thanks
<wpcarro> same here
<makefu> according to https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi it was not yet tested by 1) Dezgeg or 2) the one who wrote the article
justanotheruser has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos: Document option description changes »: https://git.io/fAlp3
<{^_^}> [nixpkgs] @aszlig pushed to release-18.09 « nixos: Document option description changes »: https://git.io/fAlpG
revtintin has joined #nixos
aszlig has quit [Quit: Kerneling down for reboot NOW.]
aszlig has joined #nixos
<gchristensen> aszlig: do you actually know/understand xslt?
<aszlig> gchristensen: why?
<gchristensen> I'm impressed by the xslt you wrote, and am delighted that you wrote it
<aszlig> gchristensen: well, i wanted to do this since a long time, so i decided to finally learn XSLT properly
<aszlig> gchristensen: before it was just half-knowledge
<{^_^}> [nix] @edolstra pushed 0 commits to refs/tags/2.1: https://git.io/fAlpw
<gchristensen> I only have half-knowlede and want to learn more
Ariakenom_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixos-homepage] @edolstra pushed to master « Nix 2.1 released »: https://git.io/fAlpi
<gchristensen> aszlig: I get tired of so much hate towards docbook, it was refreshing seeing something so constructive I guess.
<aszlig> gchristensen: the main problem however is that the documentation about certain behaviors is so sparse and also heavily fragmented on the web
<aszlig> so i went to read all of https://www.w3.org/TR/xslt/all/
slabity has joined #nixos
<{^_^}> [nixpkgs] @tadfisher opened pull request #45963 → uefitool: init at 0.25.1 → https://git.io/fAlpy
justanotheruser has joined #nixos
<aszlig> gchristensen: well, docbook isn't bad per-se, but i think it has its own learning curve and i probably wouldn't call it beginner-friendly if you want to do something more substantial things than simple formatting
<slabity> Has anyone here got Plasma/KDE working with i3 in NixOS?
<aszlig> gchristensen: i actually prefer docbook to something like eg. markdown
<gchristensen> me too!!
MarkRBM_ has joined #nixos
<aszlig> because it allows to properly cross-reference stuff and it's easier to transform
<gchristensen> and has real semantics which you can predict :)
<aszlig> i mean, if it's just some comment, something like markdown is okay, but for technical documentation i wouldn't recommend it =)
drakonis_ has quit [Remote host closed the connection]
<aszlig> also there is restructured text, which while it's kinda similar to markdown in readability is better suited for technical documentation and you can extend it using roles
<aszlig> s/d text/dtext/ ;-)
<aszlig> but still, it's not as powerful as docbook
<{^_^}> [nixpkgs] @edolstra pushed to master « nix: 2.0.4 -> 2.1 »: https://git.io/fAlpp
<aszlig> so the real downside of docbook really is that it's xml, which kinda makes it less "human readable" than the other alternatives
<gchristensen> (making dinner, back in 30min or so :))
<{^_^}> [nixos-homepage] @edolstra pushed to master « Add Nix 2.1 news item »: https://git.io/fAlhT
<infinisil> aszlig: xml will always be a big hurdle for getting lots of people to write docs though :/
rprije has joined #nixos
astrofog has joined #nixos
<aszlig> infinisil: yeah, unfortunately... however just writing docs is probably as easy as writing TeX
<infinisil> I admit that I almost never wrote docs for nixpkgs/nixos myself for my whole time in the nix community (1.5 years), while I wrote 2 wiki entries already since it's rebirth (half a year ago?)
<aszlig> infinisil: but you did write option descriptions, right?
<infinisil> Ah yeah, good point, I did
<aszlig> because if yes then you did write docs for nixos ;-)
jluttine has quit [Ping timeout: 272 seconds]
<infinisil> Indeed :)
jluttine has joined #nixos
<infinisil> (Would've been *much* quicker with markdown though..)
<infinisil> Also: I often see option descriptions having malformed xml, because people assumed it's markdown
<aszlig> infinisil: yeah, but how would you cross-reference something from an option to another page in the manual?
drakonis has joined #nixos
<aszlig> (btw. one thing that's also on my todo list is cross-referencing <option/>)
<infinisil> I personally haven't ever needed this, but it might arise when I write more docs I guess
<infinisil> Ah yeah, option cross references would be nice tbh
<infinisil> I guess that's a point for xml
<aszlig> hm, lemme implement that real quick to see how many bad references we have there :-D
hl` has joined #nixos
<infinisil> But still, I think the disadvantages of docbook xml outweigh the ones of markdown, will take a bit more than that to convince me :P
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 250 seconds]
ilikeheaps has quit [Ping timeout: 246 seconds]
edef_ has joined #nixos
edef has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
edef_ is now known as edef
q3k1 has joined #nixos
hl has quit [Ping timeout: 240 seconds]
q3k has quit [Ping timeout: 240 seconds]
nbp has quit [Ping timeout: 240 seconds]
hl` is now known as hl
<aszlig> infinisil: well, then maybe take a look at restructuredtext, as it's better suited than markdown, as mentioned before
* emily likes ReST too
shreyansh_k has quit [Ping timeout: 260 seconds]
davidcl has quit [Ping timeout: 260 seconds]
<emily> sphinx is a nice manual generator
<infinisil> aszlig: Rst works well with [cross-]references?
<aszlig> infinisil: sure
<infinisil> Well it looks as easy to type as markdown, I like it
<infinisil> Any significant disadvantages to rst?
<emily> the stuff on https://readthedocs.org/ is Sphinx-generated
<emily> you've probably seen a good few manuals in that format
<infinisil> emily: Yeah, those are always nice to read :D
<infinisil> Also nice to have docs in a familiar format
<emily> I would love to see NixOS move to Sphinx
<infinisil> Oh I should look at this comparison aszlig linked, I didn't realize sphinx = rst there
<aszlig> infinisil: sphinx can also do markdown
<Dezgeg> how about the latex syntax? \foo{bar} that is