gchristensen changed the topic of #nixos to: NixOS 18.03 and Nix 2.0 are released! || 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
<maurer> My standard is to use nixos stable for the underlying system and then nixpkgs master for all my user-tier software
<maurer> it's been working pretty well, since I always have the tools to unfuck myself from a broken master
<sir_guy_carleton> and what packages do you put in the system environment and in the user environment?
rauno has joined #nixos
rosa has joined #nixos
nickdshsadhkas[m has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40261 → lib/systems: Parse more arm cpu types → https://git.io/vpXis
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpXP3
<{^_^}> → 3fa0ba91 by @Ericson2314: lib/systems: Parse more arm cpu types
<{^_^}> → 0b45f0eb by @Ericson2314: Merge pull request #40261 from obsidiansystems/more-arm
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40262 → lib/systems: Parse more arm cpu types → https://git.io/vpXiG
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.03: https://git.io/vpXPG
<{^_^}> → 3fa0ba91 by @Ericson2314: lib/systems: Parse more arm cpu types
<{^_^}> → 4009b081 by @Ericson2314: Merge pull request #40262 from obsidiansystems/more-arm
adetokunbo has joined #nixos
<adetokunbo> Hello #nixos
<sir_guy_carleton> hello
rosa has quit [Quit: rosa]
<adetokunbo> sir_guy_carleton: hello!
<adetokunbo> I've written some nix functions that I want to make available as a library
<infinisil> adetokunbo: put them on github?
<adetokunbo> infinisil: in their own repository?
<adetokunbo> infinisil: I think that's what I want to do
<infinisil> adetokunbo: You could alternatively make a PR for nixpkgs so they are in the standard lib :)
<infinisil> Which makes sense if they are useful enough
goibhniu has quit [Ping timeout: 256 seconds]
<adetokunbo> infinisil: I might want to add them to nixpkgs in the future, but for now I'd just like to put them somewhere they can be used.
<infinisil> A repository be it!
rosa has joined #nixos
<infinisil> You can just put them in a default.nix file in the root
<adetokunbo> infinisil: so how does someone else use nix expressions in an arbitrary git repo? You can't just import than them.
<infinisil> With a `{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib }:` at the top would be best
day|flip has joined #nixos
<infinisil> Either clone it, or import-from-derivation
<infinisil> IFD (import-from-derivation) means to do something like `let otherlib = import "${builtins.fetchTarball "https://github.com/foo/lib"}"; in ...`
aisiszane has joined #nixos
<adetokunbo> infinsil: IFD sounds like what I need.
<infinisil> However, IFD is slow
<day|flip> hay guys. I'm trying to copy theme folder. But having issue with sourceRoot. I could be going at this the wrong way. here how im using it. sourceRoot = "/home/days/.communi/";
<clever> day|flip: sourceRoot must be a relative path, and it must refer to whatever unpacking the source created
<infinisil> adetokunbo: And you probably want to use Nix 2.0's new builtins.fetchTarball { url = ...; sha256 = ...; } to not have to refetch it every hour
rosa has quit [Client Quit]
<adetokunbo> infinisil: thanks! is the repeated refetch the only thing that makes it slow?
<day|flip> clever: then what should I used for setting DIR to copy the the theme from?
vaninwagen has quit [Quit: Connection closed for inactivity]
<clever> day|flip: can you gist your current nix expression?
<infinisil> adetokunbo: I'm not sure.. it might be, for normal usage at least. I'm pretty sure there's something pretty bad with hydra (Nix CI), because IFD is not allowed to use in nixpkgs
aisiszane has quit [Ping timeout: 246 seconds]
<infinisil> But i think with the builtins.fetchTarball and co. it should be fine
<adetokunbo> infinisil: thanks you - I will try this out!
<infinisil> :)
<clever> day|flip: your missing a src=
<day|flip> so replace sourceRoot with src?
<clever> and un-quote it
<clever> day|flip: its also a lot more readable like this: https://gist.github.com/cleverca22/5db384beaaed0aae12be0bd125681c32
<day|flip> cool. I'm still learning how to used nix. don't really fully understand it. but got a simi idea what im doing
rosa has joined #nixos
silver has quit [Read error: Connection reset by peer]
rosa has quit [Quit: rosa]
<{^_^}> [nixpkgs] @eqyiel opened pull request #40265 → cocoapods: 1.3.1 -> 1.5.0 → https://git.io/vpXXQ
<day|flip> clever: I think I'm almost there im getting a error with stdenv. https://hastebin.com/wijagufeto.cs
<clever> day|flip: pkgs.stdenv
sir_guy_carleton has quit [Quit: Leaving]
thc202 has quit [Ping timeout: 240 seconds]
<day|flip> error: illegal name: '.communi'
<clever> rename the input directory, it cant start witha .
<day|flip> k
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4009b08110f (from 40 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<samueldr> hmm, given a job (nixos:release-18.03:nixos.containerTarball.x86_64-linux) how can I get the newest one coming from a successful nixos:release-18.03:tested on hydra?
<samueldr> so, I'm trying to navigate from :tested to :nixos.containerTarball.x86_64-linux, which I don't even know if it makes sense
day|flip has quit [Quit: leaving]
ryantrinkle has quit [Ping timeout: 250 seconds]
<samueldr> latest and latested-finished don't seem to relate to the :tested aggregate job
jackdk has joined #nixos
andreabedini has joined #nixos
<infinisil> Let's see how reproducible my config really is..
<infinisil> I have always built my 3 systems from machine A, but now I'm using the git checkout to build it from machine B (which is more powerful)
<dtz> haha woo
<infinisil> (And I'm updating nixpkgs in the process too)
<dtz> non-determinism is moderately common
<infinisil> Lol, the build failed
<infinisil> Because of something missing on NIX_PATH
<dtz> but hopefully functionally equivalent :)
<Xal> what's the recommended way to separate machine-specific components of your config, anyhow?
<samueldr> oh, for anyone following my trek, I'm looking at the channels script to check how the iso is copied
<Xal> right now I just have a general configuration directory, and then a directory with a $hostname.nix for each machine
<Xal> my update-config script copies the config with the correct hostname to /etc/nixos/configuration.nix and runs nixos-rebuild
aisiszane has joined #nixos
<Xal> I was just wondering if there was a different way, even though this works pretty well for now
<infinisil> Xal: Nixops!
<samueldr> and using src-url from the channel folder I can find what I want, a nixos:release-18.03 jobset
<infinisil> I'm using it for all my machines, works welllll
aisiszane has quit [Client Quit]
<samueldr> while not nixops, my repo has machines/$HOSTNAME/default.nix, and /etc/nixos/configuration.nix imports machines/$HOSTNAME (with hostname replaced)
<Xal> samueldr: that sounds like a really good stopgap solution while I learn nixops, thanks!
<Xal> infinisil: I /really/ should get around to figuring out nixops then, huh
ison[m] has joined #nixos
<infinisil> Xal: You could even make your own rebuild script that sets `nixos-config=path/to/your/config/for/this/machine.nix` in NIX_PATH, then nothing is needed in /etc
kandinski has quit [Remote host closed the connection]
<andreabedini> newbie here, how does the nodePackages thing work? eg. I noticed I can install nixpkgs.nodePackages.pulp but not nixpkgs.nodePackages_8_x.pulp
<andreabedini> while both nixpkgs.nodePackages_8_x.bower and nixpkgs.nodePackages.bower work ok
jackdk has quit [Ping timeout: 250 seconds]
adetokunbo has quit [Quit: This computer has gone to sleep]
adetokunbo has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
adetokunbo has quit [Client Quit]
<infinisil> Did you know, once somebody committed a 40MB bz2 ball of bootstrap tools to nixpkgs, that's what you're downloading every time you clone nixpkgs..
adetokunbo has joined #nixos
<infinisil> Another time somebody committed a 23MB tags file..
<samueldr> oof
<andreabedini> ahah nice, I guess I'll --depth 1 from now on
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
jrolfs has joined #nixos
<infinisil> Doesn't that just prevent submodules from being cloned?
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
<andreabedini> no, it creates a "shallow clone", with history truncated
<infinisil> Oh interesting, didn't know that
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
<andreabedini> some operation might require longer history but there should be a way to "un-shallow" the repo basically downloading the rest
<gchristensen> there is, --deepen on `fetch`
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
<clever> also, if you do a shallow clone then deepen it, that makes the load on github worse then if you just did a full clone :P
<gchristensen> note that with nixpkgs on github at least, it is extremely expensive to deepen a repo, and pretty much if it isn't in the tip, it is better to do a full clone
<infinisil> I guess I should use --depth 1 for my nixbot (it clones nixpkgs, but doesn't even need the past history)
<clever> infinisil: if your not getting history, dont even bother with git
adetokunbo has quit [Client Quit]
<andreabedini> +1
<infinisil> clever: But I want to update it cheaply
<infinisil> > :u
<{^_^}> Updated nixpkgs
<samueldr> both having and eating the cake
<clever> the above url is about 20mb for nixpkgs i think
<infinisil> Yeah I don't wanna download 20MB every time just to get a couple new commits
joehh has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
* gchristensen waves to joehh
<infinisil> But --depth 1 will be a nice improvement for the initial clone
<andreabedini> back to my problem :D i noticed node-packages-v8.nix doesn't have a package I'd like to have, how would I go about ?
<samueldr> I'll be writing up my findings on running containerTarball under an LXC container with proxmox, if anyone here has already done it and knows issues that are not obvious
adetokunbo has joined #nixos
<infinisil> Brb, I can't build my systems because apparently something is keeping all my 16GB of RAM so I don't have enough for it
<infinisil> Gonna reboot..
doyougnu has quit [Ping timeout: 246 seconds]
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
griff_ has joined #nixos
ericsagnes has joined #nixos
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
jgertm has quit [Ping timeout: 268 seconds]
adetokunbo has quit [Client Quit]
<andreabedini> ok, I found what I have to do (basically use node2nix)
Ridout has quit [Ping timeout: 246 seconds]
<andreabedini> what's the reason the default nodejs is still v6? (if there is one)
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
oltoAltn has joined #nixos
olto has quit [Ping timeout: 255 seconds]
<infinisil> Does it make sense to commit a stack2nix generated file?
<infinisil> Because it's rather big
<clever> infinisil: we always commit it, because it cant be generated in a pure manner, so hydra requires it
<infinisil> clever: Hmm yeah
mbrgm has quit [Ping timeout: 250 seconds]
<infinisil> And since the order of the packages doesn't change on regeneration, it isn't too bad. The diff of adding a new package to your .cabal is very short
mbrgm has joined #nixos
<clever> yep
<clever> with the old stack2nix, it only contained the closure of your project, so it was relatively small
<clever> but with the latest version, it has every single package from hackage
<infinisil> Oh really
<clever> with the versions pinned to what you specified
<infinisil> Why was it done this way?
<infinisil> So you can add new packages without regenerating it?
<clever> i think it was mostly just a side-effect of some recent changes, using stack as a library
<infinisil> Hmm I see
ftzm has joined #nixos
dbmikus has quit [Ping timeout: 246 seconds]
<infinisil> clever: Having had a look at mine, I think it only contains stackage ones
<clever> 1.89mb
<infinisil> Yeah mine is about 1.8mb
<infinisil> but I don't see every hackage package
<clever> what ones dont you see?
<infinisil> And nixpkgs/pkgs/development/hackage-packages.nix is almost 10MB
<clever> different versions of cabal2nix?
<clever> maybe its stackage i'm thinking of, not hackage
<infinisil> E.g. amqp-worker
<infinisil> Yeah
hph^ has joined #nixos
<infinisil> From the size difference, it seems to be about 1/5th of the hackage packages
hph^ has quit [Read error: Connection reset by peer]
jackdk has joined #nixos
<infinisil> Are you serious Nix???
<infinisil> error: unable to fork: Cannot allocate memory
<infinisil> I have about 10GB free RAM..
<MP2E> o.O wow
<clever> infinisil: its possible that your causing infinite recursion?
<infinisil> Oh wait, it's rather quickly filling up/going down again, I'll keep watch at the amount of free RAM..
<gchristensen> this isn't the nix in the cgroup is it?
<infinisil> It did output the "dumping >256MB path this might run out of memory" message, but I think it's actually an output that's like 300MB big
<infinisil> gchristensen: Nah
<infinisil> I mean it's the exact same nixos config build I've been using on my 8GB machine for a while now
<infinisil> I guess I'll just restart it everytime that happens, the build is progressing at least due to caching
jgertm has joined #nixos
<infinisil> It is currently compiling Haskell on 8 cores..
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> infinisil: 2.0.0 or greater?
<infinisil> Yeah
<samueldr> because 2.0.0 had that issue with ram use
<samueldr> at work I had to tell my users to re-run the command for vagrant provision until it works (generally twice) lol
<infinisil> Ugh.. Nix should automatically do that
<Xal> nix-env -iA nixos.more-ram
chrisbarrett has joined #nixos
dbmikus has joined #nixos
<infinisil> Yup, happened again
<infinisil> I saw one GHC process using 1.5GB of memory there
<infinisil> I guess I could reduce the amount of cores used
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4009b08110f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
mattyu has joined #nixos
<Xal> infinisil: you can increae the number of core but limit the memory of ghc programs with +RTS -h <mem>
<infinisil> Thanks, but trying to figure out how to override ghc arguments in nixpkgs would be a pain :P
andreabedini has joined #nixos
<mattyu> Hi all - I tried upgrading from 17.09 to 18.03 last week but something happened with my nix-store and nix 2.0 (from nix 1.11.16). I rolled back as I couldn't install anything with nix-env after the upgrade. I'd like to try again - any advice about upgrading from nix 1.11.16 to nix 2.0?
Guest86765 has joined #nixos
<Guest86765> Minere BTC enquanto navega e trabalha sem deixar o pc lentão e economizando energia obs: so funciona no Google Chrome do pc. https://getcryptotab.com/718967 Video tutorial https://www.youtube.com/watch?v=luzqQN3kL4g&t=166s
<cheater> hi
drakonis has joined #nixos
jgertm has quit [Ping timeout: 255 seconds]
<cheater> is there any documentation for overrideCabal?
<infinisil> ,error = Don't mention how something doesn't work, this isn't useful at all. Tell us what commands you ran and what errors they gave you
<{^_^}> error defined
<infinisil> mattyu: ^^
<cheater> also, what is the syntax between '' '' ? like here https://pastebin.com/vP6kjasf
<cheater> where can i read more about that?
<mattyu> sure... lemme switch back to that build and get the errors.. be back in a few..
<mattyu> exit
mattyu has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
rauno has quit [Ping timeout: 250 seconds]
mattyu has joined #nixos
<cheater> thanks
<cheater> infinisil: how do i set what interpreter checkPhase is going to be interpreted with?
<cheater> bash vs posix sh
<cheater> i need bash, and i don't know how to specify that
<infinisil> It's bash by default
<infinisil> And I don't even know if you can change that easily
<infinisil> Can can assume it's always going to be bash
<cheater> ok, i want it to be bash
<cheater> thanks
Arcaelyx_ has joined #nixos
<mattyu> So - in my 18.03 version (with Nix 2.0.1) whenever I try and run nix-env I get an error that looks like this:
<cheater> so if i want to do something like for i in "${myarr[@]}" i have to do this? for i in "''${myarr[@]}"
<mattyu> [matty@mattynix:~]$ nix-env --uninstall sqlite-3.21.0
<mattyu> uninstalling 'sqlite-3.21.0'
<mattyu> building '/nix/store/0syx1igb8h0dzf7mwk0dx92jwcpmyggh-user-environment.drv'...
<mattyu> error: getting status of '/nix/store/g8h4lr486n2d9vh13rcjp1w9grakr71m-python3-3.5.3/bin/pip': No such file or directory
<mattyu> builder for '/nix/store/0syx1igb8h0dzf7mwk0dx92jwcpmyggh-user-environment.drv' failed with exit code 1
<mattyu> error: build of '/nix/store/0syx1igb8h0dzf7mwk0dx92jwcpmyggh-user-environment.drv' failed
<mattyu>
<infinisil> ,paste mattyu
<{^_^}> mattyu: Use a website such as http://nixpaste.lbr.uno/ or https://gist.github.com/ to share anything that's longer than a couple lines
<mattyu> sorry...
jackdk has quit [Ping timeout: 240 seconds]
<infinisil> cheater: Correct
<cheater> ok, another question
<clever> mattyu: nix2 has a bug when dealing with dead symlinks in your nix profile
<cheater> if inside that '' '' syntax i have something like ${python}/bin/python
<cheater> but the path to the binary contains spaces
Arcaelyx has quit [Ping timeout: 246 seconds]
<cheater> what happens then?
<clever> cheater: wrap it with " and "
<cheater> so "${python}"/bin/python ?
<clever> or "${python}/bin/python"
joehh has quit [Ping timeout: 246 seconds]
<infinisil> But the ${python} part can't really contain spaces
<cheater> ok. that's what i did, just making sure that ${python} doesn't come automagically escaped
<cheater> how do you know? what if my nix prefix is /my\ nix/
<cheater> the path would contain an unescaped space then
<infinisil> You can pretty safely use the ${python} part without wrapping it in quotes, all those paths are of the form /nix/store/<hash>-<name>
<infinisil> cheater: Then probably about 80% of nixpkgs won't build because nobody thought of that containing spaces :)
<infinisil> > "${python}/bin/python"
<{^_^}> "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
<clever> infinisil: 80% of nixpkgs already fails to build if you get EOVERFLOW from readdir()
<clever> infinisil: it silently treats the directory as empty
<infinisil> clever: Why would that happen?
<clever> infinisil: that error happens if you have a 32bit nfs client talking to a 64bit nfs server, and your inode numbers dont fit inside 32bits
Ridout has joined #nixos
<mattyu> Any suggestions on how to clean up my nix profile prior to upgrading?
<infinisil> These 64bitters and their large number, pah
<clever> infinisil: and xfs inodes easily go over 4 billion on a 2tb disk
jackdk has joined #nixos
<clever> infinisil: the solution, is to add a special #define at compile time, which makes glibc use readdir64 rather then readdir, but it also changes the size of some typedefs, which might break software
<infinisil> mattyu: No idea, but I think nix-env stores everything in the .nix-profile folder, so if you just move that to .nix-profile.old, you should have a 'fresh' env, if you're fine with reinstalling all the stuff you need again
<clever> infinisil: .nix-profile points to a place in /nix/var/nix/profiles/
<infinisil> You could of course adapt the ways of specifying your packages in a nix file, which gets rid of all nix-env related problems
<infinisil> clever: Oh right..
<clever> and nix.sh will repair the symlink, and restore evrything
<infinisil> How do you clean it up then?
<clever> if you intentionally symlink it to a different profile in the same area, it would probably work
qenuh has joined #nixos
<clever> lrwxrwxrwx 1 clever users 45 Oct 29 2017 .nix-profile -> /nix/var/nix/profiles/per-user/clever/profile
<clever> normal ^^
<infinisil> Oh or I guess you could create a new profile manually
<clever> if you delete that, and replace it with a symlink pointing to newprofile
<clever> (and it wont exist, thats normal)
<clever> nix will just keep going on that new profile
<infinisil> Oh I see
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cheater> if i'm in nix-shell, and i have a pkgs.writeScript "my_script" ${checkSetup}, how do i get the path to my_script?
<mattyu> cool - I'll give this a shot! Thanks!
<infinisil> > "${pkgs.writeScript "myscript" ''echo hi''}" # cheater
<{^_^}> "/nix/store/4prr9s0g5j2ygv4nj5lksaf3w2dhp2v0-myscript"
<cheater> oh i got it already
<cheater> right yeah
<cheater> thanks
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @nh2 opened pull request #40267 → manual: Clarify that limits.conf doesn't apply to systemd services. → https://git.io/vpXSt
jrolfs_ has quit [Ping timeout: 264 seconds]
<infinisil> > (pkgs.writeScript "myscript" ''echo hi'').outPath # <-- Alternatively
<{^_^}> "/nix/store/4prr9s0g5j2ygv4nj5lksaf3w2dhp2v0-myscript"
<mattyu> infinisil: what is this strategy of specifying packages in a nix file?
<qenuh> I have a Haskell project in a subdirectory that I'm building with callCabal2nix as part of a larger project. However, /any/ change to that larger project (i.e. not in the haskell subdirectory) causes the Haskell project to rebuild from scratch. Any tips as to how to start investigating? One thing I see that I don't understand is the rebuilds are always preceded with a line like `building
<qenuh> '/nix/store/cca375n0dpdbvxai58lrypcn6kv3j0x6-discard.nix.drv'...`
<cheater> thanks again
<clever> qenuh: run lib.cleanSource over the source dir before you pass it to callCabal2nix
<clever> callCabal2nix "name" (lib.cleanSource ./haskell) {}
<infinisil> ,home-manager mattyu
<{^_^}> mattyu: home-manager allows you to manage your per-user configuration similarly to NixOS' configuration.nix: https://nixos.wiki/wiki/Home_Manager
<infinisil> Or alternatively with `nix-env -ir -f ./default.nix`
<qenuh> There are already no changes to the only directory `callCabal2nix` is supposed to be looking at. (e.g. the rebuild is triggered by `touch foo` in a parent directory) and I'm using `gitignoreSource` already
<infinisil> > with import <nixpkgs> {}; { inherit hello; } # mattyu: the default.nix looking like this, for having package hello installed
<{^_^}> { hello = <CODE>; }
<qenuh> clever: ^
<cheater> how do i add a shebang to my_script? do i just put #!/bin/bash in there, or is there some special thing i use? assuming nix would use its own bash
<clever> cheater: i always use #!/usr/bin/env bash
<clever> cheater: nix will then patch it with an absolute path in the fixup phase
<cheater> i would assume nix would also use its own env
<clever> and if its unpatched, env just searched PATH for you
<clever> qenuh: try using cleanSource and see if it makes a difference
<mattyu> Thanks for the guidance - will take a look at home manager or this default.nix suggestion..
<mattyu> Still lots to learn here!
<qenuh> clever: Trying that now. While I'm waiting, does the `discard` thing sound familiar to you?
Arcaelyx_ has quit [Read error: Connection reset by peer]
<cheater> $ which env
<cheater> /nix/store/4wixf2yjysvb38zrmk5i6dis5pabpbj0-coreutils-8.28/bin/env
<clever> qenuh: nope
<cheater> so maybe hardcoding /usr/bin/env isn't so good?
<clever> lrwxrwxrwx 1 root root 66 May 1 07:26 /usr/bin/env -> /nix/store/qrxs7sabhqcr3j9ai0j0cp58zfnny0jz-coreutils-8.29/bin/env
<clever> cheater: nixos always has this symlink
freeman42x]NixOS has quit [Quit: Leaving]
<clever> the only time it wont exist is when your inside a sandboxed build
chrisbarrett has quit [Ping timeout: 246 seconds]
<qenuh> clever: Still rebuilds despite `cleanSource`
Arcaelyx has joined #nixos
<clever> qenuh: did you do 2 full builds or 1?, cleanSource will likely cause 1 rebuild because the paths change some
<qenuh> 2
<infinisil> ,nix-env-r = A simple way to install all your packages declaratively is to use `nix-env -ir default.nix` with the file of the form `with import <nixpkgs> {}; { inherit hello; }` to install hello. Note that with the -r switch this removes all your previously installed packages
<{^_^}> nix-env-r defined
chrisbarrett has joined #nixos
<clever> qenuh: run nix-instantiate on the derivation, then make a change and nix-instantiate again, then nix-diff the 2 .drv's
jperras has quit [Ping timeout: 240 seconds]
<cheater> aha, just using ${bash}/bin/bash is fine
<infinisil> ,outPath = To get the resulting output path of your derivation/package, either interpolate it in a string: "${pkgs.hello}" or use the outPath attribute: pkgs.hello.outPath
<{^_^}> outPath defined
<clever> cheater: there is also ${stdenv.shell}
<infinisil> > ${stdenv.shell}
<{^_^}> error: syntax error, unexpected DOLLAR_CURLY, at (string):21:1
<infinisil> > "${stdenv.shell}"
<{^_^}> "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
<qenuh> clever: Will try that. One thing I just noticed. I'd been doing `pkgs.lib.cleanSource ../ + "haskell-project"` so that I can take advantage of the .gitignore in the project root with `gitignoreSource`. When I switch to the more (at the moment) more straightforward `pkgs.lib.cleanSource ./.` I don't get any rebuilds
Have-Quick has joined #nixos
<clever> > let f = x: "foo" in x "a" + "b"
<{^_^}> error: syntax error, unexpected IN, expecting ';', at (string):21:18
<clever> > let f = x: "foo"; in x "a" + "b"
<{^_^}> attempt to call something which is not a function but an integer, at (string):21:22
<clever> > let f = x: "foo"; in f "a" + "b"
<{^_^}> "foob"
<qenuh> I guess nix doesn't realize that an unchanged subdirectory in a directory that has changed is unchanged?
<clever> qenuh: due to order of operations, that is interting ALL of ./., which includes the non-haskell changes, then appending "haskell-project" to the path
<clever> qenuh: that is why it fails
<clever> you want to wrap the (path+string)
<clever> so it applies cleansource to the subdir
<qenuh> Yeah. Unfortunately that doesn't work with `gitignoreSource` because it expects to find the `.gitignore` file in the given directory. I guess I was implicitly hoping nix would recognize that all the files in my subdirectory are the same even if the unused/irrelevant files in the parent directory have changed. I will just change to use one `.gitignore` file for each subproject. Thanks for talking through it!
<clever> cleanSource doesnt read .gitignore
jperras has joined #nixos
rauno has joined #nixos
<qenuh> Yeah, `gitignoreSource` does
<qenuh> Which I prefer/need
blankhart has joined #nixos
Guest86765 has left #nixos [#nixos]
<clever> qenuh: what about running cleanSource on a subdir of gitignoreSource?
<clever> with the right order of operations enforced
jrolfs_ has joined #nixos
jrolfs has joined #nixos
jperras has quit [Ping timeout: 250 seconds]
<qenuh> What would that do? I think I'd still need to `gitignoreSource` the parent directory which incur the spurious rebuild even if I `cleanSource` on the resulting child directory
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs_ has quit [Ping timeout: 240 seconds]
<clever> qenuh: cleanSource will hash the directory after cleaning, and base its storepath on that hash
<clever> qenuh: and if the contents of the dir havent changed, the path wont change, and it wont trigger a rebuild
<qenuh> ooh, interesting. I will try that then
<clever> gitignoreSource does the same, but its acting on the hash of the entire project, not the subdir
<qenuh> Yeah. So I'm really just "abusing" `cleanSource` in this instance to rehash things
iqubic has joined #nixos
<clever> yeah
<qenuh> ugh. Get an error about `string '...' cannot refer to other paths` which I encountered recently
<clever> try without the gitignoreSource and see how bad the rebuilds are?
<qenuh> I think I'll just try the thing I mentioned early about having a "local" `.gitignore` for each subproject. It's not really a bad solution anyway
joehh has joined #nixos
mattyu has quit [Ping timeout: 250 seconds]
<qenuh> thanks again
<clever> yep
orivej has quit [Ping timeout: 264 seconds]
chrisbarrett has quit [Ping timeout: 246 seconds]
<infinisil> > fortune
<{^_^}> "Your boyfriend takes chocolate from strangers."
jbboehr has joined #nixos
jrl has quit [Ping timeout: 248 seconds]
joehh has quit [Ping timeout: 256 seconds]
* infinisil doesn't have a boyfriend
[Leary] has joined #nixos
Lears has quit [Ping timeout: 240 seconds]
<iqubic> > fortune
<{^_^}> "Stay the curse."
<iqubic> It should be course.
jperras has joined #nixos
<samueldr> it may be a play on word, like many fortunes
jperras has quit [Ping timeout: 260 seconds]
rosa has joined #nixos
blankhart has quit [Quit: WeeChat 1.9.1]
rosa has quit [Client Quit]
Lears has joined #nixos
[Leary] has quit [Ping timeout: 246 seconds]
schoppenhauer has quit [Ping timeout: 250 seconds]
ryantrinkle has joined #nixos
schoppenhauer has joined #nixos
rosa has joined #nixos
jrolfs has joined #nixos
jtojnar has quit [Ping timeout: 256 seconds]
drakonis has quit [Read error: Connection reset by peer]
jrolfs_ has joined #nixos
jrolfs has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peterhoeg pushed to master « hugo: 0.36.1 -> 0.40.3 »: https://git.io/vpXQK
jgertm has joined #nixos
lukec has quit [Ping timeout: 265 seconds]
jrolfs has joined #nixos
jrolfs_ has quit [Ping timeout: 240 seconds]
jperras has joined #nixos
lord| has quit [Ping timeout: 240 seconds]
<infinisil> Thanks samueldr, #38372 fixed it indeed :D
<{^_^}> https://github.com/NixOS/nixpkgs/pull/38372 (by abbradar, closed): acme service: generate a CA for self-signed certificate
<infinisil> I had to also clean my /var/lib/acme though
lukec has joined #nixos
jperras has quit [Ping timeout: 255 seconds]
doyougnu has joined #nixos
spear2 has joined #nixos
Ross has quit [Ping timeout: 260 seconds]
jrolfs has quit [Ping timeout: 255 seconds]
Ross has joined #nixos
doyougnu has quit [Ping timeout: 246 seconds]
have-quick[m] has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40210 → Fix android prebuilt ghc [Fixes #40194] → https://git.io/vpPfR
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vpXQp
<{^_^}> → 0afb45d5 by @ElvishJerricco: Set the C standard when building GHC
<{^_^}> → 8012aee0 by @ElvishJerricco: Don't enableShared in GHC when using android prebuilt
<{^_^}> → 9dadb9e3 by @ElvishJerricco: Fix hsc2hs cross compiler build
lord| has joined #nixos
<Myrl-saki> LMAO
<Myrl-saki> The first time I signed a git commit.
<Myrl-saki> Is the time where I made a typo in the message.
<Myrl-saki> Fucking hell. :(
<Myrl-saki> Err, wrong channel.
jrolfs has joined #nixos
jperras has joined #nixos
Kim has quit [Ping timeout: 240 seconds]
rummik has quit [Ping timeout: 255 seconds]
dhess has quit [Ping timeout: 255 seconds]
Kim has joined #nixos
rummik has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
ericsagnes has quit [Ping timeout: 255 seconds]
jperras has quit [Ping timeout: 256 seconds]
ryantrinkle has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40268 → uclibc: Fix eval and clean up → https://git.io/vpX7c
dhess has joined #nixos
qenuh has quit [Ping timeout: 246 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ericsagnes has joined #nixos
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40269 → Uclibc 18.03 → https://git.io/vpX7E
jrl has joined #nixos
jrolfs has quit [Ping timeout: 250 seconds]
justanotheruser has quit [Ping timeout: 255 seconds]
andreabedini has joined #nixos
dhess has quit [Ping timeout: 260 seconds]
dhess has joined #nixos
jrolfs has joined #nixos
Ridout has quit [Quit: Lost terminal]
rosa has quit [Quit: rosa]
ftzm has quit [Ping timeout: 250 seconds]
Rusty1_ has quit [Quit: Konversation terminated!]
jrolfs has quit [Ping timeout: 250 seconds]
jrolfs has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40268 → uclibc: Bump and clean → https://git.io/vpX7c
<{^_^}> [nixpkgs] @Ericson2314 pushed 7 commits to master: https://git.io/vpX7F
<{^_^}> → e42a7a5c by @Ericson2314: lib/systems: Add uClibc just like MUSL
<{^_^}> → f063a860 by @Ericson2314: xbursttools: Cleanup slightly
<{^_^}> → d65fe656 by @Ericson2314: uclibc: Fix eval
<{^_^}> [nixpkgs] @Ericson2314 pushed 5 commits to release-18.03: https://git.io/vpX7N
<{^_^}> → f063a860 by @Ericson2314: xbursttools: Cleanup slightly
<{^_^}> → e42a7a5c by @Ericson2314: lib/systems: Add uClibc just like MUSL
<{^_^}> → d65fe656 by @Ericson2314: uclibc: Fix eval
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40269 → Uclibc 18.03 → https://git.io/vpX7E
justanotheruser has joined #nixos
MP2E has quit [Remote host closed the connection]
MP2E has joined #nixos
robstr has joined #nixos
MP2E has quit [Remote host closed the connection]
pingu_ has joined #nixos
MP2E has joined #nixos
<pingu_> Hey, I'm trying to set up a CI server with hydra. I got my Haskell project building on it after a bunch of pain, but, now I need to get it *off* the hydra server and into production.
Guanin_ has quit [Ping timeout: 246 seconds]
<pingu_> There seems to be very little documentation around channels, and they seem to be be disabled on my hydra deployment: "Nix channels are not supported by this Hydra server.
uptime is now known as democracytime
pmade has quit [Ping timeout: 264 seconds]
<pingu_> This seems to be related to my store_uri choice, or my server_store_uri choice? There's very little documentation around this, and I'm wondering what the sanest route to actually serving these packages is.
<pingu_> I'm quite surprised I can't just "download" the resulting artefacts? Can't I?
jrolfs has quit [Ping timeout: 246 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
jrolfs has joined #nixos
<clever> pingu_: the hydra website is also a binary cache
<clever> pingu_: just add it to the binary caches list in your nix config, and run nix-build against the identical nix expressions, and it will download the pre-built stuff
<pingu_> OK so channels aren't really used? I'll give it a go now, thanks.
jD91mZM2 has joined #nixos
Guanin_ has joined #nixos
<clever> pingu_: channels can be used, but i dont really bother with them
<jD91mZM2> This is probably a stupid question, but why do I need to allow my router in my firewall in order to use a wireless connection? I'm not using the default DNS, and I assume the wireless connection isn't a traditional one that respects the firewall... or is it?
spear2 has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 250 seconds]
<clever> jD91mZM2: is there any ethernet plugged in while your testing the wifi?
<jD91mZM2> clever: Nope
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40270 → treewide: Get rid of `*Platform.arch` → https://git.io/vpX5P
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40272 → treewide: Get rid of `*Platform.arch` → https://git.io/vpX51
<jD91mZM2> clever: What difference could it make? Now I'm even more curious :P
<clever> jD91mZM2: does /etc/resolv.conf update when you connect with wpa_supplicant?
<jD91mZM2> clever: I use NetworkManager. And it does.
<{^_^}> [nixpkgs] @FRidh pushed to master « python.pkgs.traitlets: fix build and don't include .pytest_cache »: https://git.io/vpX59
<clever> if you have 2 connections active, it may stick to the first one that was working
<clever> and can you ping that dns server?
<jD91mZM2> I didn't try pinging my ISPs official one, but I tried pinging 1.1.1.1, and that seemed to send one ping but I didn't get any responses
<jD91mZM2> (and yes 1.1.1.1 is excluded from my killswitch of course)
<clever> sounds more like routing or gateway problems
<clever> check `ip route` and confirm if the gateway and routes are right, and try to ping the gateway
<jD91mZM2> Right now I'm on a VPN so ip route just shows me the VPN's IP
<kuri0> does nix use sha256 since the hashes are shorter than sha256
<jD91mZM2> Basically I have a killswitch that blocks all connections except for my DNS and VPN. But I couldn't actually either ping my DNS or connect to my VPN without first also excluding 192.168.0.0/24 from that list
<jD91mZM2> So I have gotten internet working, I'm just really curious why that is
<kuri0> i think its sha1
<clever> kuri0: one min
<jD91mZM2> kuri0: I've noticed that as well. Their hashes seem to be 52 characters instead of 64.
<pingu_> (Trying to use the binary cache)
<jD91mZM2> kuri0: But the nix expressions are in fact saying "sha256" so idk
<pingu_> isLocalStore seems to check store_uri, like the channels code path I was looking at before. My store_uri is file:///var/hydra-cache/, or something like that.
jrolfs has quit [Ping timeout: 255 seconds]
<clever> pingu_: you set a config flag that uploads the build results elsewhere
<clever> pingu_: then you need to create a static http server that serves the files in that directory i believe
FRidh has joined #nixos
<clever> pingu_: and that static http server is the binary cache
<pingu_> clever: do you remember what the config file is? This is probably what I'm missing
<pingu_> Uh, config flag I mean
<clever> pingu_: that would be the store_uri you just pasted
jrolfs has joined #nixos
<pingu_> Ooh. Are you saying that I should unset my store_uri and use the default if I want hydra to handle it?
<clever> yeah
<clever> or manually serve that directory with nginx
<kuri0> clever, so its sha256 with the last 10 characters removed ?
<clever> kuri0: something like that
<clever> kuri0: and its base32 rather then base16
<pingu_> clever: I suspect manuallly serving that directory wouldn't work, as it's just a bunch of xxxxxxx.narinfo files
<pingu_> No nix-cache-info
<clever> you can manually add a nix-cache-info
<pingu_> Alas I'll see where unsetting that gets me, although I don't see where I'll set the keys up now.
<clever> also, do the .narinfo files have nar: paths pointing to files that exist?
dhess has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #40274 → slang: 2.3.1a -> 2.3.2 → https://git.io/vpXdI
<pingu_> clever: they have paths pointing to /nix/store, but they don't exist...
<clever> pingu_: ah, then youll probably want to switch to what i linked above
<clever> pingu_: the first one is how the hydra is configered, the 2nd is how all the clients are configured to use it
<kuri0> clever, doesn't using base32 only make it longer ?
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> kuri0: base32 means each character is from a set of 32, rather then a set of 16
<clever> so it has twice the chars to pick from when compared to hex
<pingu_> Right, ok. I had it like that before in /nix/store, but moved it because that was mounted readonly with nixops.
dhess has joined #nixos
<pingu_> I'll move it back and give it a go.
<kuri0> putting a sha256 hash through base32 makes it longer
<pingu_> Thanks so much for the examples...
<clever> kuri0: the binary of the hash, not the hex of the hash
<kuri0> oh
<clever> so base32 is half the size of base16
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/17b2ef2461c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jgertm has quit [Ping timeout: 240 seconds]
srl295 has quit [Quit: Connection closed for inactivity]
jrolfs has quit [Ping timeout: 250 seconds]
<pingu_> clever: should my hydra-queue-runner get rw access to /nix/store/nar? I.e. is this conceptually the correct thing?
<pingu_> (I have no idea what thes .nar thigns are, I presume they're metadata for the binary cache)
<Myrl-saki> clever: Wouldn't it be 4/5 the size?
dhess has quit [Ping timeout: 240 seconds]
<sphalerite> yeah I think so too Myrl-saki
dhess has joined #nixos
<clever> pingu_: it sounds like your configuring things wrong
<pingu_> Indeed
<clever> pingu_: hydra should just be talking to the nix-daemon to import all things into the local store
<clever> and not attempting to write to a nar directory
noefk has quit [Ping timeout: 260 seconds]
Synthetica has joined #nixos
<pingu_> clever: hydra-queue-runner seems to be trying to unlink nix-cache-info.tmp.28403 files in /nix/store/
<pingu_> So I'm wondering if myabe the originial mis-configuration has left state behind in the database
knupfer has joined #nixos
<clever> pingu_: try just deleting the store-uri from your config entirely, and then see what it does
ericsagnes has quit [Ping timeout: 255 seconds]
sys9mm has quit [Ping timeout: 240 seconds]
<pingu_> clever: I think I fixed it for now... thanks. Must have been some startup leftover state, I just ran it as root to get past the permission errors once and it's starting normally now.
<clever> it shouldnt need to run as root
<clever> which config file are you editing?
<pingu_> I'm not, just ran it once to clear out the state.
sys9mm has joined #nixos
<clever> ah
<pingu_> hydra.conf
<pingu_> It's running, but this seems weird: May 10 05:47:09 hydra1 hydra-queue-runner[29198]: copying path '/nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap-glibc-2.26-131' to 'file:///nix/store'...
<clever> nixos is going to undo that change every time you reboot
<clever> you must edit the config in configuration.nix and then nixos-rebuild switch
noefk has joined #nixos
jrolfs has joined #nixos
<pingu_> I'm actually deploying via nixops to AWS, so, pushing the changes that way
ericsagnes has joined #nixos
<pingu_> clever: so, as mentioned, things *seem* wrong still.
<pingu_> May 10 05:52:43 hydra1 hydra-queue-runner[29198]: while copying/substituting output ‘/nix/store/yd8jnqsrq92vs7n73avvq1ayi0axllbl-which-2.21’ of ‘/nix/store/k5bvxpkscjr5i60kkd1b9aahcb6n8w10-which-2.21.drv’: opening file '/nix/store/2kcrj1ksd2a14bm5sky182fv2xwfhfap.narinfo.tmp.29198': Permission denied
<pingu_> Do you think that hydra-queue-runner should b trying to open these narinfo files in /nix/store/?
<clever> has hydra-queue-runner restarted since you deployed, what does the new hydra.conf say?
<clever> it shouldnt be opening that file
<pingu_> Yes, I've restarted it.
<pingu_> The current one says:
<clever> what does the new hydra.conf say?
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40272 → treewide: Get rid of `*Platform.arch` → https://git.io/vpX51
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to release-18.03: https://git.io/vpXdF
<{^_^}> → a02be2bd by @Ericson2314: treewide: Get rid of `*Platform.arch`
<{^_^}> → 45cd6090 by @Ericson2314: Merge pull request #40272 from obsidiansystems/lib-platform-simplify-18.03
<{^_^}> [nixpkgs] @Ericson2314 pushed 4 commits to master: https://git.io/vpXdb
<{^_^}> → a02be2bd by @Ericson2314: treewide: Get rid of `*Platform.arch`
<{^_^}> → feb648ce by @Ericson2314: Merge commit '70963b382f3f820ba6d3bc3b3aaf50a2957ec1ff' into lib-platform-simplify
<{^_^}> → c17f79ea by @Ericson2314: Merge remote-tracking branch 'upstream/master' into lib-platform-simplify
<pingu_> store_uri = file:///nix/store?secret-key=/etc/nix/build.daiseelabs.com-1/secret
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40270 → treewide: Get rid of `*Platform.arch` → https://git.io/vpX5P
leat has quit [Ping timeout: 255 seconds]
<clever> 2018-05-10 02:46:31 < clever> pingu_: try just deleting the store-uri from your config entirely, and then see what it does
<pingu_> sure
<{^_^}> [nixpkgs] @Ericson2314 pushed 8 commits to staging: https://git.io/vpXdp
<{^_^}> → e42a7a5c by @Ericson2314: lib/systems: Add uClibc just like MUSL
<{^_^}> → 3fa0ba91 by @Ericson2314: lib/systems: Parse more arm cpu types
<{^_^}> → f063a860 by @Ericson2314: xbursttools: Cleanup slightly
<pingu_> clever: P.S. which version of hydra do you use? The one in nixpkgs?
<clever> yeah
<pingu_> I might not be doing that... I'll look at that next.
dadadus[m] has quit [*.net *.split]
WilliamHamilton has quit [*.net *.split]
Singularity[m] has quit [*.net *.split]
DenisLehmann[m] has quit [*.net *.split]
spacekitteh[m] has quit [*.net *.split]
smrtak[m] has quit [*.net *.split]
asp_ has quit [*.net *.split]
nh2[m] has quit [*.net *.split]
Albtrz[m] has quit [*.net *.split]
posco has quit [*.net *.split]
patrl[m] has quit [*.net *.split]
jgl[m] has quit [*.net *.split]
bobvanderlinden_ has quit [*.net *.split]
nelag[m] has quit [*.net *.split]
peel[m] has quit [*.net *.split]
Minijackson[m] has quit [*.net *.split]
BurNiinTRee[m] has quit [*.net *.split]
petersjt014[m] has quit [*.net *.split]
timclassic has quit [*.net *.split]
davidak[m] has quit [*.net *.split]
pierrebeaucamp[m has quit [*.net *.split]
cornu[m] has quit [*.net *.split]
olejorgenb[m] has quit [*.net *.split]
reactormonk[m] has quit [*.net *.split]
CoopDot has quit [*.net *.split]
<pingu_> clever: success! Removing that gives me a nix-cache-info successfully serving, but I don't know how I'm going to find it where to find my secret key now.
<clever> binary_cache_secret_key_file = /etc/nix/hydra.iohk.io-1/secret
<clever> the example i linked has this
<pingu_> Yeah... I get deprecated errors if I do that.
dhess has quit [Ping timeout: 246 seconds]
<clever> see if it still signs things
<pingu_> Hence why I followed the instructions in the first place to convert to store_uri. I read somewhere that it's not actually deprecated, though.
<clever> we may need to double-check the docs for store_uri
<pingu_> Sure. Will do. Thanks.
LysergicDreams has quit [Ping timeout: 250 seconds]
LysergicDreams has joined #nixos
griff_ has joined #nixos
cruxeternus has quit [Remote host closed the connection]
noefk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40275 → fontconfig, misc A/V packages: No crossAttrs → https://git.io/vpXFq
dhess has joined #nixos
MP2E has quit [Remote host closed the connection]
fiddlerwoaroof_ has quit [Quit: Gone.]
fiddlerwoaroof has joined #nixos
fiddlerwoaroof has quit [Remote host closed the connection]
fiddlerwoaroof has joined #nixos
dhess has quit [Ping timeout: 250 seconds]
jtojnar has joined #nixos
rosa has joined #nixos
fiddlerwoaroof has quit [Client Quit]
jrl has quit [Read error: Connection reset by peer]
fiddlerwoaroof has joined #nixos
fiddlerwoaroof has quit [Remote host closed the connection]
<sphalerite> Anyone familiar with distributed computing stuff — is there a magical solution out there with which I can get multiple machines to behave as if they're all one big machine?
fiddlerwoaroof has joined #nixos
<sphalerite> I'd quite like to split building a single derivation across 10 machines
noefk has joined #nixos
jperras has joined #nixos
<giaco> if I compile nix to run on a different prefix, will it recompile everything or will it perform magic trickery and install binaries just like if it were /nix ?
<sphalerite> It will recompile everything
<sphalerite> But there is another option — chroot stores
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40275 → fontconfig, misc A/V packages: No crossAttrs → https://git.io/vpXFq
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to staging: https://git.io/vpXF6
<{^_^}> → 7d0906ee by @Ericson2314: fontconfig: Clean up cross
<{^_^}> → 7864a17b by @Ericson2314: misc video players: Clean up cross
<{^_^}> → 7d8e16d9 by @Ericson2314: Merge pull request #40275 from obsidiansystems/fewer-crossAttrs
<sphalerite> I'm not sure they work on android, but the idea is that nix creates a mount namespace (and a user namespace to allow this when necessary), and bind-mounts some other path to /nix
<giaco> user namespaces are not available on android
dhess has joined #nixos
<giaco> the only way to perform similar magic is chroot if rooted or proot that works without root
drag has joined #nixos
jperras has quit [Ping timeout: 260 seconds]
<sphalerite> yeah then it'll only work with root on android
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/testing: Fix output of systemd messages »: https://git.io/vpXF7
rosa_ has joined #nixos
rosa_ has quit [Excess Flood]
iqubic` has joined #nixos
rosa_ has joined #nixos
noefk has quit [Ping timeout: 260 seconds]
iqubic has quit [Ping timeout: 246 seconds]
rosa has quit [Ping timeout: 246 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.0]
jD91mZM2 has joined #nixos
<jD91mZM2> giaco: You're running NixOS on android? o_o
<giaco> do you have any good read that can help me in choosing nix over guix?
<giaco> jD91mZM2: just nix
<jD91mZM2> That's really cool
<giaco> well, "just"
<giaco> brb
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noefk has joined #nixos
<jD91mZM2> Also, I swear I've seen guix somewhere before, just never understood the point until now.
<jD91mZM2> Looks like an interesting competitor
hamishmack has joined #nixos
andreabedini has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40276 → Fewer cross attrs → https://git.io/vpXb0
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @aszlig pushed to master « nixos/dovecot: Fix usage of dhparams option »: https://git.io/vpXbP
<sphalerite> jD91mZM2: it's actually based on nix
Have-Quick has quit [Quit: Have-Quick]
<jD91mZM2> sphalerite: Seems like it doesn't use the nix language though, which is sad :(
<sphalerite> The key differences are 1) Guile rather than nix language, 2) Very strong free software focus (I don't think there's any proprietary software in guix's standard package collection), and 3) better thought out UI from the beginning
<sphalerite> jD91mZM2: that was one of the design goals AFAIK. Use an established existing language (and what better choice than Guile for a GNU project!) rather than a DSL that doesn't have any other use.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #40277 → ansible: update point releases and unify build → https://git.io/vpXbA
jrolfs has joined #nixos
<jD91mZM2> I guess 3 is going to be fixed with Nix 2.0?
rosa_ is now known as rosa
<sphalerite> https://news.ycombinator.com/item?id=16490027 the top comment seems like a pretty good explanation
<sphalerite> jD91mZM2: no, nix 2.0 is out and it hasn't fixed it yet ;)
Sonarpulse has quit [Ping timeout: 250 seconds]
<sphalerite> But yes, the new UI should be better.
<sphalerite> I do feel like guix might be a bit better engineered than nix, but I've not really tried it.
tertle||eltret has quit [Quit: Connection closed for inactivity]
<sphalerite> "The projects are not competing with one another (there are orders of magnitudes more people out there who use neither Guix nor Nix than there are users of functional package managers, so there's no point in trying to get people who use Nix to switch to Guix). At our recent Guix fringe event before FOSDEM Eelco Dolstra (who invented functional package management and Nix) gave a talk on the future of Nix
<sphalerite> surrounded by Guix hackers --- there is no rivalry between these two projects."
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c7be9f247aa (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
rosa is now known as mgood7123
<jD91mZM2> sphalerite: Okay, sounds interesting
jperras has joined #nixos
mgood7123 is now known as rosa
<giaco> thank you for the info
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6db7f92cc2a (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
<robstr> Morning, I'm running `mountpoint` from a systemd on nixos (nixops) which fails due to `command not found` but if I login on the machine, it's working maybe I need to run the service after all sym links are active ? :-/
jperras has quit [Ping timeout: 250 seconds]
<clever> robstr: systemd.services.NAME.path = [ pkgs.something ];
<sphalerite> robstr: systemd services have an empty path by default, you need to add it as clever says
<sphalerite> robstr: in your case "something" will be utillinux
<robstr> Cool, thank you - can you tell me the reason for this strange design ?
<clever> robstr: you must clearly define exactly what you service needs, and not risk maybe getting it because you already installed it, then it fails for others
<sphalerite> To avoid impurities. We don't want services behaving differently depending on configuration that's not relateed to them
<robstr> I see, makes sense :) Ty really much
rosa has quit [Remote host closed the connection]
Ariakenom has joined #nixos
<jD91mZM2> Has anybody here installed guix on NixOS?
dbe has joined #nixos
rosa has joined #nixos
Sonarpulse has joined #nixos
<sphalerite> jD91mZM2: you might want to ask a more specific question, like "does guix work well on nixos?" or "how do I install guix on nixos?"
rct has quit [Ping timeout: 256 seconds]
spear2 has joined #nixos
<angerman> Sonarpulse: hey there, got a minute?
democracytime is now known as uptime
jbboehr has quit [Ping timeout: 246 seconds]
jrolfs has quit [Ping timeout: 255 seconds]
jrolfs has joined #nixos
pingu_ has quit [Ping timeout: 250 seconds]
pingu_ has joined #nixos
filwisher has joined #nixos
jD91mZM2 has quit [Ping timeout: 250 seconds]
leat has joined #nixos
jD91mZM2 has joined #nixos
rosa is now known as mgood7123
<jD91mZM2> sphalerite: True. Does guix work well on NixOS?
jrolfs_ has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 73 commits to staging: https://git.io/vpXxY
<{^_^}> → ca060419 by @teto: qemu-guest-agent: init module
<{^_^}> → 882ed257 by @bfortz: owncloud-client: 2.3.4 -> 2.4.1
<{^_^}> → 837e8c34 by @bcdarwin: conglomerate: init at 2017-09-10
andreabe_ has joined #nixos
andreabedini has quit [Ping timeout: 246 seconds]
<steveeJ> does the ISO support automatic installation if the configuration is present on another storage device with e.g. a specific label?
<sphalerite> steveeJ: no, but you can make your own that does
<steveeJ> fair enough! are there docs on this or does it require deep code digging?
andreabe_ has quit [Ping timeout: 248 seconds]
pingu_ has quit [Ping timeout: 250 seconds]
pingu_ has joined #nixos
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
<sphalerite> steveeJ: I don't know of any specific docs, but clever has something
<sphalerite> hang on
<robstr> sphalerite: Still struggle with my service definition, https://gist.github.com/rsoeldner/0fa53c6166f2a0d1b8daa7b62c79369c not It is failing with: 'initializeArchiver.service: Main process exited, code=exited, status=1/FAILURE' when running the script by hand it return 0
andreabedini has joined #nixos
jbboehr has joined #nixos
<robstr> sphalerite: Does systemd differ on other points ?
<{^_^}> [nixpkgs] @markus1189 opened pull request #40278 → googleearth: init at 7.1.8.3036 → https://git.io/vpXxd
<jD91mZM2> robstr: I don't know if it'll work, but try checking journalctl for output
<robstr> jD91mZM2: running `journalctl -u initializeArchiver` just print `initializeArchiver.service: Main process exited, code=exited, status=1/FAILURE` nothing more
<jD91mZM2> sphalerite: steveeJ: also, https://nixos.wiki/wiki/Creating_a_NixOS_live_CD
<sphalerite> steveeJ: and clever's thing for mostly-automated installation https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix
<clever> you can also build a custom livecd, that includes justdoit in the image
<sphalerite> robstr: not sure about this one.
xy2_ has joined #nixos
angerman has quit [Excess Flood]
angerman has joined #nixos
<jD91mZM2> robstr: Are you sure that systemd scripts support sh-like syntax?
jackdk has quit [Ping timeout: 240 seconds]
<jD91mZM2> Maybe the if statements aren't supported and you have to pipe stuff into bash... idk
<robstr> jD91mZM2: nix created a shell script like this https://gist.github.com/rsoeldner/ff896bc8314e6ec66a80d8ffcba792ba and runs it
<robstr> sphalerite: np, but ty
thc202 has joined #nixos
<clever> jD91mZM2: oh, of note, if you try to run a "script" that lacks a #! but it is +x, bash will just run itself on the file
alex`` has joined #nixos
<clever> which leads to scripts only working when ran from a shell
<clever> robstr: oh, and i already have s3fs working without any fancy systemd units
<clever> this mounts an s3fs on bootup
smichel has joined #nixos
smichel has left #nixos [#nixos]
<{^_^}> Channel nixos-18.03-small advanced to https://github.com/NixOS/nixpkgs/commit/45cd6090d9a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-18.03-small)
<robstr> clever: I see ok if i can't find a solution for this i will go with your approach :)
<{^_^}> [nixpkgs] @FRidh pushed 64 commits to staging: https://git.io/vpXhf
<{^_^}> → a8c7973a by @FRidh: python: Nikola: 7.8.14 -> 7.8.15
<{^_^}> → 5cfbfb66 by @FRidh: python: Cython: 0.28.1 -> 0.28.2
<{^_^}> → 39776667 by @FRidh: python: XlsxWriter: 1.0.2 -> 1.0.4
maingo has quit [Quit: Connection closed for inactivity]
<jD91mZM2> clever: I'm not sure how that's relevant, but interesting! Thanks for letting me know :)
<{^_^}> [nixpkgs] @FRidh pushed to staging « python.pkgs.Keras: fix build »: https://git.io/vpXhO
logzet has joined #nixos
xy2_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #40274 → slang: 2.3.1a -> 2.3.2 → https://git.io/vpXdI
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to master: https://git.io/vpXhG
<{^_^}> → 6e62f019 by @peterhoeg: slang: 2.3.1a -> 2.3.2
<{^_^}> → 0c810eea by @peterhoeg: mc: parallel build
<{^_^}> → dbd148d1 by @FRidh: Merge pull request #40274 from peterhoeg/u/slang
<jD91mZM2> clever: Does that mean that `#!/usr/bin/env bash` or `#!/bin/bash` are both completely stupid and useless?
<jD91mZM2> Or does it vary per system?
<colemickens> I think the point is just that if it lacks a shebang, bash will still try to run it.
<colemickens> However, I think '#!/usr/bin/env bash' is preferred in all cases.
<colemickens> Certainly you would need that on nixos.
<{^_^}> [nixpkgs] @FRidh merged pull request #40119 → calibre: 3.22.1 -> 3.23.0 → https://git.io/vpoEQ
<{^_^}> [nixpkgs] @FRidh pushed commit from R. RyanTM to master « calibre: 3.22.1 -> 3.23.0 »: https://git.io/vpXh6
<{^_^}> [nixpkgs] @FRidh merged pull request #40124 → alembic: 1.7.7 -> 1.7.8 → https://git.io/vpoaz
<{^_^}> [nixpkgs] @FRidh pushed commit from R. RyanTM to master « alembic: 1.7.7 -> 1.7.8 »: https://git.io/vpXhy
Turion has joined #nixos
logzet has quit [Remote host closed the connection]
<Turion> How do I force a full fsck of all partitions, with preen repair mode?
<Turion> (on reboot)
vaninwagen has joined #nixos
filwisher has quit [Ping timeout: 248 seconds]
logzet has joined #nixos
Turion has quit [Quit: Leaving.]
hotfuzz has quit [Ping timeout: 265 seconds]
hotfuzz has joined #nixos
timclassic has joined #nixos
dadadus[m] has joined #nixos
smrtak[m] has joined #nixos
nh2[m] has joined #nixos
Albtrz[m] has joined #nixos
spacekitteh[m] has joined #nixos
nelag[m] has joined #nixos
Singularity[m] has joined #nixos
reactormonk[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
jgl[m] has joined #nixos
posco has joined #nixos
petersjt014[m] has joined #nixos
DenisLehmann[m] has joined #nixos
asp_ has joined #nixos
WilliamHamilton has joined #nixos
patrl[m] has joined #nixos
Minijackson[m] has joined #nixos
davidak[m] has joined #nixos
CoopDot has joined #nixos
cornu[m] has joined #nixos
olejorgenb[m] has joined #nixos
bobvanderlinden_ has joined #nixos
peel[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
drag has quit [Quit: Connection closed for inactivity]
Turion has joined #nixos
<Turion> Ok, creating a file /forcefsck doesn't help, I think..?
Ariakenom has quit [Read error: Connection reset by peer]
<Turion> I'm getting TPM errors since the last upgrade, I wonder whether it's the disk
<Turion> (Or can nix-store --optimise cause that?)
jcrben has quit [Quit: Ping timeout (120 seconds)]
jcrben has joined #nixos
<clever> Turion: nix-store --optimize just uses hardlinks to merge identical files into eachother
dadadus[m] has quit [Ping timeout: 240 seconds]
WilliamHamilton has quit [Ping timeout: 240 seconds]
spacekitteh[m] has quit [Ping timeout: 240 seconds]
smrtak[m] has quit [Ping timeout: 240 seconds]
asp_ has quit [Ping timeout: 240 seconds]
nh2[m] has quit [Ping timeout: 240 seconds]
Albtrz[m] has quit [Ping timeout: 240 seconds]
patrl[m] has quit [Ping timeout: 240 seconds]
jgl[m] has quit [Ping timeout: 240 seconds]
nelag[m] has quit [Ping timeout: 240 seconds]
peel[m] has quit [Ping timeout: 240 seconds]
Minijackson[m] has quit [Ping timeout: 240 seconds]
timclassic has quit [Ping timeout: 240 seconds]
cornu[m] has quit [Ping timeout: 240 seconds]
olejorgenb[m] has quit [Ping timeout: 240 seconds]
reactormonk[m] has quit [Ping timeout: 240 seconds]
CoopDot has quit [Ping timeout: 240 seconds]
stekke[m] has quit [Ping timeout: 246 seconds]
Rick[29SMPittsbu has quit [Ping timeout: 246 seconds]
dylanjust[m] has quit [Ping timeout: 256 seconds]
gnihton[m] has quit [Ping timeout: 256 seconds]
edef[m] has quit [Ping timeout: 256 seconds]
wilornel has quit [Ping timeout: 256 seconds]
Deleh[m] has quit [Ping timeout: 256 seconds]
octalsrc[m] has quit [Ping timeout: 256 seconds]
SamuelEvans-Powe has quit [Ping timeout: 256 seconds]
mith[m] has quit [Ping timeout: 256 seconds]
bionicmac[m] has quit [Ping timeout: 256 seconds]
ConorCurry[m] has quit [Ping timeout: 256 seconds]
bachp has quit [Ping timeout: 256 seconds]
magnap has quit [Ping timeout: 256 seconds]
puffnfresh has quit [Ping timeout: 256 seconds]
clacke[m] has quit [Ping timeout: 256 seconds]
jmorriss[m] has quit [Ping timeout: 256 seconds]
herzmeister[m] has quit [Ping timeout: 256 seconds]
rszibele[m] has quit [Ping timeout: 260 seconds]
serentty[m] has quit [Ping timeout: 260 seconds]
Kallegro[m] has quit [Ping timeout: 260 seconds]
moredhel_[m] has quit [Ping timeout: 260 seconds]
peterhoeg has quit [Ping timeout: 260 seconds]
Obscurity[m] has quit [Ping timeout: 260 seconds]
hendrik[m] has quit [Ping timeout: 260 seconds]
YegorTimoshenko[ has quit [Ping timeout: 260 seconds]
attero has quit [Ping timeout: 260 seconds]
bugabinga[m] has quit [Ping timeout: 260 seconds]
Drakonis[m] has quit [Ping timeout: 260 seconds]
indefini has quit [Ping timeout: 260 seconds]
offlinehacker[m] has quit [Ping timeout: 260 seconds]
willghatch[m] has quit [Ping timeout: 260 seconds]
MaJoe[m] has quit [Ping timeout: 255 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 255 seconds]
Wysteriary[m] has quit [Ping timeout: 255 seconds]
wzy8L-B2[m] has quit [Ping timeout: 255 seconds]
greska[m] has quit [Ping timeout: 255 seconds]
bdimcheff has quit [Ping timeout: 255 seconds]
jesper has quit [Ping timeout: 255 seconds]
nmikhailov[m]1 has quit [Ping timeout: 255 seconds]
nmikhailov[m] has quit [Ping timeout: 255 seconds]
saschaveres[m] has quit [Ping timeout: 255 seconds]
r3mfKm[m] has quit [Ping timeout: 255 seconds]
rnhmjoj[m] has quit [Ping timeout: 255 seconds]
M-dpetranek has quit [Ping timeout: 255 seconds]
DIzFer[m] has quit [Ping timeout: 255 seconds]
Pneumaticat has quit [Ping timeout: 255 seconds]
abbafei[m] has quit [Ping timeout: 255 seconds]
malteof[m] has quit [Ping timeout: 255 seconds]
leons has quit [Ping timeout: 255 seconds]
hedning[m] has quit [Ping timeout: 255 seconds]
adisbladis[m] has quit [Ping timeout: 255 seconds]
demyan[m] has quit [Ping timeout: 255 seconds]
Elorm[m] has quit [Ping timeout: 255 seconds]
bennofs[m] has quit [Ping timeout: 255 seconds]
coorey[m] has quit [Ping timeout: 255 seconds]
htafdwes[m] has quit [Ping timeout: 255 seconds]
aramiscd[m] has quit [Ping timeout: 255 seconds]
dkellner[m] has quit [Ping timeout: 255 seconds]
equalunique[m] has quit [Ping timeout: 255 seconds]
dash has quit [Ping timeout: 255 seconds]
copumpkin has quit [Ping timeout: 255 seconds]
hl has quit [Ping timeout: 255 seconds]
rycee has quit [Ping timeout: 240 seconds]
chominist[m] has quit [Ping timeout: 240 seconds]
Bugworm[m] has quit [Ping timeout: 240 seconds]
TimePath has quit [Ping timeout: 240 seconds]
danielrf has quit [Ping timeout: 240 seconds]
jluttine[m] has quit [Ping timeout: 240 seconds]
hw9891[m] has quit [Ping timeout: 240 seconds]
comphez[m] has quit [Ping timeout: 240 seconds]
sphalerit has quit [Ping timeout: 240 seconds]
Khorne[m] has quit [Ping timeout: 240 seconds]
Christian[m]4 has quit [Ping timeout: 240 seconds]
card[m] has quit [Ping timeout: 240 seconds]
johnhamelink[m] has quit [Ping timeout: 240 seconds]
panther420[m] has quit [Ping timeout: 240 seconds]
aaronc[m] has quit [Ping timeout: 240 seconds]
fearlessKim[m] has quit [Ping timeout: 240 seconds]
thra11[m] has quit [Ping timeout: 240 seconds]
NickHu has quit [Ping timeout: 240 seconds]
jelewaus[m] has quit [Ping timeout: 240 seconds]
das-g[m] has quit [Ping timeout: 240 seconds]
bhipple[m] has quit [Ping timeout: 240 seconds]
felipeac[m] has quit [Ping timeout: 240 seconds]
midchildan[m] has quit [Ping timeout: 240 seconds]
spawnthink[m] has quit [Ping timeout: 240 seconds]
darkmeson[m] has quit [Ping timeout: 240 seconds]
nocent has quit [Ping timeout: 240 seconds]
paperdigits[m] has quit [Ping timeout: 240 seconds]
mudri[m] has quit [Ping timeout: 240 seconds]
lycium[m] has quit [Ping timeout: 240 seconds]
chatnowvvv[m] has quit [Ping timeout: 240 seconds]
atopuzov[m] has quit [Ping timeout: 240 seconds]
bkchr[m] has quit [Ping timeout: 240 seconds]
ArdaXi has quit [Ping timeout: 240 seconds]
wak-work has quit [Ping timeout: 240 seconds]
jameshjacksonjr[ has quit [Ping timeout: 240 seconds]
davidar has quit [Ping timeout: 240 seconds]
sorbet has quit [Ping timeout: 240 seconds]
codyopel has quit [Ping timeout: 240 seconds]
Singularity[m] has quit [Ping timeout: 240 seconds]
DenisLehmann[m] has quit [Ping timeout: 240 seconds]
bobvanderlinden_ has quit [Ping timeout: 240 seconds]
BurNiinTRee[m] has quit [Ping timeout: 240 seconds]
petersjt014[m] has quit [Ping timeout: 240 seconds]
davidak[m] has quit [Ping timeout: 240 seconds]
pierrebeaucamp[m has quit [Ping timeout: 240 seconds]
darkmeson[m]1 has quit [Ping timeout: 275 seconds]
scott1 has quit [Ping timeout: 246 seconds]
kureta[m] has quit [Ping timeout: 246 seconds]
kainospur[m] has quit [Ping timeout: 246 seconds]
sargon[m] has quit [Ping timeout: 246 seconds]
doubletwin[m] has quit [Ping timeout: 256 seconds]
Fedor[m] has quit [Ping timeout: 256 seconds]
tokudan[m] has quit [Ping timeout: 256 seconds]
have-quick[m] has quit [Ping timeout: 255 seconds]
Adev[m] has quit [Ping timeout: 246 seconds]
ngerstle[m] has quit [Ping timeout: 246 seconds]
itorres has quit [Ping timeout: 269 seconds]
bendlas has quit [Ping timeout: 269 seconds]
wervenyt[m] has quit [Ping timeout: 269 seconds]
nickdshsadhkas[m has quit [Ping timeout: 250 seconds]
omawnakw[m] has quit [Ping timeout: 250 seconds]
xnaveira[m] has quit [Ping timeout: 250 seconds]
ProofTechnique[m has quit [Ping timeout: 269 seconds]
nyanloutre[m] has quit [Ping timeout: 269 seconds]
Naughtmare[m] has quit [Ping timeout: 269 seconds]
MatrixStatsBot[m has quit [Ping timeout: 269 seconds]
M-ms has quit [Ping timeout: 269 seconds]
rihardsk[m] has quit [Ping timeout: 269 seconds]
timokau[m] has quit [Ping timeout: 269 seconds]
chedi[m] has quit [Ping timeout: 269 seconds]
apurvapavaskar[m has quit [Ping timeout: 269 seconds]
M-bbigras has quit [Ping timeout: 269 seconds]
necronian has quit [Ping timeout: 269 seconds]
wizek[m] has quit [Ping timeout: 269 seconds]
dtz has quit [Ping timeout: 269 seconds]
Barnabas[m] has quit [Ping timeout: 269 seconds]
freeman42x has quit [Ping timeout: 269 seconds]
demonslayer[m] has quit [Ping timeout: 269 seconds]
Ralith has quit [Ping timeout: 269 seconds]
sigmundv_ has joined #nixos
<clever> matrix is having another matrix moment, please hold
nD5Xjz has quit [Ping timeout: 260 seconds]
<Turion> clever: Yes, there should be no problems with hard linking usually, right? (I don't really understand yet what TPM is)
sellout-1 has quit [Ping timeout: 260 seconds]
<Turion> clever: matrix, the *decentralised* thing?
<clever> :D
<clever> Turion: the TPM is used for certain encryption tasks, and has nothing to do with fsck
markus1189 has quit [Ping timeout: 260 seconds]
markus1189 has joined #nixos
uvnikita[m] has quit [Ping timeout: 255 seconds]
PlasmaStrike[m] has quit [Ping timeout: 255 seconds]
jack[m] has quit [Ping timeout: 255 seconds]
slabity[m] has quit [Ping timeout: 255 seconds]
Dezgeg[m] has quit [Ping timeout: 255 seconds]
admin[m]3 has quit [Ping timeout: 255 seconds]
AdamSlack[m] has quit [Ping timeout: 255 seconds]
neecro[m] has quit [Ping timeout: 255 seconds]
ipj[m] has quit [Ping timeout: 255 seconds]
grahamc has quit [Ping timeout: 256 seconds]
EB[m] has quit [Ping timeout: 256 seconds]
telent[m] has quit [Ping timeout: 256 seconds]
yochai[m] has quit [Ping timeout: 256 seconds]
techtangents[m] has quit [Ping timeout: 256 seconds]
Phil[m]2 has quit [Ping timeout: 256 seconds]
ayyjayess[m] has quit [Ping timeout: 256 seconds]
thefloweringash[ has quit [Ping timeout: 256 seconds]
AlanPearce[m] has quit [Ping timeout: 256 seconds]
musicmatze[m] has quit [Ping timeout: 256 seconds]
ison[m] has quit [Ping timeout: 256 seconds]
johnazoidberg has quit [Ping timeout: 256 seconds]
joh[m] has quit [Ping timeout: 256 seconds]
M-fishy has quit [Ping timeout: 256 seconds]
dmitry-zen[m] has quit [Ping timeout: 256 seconds]
icetan has quit [Ping timeout: 256 seconds]
dywedir[m] has quit [Ping timeout: 256 seconds]
nD5Xjz has joined #nixos
tosh[m] has quit [Ping timeout: 260 seconds]
telent_[m] has quit [Ping timeout: 260 seconds]
Hook[m]1 has quit [Ping timeout: 260 seconds]
M-Dan has quit [Ping timeout: 260 seconds]
tfc[m] has quit [Ping timeout: 260 seconds]
crystalgamma[m] has quit [Ping timeout: 260 seconds]
unlmtd has quit [Ping timeout: 260 seconds]
templis[m] has quit [Ping timeout: 260 seconds]
florianjacob has quit [Ping timeout: 276 seconds]
gudea[m] has quit [Ping timeout: 276 seconds]
Vincenzo[m] has quit [Ping timeout: 276 seconds]
GuillaumeBuisson has quit [Ping timeout: 276 seconds]
amiloradovsky[m] has quit [Ping timeout: 276 seconds]
rardiol[m] has quit [Ping timeout: 276 seconds]
swayf[m] has quit [Ping timeout: 276 seconds]
fogbugz2345[m] has quit [Ping timeout: 276 seconds]
fogbugz123[m] has quit [Ping timeout: 276 seconds]
trikl[m] has quit [Ping timeout: 276 seconds]
moredhel has quit [Ping timeout: 276 seconds]
jamshoot[m] has quit [Ping timeout: 276 seconds]
pstn has quit [Ping timeout: 276 seconds]
trevorriles[m] has quit [Ping timeout: 276 seconds]
wolfereign[m] has quit [Ping timeout: 276 seconds]
balsoft[m] has quit [Ping timeout: 276 seconds]
peterbat[m] has quit [Ping timeout: 276 seconds]
AntonLatukha[m] has quit [Ping timeout: 276 seconds]
xodbox[m] has quit [Ping timeout: 276 seconds]
PeterRomfeld[m] has quit [Ping timeout: 276 seconds]
M-manveru has quit [Ping timeout: 276 seconds]
aniketd[m] has quit [Ping timeout: 276 seconds]
Orbstheorem[m] has quit [Ping timeout: 276 seconds]
tet[m] has quit [Ping timeout: 276 seconds]
kitten[m] has quit [Ping timeout: 276 seconds]
EuAndreh[m] has quit [Ping timeout: 276 seconds]
gh0st[m] has quit [Ping timeout: 276 seconds]
Elephant454[m] has quit [Ping timeout: 276 seconds]
octowan[m] has quit [Ping timeout: 276 seconds]
regnat[m] has quit [Ping timeout: 276 seconds]
mirlur[m] has quit [Ping timeout: 276 seconds]
y0no[m] has quit [Ping timeout: 276 seconds]
happyente[m] has quit [Ping timeout: 276 seconds]
primeos[m] has quit [Ping timeout: 276 seconds]
sudoreboot[m] has quit [Ping timeout: 276 seconds]
aspiwack[m] has quit [Ping timeout: 276 seconds]
windy328ghoee[m] has quit [Ping timeout: 276 seconds]
<Turion> clever: Ah ok, I thought maybe if an encrypted disk gets corrupted... but then I'm using ecryptfs at the moment
sellout- has joined #nixos
<Turion> Ok, the weird thing is that my laptop is 11 years old. It *can't* have TPM on it, it wasn't invented back then... right?
zybell has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 246 seconds]
leat has quit [Ping timeout: 268 seconds]
<Turion> Is that the error maybe? Linux assumes a hardware TPM to be there, but it just isn't?
<clever> Turion: what error are you getting that claims the TPM is at fault?
posco has quit [*.net *.split]
<Turion> Or can hard disks have it?
<Turion> clever: tpm tpm0: A TPM error (7) occurred attempting get random
jperras has joined #nixos
<Turion> And after the upgrade before this one (to a 4.14 kernel), the system crashed with something related to reading pcr values
mgood7123 has quit [Quit: rosa]
leat has joined #nixos
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #40280 → Handbrake patch cleanup → https://git.io/vp1fE
<Turion> Ah, greping the whole dmesg is interesting:
<Turion> [ 29.555097] tpm tpm0: A TPM error (7) occurred attempting to read a pcr value
<Turion> [ 29.555170] tpm tpm0: TPM is disabled/deactivated (0x7)
<Turion> [ 29.585951] tpm tpm0: A TPM error (7) occurred attempting get random
<Turion> Ok, so I'm vaguely convinced now that it's not my disk that will blow up the next days
jperras has quit [Ping timeout: 255 seconds]
mgood7123 has joined #nixos
leat has quit [Ping timeout: 256 seconds]
andreabedini has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
LysergicDreams has quit [Ping timeout: 246 seconds]
LysergicDreams has joined #nixos
<clever> Turion: yeah, it sounds like the kernel is trying to use the TPM as a high-quality random number source
<clever> Turion: but the TPM is disabled in your bios
mnfrmtmrrw_ has joined #nixos
posco has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
<sphalerite> yeah that doesn't seem like something that would be caused by filesystem corruption.
thc202 has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40260 → zuki-themes: 3.26-1 -> 3.28-1 → https://git.io/vpXrp
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp1U1
<{^_^}> → 2b9db247 by @romildo: zuki-themes: 3.26-1 -> 3.28-1
<{^_^}> → 0cc011f7 by @xeji: Merge pull request #40260 from romildo/upd.zuki-themes
leat has joined #nixos
mgood7123 has quit [Quit: rosa]
jD91mZM2 has quit [Ping timeout: 260 seconds]
jD91mZM2 has joined #nixos
tnks has quit [Ping timeout: 250 seconds]
tnks has joined #nixos
<{^_^}> [nixpkgs] @andrestylianos opened pull request #40281 → joker: 0.9.1 -> 0.9.2 → https://git.io/vp1kT
<{^_^}> [nixpkgs] @xeji merged pull request #40263 → slic3r-prusa3d: 1.39.1 -> 1.39.2 → https://git.io/vpXiB
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp1kI
<{^_^}> → 94850344 by @thorstenweber83: slic3r-prusa3d: 1.39.1 -> 1.39.2
<{^_^}> → 0aefe0ff by @xeji: Merge pull request #40263 from thorstenweber83/update-slic3r-prusa3d
rauno has joined #nixos
leat has quit [Read error: Connection reset by peer]
<sphalerite> the progress bar on one of my `nix build`s says [2/4/13 built …], but as far as I can tell it's only building one thing… what's going on here?
leat has joined #nixos
<sphalerite> oh, the matrix is on its way back
freeman42x]NixOS has joined #nixos
comphez[m] has joined #nixos
seanparsons has quit [Read error: Connection reset by peer]
pingu_ has quit [Ping timeout: 264 seconds]
Neo-- has joined #nixos
leat has quit [Ping timeout: 256 seconds]
<Turion> clever: Ah great, that's not such a big problem, then. Thanks!
seanparsons has joined #nixos
tmaekawa has joined #nixos
leat has joined #nixos
coot has quit [Quit: coot]
knupfer has quit [Remote host closed the connection]
coot has joined #nixos
<{^_^}> [nix] @edolstra merged pull request #2142 → Docker 2.0.1 → https://git.io/vp6Z1
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/vp1tv
<{^_^}> → 1e20ed5a by @domenkozar: Dockerfile: update to 2.0.1
<{^_^}> → 85f96503 by @domenkozar: Dockerfile: 2.0.2
<{^_^}> → 257c3c76 by @domenkozar: Add README for docker
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/vp1tk
<{^_^}> → d1f8822a by @adevress: Cleanup of nix.spec file to allow build on EL7 and beyond
<{^_^}> → 39c4d7f5 by @edolstra: Merge pull request #2146 from adevress/spec-filefix
<{^_^}> [nix] @edolstra merged pull request #2146 → Cleanup and Update of nix.spec file → https://git.io/vpPxI
simukis has joined #nixos
leat has quit [Ping timeout: 240 seconds]
rosa has joined #nixos
pingu_ has joined #nixos
jacob has joined #nixos
jacob is now known as Guest43916
Freneticks has joined #nixos
sigmundv_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #40281 → joker: 0.9.1 -> 0.9.2 → https://git.io/vp1kT
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp1q4
<{^_^}> → 9c8353aa by @andrestylianos: joker: 0.9.1 -> 0.9.2
amiloradovsky[m] has joined #nixos
cornu[m] has joined #nixos
unlmtd has joined #nixos
Bugworm[m] has joined #nixos
windy328ghoee[m] has joined #nixos
atopuzov[m] has joined #nixos
ProofTechnique[m has joined #nixos
mirlur[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
telent[m] has joined #nixos
M-dpetranek has joined #nixos
bdimcheff has joined #nixos
asp_ has joined #nixos
WilliamHamilton has joined #nixos
jmorriss[m] has joined #nixos
SamuelEvans-Powe has joined #nixos
abbafei[m] has joined #nixos
rnhmjoj[m] has joined #nixos
timokau[m] has joined #nixos
tfc[m] has joined #nixos
moredhel has joined #nixos
indefini has joined #nixos
grahamc has joined #nixos
regnat[m] has joined #nixos
hl has joined #nixos
peterhoeg has joined #nixos
jgl[m] has joined #nixos
saschaveres[m] has joined #nixos
freeman42x has joined #nixos
YegorTimoshenko[ has joined #nixos
hw9891[m] has joined #nixos
aspiwack[m] has joined #nixos
bachp has joined #nixos
primeos[m] has joined #nixos
M-bbigras has joined #nixos
clacke[m] has joined #nixos
lycium[m] has joined #nixos
gnihton[m] has joined #nixos
davidar has joined #nixos
wzy8L-B2[m] has joined #nixos
<{^_^}> → 06269689 by @xeji: Merge pull request #40281 from andrestylianos/joker
willghatch[m] has joined #nixos
timclassic has joined #nixos
hendrik[m] has joined #nixos
Naughtmare[m] has joined #nixos
mith[m] has joined #nixos
rihardsk[m] has joined #nixos
wervenyt[m] has joined #nixos
TimePath has joined #nixos
templis[m] has joined #nixos
ConorCurry[m] has joined #nixos
kitten[m] has joined #nixos
sorbet has joined #nixos
adisbladis[m] has joined #nixos
wak-work has joined #nixos
Kallegro[m] has joined #nixos
neecro[m] has joined #nixos
xnaveira[m] has joined #nixos
peel[m] has joined #nixos
sudoreboot[m] has joined #nixos
Elorm[m] has joined #nixos
demyan[m] has joined #nixos
ArdaXi has joined #nixos
moredhel_[m] has joined #nixos
puffnfresh has joined #nixos
octalsrc[m] has joined #nixos
GuillaumeBuisson has joined #nixos
mudri[m] has joined #nixos
bobvanderlinden_ has joined #nixos
apurvapavaskar[m has joined #nixos
wilornel has joined #nixos
itorres has joined #nixos
olejorgenb[m] has joined #nixos
rycee has joined #nixos
jesper has joined #nixos
das-g[m] has joined #nixos
BurNiinTRee[m] has joined #nixos
trikl[m] has joined #nixos
ayyjayess[m] has joined #nixos
sigmundv_ has joined #nixos
nyanloutre[m] has joined #nixos
Elephant454[m] has joined #nixos
bkchr[m] has joined #nixos
ipj[m] has joined #nixos
y0no[m] has joined #nixos
danielrf has joined #nixos
midchildan[m] has joined #nixos
CoopDot has joined #nixos
ison[m] has joined #nixos
reactormonk[m] has joined #nixos
AlanPearce[m] has joined #nixos
omawnakw[m] has joined #nixos
nh2[m] has joined #nixos
Orbstheorem[m] has joined #nixos
bugabinga[m] has joined #nixos
M-manveru has joined #nixos
happyente[m] has joined #nixos
darkmeson[m]1 has joined #nixos
herzmeister[m] has joined #nixos
chatnowvvv[m] has joined #nixos
florianjacob has joined #nixos
have-quick[m] has joined #nixos
NickHu has joined #nixos
sargon[m] has joined #nixos
johnhamelink[m] has joined #nixos
spacekitteh[m] has joined #nixos
yochai[m] has joined #nixos
Wysteriary[m] has joined #nixos
uvnikita[m] has joined #nixos
fearlessKim[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
magnap has joined #nixos
hedning[m] has joined #nixos
htafdwes[m] has joined #nixos
necronian has joined #nixos
xodbox[m] has joined #nixos
patrl[m] has joined #nixos
edef[m] has joined #nixos
ngerstle[m] has joined #nixos
felipeac[m] has joined #nixos
rszibele[m] has joined #nixos
spawnthink[m] has joined #nixos
offlinehacker[m] has joined #nixos
trevorriles[m] has joined #nixos
thefloweringash[ has joined #nixos
Obscurity[m] has joined #nixos
nmikhailov[m] has joined #nixos
nocent has joined #nixos
icetan has joined #nixos
copumpkin has joined #nixos
aniketd[m] has joined #nixos
Phil[m]2 has joined #nixos
doubletwin[m] has joined #nixos
pstn has joined #nixos
Rick[29SMPittsbu has joined #nixos
bhipple[m] has joined #nixos
chominist[m] has joined #nixos
coorey[m] has joined #nixos
leons has joined #nixos
codyopel has joined #nixos
wizek[m] has joined #nixos
jameshjacksonjr[ has joined #nixos
AdamSlack[m] has joined #nixos
bennofs[m] has joined #nixos
Fedor[m] has joined #nixos
Minijackson[m] has joined #nixos
thra11[m] has joined #nixos
tet[m] has joined #nixos
serentty[m] has joined #nixos
tosh[m] has joined #nixos
MatrixStatsBot[m has joined #nixos
tokudan[m] has joined #nixos
M-Dan has joined #nixos
octowan[m] has joined #nixos
MaJoe[m] has joined #nixos
aramiscd[m] has joined #nixos
jamshoot[m] has joined #nixos
Christian[m]4 has joined #nixos
darkmeson[m] has joined #nixos
slabity[m] has joined #nixos
Pneumaticat has joined #nixos
dkellner[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
crystalgamma[m] has joined #nixos
equalunique[m] has joined #nixos
fogbugz123[m] has joined #nixos
paperdigits[m] has joined #nixos
rardiol[m] has joined #nixos
demonslayer[m] has joined #nixos
techtangents[m] has joined #nixos
Singularity[m] has joined #nixos
davidak[m] has joined #nixos
Drakonis[m] has joined #nixos
malteof[m] has joined #nixos
bionicmac[m] has joined #nixos
Dezgeg[m] has joined #nixos
nelag[m] has joined #nixos
petersjt014[m] has joined #nixos
scott1 has joined #nixos
kainospur[m] has joined #nixos
fogbugz2345[m] has joined #nixos
sphalerit has joined #nixos
DIzFer[m] has joined #nixos
dmitry-zen[m] has joined #nixos
Barnabas[m] has joined #nixos
Ralith has joined #nixos
balsoft[m] has joined #nixos
greska[m] has joined #nixos
chedi[m] has joined #nixos
johnazoidberg has joined #nixos
musicmatze[m] has joined #nixos
dash has joined #nixos
dywedir[m] has joined #nixos
M-ms has joined #nixos
bendlas has joined #nixos
PeterRomfeld[m] has joined #nixos
EuAndreh[m] has joined #nixos
jluttine[m] has joined #nixos
jelewaus[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
EB[m] has joined #nixos
dtz has joined #nixos
r3mfKm[m] has joined #nixos
smrtak[m] has joined #nixos
attero has joined #nixos
dylanjust[m] has joined #nixos
M-fishy has joined #nixos
joh[m] has joined #nixos
Khorne[m] has joined #nixos
panther420[m] has joined #nixos
stekke[m] has joined #nixos
aaronc[m] has joined #nixos
Hook[m]1 has joined #nixos
peterbat[m] has joined #nixos
Albtrz[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
Deleh[m] has joined #nixos
gh0st[m] has joined #nixos
AntonLatukha[m] has joined #nixos
Adev[m] has joined #nixos
wolfereign[m] has joined #nixos
telent_[m] has joined #nixos
gudea[m] has joined #nixos
DenisLehmann[m] has joined #nixos
swayf[m] has joined #nixos
dadadus[m] has joined #nixos
kureta[m] has joined #nixos
card[m] has joined #nixos
admin[m]4 has joined #nixos
jack[m] has joined #nixos
Vincenzo[m] has joined #nixos
pingu_ has quit [Ping timeout: 256 seconds]
<jD91mZM2> there are apparently a lot of matrix users here
<clever> and thats why i run my own bouncer
tmaekawa has quit [Quit: tmaekawa]
qqlq has quit [Ping timeout: 248 seconds]
hotfuzz has quit [Ping timeout: 260 seconds]
hotfuzz has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
sellout- has quit [Ping timeout: 256 seconds]
sellout- has joined #nixos
ericsagnes has quit [Ping timeout: 255 seconds]
rosa has quit [Quit: rosa]
sir_guy_carleton has joined #nixos
johanot has joined #nixos
zybell has joined #nixos
leat has joined #nixos
Wharncliffe has joined #nixos
<steveeJ> :-D
<Turion> Since the latest upgrade, when running any nix-related commands as root, I get warning: Nix search path entry '$HOME/.nix-defexpr/channels' does not exist, ignoring
<Turion> Problem?
jtojnar has quit [Read error: Connection reset by peer]
jperras has joined #nixos
<Turion> Also, I don't understand how I'm on nixos-unstable and yet when I start signal-desktop it complains that it's out of date
jD91mZM2 has quit [Ping timeout: 255 seconds]
<sphalerite> https://sphalerite.org/dump/borked.mp4 any idea what might cause this machine not to start? (I took out the RAM hoping for a beep code, but apparently it's not even getting that far) On-topic because I want to run nixos on it :p
<sphalerite> Turion: search path entry doesn't exist isn't a real problem, although it's odd that that would happen.
<sphalerite> Turion: as for signal, it's possible that the package just hasn't been updated at all yet.
<Turion> sphalerite: I didn't do anything except upgrading
jtojnar has joined #nixos
<Turion> sphalerite: When I look for the version in my local nixpkgs, it's definitely up to date (1.9.0), but when I start it and ask it for its version via the gui, it says 1.3.0
<sphalerite> ah. How is signal installed, and what does `which signal` say?
dbe has quit [Ping timeout: 264 seconds]
jperras has quit [Ping timeout: 268 seconds]
<aminechikhaoui> hm anyone knows whether CURLE_RECV_ERROR (56) is considered a transient issue ?
<sphalerite> sounds like it
<aminechikhaoui> trying to know why the fetchurl automatic --retry 3 didn't help with this error
<Turion> sphalerite: $ which signal-desktop
<Turion> /nix/var/nix/profiles/default/bin/signal-desktop
<Turion> sphalerite, installed globally via configuration.nix
<{^_^}> [nixpkgs] @limeytexan opened pull request #40283 → perlPackages.Paranoid: init at 2.05 → https://git.io/vp13j
rosa has joined #nixos
sir_guy_carleton has quit [Quit: Leaving]
<sphalerite> Turion: sudo nix-env -e signal
<Turion> $ ls -l `which signal-desktop`
<Turion> lrwxrwxrwx 2 root root 83 1. Jan 1970 /nix/var/nix/profiles/default/bin/signal-desktop -> /nix/store/m55kyf9qxlxd8z8yrmnxxvd2p26fs28m-signal-desktop-1.3.0/bin/signal-desktop
<Turion> ??!
xy2_ has joined #nixos
<Turion> sphalerite, ahhhh! Thanks!
<steveeJ> sphalerit: pull out the battery for a while
<sphalerite> you had it installed in root's profile using nix-env, and that version wasn't getting updated :)
<sphalerite> steveeJ: will try that, thanks. Might also replace it since it might be dead
<sphalerite> yeah, 0.6V from a 1.5V battery isn't a normal level, is it? :D
johanot has quit [Quit: leaving]
<{^_^}> [nixpkgs] @limeytexan opened pull request #40284 → perlPackages.ClassEHierarchy: init at 2.00 → https://git.io/vp1so
<sphalerite> YAY BEEP CODES! Thanks steveeJ
joehh has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « monetdb: Build with readline for better interactivity »: https://git.io/vp1sM
<sphalerite> and it boots too :)
Wharncliffe has quit [Ping timeout: 240 seconds]
rosa has quit [Quit: rosa]
rosa has joined #nixos
rosa has quit [Excess Flood]
johanot has joined #nixos
smallville7123 has joined #nixos
adetokunbo has joined #nixos
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @dotlambda pushed to master « nixos/tests/home-assistant: print log before failing »: https://git.io/vp1Gx
smallville7123 has joined #nixos
smallville7123 has quit [Client Quit]
<{^_^}> [nixpkgs] @periklis closed pull request #33985 → WIP: hydra: enable darwin build on 2017-11-21 → https://git.io/vNBKR
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
smallville7123 has joined #nixos
<steveeJ> cstrahan: do you have any local progress on https://github.com/NixOS/nixpkgs/pull/38445?
ericsagnes has joined #nixos
<{^_^}> [nixpkgs] @demyanrogozhin opened pull request #40285 → particl-core: 0.16.0.4 -> 0.16.0.5 → https://git.io/vp1n5
Wharncliffe has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
jrolfs has joined #nixos
jrolfs_ has quit [Ping timeout: 260 seconds]
Wharncliffe has quit [Quit: Lost terminal]
smallville7123 has quit [Quit: rosa]
<{^_^}> [nixpkgs] @basvandijk opened pull request #40286 → opencv3: fix $out/lib/pkgconfig/opencv.pc → https://git.io/vp1cK
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
pingu_ has joined #nixos
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
johanot has left #nixos [#nixos]
smallville7123 has joined #nixos
smallville7123 has quit [Excess Flood]
jrolfs has quit [Ping timeout: 260 seconds]
smallville7123 has joined #nixos
smallville7123 was banned on #nixos by gchristensen [*!*@2405:7f00:8814:1f00:1cda:a898:4bc0:4973]
Mateon3 has joined #nixos
smallville7123 has left #nixos [requested by gchristensen (smallville7123)]
chrisbarrett has joined #nixos
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
jrolfs has joined #nixos
chrisbarrett has quit [Ping timeout: 240 seconds]
humanoyd has joined #nixos
spear2 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/vp1CV
<{^_^}> → 6c8aff71 by @NeQuissimus: linux: 4.14.39 -> 4.9.40
<{^_^}> → 1bb5a80a by @NeQuissimus: linux: 4.9.98 -> 4.9.99
<{^_^}> → d21ec84b by @NeQuissimus: linux: 4.16.7 -> 4.16.8
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.9.98 -> 4.9.99 »: https://git.io/vp1Co
<{^_^}> [nixpkgs] @NeQuissimus pushed to release-18.03 « linux: 4.14.39 -> 4.9.40 »: https://git.io/vp1Ci
talyz has quit [Read error: Connection reset by peer]
etu has quit [Read error: Connection reset by peer]
abcrawf has quit [Remote host closed the connection]
talyz has joined #nixos
jrolfs has quit [Ping timeout: 240 seconds]
etu has joined #nixos
abcrawf has joined #nixos
Sonarpulse has quit [Ping timeout: 246 seconds]
kai_w has joined #nixos
<gchristensen> samueldr: check out the description of https://nixos.org/nixos/options.html#security.acme.certs.%3Cname%3E.domain
raynold has quit [Quit: Connection closed for inactivity]
PolarIntersect has quit [Ping timeout: 256 seconds]
rauno has quit [Ping timeout: 256 seconds]
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
spear2 has joined #nixos
logzet has quit [Remote host closed the connection]
lord| has quit [Ping timeout: 240 seconds]
<sphalerite> When will staging be merged into master next?
pingu_ has quit [Ping timeout: 264 seconds]
cryp2nomicon has joined #nixos
civodul has joined #nixos
silver has joined #nixos
uptime has quit [Ping timeout: 240 seconds]
Neo-- has quit [Ping timeout: 256 seconds]
linarcx has joined #nixos
linarcx has quit [Client Quit]
<{^_^}> [nix] @edolstra pushed 5 commits to master: https://git.io/vp18q
<{^_^}> → 591e75cd by @AmineChikhaoui: add a FIXME note to find a way to abort the multipart uploads in
<{^_^}> → 129394fb by @AmineChikhaoui: Support multi-part uploads for large NARs that exceed the size of
<{^_^}> → 854c0860 by @AmineChikhaoui: share the executor between multiple copy threads.
<{^_^}> [nix] @edolstra merged pull request #2139 → support S3 multipart uploads for large NARs → https://git.io/vpoVH
<unlmtd> is 'nix-serve' what the nixos.org binary caches use?
<gchristensen> no
<gchristensen> the nixos.org binary cache is S3 and CloudFront
<gchristensen> it gets too much traffic for nix-serve :)
knupfer has joined #nixos
jperras has joined #nixos
<{^_^}> [nixpkgs] @zimbatm pushed 2 commits to release-18.03: https://git.io/vp14z
<{^_^}> → 897a827d by @nlewo: skopeo: 1.28 -> 1.29
<{^_^}> → a08e4908 by @Profpatsch: skopeo: build manpage
vaninwagen has quit [Quit: Connection closed for inactivity]
jmiven has quit [Quit: co'o]
jperras has quit [Ping timeout: 240 seconds]
jmiven has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #40153 → plank: init at 0.11.4 → https://git.io/vpKok
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/vp1BQ
<{^_^}> → 4a30fc25 by @davidak: bamf: init at 0.5.3
<{^_^}> → 296e7717 by @davidak: plank: init at 0.11.4
<{^_^}> → 2f9fd6ff by @Mic92: plank: add autoreconfHook
rauno has joined #nixos
Neo-- has joined #nixos
jrolfs has joined #nixos
michiell has joined #nixos
johanot has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #40286 → opencv3: fix $out/lib/pkgconfig/opencv.pc → https://git.io/vp1cK
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vp1Ry
<{^_^}> → 9938bb6c by @basvandijk: opencv3: fix $out/lib/pkgconfig/opencv.pc
<{^_^}> → 16517b81 by @peti: Merge pull request #40286 from LumiGuide/opencv.pc
<{^_^}> [nixpkgs] @peti merged pull request #40250 → haskell: fix build of base-compat-batteries → https://git.io/vpXRo
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/vp1Rd
<{^_^}> → 53d6997e by @basvandijk: haskell: fix build of base-compat-batteries
<{^_^}> → 07dc607a by @peti: Merge pull request #40250 from LumiGuide/fix-base-compat-batteries
ftzm has joined #nixos
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/vp10J
<{^_^}> → 215b724e by @edolstra: Fix passing arguments to the reproduction script
<{^_^}> → 691f7e16 by @edolstra: Fix building on Nixpkgs 17.09
<samueldr> gchristensen: looks like it's a global <name>.name issue, which is probably much easier to fix in the end :D https://nixos.org/nixos/options.html#%3Cname%3E.name
mnfrmtmrrw_ has quit [Quit: Leaving]
Rusty1_ has joined #nixos
<FRidh> sphalerite: there is too much breakage currently to merge staging into master. At least ghc needs to be fixed first.
ftzm has quit [Quit: WeeChat 2.2-dev]
uptime has joined #nixos
stumble has joined #nixos
jperras has joined #nixos
Turion has quit [Quit: Leaving.]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
spear2 has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 265 seconds]
fyuuri has joined #nixos
cryp2nomicon has quit [Quit: leaving]
acarrico has quit [Ping timeout: 260 seconds]
<fyuuri> Hi. I get the nix daemon out of memory when trying to nixos-rebuild switch --upgrade even with no other applications running. Is there a way to complete the upgrade?
<stumble> fyuuri: How much memory do you have, and do you have a swap file?
johanot has quit [Ping timeout: 260 seconds]
johanot has joined #nixos
<fyuuri> stumble : 4GB and no swap file
<stumble> Damn. That should be plenty.
xy2_ has quit [Ping timeout: 248 seconds]
<stumble> Over to someone more expert than me, then.
<fyuuri> I often got this error; but when closing the browswer it always worked. This is the first time i am copletely stuck
MichaelRaskin has quit [Ping timeout: 248 seconds]
<infinisil> fyuuri: It's happening more often to me too recently, with nix 2.0.. And i have 8GB/16GB on my machines..
<fyuuri> omg^^
griff_ has joined #nixos
<infinisil> Restarting the build process a couple times should work
<fyuuri> infinisil: The problem for me now is: Im stuck. I tried it like 10 times. Closing everthing that is not needed, yet still it does not complete. Maybe huge derivation like tex live are a problem?
fendor has joined #nixos
<infinisil> Or limiting the cores/jobs with --cores <n> and --max-jobs <n>
<fyuuri> Oh! I didnt know there was such an option
<infinisil> Yeah try --cores 1 and --max-jobs 1 or something like that
<fyuuri> nice! Hope :)!
<fyuuri> Is it possible to print the default for --cores and --max-jobs?
iqubic` has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
asuryawanshi has quit [Ping timeout: 240 seconds]
<fyuuri> --cores 2 and --maxjobs 4 was too much. I will try the 1 1
<fyuuri> not even the 1 1 works :(
<simpson> What does Nix do if ulimit'd? Probably nothing appropriate...
acarrico has joined #nixos
xy2_ has joined #nixos
Maxdamantus has quit [Ping timeout: 250 seconds]
<infinisil> fyuuri: My last guess would be rebooting..
<Synthetica> Could someone restart https://hydra.nixos.org/jobset/nixos/gcc-8
fendor has quit [Quit: Leaving]
Maxdamantus has joined #nixos
<sphalerite> FRidh: hm, could the procps fix maybe get merged into master some other way? :/
<fyuuri> infinisil: I rebooted twice already. Nothing helps. I cannot use rebuild switch anymore :(.
<infinisil> Oh no :(
<infinisil> What's the output of it?
Sonarpulse has joined #nixos
oltoAltn has quit [Read error: Connection reset by peer]
<FRidh> sphalerite: what are you referring to?
<fyuuri> error: Nix daemon out of memory
<fyuuri> thats all
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40287 → tty: init at 1.30 → https://git.io/vp12U
olto has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed 2 commits to master:
<{^_^}> → d4e71a23 by @limeytexan: perlPackages.Paranoid: init at 2.05
<{^_^}> → 988c56ee by @limeytexan: perlPackages.Paranoid: employ more restrictive blessed path
<{^_^}> [nixpkgs] @rycee closed pull request #40283 → perlPackages.Paranoid: init at 2.05 → https://git.io/vp13j
johanot has left #nixos [#nixos]
johanot1 has joined #nixos
johanot1 is now known as johanot
<stumble> fyuuri: That's got to be a bug, unless your system is an extremely strange one. Do you have a fairly vanilla configuration.nix? (I understand that you've got tex-live.)
<fyuuri> stumble: yes it is fairly vanilla. I added quite a few derivations though.
<stumble> I imagine you can work around the problem by commenting out derivations and adding them back in a few at a time.
<fyuuri> The last thing I added was docker. But docker works. Only the --upgrade there after caused the problem
<stumble> Shouldn't have to do that, of course, but maybe you do until someone tracks down the problem.
<{^_^}> [nixpkgs] @rycee pushed commit from @limeytexan to master « perlPackages.ClassEHierarchy: init at 2.00 »: https://git.io/vp12P
<{^_^}> [nixpkgs] @rycee closed pull request #40284 → perlPackages.ClassEHierarchy: init at 2.00 → https://git.io/vp1so
dbmikus has joined #nixos
<stumble> If I were you I'd upload your configuration.nix to a pastebin just in case someone more expert than me can see a problem with it.
<stumble> And I'd try that workaround I just suggested.
<stumble> And I'd cross my fingers.
<fyuuri> stumble: Ill try your suggestion. Thx!
<stumble> Good luck.
<fyuuri> My config is just adding existing derivations.
<stumble> That's good, from the point of view of tracking down the problem, at least.
<stumble> I just tested upgrading on a system with half a gigabyte of memory. No problem. It doesn't have a lot of derivations though.
tertle||eltret has joined #nixos
<fyuuri> One more info: I deleted old gererations before the update for the first time.
<fyuuri> Each time I try to do an rebuild switch, it seems to cause a lot of garbage. nix-collect-garbage just freed 5GB
jD91mZM2 has joined #nixos
dbmikus_ has joined #nixos
<fyuuri> I really need to understand in more detail how nix works...
dbmikus has quit [Ping timeout: 240 seconds]
<infinisil> fyuuri: Does it show you a list of drvs to be built when you start it?
<fyuuri> infinisil: I did not pay attention. mainly, is shows what is copied to the store
<infinisil> with a rebuild?
<fyuuri> first it says: these paths will be fetched
<infinisil> You should be able to run `nix-store -r /nix/store/...` on those paths to build them on their own
<infinisil> Maybe you could figure out the problematic one like this
noefk has quit [Ping timeout: 255 seconds]
<infinisil> fyuuri: Oh, and maybe try `--option http-connections 1`
genesis has quit [Ping timeout: 256 seconds]
<fyuuri> i did not try that
noefk has joined #nixos
stumble has quit [Remote host closed the connection]
nisstyre has joined #nixos
genesis has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg pushed to master « owl-lisp: 0.1.14 -> 0.1.15 »: https://git.io/vp1VM
Twey has joined #nixos
<fyuuri> Without any derivation in the config it worked
<Twey> What's the story for building against musl? It seems that even using musl.stdenv, the derivation's ‘gcc’ command links against glibc
stumbleplus has joined #nixos
<elvishjerricco> Is there something I can use in unpackPhase to cause relative symlinks in the source to be made absolute?
<elvishjerricco> Or even in the postFetch phase of a `fetchurl`?
<fyuuri> even with 1 http connection it fails...
<Twey> And I don't see how to get a musl-friendly C++ compiler at all
goibhniu has joined #nixos
joehh has quit [Ping timeout: 268 seconds]
<fyuuri> This is so annoying ... it taks more than one hour for me now to upgrade the system...
<infinisil> fyuuri: If you have another machine you could use that one to build your system with --build-host
knupfer has joined #nixos
<fyuuri> infinisil: thx. That is good to know. But I dont have unfortunately
<{^_^}> [nixpkgs] @yegortimoshenko opened pull request #40289 → mpv: 0.27.2 -> 0.28.2 → https://git.io/vp1os
<fyuuri> infinisil: what is nix actually building? Why is it so extremely memory intensive?
<infinisil> I think it might be because of the download
<infinisil> Nix apparently loads the whole downloaded nix paths into memory, all of its contentns
<infinisil> Because it's using C++ strings for it..
<clever> so if you download ghc, it needs a gig of ram
<infinisil> It's horrible
<infinisil> fyuuri: Have you tried adding some swap?
<stumbleplus> In that case, it won't be thrashing that memory, right? So a swap file should solve the problem?
<fyuuri> infinisil: No. I never had to in any other distribution...
stumble has joined #nixos
dbmikus_ has quit [Quit: WeeChat 2.1]
dbmikus has joined #nixos
<fyuuri> infinisil: I think I found the culpird!
<fyuuri> ghc
<fyuuri> The newest version of ghc seems to make the soak all that memery. I cant even install it allone
<infinisil> Why am I not surprised :)
<fyuuri> Could you try adding ghc to your config just to see if that is really the reason.
<infinisil> I do have it in my config
<infinisil> Ah but I'm using ghc822
<fyuuri> All other stuff work. all other stuff works... but maybe only becaue i installed it a few derivations at a time
jgertm has joined #nixos
<fyuuri> ut us ghc 822
<fyuuri> it is
<fyuuri> the ghc derivation defaults to 822
<infinisil> Hmm my ghc output path is only 327MB big
<infinisil> "only"
<fyuuri> for me that same. But when i put it in the config. nix fails with the memory error
orivej has quit [Ping timeout: 265 seconds]
<infinisil> What if you build just ghc
<infinisil> nix-build '<nixpkgs>' -A ghc
<fyuuri> these paths will be fetched (86.01 MiB download, 1117.17 MiB unpacked):
MichaelRaskin has joined #nixos
<fyuuri> what is nix-build? (I really should read the manual cover to cover ...)
<infinisil> Hah, that's like the main thing in nix to build stuff
<fyuuri> I only used nix-env and nixos-rebuild
orivej has joined #nixos
<infinisil> nix-build just builds nix derivations
<fyuuri> To which profile?
<infinisil> so nix-build '<nixpkgs>' -A ghc will build the ghc attribute from the nixpkgs you're currently using
endformationage has joined #nixos
<infinisil> It just outputs it to a symlink called "result" in the current directory
<fyuuri> ok!
<fyuuri> Is there a more elegant way of deleting the old generations I just created: sudo nix-env -p /nix/var/nix/profiles/system --delete-generations old
<infinisil> `nix-collect-garbage --delete-older-than 30d` will remove and garbage collect all generations older than 30 days
stumble has quit [Quit: Leaving]
<fyuuri> infinisil: https://pastebin.com/w6Ky4UmV
<infinisil> fyuuri: Hmm.. try `nix-store -r /nix/store/fw3yrxfrf55hj391d12rhk2x5vvr2z5w-ghc-8.2.2-doc`
<fyuuri> nix-collect-garbage does the same thing as nix-env delete generations?
hlolli has joined #nixos
<fyuuri> (By the way: thank you sooo much for helping me out!!)
<infinisil> Np :2
<infinisil> :)
<infinisil> fyuuri: Now `nix-store -r /nix/store/mmhdqindrpvg91a2vnrr76vxcn5a4n0x-ghc-8.2.2`
<fyuuri> error: Nix daemon out of memory
chrisbarrett has joined #nixos
<infinisil> Hmm..
humanoyd has quit [Quit: WeeChat 2.1]
<elvishjerricco> Is there a "fetchSubmodules" for `builtins.fetchGit`?
chrisbarrett has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
chronotaraxis has joined #nixos
udono has joined #nixos
<infinisil> fyuuri: I'm out of ideas :(
<infinisil> It might be possible to download it yourself without using nix, then import that into the store
<infinisil> Info for these downloads is available at these urls: http://cache.nixos.org/mmhdqindrpvg91a2vnrr76vxcn5a4n0x.narinfo
<infinisil> But I can't figure out how to manually unpack/import such a downloaded nar.xz file
drakonis has joined #nixos
drakonis_ has joined #nixos
coot has quit [Read error: Connection reset by peer]
UNIcodeX_ has joined #nixos
drakonis_ has quit [Client Quit]
johanot has quit [Quit: Leaving.]
coot has joined #nixos
<fyuuri> infinisil: thanky you very much. Maybe there is a bug in the ghc derivation? I don't need ghc atm so I will just wait :)
<infinisil> Shouldn't be
<infinisil> just adding swap should help for now though
<fyuuri> But why is it only ghc
<fyuuri> even tex live works
<infinisil> ghc is very big
<infinisil> it's certainly not because it's ghc, but rather because of it's size
goibhniu has quit [Quit: Leaving.]
<fyuuri> ^^
<fyuuri> I will be afk for a while. Thanks again :)
<infinisil> Np :)
leat has quit [Ping timeout: 240 seconds]
goibhniu has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<elvishjerricco> Anyone experienced `builtins.fetchGit` hanging silently?
<elvishjerricco> There's not really any network activity, and the repo only takes a couple seconds to clone anyway
<elvishjerricco> But it is an `ssh://` repo
TTimTT has joined #nixos
<TTimTT> Hello everyone, I think there is a small mistake in the manual at the section:
<TTimTT> 9.11.1.1.2.1. Environment defined in separate .nix file.
<TTimTT> One should do the following: `nix-env -iA myEnv -f '<nixpkgs>'`
<TTimTT> The following command isn't working: `nix-env -iA nixpkgs.myEnv`
<elvishjerricco> TTimTT: That just means you don't have a `nixpkgs` channel configured
<elvishjerricco> See `nix-channel`
xcmw has joined #nixos
<TTimTT> ok thank you very much ;-)
TTimTT has quit [Quit: Leaving]
juri2mol has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to master: https://git.io/vp1ye
<{^_^}> → 9cb1d82b by @Ericson2314: zeromqpp: Init at 4.2.0
<{^_^}> → ae429f8e by @Ericson2314: yacas: 1.2.2 -> 1.6.1
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40276 → Fewer cross attrs → https://git.io/vpXb0
<{^_^}> → a1f4d033 by @Ericson2314: fossil: Remove crossAttrs
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to staging: https://git.io/vp1y1
<{^_^}> → ae429f8e by @Ericson2314: yacas: 1.2.2 -> 1.6.1
<{^_^}> → 9cb1d82b by @Ericson2314: zeromqpp: Init at 4.2.0
<{^_^}> → a1f4d033 by @Ericson2314: fossil: Remove crossAttrs
<{^_^}> [nixpkgs] @Ericson2314 pushed 30 commits to staging: https://git.io/vp1y5
<{^_^}> → 4a30fc25 by @davidak: bamf: init at 0.5.3
<{^_^}> → 296e7717 by @davidak: plank: init at 0.11.4
<{^_^}> → 53d6997e by @basvandijk: haskell: fix build of base-compat-batteries
maingo has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40287 → tio: init at 1.30 → https://git.io/vp12U
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp1SK
<{^_^}> → bcaff3c3 by @yegortimoshenko: tty: init at 1.30
<{^_^}> → d448ff75 by @xeji: Merge pull request #40287 from yegortimoshenko/tio
<infinisil> > fortune
<{^_^}> "They also surf who only stand on waves."
jrolfs has quit [Quit: WeeChat 2.1]
adetokunbo has quit [Quit: This computer has gone to sleep]
<stumbleplus> > fortune
<{^_^}> "Stupidity is its own reward."
jperras has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @xeji merged pull request #40285 → particl-core: 0.16.0.4 -> 0.16.0.5 → https://git.io/vp1n5
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vp19S
<{^_^}> → 8c45acac by @demyanrogozhin: particl-core: 0.16.0.4 -> 0.16.0.5
<{^_^}> → 1d682d53 by @xeji: Merge pull request #40285 from demyanrogozhin/particl
jperras has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40290 → guile: Remove old crossAttrs → https://git.io/vp19x
<{^_^}> [nixpkgs] @xeji merged pull request #40289 → mpv: 0.27.2 -> 0.28.2 → https://git.io/vp1os
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vp19h
<{^_^}> → 956d174c by @yegortimoshenko: ffmpeg_4: init
<{^_^}> → d691c817 by @yegortimoshenko: mpv: 0.27.2 -> 0.28.2
<{^_^}> → 1463480e by @xeji: Merge pull request #40289 from yegortimoshenko/mpv-bump
<Myrl-saki> Well
<Myrl-saki> /home/myrl/.local/share/Steam/steam.sh: line 755: /home/myrl/.local/share/Steam/ubuntu12_32/steam: No such file or directory
<Myrl-saki> I'm so dead.
<Myrl-saki> I already --check-contents.
<gchristensen> is it possible to in nix try and build a thing and handle it if it fails to build? tryEval doesn't work
<Myrl-saki> I hate the power outage. ; ~ ;
<andrewrk> what package do I need in order to use -static with clang?
<andrewrk> ld: cannot find -lpthread
<andrewrk> ld: cannot find -lc
<{^_^}> [nixpkgs] @xeji merged pull request #40197 → librsvg: 2.42.3 → 2.42.4 → https://git.io/vpiMl
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/vp1HF
<{^_^}> → 95ad9695 by @jtojnar: librsvg: 2.42.3 → 2.42.4
<{^_^}> → 99514b7b by @xeji: Merge pull request #40197 from jtojnar/librsvg-2.42.4
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pmade has joined #nixos
sami4ak has joined #nixos
sami4ak has left #nixos [#nixos]
johanot has joined #nixos
xcmw has joined #nixos
asuryawanshi has joined #nixos
<udono> hi, having problems with python2, gtk3 and Atk: nix-shell -p 'python2.withPackages (ps: with ps; [pygobject3 atk gtk3 ])' --run "python -c \"import pygtkcompat; pygtkcompat.enable_gtk(version='3.0')\"" raises a ValueError: Namespace Atk not available. Any Idea?
sigmundv_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vp1QE
<{^_^}> → 5b4b24bf by @Ericson2314: Merge pull request #40290 from obsidiansystems/fewer-crossAttrs
<{^_^}> → 515ca1a7 by @Ericson2314: guile: Remove old crossAttrs
<symphorien> add gobjectintrospection, as a wild guess
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40290 → guile: Remove old crossAttrs → https://git.io/vp19x
stumbleplus has quit [Ping timeout: 260 seconds]
johanot has quit [Remote host closed the connection]
chronotaraxis has quit [Quit: WeeChat 2.0.1]
Freneticks has quit [Quit: Leaving]
Maxdamantus has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos
<udono> symphorien: Thanks, but does not work: nix-shell -p 'python2.withPackages (ps: with ps; [gobjectIntrospection pygobject3 atk gtk3 ])' --run "python -c \"import pygtkcompat; pygtkcompat.enable_gtk(version='3.0')\""
griff_ has quit [Quit: griff_]
Maxdamantus has joined #nixos
<symphorien> gobjectintrospection is not a pythonPackage, but a regular package iirc
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40291 → misc pkgs: Fewer cross attrs → https://git.io/vp1QN
jgertm has quit [Ping timeout: 265 seconds]
griff_ has joined #nixos
hlolli has quit [Ping timeout: 256 seconds]
hiroshi has quit [Ping timeout: 264 seconds]
<udono> symphorien: Thanks again, but not working: nix-shell -p gobjectIntrospection 'python2.withPackages (ps: with ps; [ pygobject3 atk gtk3 ])' --run "python -c \"import pygtkcompat; pygtkcompat.enable_gtk(version='3.0')\"" Full Traceback: https://pastebin.com/94pNCygU
Xal has quit [Ping timeout: 260 seconds]
<symphorien> udono: neither are atk and gtk3: nix-shell -p gobjectIntrospection atk gtk3 'python2.withPackages (ps: with ps; [ pygobject3 ])' --run "python -c \"import pygtkcompat; pygtkcompat.enable_gtk(version='3.0')\""
Xal has joined #nixos
<udono> symphorien: Great! Thanks a lot!
<Myrl-saki> Uhh
deepfire has quit [Ping timeout: 255 seconds]
Ariakenom has quit [Read error: Connection reset by peer]
brodul has quit [Remote host closed the connection]
devr[m] has joined #nixos
Ariakenom has joined #nixos
rihards has joined #nixos
leat has joined #nixos
hiroshi has joined #nixos
szicari has joined #nixos
szicari has quit [Client Quit]
raynold has joined #nixos
<steveeJ> I'm trying to edit the script for the build-vm-wut
<steveeJ> build-vm-wut
<steveeJ> alright, not my day :D
<infinisil> Heh
<steveeJ> I'm tryingt to adjust to a new keyboard, but anyway :D is the script for the build-vm-with-bootloader not in nixos/modules/virtualisation/qemu-vm.nix? it seem to have no effect when I change it in there
<ixxie> for ad-hocking a package, do you just create it as an overlay?
<jD91mZM2> yep
<jD91mZM2> Or use home-manager
<ixxie> and then just move it to a clone of nixpkgs, polish and make PR?
<jD91mZM2> Yep
<ixxie> interesting :)
<{^_^}> [nixpkgs] @periklis opened pull request #40292 → skhd: Bump 0.0.14 to 0.1.0 → https://git.io/vp1bv
jgertm has joined #nixos
<avn> ixxie: most of packages was created this way
juri2mol has quit [Ping timeout: 260 seconds]
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40256 → perl-URI: 1.73 -> 1.74 → https://git.io/vpXgJ
<{^_^}> [nixpkgs] @xeji pushed 2 commits to staging: https://git.io/vp1bM
<{^_^}> → 0cdb56df by @rycee: perl-URI: 1.73 -> 1.74
<{^_^}> → d1c42608 by @xeji: Merge pull request #40256 from rycee/bump/perl-URI
goibhniu has quit [Ping timeout: 240 seconds]
deepfire has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40291 → misc pkgs: Fewer cross attrs → https://git.io/vp1QN
<{^_^}> [nixpkgs] @Ericson2314 pushed 6 commits to master: https://git.io/vp1Nf
<{^_^}> → 219b74d7 by @Ericson2314: SDL, SDL2: Remove crossAttrs
<{^_^}> → 88ff3c0f by @Ericson2314: freetype: Remove crossAttrs
<{^_^}> → e84b9401 by @Ericson2314: libdrm: Remove crossAttrs
<{^_^}> [hydra] @AmineChikhaoui opened pull request #556 → add some more statistics about runnable/running builds per arch/system features → https://git.io/vp1Nm
<{^_^}> [nixpkgs] @Ericson2314 pushed 16 commits to staging: https://git.io/vp1N8
<{^_^}> → 8c45acac by @demyanrogozhin: particl-core: 0.16.0.4 -> 0.16.0.5
<{^_^}> → bcaff3c3 by @yegortimoshenko: tty: init at 1.30
<{^_^}> → 956d174c by @yegortimoshenko: ffmpeg_4: init
<ixxie> avn: I donno, I never learned a proper workflow, I just packaged in my fork of Nixpkgs and build it there
griff_ has quit [Quit: griff_]
<avn> ixxie: also an option. I actually live on WIP branch on nixpkgs fork, and when stuff more or less ready -- I cherry-pick it to feature branch and PR
dbe has joined #nixos
deepfire has quit [Ping timeout: 260 seconds]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #40131 → nixos/release-combined.nix: make test set consistent with release-small.nix → https://git.io/vpoNj
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/release-combined.nix: make tests consistent (#40131) »: https://git.io/vp1Ae
<{^_^}> [nixpkgs] @xeji merged pull request #40239 → nixos/tests/plotinus: fix non-deterministic failures → https://git.io/vpXY5
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/tests/plotinus: fix non-deterministic failure (#40239) »: https://git.io/vp1Ak
<Myrl-saki> Sadness ensues.
ryantrinkle has quit [Ping timeout: 256 seconds]
coot has quit [Quit: coot]
<Myrl-saki> Steam broke
<{^_^}> [nixpkgs] @dotlambda closed pull request #38787 → pythonPackages.flask-oldsessions: init at 0.10 → https://git.io/vxNNJ
<Myrl-saki> Like, broke.
<Myrl-saki> --repair-path isn't fixing it.
<Myrl-saki> /home/myrl/.local/share/Steam/steam.sh: line 755: /home/myrl/.local/share/Steam/ubuntu12_32/steam: No such file or directory
<{^_^}> [nixpkgs] @dotlambda merged pull request #38957 → pysensors: init at 2017-07-13 → https://git.io/vpe9Q
<{^_^}> [nixpkgs] @dotlambda pushed 2 commits to master: https://git.io/vp1Ag
<{^_^}> → 6392fb3d by @guibou: pysensors: init at 2017-07-13
<{^_^}> → 71a561fc by @dotlambda: Merge pull request #38957 from guibou/guibou_pysensors
<infinisil> Myrl-saki: Maybe try `mv Steam Steam-alt` and start it again
<Myrl-saki> infinisil: I already deleted Steam over and over again.
<Myrl-saki> Even removed steam then did a rebuild.
<gchristensen> from ~/.local?
<Myrl-saki> Yes.
<Myrl-saki> From .local and from .steam
<Myrl-saki> I tried loading with ld.so, and it "works"
<Myrl-saki> myrl@myrl:~$ /nix/store/8229pink3d3h5zgb994gp5bkj4fyaz85-glibc-multi-2.26-131/lib/32/ld-linux.so.2 .local/share/Steam/ubuntu12_32/steam
<Myrl-saki> .local/share/Steam/ubuntu12_32/steam: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
<Myrl-saki> So the binary itself seems okay-ish.
<Myrl-saki> I think?
<infinisil> Steam works just fine for me on latest unstable
<Myrl-saki> infinisil: FWIW, that is my problem.
<Myrl-saki> It was fine.
<Myrl-saki> Then it broke from a power outage.
<infinisil> Huh
<Myrl-saki> Exactly.
<{^_^}> [nixpkgs] @xeji pushed 3 commits to release-18.03: https://git.io/vp1A7
<{^_^}> → f1e419f3 by @xeji: nixos/tests/plotinus: fix non-deterministic failure (#40239)
<{^_^}> → e5be49ae by @xeji: nixos/release-combined.nix: make tests consistent (#40131)
<{^_^}> → 6b1bc176 by @xeji: nixos/tests/fleet: disable test
<infinisil> Myrl-saki: Maybe try it with a fresh user, I mean it must be something in $HOME
<Myrl-saki> infinisil: The execve itself is failing.
<Myrl-saki> [pid 17620] execve("/home/myrl/.local/share/Steam/ubuntu12_32/steam", ["/home/myrl/.local/share/Steam/ub"...], 0x194a008 /* 81 vars */) = -1 ENOENT (No such file or directory)
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #40293 → theme-jade1: init at 3.2 → https://git.io/vp1xt
<Myrl-saki> BTW, it's only the execve that fails.
<{^_^}> [nixpkgs] @xeji merged pull request #40133 → graylog: 2.4.3 -> 2.4.4 → https://git.io/vpohu
<{^_^}> [nixpkgs] @xeji pushed 3 commits to master: https://git.io/vp1x3
<{^_^}> → 08eba842 by @fadenb: graylog: 2.4.3 -> 2.4.4
<{^_^}> → 9817b4aa by @fadenb: graylog: wrap graylogctl
<{^_^}> → 7028dcd5 by @xeji: Merge pull request #40133 from fadenb/graylog_2.4.4
<{^_^}> [nixpkgs] @xeji pushed to release-18.03 « nixos/tests/statsd: fix non-deterministic failure »: https://git.io/vp1xB
Twey has quit [Ping timeout: 268 seconds]
dbmikus has quit [Quit: WeeChat 2.1]
dbmikus has joined #nixos
humanoyd has joined #nixos
zako2 has joined #nixos
<Myrl-saki> I guess the best idea is to force a whole system update.
halfbit has quit [Ping timeout: 246 seconds]
zako2 has left #nixos ["Leaving"]
knupfer has quit [Remote host closed the connection]
halfbit has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> Myrl-saki: ls -lh /home/myrl/.local/share/Steam/ubuntu12_32/steam ; file /home/myrl/.local/share/Steam/ubuntu12_32/steam
xcmw has joined #nixos
<Myrl-saki> myrl@myrl:~$ ls -lh /home/myrl/.local/share/Steam/ubuntu12_32/steam
<Myrl-saki> -rwx------ 1 myrl users 4.4M Nov 18 2015 /home/myrl/.local/share/Steam/ubuntu12_32/steam
<clever> and file?
<Myrl-saki> /home/myrl/.local/share/Steam/ubuntu12_32/steam: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.32, BuildID[sha1]=12e429cc13f7db94a201d1ecf83bd7bdff5b2457, not stripped
<Myrl-saki> All clean.
<clever> yeah, its unpatched, it will only work inside steam's FHS
<Myrl-saki> clever: Yeah, that's what I'm doing.
<Myrl-saki> I use the `steam` wrapper.
udono has quit [Ping timeout: 256 seconds]
udono has joined #nixos
alexteve_ has joined #nixos
brandon_ has joined #nixos
bbarker has quit [Read error: Connection reset by peer]
smichel has joined #nixos
drakonis has quit [Remote host closed the connection]
halfbit has quit [Quit: WeeChat 2.0]
zemm has quit [Ping timeout: 240 seconds]
zemm has joined #nixos
ZeDestructor has quit [Ping timeout: 240 seconds]
alexteves has quit [Ping timeout: 260 seconds]
afics has quit [Ping timeout: 260 seconds]
ZeDestructor has joined #nixos
afics has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40294 → misc packages: Fewer cross args → https://git.io/vp1hd
Neo-- has quit [Ping timeout: 260 seconds]
alex`` has joined #nixos
PolarIntersect has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40295 → gnused: Remove crossAttrs → https://git.io/vp1j0
xcmw has joined #nixos
toby1851 has quit [Ping timeout: 246 seconds]
toby1851 has joined #nixos
pingveno_ has quit [Quit: leaving]
<Myrl-saki> So.
<Myrl-saki> I found out how to use chrootenv now.
Guest43916 has quit [Quit: Lost terminal]
drakonis has joined #nixos
pingveno_ has joined #nixos
pingveno_ has quit [Remote host closed the connection]
<serentty[m]> Hello. I'm wondering if there's any way to install NixOS on Raspberry Pi without using the GPIO pins.
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
toby1851 has quit [Ping timeout: 256 seconds]
toby1851 has joined #nixos
nur0n0 has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40294 → misc packages: Fewer crossAttrs → https://git.io/vp1hd
<{^_^}> [nixpkgs] @Ericson2314 pushed 9 commits to staging: https://git.io/vpMeH
<{^_^}> → 7781d7b8 by @Ericson2314: Merge commit '7864a17bfb1fce9195e024e1e2ff1dfa14a942f3' into HEAD
<{^_^}> → 1080e264 by @Ericson2314: groff: Get rid of crossAttrs
<{^_^}> → 48300199 by @Ericson2314: libpcap: Remove crossAttrs
coot has joined #nixos
toby1851 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40295 → gnused: Remove crossAttrs → https://git.io/vp1j0
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpMvQ
<{^_^}> → 4ed70389 by @Ericson2314: Merge pull request #40295 from obsidiansystems/fewer-crossAttrs
<{^_^}> → 8db05ade by @Ericson2314: gnused: Remove crossAttrs
alexteve_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<Myrl-saki> clever: I found out what my problem is
<{^_^}> Channel nixpkgs-18.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/461e6843b54 (from 63 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-18.03-darwin)
<clever> Myrl-saki: what was it?
alex`` has quit [Quit: WeeChat 2.1]
alexteves has joined #nixos
<Myrl-saki> clever: Back, was playing on laptop
<Myrl-saki> Basically, /lib isn't getting mounted.
<clever> ah
* clever heads off to bed
<Myrl-saki> FUCKING WOW
<Myrl-saki> Holy shit.
<Myrl-saki> This is the most insane "bug" I've ever seen.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Myrl-saki> Basically, I accidentally mkdir'd /lib, how that'd happen, I don't know.
ixxie has quit [Ping timeout: 255 seconds]
<sphalerite> nice
xcmw has joined #nixos
* jD91mZM2 has spent the whole day researching GuixSD btw lol
<jD91mZM2> Sometimes I hate decisions
<Myrl-saki> jD91mZM2: "In conclusion, it's just like NixOS"? :P
<jD91mZM2> Basically
<sphalerite> I'd stick with nixos, since iirc you use some nonfree software
<sphalerite> and unless you're a hardcore free-software person you probably don't have wifi etc that will work with linux-libre
<Myrl-saki> sphalerite: And Guix is not lazy, so...
<Myrl-saki> s/Guix/Guile/
<Myrl-saki> I think?
<jD91mZM2> sphalerite: I haven't checked my firmware yet, but on the software side I only use Discord currently
<sphalerite> Myrl-saki: it's strict by default, but you can achieve laziness through quoting. Or something. Guix's package composition thing relies on laziness though
<simpson> I'm a hardcore Free Software person, but I still use Nix. I'm not sure I could explain why.
<sphalerite> simpson: The way I meant it was more "not hardcore free software person ⇒ probably don't use GuixSD", not "hardcore free software person ⇒ use guixsd" ;)
<sphalerite> Are you free-software-hardcore enough to run linux-libre?
<jD91mZM2> Sec, lemme write up a list of advantages/disadvantages I can think of:
<sphalerite> nixpkgs doesn't actually have it, does it?
<jD91mZM2> Advantages of GuixSD: . Disadvantages of GuixSD: .
<simpson> sphalerite: I am hardcore enough to, upon buying a GPU without free drivers, demand the datasheet from the GPU maker, get the datasheet, and write a driver. I don't think of 'hardcore' as being about intensity of belief, but about intensity of deeds.
<sphalerite> simpson: nice. What GPU is it?
<simpson> That said, I tried doing this with WiFi chipsets, and that world is just insane.
<sphalerite> that you could actually get hold of a datasheet for it
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40297 → lib/systems: Prohibit "gnu" ABI (*-gnu) with 32-bit ARM → https://git.io/vpMUH
<simpson> These were ATI/AMD Radeon GPUs, about a decade ago when AMD bought ATI and promised to release docs. It was the beginning of a good relationship, actually.
giaco has quit [Ping timeout: 246 seconds]
<sphalerite> aah right, nice
<jD91mZM2> That's pretty darn cool, I wish I could do stuff like that. The lowest level thing I've worked on was porting LOLCODE to Web Assembly...
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson> That's about the same low-levelness. The only difference is between restarting your browser when it crashes, and restarting your machine when the GPU locks up.
<simpson> Oh, dang it, this isn't #nixos-chat. Sorry for offtopic.
<jD91mZM2> TIL about nixos-chat
<sphalerite> IMHO off-topic is fine in here too as long as it's not getting in the way of on-topic stuff
<jD91mZM2> phew
xcmw has joined #nixos
<steveeJ> where can I get the output of this code? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/qemu-vm.nix#L148-L185 it seems to fail during build-vm-with-bootloader and I want to debug it
<sphalerite> steveeJ: (sorry, I have a not-very-featureful browser and the line numbers don't display properly in it, nor does jumping to them work right) which code is it?
<sphalerite> the pkgs.runCommand "nixos-boot-disk" script?
<steveeJ> it starts with the comment "# Create a /boot EFI partition with 40M...". I verified that the preVM script is successful
<sphalerite> steveeJ: I think if you pass -v it will print the build output to the terminal
exi has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/vpMks
<{^_^}> → 46190397 by @romildo: theme-jade1: init at 3.2
<{^_^}> → 2d88a7b9 by @xeji: Merge pull request #40293 from romildo/upd.theme-jade-1
<{^_^}> [nixpkgs] @xeji merged pull request #40293 → theme-jade1: init at 3.2 → https://git.io/vp1xt
<exi> hi
<exi> does anyone here have contact data for ttuegel?
<exi> i'm packaging kmymoney and have some kde/qt related questions
<exi> but no real way to contact him
<{^_^}> [nixpkgs] @cruizh opened pull request #40298 → Fix tdesktop icon path → https://git.io/vpMkW
<sphalerite> exi: you could open up a PR with what you have so far and @ him on it on github
<exi> yep, i might do that
<exi> i also had to package 2 dependencies for this, not sure if it's customary to bring all of them in in one PR
<sphalerite> yeah, it's a pain to put them in separate PRs
Sonarpulse has quit [Ping timeout: 255 seconds]
<sphalerite> usually separate commits in a single PR
hotfuzz has quit [Ping timeout: 260 seconds]
hotfuzz has joined #nixos
vaninwagen has joined #nixos
xeji has joined #nixos
<vaninwagen> jbk the PR that was just merged yesterday added tests for using I64.mulc, which is what is using __mulodi4, it seems this uncovered a bug in that the illumos libc does not provide these symbols
<vaninwagen> sorry, wrong channel :)
<vaninwagen> this was meant for #ponylang :)
asuryawa_ has joined #nixos
asuryawanshi has quit [Read error: Connection reset by peer]
doyougnu has joined #nixos
Ianulus has joined #nixos
<Ianulus> \help
<{^_^}> [nixpkgs] @rycee pushed to master « pytrainer: 1.12.0 -> 1.12.1 »: https://git.io/vpML0
<simpson> Ianulus: ?
<sphalerite> simpson: I think they just used the wrong slash.
<Ianulus> Sorry, trying to remember my 10 year old irc knowledge ;)
<sphalerite> ^^
<simpson> Ah, I was wondering if you're looking for a specific bot.
johanot has joined #nixos
<sphalerite> blargh, I keep getting `error: writing to file: Broken pipe` when trying to build anything
<sphalerite> it's nondeterministic though, sometimes it works
juri2mol has joined #nixos
<{^_^}> [nixpkgs] @exi opened pull request #40300 → KMyMoney -> 5.0.1 → https://git.io/vpMqJ
johanot has quit [Quit: Leaving.]
<exi> ah lol
<exi> someone else also brought kmymoney back into the tree 2 weeks ago :D
<{^_^}> [nixpkgs] @exi closed pull request #40300 → KMyMoney -> 5.0.1 → https://git.io/vpMqJ
civodul has joined #nixos
jD91mZM2 has quit [Ping timeout: 260 seconds]
muzzy has joined #nixos
jD91mZM2 has joined #nixos
shabius has quit [Quit: Leaving]
<jD91mZM2> sphalerite: Could your disk be getting full?
<muzzy> is it viable to use nixops to deploy some basic homelab utilities (NAS, plex, other persistent things)?
rihards has quit [Quit: rihards]
fatsaucisson has joined #nixos
<fatsaucisson> Hi !
<sphalerit> jD91mZM2: no, it's an issue with using ssh-ng stores as substituters by the looks of it
<jD91mZM2> sphalerit: What's ssh-ng?
<sphalerit> jD91mZM2: the new way for nix to talk to another nix store via SSH
<sphalerit> new = introduced with 2.0
<fatsaucisson> I'm pretty new to nixos and nix, so far I found everything I need in nixpkgs, but this time I would like to have a pkg which isn't here: qtsixa. Hopefully, somebody wrote a nix expression for it here : https://github.com/auntieNeo/nixrc/tree/master/pkgs/qtsixa , but I just don't know how to add it with nix-env
humanoyd has quit [Quit: WeeChat 2.1]
dbe has quit [Ping timeout: 256 seconds]
mkoenig has quit [Remote host closed the connection]
hotfuzz_ has joined #nixos
juri2mol has quit [Quit: Page closed]
<fatsaucisson> I imagine it's a pretty newb question, sry
hotfuzz has quit [Ping timeout: 248 seconds]
<gchristensen> fatsaucisson: no worries!
<sphalerite> fatsaucisson: nothing to apologise for! We were all new to nix at some point :)
<Ianulus> I'd like to help, but I'm pretty new to it all myself :)
<Ianulus> Your question is actually on my 'list', too...
<monotux> so ok...anyone using platformio and vscode in nixos? I spawn a nix-shell with the relevant dependencies ("nix-shell -p vscode platformio") but vscode can't start the pio nor the platformio processes as it can't find them. this is why I switched to nixos, effortless and reliable development environments. :(
<monotux> I could settle for a working arduino setup that also works with the esp8266 libraries, but now it can't find xtense so that doesn't work either
shabius has joined #nixos
<sphalerite> monotux: who said effortless? :p I'll give you reliable, but not necessarily effortless
mkoenig has joined #nixos
<monotux> haha
<jD91mZM2> fatsaucisson: What you want to do is create a package overlay. Download this file to anywhere, and then inside ~/.config/nixpkgs/overlays.nix you can have the content "super: self: super.callPackage /path/to/qtsixa/default.nix {}"
<monotux> sphalerite, I just want some magick that solves all my issues ;)
<sphalerite> fatsaucisson: in this case it seems to be an expression that gets its dependencies via callPackage
<sphalerite> jD91mZM2: missing the attribute set and the name ;)
<jD91mZM2> sphalerite: Yup I completely messed up both that and the order of args
<monotux> but on a serious note, where do I even begin to figure this out?
<jD91mZM2> Lemme try again
<sphalerite> self: super: { qtsixa = super.callPackage /path/to/qtsixa/ {}; }
<jD91mZM2> aw ninja'd
<sphalerite> :D
<jD91mZM2> 3fast5me
<bkchr[m]> Does someone has an idea what the following error message wants to tell me? It happens right after the stage 1 begins. `Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b`
<monotux> jD91mZM2, seems like you have a off-by-one error
<sphalerite> monotux: vscode is node stuff, isn't it? I'm not sure how well node stuff works on nixos in general :/ but I'm no expert, haven't really tried it myself
<symphorien> bkchr[m]: this means that init (which is a shell script) exited
<sphalerite> bkchr[m]: that means that the init script exited rather than execing the next init stage.
<monotux> sphalerite, yes, I think so. darn.
<symphorien> so look at messages above
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> bkchr[m]: that might mean it's referring to an init which no longer exists following a gc
<symphorien> or that it could not mount / for some reason
<monotux> the parts that isn't working properly seems to be that it can't locate the python stuff from the vscode, but I'll just learn the CLI and use emacs like I always end up with
<sphalerite> bkchr[m]: easiest fix is probably booting into the installer, mounting everything, and rerunning nixos-install. If you want to work out exactly what's going wrong, you may want to boot with boot.debug1devices or boot.debug1mounts
<sphalerite> monotux: oh, if it's python stuff it's possible that just adding python to your shell will magically fix it
<fatsaucisson> thanks for answering sphalerite and jD91mZM2 . So I wrote in ~/.config/nixpkgs/overlays.nix "super: self: super.callPackage /home/fatsaucisson/Github/nixstuffs/auntieNeo/pkgs/qtsixa/default.nix" (that file didn't exist previously so this is the only line)
<jD91mZM2> monotux: ??
<jD91mZM2> nevermind
<jD91mZM2> That joke went over my head
<sphalerite> fatsaucisson: almost — you need to add some braces and a name for it, like in the sample I wrote
<monotux> sphalerite, hmmm I'll try. I thought that should have been installed as a dependency?
<monotux> meh didn't help
<sphalerite> monotux: installed, sure. But there's a magical shell hook or setup hook in python that sets PYTHONPATH or something like that. Not sure of the exact details.
<sphalerite> Aww.
<monotux> I'm off to rtfm
<sphalerite> good luck!
<monotux> thanks, and thanks for the tips :)
<fatsaucisson> sphalerite: OK. Once it's done, this file is at a place nix knows he should check then ? Or should I add somewhere something which says "look nix, I wrote stuff for you here" ?
<sphalerite> fatsaucisson: yes, nixpkgs should find it automatically. After doing that, try nix-env -f '<nixpkgs>' -iA qtsixa
<sphalerite> it will need to build it from source, since it's not an official package and thus not in the official binary cache. It may also fail, the expression seems to be about 3 years old and may not work with recent versions of nixpkgs
<fatsaucisson> It says "value is a function while a list was expected, at /.../nixos/pkgs/top-level/stage.nix:131:8"
<fatsaucisson> dunno if it's the package or the thing that I wrote
<sphalerite> could you paste the exact contents of your overlay file?
<fatsaucisson> "
<fatsaucisson> self: super: { qtsixa = super.callPackage /home/fatsaucisson/Github/nixstuffs/auntieNeo/pkgs/qtsixa/default.nix {}; } "
muzzy has quit [Remote host closed the connection]
<sphalerite> oh, I think this might be because overlays.nix isn't supposed to contain a single overlay but a list of them
mkoenig has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #40297 → lib/systems: Prohibit "gnu" ABI (*-gnu) with 32-bit ARM → https://git.io/vpMUH
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/vpM3v
<{^_^}> → 58b2e875 by @Ericson2314: lib/systems: Prohibit "gnu" ABI (*-gnu) with 32-bit ARM
<{^_^}> → 5789cf47 by @Ericson2314: Merge pull request #40297 from obsidiansystems/arm-abi-disambig
<sphalerite> try either A) moving the file to ~/.config/nixpkgs/overlays/something.nix (name of your choice) or B) adding [( and )] around the whole contents of the file
<fatsaucisson> OK, should I surround the content with brackets or something
<fatsaucisson> ok
klntsky has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @sshisk opened pull request #40302 → Few fixes for Prosody service → https://git.io/vpM3I
<{^_^}> [nixpkgs] @Ericson2314 pushed 15 commits to staging: https://git.io/vpM3s
<{^_^}> → 6392fb3d by @guibou: pysensors: init at 2017-07-13
<{^_^}> → 9817b4aa by @fadenb: graylog: wrap graylogctl
<{^_^}> → 08eba842 by @fadenb: graylog: 2.4.3 -> 2.4.4
<jtojnar> xeji: thanks for looking into the flatpak tests
<jtojnar> not sure why it requires GNOME though
<sphalerite> fatsaucisson: https://nixos.org/nixpkgs/manual/#chap-overlays might help explain what's actually going on here.
<fatsaucisson> yay, it progressed, it seems the way the package is specifying 'pyqt4' isn't good anymore, it's a python library so I suppose it should be refered as pythonPackages27.pyqt4
Sonarpulse has joined #nixos
<sphalerite> fatsaucisson: but yeah, what you're doing by putting [( )] around the whole thing is making it into a list containing just that overlay function as an element
<fatsaucisson> (surrounding with [( )] worked)
<sphalerite> \o/
<{^_^}> [nixpkgs] @sshisk opened pull request #40303 → nginx service: add nested locations support → https://git.io/vpM3V
<sphalerite> I think using self.pythonPackages.callPackage rather than super.callPackage might be the right thing to do
<fatsaucisson> ok, let's try that
<fatsaucisson> wouhou well played, it worked
<fatsaucisson> can you explain the difference ?
deepfire has joined #nixos
<sphalerite> you see how at the top of qtsixa/default.nix you have a list of things in {}?
<sphalerite> Those are arguments to the function, and what callPackage does is fill those in ("compose" the package). super.callPackage fills it in with stuff from nixpkgs's top level, while pythonPackages.callPackage fills it in with stuff from pythonPackages as well as nixpkgs's top level
<fatsaucisson> yup, as far as I understood it, it's like the dependencies of the packages
<sphalerite> The nix pills are a good step-by-step intro to the nix language and nixpkgs
<sphalerite> !pills
<fatsaucisson> oooh, so it includes all kind of python libs. Great.
<fatsaucisson> And let's say I have an app which require both python and npm libs, is there a way to do that ? I'll just read your link I think. Thanks again
klntsky has joined #nixos
<jD91mZM2> fatsaucisson: For something like that I think the package would need to specify which ones to use instead of you
<jD91mZM2> Basically it'd say `buildInputs = [ pythonPackages.something, someOtherPackages.somethingElse ]`
<jD91mZM2> Currently it's just saying `buildInputs = [ something ]` and trusts you to explain where "something" comes from, which is what pythonPackages.callPackage did for you
<{^_^}> [nixpkgs] @LnL7 merged pull request #40292 → skhd: Bump 0.0.14 to 0.1.1 → https://git.io/vp1bv
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/vpMsN
<{^_^}> → b12850d4 by @periklis: skhd: Bump 0.0.14 to 0.1.1
<{^_^}> → 9a492d16 by @LnL7: Merge pull request #40292 from periklis/darwin-skhd
<xeji> jtojnar: flatpak doc says it is supposed to run in a desktop environment. not sure which part it really needs but a few seconds extra don't matter with a 1hr test
deepfire has quit [Ping timeout: 248 seconds]
<steveeJ> aszlig: have you tried the rebuild target build-vm-wut
<steveeJ> not again :D
simukis has quit [Ping timeout: 260 seconds]
jD91mZM2 has quit [Quit: WeeChat 2.0]
<steveeJ> aszlig: I think that the commit https://github.com/NixOS/nixpkgs/commit/f148c5c4a1ffa353836bfd18a94d457acf83bd36 created a mismatch of the disk expecations in the build-vm-with-bootloader target.
coot has quit [Quit: coot]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #40255 → treewide: remove lib.meta.enableIfAvailable → https://git.io/vpXE9
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/vpMG7
<{^_^}> → c37b93bd by @matthewbauer: treewide: remove lib.meta.enableIfAvailable
<{^_^}> → 4ec9c4b3 by @matthewbauer: Merge pull request #40255 from matthewbauer/remove-enableIfAvailable
smichel has quit [Ping timeout: 264 seconds]
asuryawa_ has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.9.0 -> 1.10.0 »: https://git.io/vpMZ5
robstr has quit [Quit: WeeChat 1.9.1]
blob has joined #nixos
<blob> ls
<etu> blob: nah :D
<blob> etu: :( :D
vaninwagen has quit [Quit: WeeChat 2.1]
<elvishjerricco> How can you get `nix build` to output the build output?
<gchristensen> use nix-build :)
<elvishjerricco> Aww
griff_ has joined #nixos
<infinisil> I think nix log does that
<blob> May be someone knows, if nixpkg I build want to create and modify file in its nix store directory, but have no permission to do that. Should I patch software source or nix can offer something else?
orivej has quit [Ping timeout: 240 seconds]
<gchristensen> should patch it to not modify files in the nix store
<infinisil> blob: The latter, don't ever try to change files in the nix store directly. Nix has plenty options to modify it by creating a new build
<infinisil> Or a patch yeah
<infinisil> Well yeah, it is a patch, but nix has options to make patching easier for you
<blob> infinisil: I mean, probably nix can offer some symlinks or something to create that file in another directory
<blob> to avoid patching
<infinisil> It depends on the patch you need, what are you intending to change?
<blob> one file with some data, I want to replace it to user's home directory
deepfire has joined #nixos
srl295 has joined #nixos
<blob> that software want to create it in its nix store directory
Ariakenom has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<blob> and please I need some advice for github username, I want to delete old account and create the new one. Should I use real name or some king of nickname will be better? :)
<gchristensen> up to you
<blob> ok
semantimancer has joined #nixos
<semantimancer> Anyone ever run into an issue where compton settings in configuration.nix just seem to be ignored?
boomshroom has joined #nixos
<boomshroom> Hello!
adetokunbo has joined #nixos
<boomshroom> What's the current mechanism to cross-compile an entire NixOS system?
nur0n0 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
chrisbarrett has joined #nixos
<{^_^}> [nixpkgs] @xeji opened pull request #40304 → nixos/tests/graphite: fix test → https://git.io/vpMWk
xy2_ has quit [Ping timeout: 265 seconds]
<blob> how can I give CMAKE_CXX_FLAGS to cmake?
<jtojnar> xeji: would not just the x11 module be enough then? I do not see why it should need GNOME.
asuryawanshi has quit [Ping timeout: 256 seconds]
<jtojnar> Also why are the tests so much slower when run inside QEMU? They take just few minutes when run on my system.
lord| has joined #nixos
<xeji> jtojnar: I tried that at first but x11 is not sufficient. It worked after adding GNOME. Didn't investigate more because I read somewhere in flatpak docs that it is supposed to run under a DE.
<jtojnar> that might mean troubles for users not running a DE
<xeji> About the speed: the QEMU test vm runs one core only.
doyougnu has quit [Quit: WeeChat 1.9.1]
<jtojnar> but IIRC I tested flatpak in xterm VM and it run an app correctly
hiratara has quit [Ping timeout: 246 seconds]
<xeji> maybe but the tests (some, don't remember which) failed on X11 alone
chrisbarrett has quit [Ping timeout: 256 seconds]
<boomshroom> For the purposes of cross-compilation, what's the difference between buildInputs and nativeBuildInputs?
chrisbarrett has joined #nixos
<xeji> jtojnar: from flatpak FAQ: "Flatpak is designed to run inside a desktop session and relies on certain session services, such as a dbus session bus and, optionally, a systemd --user instance."
hiratara has joined #nixos
<xeji> it also seemed to require some shared-mime stuff IIRC
<boomshroom> Is is possible to build a basic NixOS system for a system like ARM and test it in QEMU?
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-18.03 advanced to https://github.com/NixOS/nixpkgs/commit/45cd6090d9a (from 16 hours ago, history: https://channels.nix.gsc.io/nixos-18.03)
mduggie_ has quit [Ping timeout: 240 seconds]
chrisbarrett has quit [Ping timeout: 240 seconds]
<makefu> boomshroom: check out https://nixos.wiki/wiki/NixOS_on_ARM/QEMU
<boomshroom> makefu: That should help. ARM isn't the specific arch I'm looking for, but I figured the setup would be similar. I'm actually interested in RISC-V.
<makefu> boomshroom: there was a lot of effort done regarding cross-compiling but i am not sure how far it is as of now
Wharncliffe has joined #nixos
mduggie has joined #nixos
<makefu> basic idea would be to override `system` with whatever you would like to have and nix does the right thing(tm)
<makefu> essentially everything revolves around https://github.com/NixOS/nixpkgs/pull/26805
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40306 → lib: Simplify float handling → https://git.io/vpMEB
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #40307 → lib: Simplify float handling → https://git.io/vpMEo
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
anderslundstedt has quit [Remote host closed the connection]
dbe has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<boomshroom> makefu: Just found https://github.com/NixOS/nixpkgs/issues/4963#issuecomment-63361259. Replacing ARM with riscv and seeing what happens.
giaco has joined #nixos
chrisbarrett has joined #nixos
<makefu> okay cool
anderslundstedt has joined #nixos
chrisbarrett has quit [Ping timeout: 240 seconds]
udono has quit [Ping timeout: 256 seconds]
sanscoeur has quit [Ping timeout: 255 seconds]
hiratara has quit [Quit: ZNC - http://znc.in]
hiratara has joined #nixos
<gchristensen> is it just me, or is letsencrypt not very good for load balanced servers? there is a bootstrapping problem -- you can't add a server to DNS with it already having the cert
chrisbarrett has joined #nixos
<boomshroom> I don't use repls very often for development, but I'm really enjoying the nix repl.
dbmikus has quit [Quit: WeeChat 2.1]
griff_ has quit [Quit: griff_]
blob__ has joined #nixos
isHavvy has joined #nixos
silver_ has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
xeji has quit [Quit: WeeChat 2.0]
greymalkin has quit [Ping timeout: 240 seconds]
<boomshroom> Now I just need to find where "riscv" is being passed to parse rather than "riscv64".
blob has quit [Ping timeout: 240 seconds]
greymalkin has joined #nixos
blob__ has quit [Quit: Leaving]
<boxofrox> how does one build php with mysqlnd driver? I see a `config.php.mysqlnd` in nixpkgs/pkgs/development/interpreters/php/default.nix, but I've no idea how to set it to true in my /etc/nixos/configuration.nix
<joepie91> gchristensen: should be solvable with DNS validation
deepfire has quit [Ping timeout: 260 seconds]
dvim has quit [Ping timeout: 260 seconds]
tilpner has quit [Ping timeout: 260 seconds]
gchristensen has left #nixos ["WeeChat 1.9.1"]
gchristensen has joined #nixos
deepfire` has joined #nixos
semantimancer has quit [Ping timeout: 240 seconds]
semantim1ncer has joined #nixos
<gchristensen> joepie91: I somewhat get that impression, but I'm not clear on that :/
fogbugz234 has quit [Ping timeout: 240 seconds]
andromeda-galaxy has quit [Ping timeout: 240 seconds]
dvim has joined #nixos
<joepie91> gchristensen: basically the idea is that you validate by placing the challenge response in your DNS records as a TXT record
<boomshroom> Things should work better if I name things correctly.
<joepie91> rather than as a response from a host that the domain is pointing at
<gchristensen> joepie91: and does the challenge change over time?
<joepie91> so the validation is independent from the hosts it points at
<joepie91> I believe so, yes, I'm a bit fuzzy on the specifics
andromeda-galaxy has joined #nixos
<joepie91> but this is automatable
<joepie91> and presumably you can manage it from your deployment system
<joepie91> so that the same system responsible for spinning up hosts is also responsible for managing the challenge
ThatPako has joined #nixos
<{^_^}> [nixpkgs] @xeji pushed to master « nixos/release-combined.nix: fix eval of tested job »: https://git.io/vpMrz
<ThatPako> Are there any intentions to update the discord package?
tilpner has joined #nixos
<boxofrox> gchristensen: joepie91 is right. I set up DNS01 auth for a caddy server using rfc2136 with a bind9 dns server. it's a pain if the DNS server is behind the same firewall as the web server, but it works fairly well.
<{^_^}> [nixpkgs] @mrVanDalo opened pull request #40308 → backup (gem) : remove → https://git.io/vpMrN
<gchristensen> blah
zybell has quit [Ping timeout: 240 seconds]
Lisanna has joined #nixos
griff_ has joined #nixos
<boomshroom> While troubleshooting NixOS for RISC-V, I discovered I have 2 systemd installations used by the same generation.
pingu_ has joined #nixos
<MichaelRaskin> 32-bit and 64-bit maybe?
ThatPako has quit [Remote host closed the connection]
<Lisanna> Hey, I'm having trouble making a custom python package that can be used with python.withPackages. I'm building the package with buildPythonPackage and it appears to build successfully and produces /nix/store/7370n4m1v3bpnrxnvv3x7gaw3a8wkpg4-python3.6-mypackage-0.1 as output. If I do PYTHONPATH=/nix/store/7370n4m1v3bpnrxnvv3x7gaw3a8wkpg4-python3.6-mypackage-0.1/lib/python3.6/site-packages/mypackage python3 then I can do import mypackage just
<Lisanna> fine. But if I enter a nix-shell with shell.nix containing (python3.withPackages(ps: [ mypackage ])).env, import mypackage fails.
<Lisanna> Any likely suspects that I should be checking here?
<Lisanna> I looked in the directories I find in sys.path and I don't see the module anywhere in there.
<boomshroom> My test is failing because libseccomp isn't available on RISC-V. When I checked who depends on it, I found it was systemd. Checking systemd's derivation, it looks like it should work even if libsecconf isn't available. So why isn't it working?
<{^_^}> [nixpkgs] @peterhoeg merged pull request #39813 → bluez: add tools to output that we were building anyway → https://git.io/vpEL4
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/vpMPI
<{^_^}> → 4c66aa89 by @peterhoeg: bluez: add tools to output that we were building anyway
<{^_^}> → 10c9ec68 by @peterhoeg: Merge pull request #39813 from peterhoeg/f/bluez
<boomshroom> Is it really trying to check every package at once?
<{^_^}> [nixpkgs] @xeji pushed to release-18.03 « nixos/release-combined.nix: fix eval of tested job »: https://git.io/vpMPR
<boomshroom> Looks like building the system attribute works, but not vm.
pingu_ has quit [Ping timeout: 260 seconds]
hamishmack has joined #nixos
Sonarpulse has quit [Ping timeout: 276 seconds]
<boomshroom> It might be that the package override is messing up qemu and qemu depends on secconf.
<boomshroom> I am now building a RISC-V NixOS system.
<gchristensen> cc shabius
<gchristensen> erm shlevy
mkoenig has joined #nixos
07EABDE6N has joined #nixos
jason has joined #nixos
jason is now known as Guest77739
jperras has quit [Ping timeout: 265 seconds]
aarvar1 has joined #nixos
07EABDE6N is now known as zybell_
aarvar has quit [Ping timeout: 256 seconds]
<Lisanna> Okay, figured it out I'm pretty sure. withPackages is VERY picky about the python version!
<Lisanna> hasPythonModule x_x
jperras has joined #nixos
<Lisanna> now I'm wondering if it's possible to override the version of python used in buildPythonPackage
rauno has quit [Ping timeout: 248 seconds]
<boomshroom> Lisanna: I'm pretty sure it's possible by using a python platform. The specifics I don't know off the top of my head.
HEX0 has joined #nixos
<HEX0> hello
<boomshroom> HEX0: Hi!
chessai has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
<HEX0> Is is ok to discuss nix in general here or is this only support channel?
<gchristensen> ask away!
<gchristensen> or talk away ... :)
<boomshroom> HEX0: I think so? I ususually do anyways.
<boomshroom> HEX0: NixOS isn't much more than a Nix package itself.
<Lisanna> nixos isn't big enough yet to have dedicated separate support vs. general IRC channels ^^
fogbugz2345 has joined #nixos
<HEX0> I have tried NixOS a few weeks ago in KVM and I quite liked it. I also tried installing Nix package manager in arch and briefly dabbled with that aswell. I find the idea behind it very cool and unique in how it operates. especially considering that packages automagically don't collide. well it's way too complicated for me to grasp the technicalities. I do use arch and gentoo as those are simple enough to
<HEX0> understand and I see why people love the package management and how it's useful in certain production environments. But I'm curious how do you guys compare using NixOS as a desktop distro when compared to say gentoo?