<clever> how will it deal with amazon being weird?, i ordered 4 sticks of ram, 3 arrived at the post office, 1 turned up leaning against my back door
pxc has quit [(Ping timeout: 255 seconds)]
JagaJaga has joined #nixos
eschnett has quit [(Quit: eschnett)]
zraexy has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
ison111_ has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<jasom> is there any way to get fetchurl to allow md5 (just to speed up some testing?)
<taktoa> 1. I thought fetchurl _did_ support MD5
<taktoa> 2. MD5 is not that much faster than SHA256
takle has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
romildo has joined #nixos
<disasm> Hey gchristensen sorry didn't get in touch at 4:30, crazy day.
<taktoa> hmm according to the nixos phd thesis section on the intensional store it's not possible to have multiple outputs with the extensional store... I'm guessing that turned out to be false?
<taktoa> (beginning of the last paragraph on page 161)
<romildo> Can wrapProgram wrap a program from a different package in the store?
<romildo> Or can wrapProgram receive the paths of the input and the output files?
<clever> romildo: one second
<clever> romildo: makeWrapper takes a path to the real program, and the output path
<clever> romildo: and wrapProgram just renames the path you give it, then runs makeWrapper
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/v7hcp
<NixOS_GitHub> nixpkgs/master efc9533 Michael Raskin: Do an ASDF build of StumpWM in quicklisp-converted version
NixOS_GitHub has left #nixos []
Wizek__ has joined #nixos
<jasom> taktoa: no, I have ~2000 tgz files that I already have md5 sums for in a nice database
boomshroom has joined #nixos
<boomshroom> Hello!
<jasom> I don't care about hash speed
<taktoa> ah
<jasom> "error: fetchurl does not support md5 anymore, please use sha256 or sha512" is what I get when trying to build a nix expression with md5 in a fetchurl
JagaJaga has quit [(Ping timeout: 240 seconds)]
<taktoa> jasom: you should rehash them anyway, MD5 is insecure
Wizek_ has quit [(Ping timeout: 248 seconds)]
joehh has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<viaken> This software apparently requires you enter data during its build process.
<romildo> clever, ok. I am writing the package cajaWithExtensions, a wrapper for caja. I want to wrap binaries from ${caja}/bin into ${cajaWithExtensions}/bin. In this case wrapProgram will not work, because it renames the original binary and makes a new one in the same directory. I would have to symlink the binaries from the original package to wrapped package and then wrap the symlinks, right?
<clever> romildo: you can just use makeWrapper directly
<boomshroom> I figured it's about time to try getting my printer up and running with NixOS. Cups was able to detect the printer (more than I could do before with Arch) and now I have to select the driver / make and model. Which driver should I use for a Brother DCP 7020?
<clever> romildo: makeWrapper ${caja}/bin/caja $out/bin/caja ....
NightTrain has quit [(Quit: Lost terminal)]
<romildo> caja, yes, it is be too much work with wrapProgram. Then I am going to use makeWrapper directly.
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<romildo> And I have a list of packages in the attribute 'extensions'. How can I get a search path from them that looks at a given subdir in each one?
<clever> romildo: lib.concatMapStringsSep
pxc has joined #nixos
<boomshroom> If I choose the Generic "Make", what should I use for the "Model"? Postscript?
gnuhurd has joined #nixos
<romildo> For instance, if extensions is [pack1 pack2 pack3], I want the string "${pack}/subdir:${pack2}/subdir:${pack3}/subdir".
eacamero_ has quit [(Ping timeout: 248 seconds)]
eacameron has joined #nixos
<jasom> taktoa: I know; but it will take me a while to untangle every place I use md5, and the script I'm about to run takes 20 hours and I want to do it before I go to bed
<clever> nix-repl> lib.concatMapStringsSep ", " (x: "item ${x}") [ "a" "b" "c" ]
<clever> "item a, item b, item c"
<romildo> clever, thanks.
<clever> nix-repl> lib.concatMapStringsSep ":" (x: "${x}/subdir") [ "a" "b" "c" ]
<clever> "a/subdir:b/subdir:c/subdir"
<clever> you can also give it a list of attrsets, and then apply a more complex function
<clever> as long as that function returns a string
<jasom> so I repeat my question: is there a flag I can set to cause fetchurl to not complain about md5 as the hash?
<taktoa> jasom: if you have the files in a database, why can't you just run sha256sum on them? in any case, maybe you could write your own fetchurl with a fixed output derivation and `curl`? I don't know if FO derivations still support MD5 though. The chromium build used to take advantage of that to make a nondeterministic derivation (using MD5 collision) but maybe it's been removed
<jasom> taktoa: I did run sha256 sum on them
<jasom> taktoa: and I replaced the database entry with the sha256 sum and my script broke
<clever> jasom: any derivation that defines outputHashAlgo, outputHash, and outputHashMode, is fixed-output
pxc has quit [(Ping timeout: 255 seconds)]
<clever> jasom: so you could apply a .overrideDerivation to fetchurl (after giving it a fake sha256) to change the outputHashAlgo and outputHash
eacameron has quit [(Ping timeout: 240 seconds)]
<clever> i believe nix still supports md5, and its just nixpkgs that dis-allows it
eacameron has joined #nixos
<jasom> clever: thanks
<boomshroom> Good news. NixOS was able to tell the printer to print. The bad news is 1 test page = infinite blank pages. How would I install the specific driver for this printer? Nixpkgs doesn't seem to have many Brother drivers. AUR had the driver for the 7030, but not the 7020. Brother has the driver for this machine, but only in DEB or RPM.
<clever> boomshroom: do you have a filename for a brother driver from the AUR?
eacameron has quit [(Ping timeout: 255 seconds)]
<boomshroom> The closest thing on the AUR is https://aur.archlinux.org/packages/brother-dcp7030
<clever> boomshroom: if you download the .deb file, and unpack it, what files does it contain?
<boomshroom> I ask for DEB and it gives me 3 options of printer drivers: Driver Install Tool, LPR printer driver, and CUPSwrapper printer driver.
<clever> try the cups one
<boomshroom> Is it safe to just run dpkg?
<romildo> My cajaWithExtensions package does not have a source. What should I use for the src attribute?
<clever> boomshroom: as long as its ran without root, it cant really do any damage
<clever> boomshroom: and it has a special unpack flag that just unpacks to the cwd
<clever> romildo: either use runCommand instead, or set unpackPhase = ":";
<romildo> clever, I think I should learn about runCommand then.
<clever> romildo: pkgs.runCommand "name" { buildInputs = [ hello ]; } ''
<clever> hello --version > $out
<clever> ''
<boomshroom> clever: The deb contains brcupsconfig3 and cupswrapperDCP7020-2.0.1, both in usr/local/Brother/cupswrapper/. (and some docs)
eacameron has joined #nixos
<clever> boomshroom: and what about the LPR printer driver?
<boomshroom> clever: A lot more. 2 executables, a shared library, something in /var/spool, and a bunch of stuff in /usr/local/Brother/
<clever> boomshroom: what are some of the names under /usr/local/Brother?
eacameron has quit [(Ping timeout: 240 seconds)]
<boomshroom> clever: 2 folders, inf and lpd. inf has braddprinter, brDCP7020rc, paperinf, brDCP7020func, and setupPrintcap. lpd has rawtobr2, filterDCP7020, and psconvert2.
<clever> hmmm, still not finding anything in nix-locate
tempay has joined #nixos
eacameron has joined #nixos
<boomshroom> Cups also accepts a single ppd file, but it doesn't seem like either of the downloads have one.
<tempay> Hi - is 100% of the necessary documentation for contributing packages to NixPkgs in the manual? I've been trying to contribute and running into conventions that don't seem like their in the manual..
<boomshroom> According to Brother's website, the Cups driver requires the LPR driver to be installed.
hanslo-W has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
gnuhurd has quit [(Remote host closed the connection)]
<boomshroom> Brother also provides a "Source Codes" download that seems to contain shell scripts to install the drivers manually.
<tempay> are there any other sources of documentation for contributing I should know about, or just the manual?
eacameron has joined #nixos
eacamero_ has joined #nixos
<nixos-users-wiki> "Scanners" edited by olejorgenb https://git.io/v7h83
eacameron has quit [(Ping timeout: 240 seconds)]
<nixos-users-wiki> "Scanners" edited by olejorgenb https://git.io/v7h8C
<romildo> runCommand with makeWrapper "${caja}/bin/caja $out/bin/caja" --set CAJA_EXTENSION_DIRS "${dirs}" fails with the error: Cannot wrap /nix/store/0pvar495l9xpfq0c2wg65ync6cii5fkr-caja-1.18.3/bin/caja /nix/store/xq8z045km71p1dyygnja1yss4z7r9q8g-cajaWithExtensions-1.18.3/bin/caja because it is not an executable file
<romildo> /nix/store/0pvar495l9xpfq0c2wg65ync6cii5fkr-caja-1.18.3/bin/caja has already been wrapped in the caja package.
<romildo> Is this a problem for makeWrapper?
<adelbertc> tempay: there are some linked in the wiki on GitHub iirc
<clever> romildo: you quoted it too much
<clever> romildo: that is passing 2 files as a single argument
eacamero_ has quit [(Ping timeout: 240 seconds)]
sigmundv_ has quit [(Ping timeout: 248 seconds)]
<boomshroom> I extracted the ppd file from the script and tried using it directly. Unsuprisingly, I'd depends on other files. Interestingly, it looks for them in the /nix/store/...cups-progs/ tree.
<clever> boomshroom: if we have the name of the ppd, we can check to see if its already been packaged
<boomshroom> The script outputs it to /usr/share/cups/model/DCP7020.ppd. I just copied it as ~/Downloads/brother-2070.ppd.
<clever> nope, still not found
<boomshroom> If it's not in <nixpkgs>/pkgs/misc/cups/drivers, then it's probably not in nixpkgs. If it's not in the AUR, then it's unlikely that nixpkgs doesn't have it.
<viaken> Is there a way to define a string in configuration.nix and reference it during a package build?
<boomshroom> unlikely that nixpkgs *does* have it. sorry
<clever> viaken: what are you trying to do?, only packages defined in the nixos side of things can refer to nixos config
<romildo> clever, oh yes. I see now.
Rotaerk_ has joined #nixos
Wizek_ has joined #nixos
<romildo> clever, do you think the wrapper is good enough? http://dpaste.com/0ED4S1J
kiloreux has quit [(Ping timeout: 240 seconds)]
<clever> romildo: only thing missing that i can think of is man pages
LysergicDreams has quit [(Ping timeout: 240 seconds)]
ben has quit [(Ping timeout: 240 seconds)]
<romildo> I am not sure the caja wrapper should be named cajaWithExtensions or caja-with-extensions. Any guidelines regarding naming?
Wizek__ has quit [(Ping timeout: 240 seconds)]
pmeunier has quit [(Ping timeout: 240 seconds)]
pmeunier has joined #nixos
Rotaerk has quit [(Ping timeout: 240 seconds)]
<clever> romildo: gimp for example has: gimp gimp-with-plugins gimpPlugins
<clever> gimpPlugins being a set of all possible plugins
viaken[m] has joined #nixos
thc202 has quit [(Ping timeout: 240 seconds)]
ben_ has joined #nixos
LysergicDreams has joined #nixos
ben_ is now known as Guest66412
<romildo> clever, it seems that emacs, vim, haskell, eclipse, etc. uses camelCase. Maybe there is no guidelines for that.
<clever> yeah
<viaken[m]> clever: This software I was trying to package requires an email address as part of it's build process. I was trying to figure out a way to give it one
filterfish has quit [(Quit: Leaving)]
<clever> viaken[m]: and you cant just provide it at runtime or hard-code it?
eschnett has joined #nixos
<viaken[m]> I'm still not 100% on what it does with it, but it is required at build time.
<clever> viaken[m]: try just giving it a dummy email and see what happens
c74d has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
<clever> they have their own forum?, no github, in this day? lol
ryantm has joined #nixos
cpennington has joined #nixos
<tempay> adelbertc: oh? thought that was depreciate, could you maybe link me to what you're talking about?
<c74d> Are the rustc packages no longer being updated? Is Mozilla's overlay generally preferred?
<wak-work> c74d: i doubt the intention was the deprecate them
<wak-work> probably just lack of maintainer
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
tempay has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28360: Delete orphan file nixpkgs/pkgs/development/tools/build-managers/gradle/2.5.nix (master...patch-50) https://git.io/v7hBm
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
<olejorgenb[m]> is it possible to collect garbage but leave "newish" derivations intact (even if they don't have any roots)?
<clever> olejorgenb[m]: nix-collect-garbage --max-freed 1G
<clever> olejorgenb[m]: it will always delete things in a random order, but the above argument makes it stop mid way
<olejorgenb[m]> I see that the db contains somthing called 'registrationTime' so I thought maybe it was possible
<olejorgenb[m]> initially I though that was the purpose of '--delete-older-than'
eschnett has quit [(Quit: eschnett)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #28361: radare2: 1.4.0 -> 1.6.0 (master...patch-52) https://git.io/v7hB2
NixOS_GitHub has left #nixos []
ladams has joined #nixos
<clever> olejorgenb[m]: --delete-older-than will delete gc roots in nix-env and nixos-rebuild
<clever> which then allows normal nix-collect-garbage to delete more things
<clever> but you can still delete a lot of things without --delete-older-than
<olejorgenb[m]> clever: yeah, I know
<olejorgenb[m]> but at first I thought nix somehow tracked usage of derivations
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
Wizek_ has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
<romildo> clever, do you think the man pages from the base package should be symlinked to the wrapped package?
brynedwardz has joined #nixos
brynedwards has quit [(Disconnected by services)]
brynedwardz is now known as brynedwards
sellout- has quit [(Quit: Leaving.)]
<clever> romildo: yeah, that would help users a lot
<romildo> The caja package that I am wrapping with extensions has no provision for dynamically finding the extensions. But a search directory can be configured at build time. I have patched the source code to use an environment variable (CAJA_EXTENSION_DIRS) to fix that. Is it a good approach?
Guest621 has quit [(Remote host closed the connection)]
zeus has joined #nixos
zeus is now known as Guest91432
<romildo> clever, and there are other executables in the base package, besides the main 'caja' command. I am not sure whether they should be wrapped too. What do you think?
taktoa has quit [(Remote host closed the connection)]
<clever> romildo: can those things run the original caja?
Guest91432 has quit [(Ping timeout: 240 seconds)]
<romildo> clever, I do not think so. But I am not sure. Caja is the mate file manager. The other executables are named caja-autorun-software, caja-connect-server, and caja-file-management-properties.
ison111_ has quit [(Quit: WeeChat 1.7.1)]
<clever> romildo: should probably symlink them at the least, so they are still available
ison111 has joined #nixos
<romildo> clever, there is also subdirectories include, lib and share. In share there are things like desktop menu entries, icons, glib schemas, locales, ...
<romildo> clever, some extensions have executables too. They may be implicitly used by the extension.
yrashk has quit [(Ping timeout: 276 seconds)]
<clever> romildo: a buildEnv with a post hook may also be better
<romildo> clever, buildEnv will combine the stores with symlinks, right?
<clever> romildo: use buildEnv with ignoreCollisions=true; to merge caja, and every extension into a single directory tree
yrashk has joined #nixos
<clever> yeah
<clever> then use postBuild to replace $out/bin/caja with a wrapper
<romildo> clever, it seems that symlinkJoin can also be used for this, right? How does it differ from buildEnv?
<clever> not sure, ive only ever used buildEnv
<adelbertc> what are the tradeoffs between using packageOverrides to do overrides for a project vs. using something like `fix'` and `extend`. one thing i've noticed is `forceSystem` doesn't seem to like `fix'` and `extend`, but on the other hand `packageOverrides` uses `config` when importing `nixpkgs` which means config you have in `~/.config/nixpkgs/config.nix` won't get picked up
pxc has joined #nixos
drakonis has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
proteus-guy has joined #nixos
proteusguy has quit [(Ping timeout: 246 seconds)]
pxc has joined #nixos
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
<ison111> Why does there need to be a nix-daemon for multi-user installs? Couldn't just a script with the right permissions do the trick?
<clever> ison111: you would need to arrange for every user to have write access to /nix/store for one
<clever> ison111: and its simpler to just make nix-daemon root, and have it manage that for them
<clever> second main point, is that nix-daemon enforces the rules, and stops users from doing nasty things in the store
<ison111> well you could always have the suid bit set, but I guess that's kind of scary
<clever> setuid isnt allowed in the store
<ison111> the install script I mean
<clever> and the builds are triggered from inside a library, so things like nix-repl can directly spawn the build
<clever> which means nix-repl would have to be setuid root
ebzzry_ has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
schoppenhauer has quit [(Ping timeout: 264 seconds)]
schoppenhauer has joined #nixos
<adelbertc> speaking of multi-user install, it seems with multi-user each user doesnt have a channel set, i assume because of the whole nix-daemon-does-everything thing
<adelbertc> in that case how do you do a channel update?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #28362: mate.caja-extensions: init at 1.18.1 (master...mate) https://git.io/v7hzf
NixOS_GitHub has left #nixos []
c74d has left #nixos []
<romildo> clever, maybe you want to take a look at the PR I have just submitted to add caja-extensions to nixpkgs.
rootnode has joined #nixos
<romildo> clever, and let me thank you for the tips regarding wrapping executables in NixOS.
ebzzry_ has joined #nixos
<clever> romildo: looks good
takle has joined #nixos
seanparsons has quit [(Remote host closed the connection)]
seanparsons has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
leat has quit [(Ping timeout: 240 seconds)]
leat has joined #nixos
zeus has joined #nixos
zeus is now known as Guest5284
<rootnode> I should not have updated my system...
<rootnode> the new postfix config screwed me royally
<clever> you can always nix-channel --rollback to undo the change in nixpkgs
reinzelmann has joined #nixos
romildo has quit [(Quit: Leaving)]
eacameron has joined #nixos
cpennington has quit [(Remote host closed the connection)]
MP2E has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
eacamero_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] tnias opened pull request #28363: nixos/usbguard: create package and module (master...usbguard) https://git.io/v7h2C
NixOS_GitHub has left #nixos []
Wizek has quit [(Quit: Connection closed for inactivity)]
tnias has joined #nixos
Mateon2 has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
ladams has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
rpifan has quit [(Quit: Leaving)]
the-kenny has quit [(Ping timeout: 264 seconds)]
the-kenny has joined #nixos
drakonis has quit [(Quit: Leaving)]
tmaekawa has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
NightTrain has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
Gohla has quit [(Ping timeout: 246 seconds)]
nixy has quit [(Quit: WeeChat 1.7)]
nixy has joined #nixos
Gohla has joined #nixos
MercurialAlchemi has joined #nixos
nixy has quit [(Client Quit)]
joehh has joined #nixos
nixy has joined #nixos
ryantm has quit [(Quit: Connection closed for inactivity)]
<jeaye> The way I read it, this mkOrder 0 means I can't put anything before it, right? https://github.com/NixOS/nixpkgs/blob/release-17.03/nixos/modules/services/networking/ssh/sshd.nix#L313
nixy has quit [(Quit: WeeChat 1.7)]
oida has joined #nixos
<joehh> hi, I have got automounting for an smb share working, but only root can write to the share
<joehh> how do I do something similar but for a regular user?
oida_ has quit [(Ping timeout: 240 seconds)]
Guest5284 has quit [()]
roberth has joined #nixos
stivo has joined #nixos
<rauno> back with my yesterday issue, somewhy nixos config doesn't activate some sysctl parameters defined in configuration.nix, they are even added to /etc/sysctl.d/nixos.conf but still some of them are not activate after reboot
jellowj has joined #nixos
dylanjust[m] has joined #nixos
<dylanjust[m]> Hi. I'm wondering what the current best practice is for "pinning" a specific nixpkgs version. I want to build a package, and basically fix the nixpkgs version so that each build is built against the same nixpkgs state.
<ronny> dylanjust[m]: typically its based on fetching a specified version from github (which will be cached in the store, then injecting that)
babic has joined #nixos
* dylanjust[m] sent a long message: dylanjust[m]_2017-08-18_06:25:07.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/KNoXphQVDHfNPqEedVKyPeEb>
jellowj has quit [(Ping timeout: 240 seconds)]
Ivanych has joined #nixos
* dylanjust[m] sent a long message: dylanjust[m]_2017-08-18_06:28:32.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/jcgcvMtWcJJNNkpUBtLidHbS>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gebner pushed 2 new commits to master: https://git.io/v7ho5
<NixOS_GitHub> nixpkgs/master 9a67c8e Gabriel Ebner: perlPackages.TextBibTeX: do not hardcode gcc...
<NixOS_GitHub> nixpkgs/master f1666a3 Gabriel Ebner: perlPackages.ExtUtilsLibBuilder: 0.04 -> 0.08
NixOS_GitHub has left #nixos []
rauno has quit [(Ping timeout: 240 seconds)]
ShalokShalom_ has joined #nixos
ShalokShalom has quit [(Ping timeout: 240 seconds)]
<dylanjust[m]> Anyone know what I could be doing wrong? Do I need to log a github issue?
endformationage has quit [(Quit: WeeChat 1.9)]
gnuhurd has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All! I just happened to install jupyter notebook and related packages (including ipykernel) from python35Packages. But then when I start jupyter-notebook and try to start Python 3 notebook it fails to start the kernel (even though I have ipykernel installed). Please help!
MoreTea has joined #nixos
pie__ has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 24 new commits to master: https://git.io/v7h6T
<NixOS_GitHub> nixpkgs/master 1c4171c Matthew Bauer: cryptop: https
<NixOS_GitHub> nixpkgs/master 20b9c32 Matthew Bauer: amarok: use https for homepage
<NixOS_GitHub> nixpkgs/master 99c868c Matthew Bauer: use https://github.com for all homepages...
NixOS_GitHub has left #nixos []
ertes has quit [(Ping timeout: 246 seconds)]
MoreTea has quit [(Ping timeout: 248 seconds)]
<sphalerite> kuznero: try running jupyter from a nix-shell like nix-shell -p 'python.withPackages (ps: with ps; [ jupyter ])'
Arcaelyx has quit [(Quit: Textual IRC Client: www.textualapp.com)]
rauno has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #28364: plowshare: 2.1.6 -> 2.1.7 (master...update-plowshare) https://git.io/v7hPk
NixOS_GitHub has left #nixos []
<kuznero> sphalerite: trying it out, I guess I will also need to include notebook and ipykernel there?
<kuznero> sphalerite: nix-shell -p 'python3.withPackages (ps: with ps; [ jupyter ])' worked for me :) Thanks! But looks a bit inconvenient calling it all the time to start a notebook... Is there any way to make my systemPackages have everything such that I can start julyter-notebook without going into this nix-shell?
phdoerfler has joined #nixos
phdoerfler has quit [(Client Quit)]
ertes-w has joined #nixos
takle has joined #nixos
<sphalerite> kuznero: there certainly is but I'm not sure there's a simple one. Personally I'd probably just add a shell function like jupyter() { nix-shell -p 'python.withPackages (ps: with ps; [ jupyter ])' --run 'jupyter notebook' ; } to my bashrc or similar
ebzzry_ has quit [(Ping timeout: 248 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<adisbladis> I'm doing something similar for ipython, dont want my profile polluted with python deps
<kuznero> sphalerite: thanks for the tip, never saw this before
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 7 new commits to staging: https://git.io/v7hX5
<NixOS_GitHub> nixpkgs/staging f660f58 Tuomas Tynkkynen: Revert "binutils: add missing patches..."...
<NixOS_GitHub> nixpkgs/staging 23547ac Tuomas Tynkkynen: Revert "binutils: patch bugs in 2.29"...
<NixOS_GitHub> nixpkgs/staging f9b2d7b Tuomas Tynkkynen: Revert "binutils: 2.28 -> 2.29"...
NixOS_GitHub has left #nixos []
boomshroom has quit [(Ping timeout: 260 seconds)]
pxc has quit [(Ping timeout: 255 seconds)]
FRidh has joined #nixos
joehh has quit [(Ping timeout: 248 seconds)]
MoreTea has joined #nixos
<rauno> does anyone know why some sysctl settings dont activate after reboot ?
Infinisil has joined #nixos
<kevincox> rauno: No reason I am aware of. What settings are you trying to set and how are you setting them?
<kuznero> FRidh: nope, just starting on a deeplearning.ai on coursera and pythong for the first time :)
<kuznero> Thanks for the link!
goibhniu has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<kuznero> FRidh: and there is also an example of how to install it system-wide in that link, excellent! Thanks!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vandenoever opened pull request #28366: Kde applications (master...kde-applications) https://git.io/v7hMM
NixOS_GitHub has left #nixos []
joehh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] datakurre opened pull request #28367: pythonPackages.zc_buildout_nix: 2.5.3 -> 2.9.4 (master...datakurre-zc_buildout_nix) https://git.io/v7hDf
NixOS_GitHub has left #nixos []
<kuznero> What is generally the difference of when I install pythong35Packages.jupyter and (python35.withPackages (ps: with ps; [ jupyter ]))? The later works, the former does not let me run notebook... Why is that?
takle has joined #nixos
<FRidh> kuznero: the python interpreter looks for modules in the site-packages folder
<FRidh> with Nix we do not have a shared site-packages folder
<FRidh> that means we need to somehow tell the i nterpreter where to find modules
<FRidh> The former just gives you the package, and wraps any executables it may come with, whereas the latter wraps the interpreter so that it can find all included modules.
NightTrain has quit [(Quit: Lost terminal)]
takle has quit [(Ping timeout: 240 seconds)]
vandenoever has quit [(Ping timeout: 255 seconds)]
slyfox has quit [(Ping timeout: 240 seconds)]
<kuznero> FRidh: thanks! Does the same principle apply to haskell packages?
takle has joined #nixos
elurin has left #nixos ["ERC (IRC client for Emacs 25.2.1)"]
kiloreux has joined #nixos
slyfox has joined #nixos
<simpson> Is there a documented recipe for using the nixos/nix Docker image? I found one of offlinehacker[m]'s slide decks, but otherwise not much.
<FRidh> kuznero: I think so
<FRidh> but I'm not sure, I don't use Haskel
<kuznero> FRidh: thanks
<srhb> kuznero: Yes, it does. withPackages will make sure ghc-pkg finds it
<srhb> kuznero: ghcWithPackages, rather
<srhb> We really ought to get the naming scheme in order...
<kuznero> srhb: thanks, now it all starting to make more sense :)
jellowj has joined #nixos
roberth has quit [(Ping timeout: 255 seconds)]
<Infinisil> simpson: This might interest you: https://github.com/LnL7/nix-docker
thc202 has joined #nixos
ertes-w has quit [(Read error: Connection reset by peer)]
ertesx-w has joined #nixos
ertesx-w is now known as ertes-w
FRidh has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
pxc has joined #nixos
<simpson> Infinisil: Thanks.
<LnL> the latest version is a bit old at the moment, I'll update it soon
<LnL> I would also like to get rid of the impure part without runAsRoot somehow
pxc has quit [(Ping timeout: 255 seconds)]
Nazral has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Ping timeout: 240 seconds)]
<rauno> kevincox: boot.kernel.sysctl."net.bridge.bridge-nf-call-ip6tables" = 0;
<rauno> boot.kernel.sysctl."net.bridge.bridge-nf-call-iptables" = 0;
<rauno> boot.kernel.sysctl."net.bridge.bridge-nf-call-arptables" = 0;
betaboon has joined #nixos
Neo-- has quit [(Ping timeout: 240 seconds)]
ShalokShalom_ is now known as ShalokShalom
__Sander__ has joined #nixos
MoreTea has quit [(Ping timeout: 246 seconds)]
adeohluwa has joined #nixos
jellowj has joined #nixos
kiloreux has quit [(Ping timeout: 248 seconds)]
revtintin has joined #nixos
joehh has quit [(Ping timeout: 248 seconds)]
tv1 has joined #nixos
kuznero has quit [(Quit: Page closed)]
sigmundv_ has joined #nixos
kiloreux has joined #nixos
tv has quit [(Ping timeout: 264 seconds)]
freusque has joined #nixos
MP2E has quit [(Quit: leaving)]
<vdemeester> fpletz: hey, shouldn't https://github.com/NixOS/nixpkgs/commit/65f9631b87b373aa3641d44ab3773b01f8cdd682 be backported on 17.03 ? 👼 (can't build my system with 4.12 because this fix is not in 17.03 branch)
sigmundv_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] wingo opened pull request #1525: Remove unused decodeOctalEscaped (master...remove-buggy-octal-decoder) https://git.io/v7h55
NixOS_GitHub has left #nixos []
sigmundv_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/v7hdk
<NixOS_GitHub> nixpkgs/release-17.03 2ef4001 Franz Pletz: linuxPackages.acpi_call: add patch for 4.12 compat...
NixOS_GitHub has left #nixos []
<fpletz> vdemeester: ah, yeah! thanks for mentioning it. done :)
<vdemeester> fpletz: thanks !! O:)
sigmundv_ has quit [(Remote host closed the connection)]
<vdemeester> (I guess I'll just have to wait for the channels to get update 👼
sigmundv_ has joined #nixos
sigmundv_ has quit [(Read error: Connection reset by peer)]
Guest66412 is now known as ben
sigmundv_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cillianderoiste closed pull request #28367: pythonPackages.zc_buildout_nix: 2.5.3 -> 2.9.4 (master...datakurre-zc_buildout_nix) https://git.io/v7hDf
NixOS_GitHub has left #nixos []
roberth has joined #nixos
rtjure has joined #nixos
revtintin has quit [(Quit: WeeChat 1.7)]
Nazral has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg closed pull request #28355: bash: cleanup unused file (master...bash-4.3-cleanup) https://git.io/v7pue
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v7hNY
<NixOS_GitHub> nixpkgs/master 3c65062 Klaas van Schelven: bash: cleanup unused file...
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
h30 has quit [(Remote host closed the connection)]
h30 has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
McLovin_ has joined #nixos
simukis has joined #nixos
avn has quit [(Read error: Connection reset by peer)]
nh2 has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/v7hpK
<NixOS_GitHub> nix/master 6bb4e3e Andy Wingo: Remove unused decodeOctalEscaped...
<NixOS_GitHub> nix/master e56e790 Eelco Dolstra: Merge pull request #1525 from wingo/remove-buggy-octal-decoder...
NixOS_GitHub has left #nixos []
Wizek has joined #nixos
Wizek_ has joined #nixos
MoreTea has joined #nixos
<nixos-users-wiki> "Full Disk Encryption" created by makefu https://git.io/v7hpQ
<nixos-users-wiki> "Full Disk Encryption" edited by makefu https://git.io/v7hhJ
jellowj has quit [(Ping timeout: 246 seconds)]
nix-gsc-io`bot has joined #nixos
<bitonic> is there a way to force recompilation of some derivation?
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2ef4001b95 (from 56 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
MoreTea has quit [(Ping timeout: 240 seconds)]
<goibhniu> bitonic: you can use --check
<nixos-users-wiki> "Full Disk Encryption" edited by makefu https://git.io/v7hhA
<bitonic> goibhniu: what does that do?
<goibhniu> it rebuilds from source
<bitonic> goibhniu: everything?
<bitonic> it fails quite quickly with `error: derivation ‘/nix/store/y9iqpb9ws9f85zsf983zkk6ymw1qw45s-bash-4.4-p5.drv’ may not be deterministic: output ‘/nix/store/6azzdah0darxs5fg5jzlq6vksg45pfxx-bash-4.4-p5-dev’ differs`
<goibhniu> just the package you specify ... e.g. from the root of a nixpkgs clone: `nix-build --check -A hello`
<bitonic> goibhniu: that is what i'm doing, and it fails with that error 🤔
<goibhniu> which package?
<bitonic> goibhniu: one i have locally defined
<goibhniu> can you check that it works with one in nixpkgs?
<bitonic> goibhniu: yep, one sec
<ij> Can you cache things if you're building something with nix-build? I'm building haskell+docker on top and the haskell part's always recompiling.
<Infinisil> ij: nix-shell?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v7hjH
<NixOS_GitHub> nixpkgs/master cc1c817 Franz Pletz: libmspack: 0.5alpha -> 0.6alpha...
NixOS_GitHub has left #nixos []
<bitonic> goibhniu: i'm trying with `-A nixpkgs.xorg.libXrandr` (first package that i happened to see...) and it fails the same way
<ij> Infinisil, No, nix-build.
* goibhniu doesn't recognize that error
<bitonic> goibhniu: maybe i should just reset my store
<bitonic> i think there's something deeply messed up
<bitonic> is there a "right" way to do that?
<Infinisil> ij: nix-shell can keep the intermediate build results, nix-build doesn't
jellowj has joined #nixos
<goibhniu> bitonic: try it with a revision of nixpkgs that successfully created a channel ... e.g. the hash at the end of `nixos-version` (if you're using nixos)
<Infinisil> ij: I don't know much about your build pipeline though, so not sure what's the problem
ylwghst has joined #nixos
ThatDocsLady has joined #nixos
hotfuzz_ is now known as hotfuzz
McLovin_ has quit [(Quit: Leaving)]
ison111 has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
pxc has joined #nixos
<LnL> ij: are you using src = ./.;
babic has quit [(Quit: No Ping reply in 180 seconds.)]
NightTrain has joined #nixos
babic has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
MoreTea has joined #nixos
Infinisil has quit [(Read error: Connection reset by peer)]
Infinisil has joined #nixos
eacameron has joined #nixos
<ij> LnL, src ./..
<LnL> then the result symlink might be causing the rebuilds you are talking about
<LnL> try nix-build --no-out-link
ylwghst has quit [(Quit: Lost terminal)]
xd1le has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mounty has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
ericsagn1 has joined #nixos
mounty has joined #nixos
avn has joined #nixos
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
gspia_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
adeohluwa has quit [(Quit: Connection closed for inactivity)]
MoreTea has quit [(Ping timeout: 240 seconds)]
slack1256 has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
<betaboon> can i somehow print the value of a set during evaluation ?
oahong has quit [(Ping timeout: 240 seconds)]
<sphalerite> betaboon: builtins.trace
JandJim has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/v7jTG
<NixOS_GitHub> nixpkgs/staging 7320fa9 Tuomas Tynkkynen: Revert "stdenvs: Distinguish between `extraBuildInputs` and `extraNativeBuildInputs`"...
NixOS_GitHub has left #nixos []
<gchristensen> sphalerite: hey, how is #7 coming?
erictapen has quit [(Ping timeout: 255 seconds)]
<betaboon> sphalerite: thank you
eacameron has joined #nixos
Infinisil has quit [(Quit: leaving)]
thblt has joined #nixos
xd1le has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<JandJim> Hi, I am considering using Nix but there are still things that I do not fully understand... Let's say I want to install OpenMPI for instance. It should be linked to an external, vendor provided, library present in a custom path. Is there a mechanism to consistently add the required configuration flag for both installation AND updates other than having to fork the default.nix file? (It might be very basic, I'm sorry)
<xd1le> How can I build a project that uses cmake?
<xd1le> (as in, in a nix expression)
<betaboon> sphalerite: when trace shows a set as { key = <CODE>; }, does that mean that value is a function ?
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
gspia_ has quit [(Quit: Leaving)]
<xd1le> JandJim: yeah, I believe you can override attributes: https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs
<xd1le> (if that's what you're looking for, I may have misunderstood)
eacameron has joined #nixos
<thblt> I can't remember how to setup the wifi driver in NixOS. Machine is Dell XPS 9560, network controller is Qualcomm Atheros QCA6174. Any ideas?
<thblt> I assume it's in boot.kernelModules, but I don't know the module name.
<JandJim> xd1le: thanks that's it! Thanks a lot!
<michaelpj_> xd1le: I think the generic builder will do cmake by default
<gchristensen> thblt: http://grahamc.com/blog/nixos-on-dell-9560 search for "wifi" here
<gchristensen> thblt: specifically the 4th match
<michaelpj_> xd1le: you probably need cmake in buildInputs, though
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
<xd1le> michaelpj_: yeah maybe that's what I missed, :| (cause I already tried assuming it would pick up it's a cmake project by default but it complained about no Makefile, etc.)
<thblt> gchristensen: I have networkmanager enabled, but nmtui only shows wired connection.
<xd1le> JandJim: yw!
<gchristensen> thblt: does ifconfig list any wlp* interfaces?
iyzsong has joined #nixos
<thblt> gchristensen: No, only the USB ethernet adapter and loopback
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jamtrott opened pull request #28368: petsc: init at 3.7.6 (master...petsc) https://git.io/v7jky
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
<xd1le> michaelpj_: that worked, thanks!
<gchristensen> thblt: try pressing the "PtrScr" button in the top-right area of your on-board laptop keyboard
eacameron has joined #nixos
<thblt> gchristensen: No effect (and xev detects the keypress, so I guess it's not handled by the firmware like fn-f10 is)
<srhb> Is anyone else having trouble visiting nixcon2017.org ?
<srhb> Actually I can't even ping it. Weird.
<brynedwards> Fine for me
<srhb> Hm. guess my vpn is screwy.
<gchristensen> thblt: hmm pressing F10 w/out Fn is handled by the firmware for me
<gchristensen> thblt: so, maybe, press Fn-PtrScr
<gchristensen> thblt: and indeed pressing that radio tower button kills wifi for me
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<thblt> gchristensen: I tried both, no effect.
andymandias has joined #nixos
<thblt> I configured the machine to require fn for the media key, so your f10 is probably my fn-f10.
ThatDocsLady has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<thblt> but "rfkill list" also reports only the bluetooth controler, no wifi. I really suspect a driver issue.
<gchristensen> thblt: unforutanetyl I can't help further right now, but could later. hopefully someone else can now :)
oahong has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
<thblt> gchristensen: Thank you very much :)
eacameron has joined #nixos
nwuensche has joined #nixos
sellout- has joined #nixos
<nwuensche> Hi! I installed oh-my-zsh on my system. However, I want to use it with my modified version of the agnoster theme. How can I do this? Can I use a path for programs.zsh.ohMyZsh.theme?
eacameron has quit [(Ping timeout: 248 seconds)]
thblt has quit [(Remote host closed the connection)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
NightTrain has quit [(Quit: Lost terminal)]
ThatDocsLady has joined #nixos
jellowj_ has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<MoreTea> has anyone else tried `openshift cluster up`?
<MoreTea> I just created an issue on their github: https://github.com/openshift/origin/issues/15852
eacameron has quit [(Ping timeout: 240 seconds)]
xd1le has quit [(Quit: Toodaloo padawans! 👣)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
apeyroux has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
thblt has joined #nixos
erictapen has joined #nixos
jellowj_ has quit [(Ping timeout: 255 seconds)]
<thblt> Sorry to ask again, but does anybody here use NixOS (preferably 17.03) on a Dell XPS 15" (9560) and has got wifi working? I'd love to see your config!
gspia_ has joined #nixos
<goibhniu> hi thblt, what wifi chip have you got? Maybe you need to enable some firmware?
<thblt> goibhniu: 02:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
<thblt>
<joepie91> made a little thing for generating the 'technical details' section for nixpkgs issue filing: https://gist.github.com/joepie91/406ed5b3b11902d3a97a9ce4f3288ab3
nwuensche has quit [(Quit: Leaving)]
<gspia_> Hi, anybody with problems with sshd (17.03, listenAddresses) & solutions?
<joepie91> gspia_: "problems" is very vague. if you describe what exactly the problems are (what does it do? what is it *supposed* to do? what have you tried, and in what way did it not resolve the issue?) then somebody may recognize the issue and know the answer
<goibhniu> thblt: is ath10k loaded?
MoreTea has quit [(Ping timeout: 248 seconds)]
<gchristensen> joepie91: nice!
<gspia_> ok: on configuration.nix, if I add listenAddresses = [ {addr = "my addr"; port=myport;} ];, rebuild,
<gspia_> and try systemctl status sshd
<gspia_> it says failed to start ssh daemon
<thblt> goibhniu: yes, it seems so.
<gspia_> but without that line, ssh daemon starts
<joepie91> gspia_: what does `journalctl -eu sshd` show at the end?
<joepie91> gspia_: sorry, `journalctl -exu sshd`
<joepie91> of specific interest are any errors relating to ports being in use
<thblt> goibhniu: I get the very same error grahamc shows here http://grahamc.com/blog/nixos-on-dell-9560#wifi-1
<gspia_> ok, wait a sec (suspecting links, since now it could find the sshd while with that address line it wasn't finding - I'll recheck this after trying journalctl)
<goibhniu> thblt: ah, but he says it works out of the box?
<thblt> goibhniu: on the installer, yes. I think it worked on the installer for me too.
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg opened pull request #28370: Make UEFI installer test release critical (master...uefi-release-critical) https://git.io/v7jYp
NixOS_GitHub has left #nixos []
<gchristensen> thblt: try adding hardware.enableRedistributableFirmware = true; to your config and rebuilding / rebooting
<betaboon> is there a builtin method for merging a list of sets ?
<gspia_> joepie91: it says: Unit sshd.service has failed.
<gspia_> joepie91: start request repeated too quickly.
<thblt> gchristensen: thank you, rebooting now :)
thblt has quit [(Remote host closed the connection)]
<gspia_> joepie91: and with systemctl status sshd
thblt has joined #nixos
<thblt> gchristensen: it works, thank you!
<gchristensen> oh! :)
<gchristensen> I'll update my post. I didn't have to add that, because hardware-configuration.nix imports nixpkgs/nixos/modules/installer/scan/not-detected.nix which has it
<gchristensen> I'll update my post. I didn't have to add that, because my hardware-configuration.nix imports nixpkgs/nixos/modules/installer/scan/not-detected.nix which has it
<gspia_> joepie91: systemctl msg is similar (failed to start ssh daemon)
<joepie91> gspia_: you'll want to scroll up until the first failure in the chain
<joepie91> gspia_: the 'start request repeated too quickly' just means that the sshd refused to start several times and eventually it ran out of tries
<gchristensen> thblt: I'm glad it worked :D
<joepie91> ie. what you're interested in, is the error that *led* to those retries
<thblt> gchristensen: It's my fault it didn't work, to be honest. I tried to make the configuration from scratch by just copy-and-pasting the essential bits from the generated hardware-configuration.nix, so I dropped this import.
<sphalerite> betaboon: re <CODE>, I think it's just something that hasn't been evaluated
nh2 has joined #nixos
jellowj_ has joined #nixos
<sphalerite> betaboon: re set merging, I don't think there is but you can use one of the folds and mergeAttrs from lib in nixpkgs to make it yourself
mog has quit [(Ping timeout: 240 seconds)]
<gspia_> joepie91: ok, did the following: rebuild switch without listenAddresses (starts ok, checked with that journalctl), then rebuild switch with listenAddress
<sphalerite> Thing is that there's no "one true way" of merging sets
<sphalerite> When it comes to several sets having the same key
<gspia_> joepie91: and after the previous "sshd.servive has finished shutting down"
nwuensche has joined #nixos
<betaboon> sphalerite: thank you for the answers. on the <CODE> you seem to be right.
nh2 has quit [(Client Quit)]
<betaboon> sphalerite: on the merging, just decided to change my implementation to not require set-merging
<gspia_> joepie91: it says "sshd.service has begun starting up"
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gspia_> joepie91: "systemd[1]: Started SSH Daemon".
<joepie91> gspia_: can you pastebin the last 50 lines or so of that journalctl output when it has failed?
<gspia_> joepie91: then "subject ... finished start-up", "defined-by: systemd", then couple of lines "start-up result is done." and after that starts several "systemd[1]: sshd.service" failure-lines
<nwuensche> Hi! I'm trying to add my custom theme into ohmyzsh (https://gist.github.com/NWuensche/3811996a53d42228243f571ee9ff3129) . However, I can't cp, because the permission is denied. So how can I copy this into this folder?
<gspia_> joepie91: 1st "Main process exited, code=exited, status=255/n/a"
<gspia_> joepie91: 2nd "Unit entered failed state."
<joepie91> gspia_: this will probably be easier if you just pastebin the output :)
pxc has joined #nixos
nh2 has joined #nixos
hanslo-W has joined #nixos
<disasm> gchristensen: morning
* gchristensen waves
thblt` has joined #nixos
thblt has quit [(Ping timeout: 255 seconds)]
thblt` is now known as thblt
pxc has quit [(Ping timeout: 248 seconds)]
nh2 has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<gspia_> joepie91: it is now in https://pastebin.com/UCNmCWLz
eacameron has quit [(Ping timeout: 248 seconds)]
sellout- has quit [(Quit: Leaving.)]
<gspia_> joepie91: it is a bit long: but ggVG and then "+Y helped to copy it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v7jsG
<NixOS_GitHub> nixpkgs/master fb70d08 Peter Hoeg: msgviewer: indent
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
<joepie91> gspia_: hm, yeah, that is not very informative :/
<joepie91> I'm not really sure then, other than "start the SSHd manually using the generated config file and see if it outputs errors"
erictapen has joined #nixos
gnuhurd has quit [(Ping timeout: 240 seconds)]
<gspia_> joepie91: is "systemctl start sshd" ok? It outputs nothing but "systemctl status sshd" gets updated
gnuhurd has joined #nixos
mounty has quit [(Ping timeout: 255 seconds)]
takle has quit [(Remote host closed the connection)]
<gspia_> joepie91: here is the output of it https://pastebin.com/awYksUa7
mounty has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #28322: darwin stdenv: Float `persistentN` bindings into per-stage `let`s (master...darwin-boot) https://git.io/v7ALq
NixOS_GitHub has left #nixos []
<disasm> gspia_: what happens if you stop that service and run sshd -t?
<disasm> gspia_: you probly need to systemctl cat sshd to get the full path to the binary
<gspia_> joepie91: disasm: it says "etc/ssh/sshd_config: No such file or directory"
<disasm> gspia_: yeah, you need to specify the config file, one sec
<gspia_> joepie91: disasm: you mean the one in the pastebin? I can try it
<disasm> gspia_: do systemctl cat sshd and append that -f <store path> to it
Rotaerk_ has quit [(Quit: Leaving)]
eacameron has joined #nixos
nwuensche has quit [(Quit: Leaving)]
<gspia_> disasm: "sshd -t /nix/store/l4ic0gxknf5yryshg8v56gryxh7mgf45-sshd_config"
ericsagn1 has quit [(Ping timeout: 240 seconds)]
<gspia_> disasm: "/etc/ssh/sshd_config: No such file or directory"
<gspia_> disasm: "sshd -f /nix/store/l4ic0gxknf5yryshg8v56gryxh7mgf45-sshd_config
<gspia_> "
eacameron has quit [(Ping timeout: 240 seconds)]
<gspia_> disasm: "sshd re-exec requires execution with an absolute path"
<gspia_> disasm: "/nix/store/vmisgqfbqywgsw9php70bbx90czr398i-openssh-7.4p1/bin/sshd -f /nix/store/l4ic0gxknf5yryshg8v56gryxh7mgf45-sshd_config"
proteus-guy has quit [(Ping timeout: 276 seconds)]
<gspia_> disasm: it says nothing
<disasm> gspia_: /nix/store/vmisgqfbqywgsw9php70bbx90czr398i-openssh-7.4p1/bin/sshd -t -f /nix/store/l4ic0gxknf5yryshg8v56gryxh7mgf45-sshd_config
<disasm> if that still shows nothing, gist /nix/store/l4ic0gxknf5yryshg8v56gryxh7mgf45-sshd_config
phreedom has joined #nixos
<gspia_> disams: it says nothing, I'll gist
rauno has quit [(Ping timeout: 240 seconds)]
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<disasm> gchristensen: looks like 7 and 11 are all that's left :)
iyzsong has joined #nixos
<gspia_> disasm: it said nothing, is pastebin ok: https://pastebin.com/QpLMU4vT
<disasm> gspia_: can you also paste your nix config for sshd?
cpennington has joined #nixos
<gspia_> disasm: ok, wait a sec
Turion has joined #nixos
stepcut has joined #nixos
<disasm> gspia_: oh, your listen address
<disasm> you have a port specified in it
<disasm> are you trying to change the port of sshd to 33333?
<gspia_> disasm: yes, I'll try to tell the addr and port
<gspia_> disasm: here is the config-part: https://pastebin.com/5jjmJt7m
proteus-guy has joined #nixos
<disasm> gspia_: yeah, i think if you uncomment ports it will work
<disasm> cause if you look at your config it has Listen 22 and then ListenAddresses with the port you want
<disasm> I'm guessing it's crashing because it can't listen to an interface on a port it doesn't have open.
<gspia_> disasm: ok, I'll try it - btw is nixos-rebuild switch enough (no reboot) when I change sshd-settings?
<gspia_> disasm: ok
<disasm> yup
<gspia_> disasm: here we go -> systemctl time stamps got updated but says it is failing
<gspia_> disasm: I'll try to start it manually
erictapen has quit [(Ping timeout: 248 seconds)]
hotfuzz_ is now known as hotfuzz
<disasm> gspia_: add the -d flag as well
<disasm> gspia_: when you run manually your running as root or with sudo right?
<gspia_> disasm: "sudo bash" and then as a root
<gspia_> disasm: "ps ax" shows that sshd is running
MoreTea has joined #nixos
<gspia_> disasm: three debug1-lines, version line, private host key #0 and #1
Wizek_ has quit [(Ping timeout: 255 seconds)]
Myrl-saki has joined #nixos
<disasm> ok, ctrl-c, sudo systemctl start sshd
erictapen has joined #nixos
<gspia_> disasm: the starting line returned -> have to kill the processes first -> and then I'll get out of sudo bash and try that sudo syst.. (2 secs)
<gspia_> disasm: the sudo systemctl cmd didn't start the sshd
jtojnar has quit [(Ping timeout: 246 seconds)]
goibhniu1 has joined #nixos
peacememories has joined #nixos
goibhniu has quit [(Ping timeout: 248 seconds)]
<domenkozar> am I going crazy? nixos assertions don't work in nixops
mog has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v7jCi
<NixOS_GitHub> nixpkgs/master 8d53bfe Franz Pletz: libmspack: fix hash...
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
symphorien has joined #nixos
<disasm> gspia_: but it runs if you run the command output from systemctl cat sshd manually?
bennofs1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #28329: imagemagick: 6.9.9-3 -> 6.9.9-7 (master...imagemagick-6.9.9-7) https://git.io/v7API
NixOS_GitHub has left #nixos []
vandenoever has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #28341: ImageMagick: 6.9.9-3 -> 6.9.9-5 (master...pkg/imagemagic-6995) https://git.io/v7x4R
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.03: https://git.io/v7jWo
<NixOS_GitHub> nixpkgs/release-17.03 d33b18c Tim Steinbach: ImageMagick: 6.9.9-0 -> 6.9.9-3...
<NixOS_GitHub> nixpkgs/release-17.03 6fd82d7 Tim Steinbach: ImageMagick: 7.0.6-1 -> 7.0.6-4...
<NixOS_GitHub> nixpkgs/release-17.03 a391aca Hoang Xuan Phu: imagemagick: 6.9.9-3 -> 6.9.9-7...
NixOS_GitHub has left #nixos []
bennofs has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
stivo has quit [(Quit: Leaving)]
jtojnar has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
goibhniu1 is now known as goibhniu
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
sellout- has joined #nixos
<copumpkin> # nix-shell -p vim
<copumpkin> error: setting synchronous mode: unable to open database file
<copumpkin> hmm :)
<gspia_> disasm: it seems not to run, I had to try it as a root (sudo didn't do it).
<copumpkin> niksnut: you seen that error before?
<copumpkin> looks like a sqlite error but I'm not sure how to appease t
<gspia_> disasm: now starting it by hand as a root with -t -d -f does not work
<copumpkin> ah, I ran out of inodes
<gspia_> disasm: it prints the three debug-lines but "ps ax" doesn't show sshd
<disasm> gspia_: -t just tests the config, it doesn't start it
<disasm> gspia_: do -d -f <config_file>
<gspia_> disasm: ah, ok, my bad -> I'll try again
bennofs1 is now known as bennofs
<gspia_> disasm: "Bind to port 22 on 192.168.0.120 failed: Cannot assign requested address."
Capprentice has joined #nixos
<gspia_> disasm: "Cannot bind any address."
<disasm> then your config is wrong
<disasm> gspia_: can you paste your latest config output by systemctl cat sshd?
<gspia_> disasm: here https://pastebin.com/qTNY9nFq
<disasm> this file: /nix/store/lngl452hr12niq1gzjgjkgmi0c19xmdr-sshd_config
erasmas has joined #nixos
<gspia_> disasm: ok, here https://pastebin.com/cBYmieDv
<gspia_> disasm: is it possible to bypass the ssh-attributes at configure.nix and give it the sshd_config directly as a text (e.g. by copying a one that works on my other machine into it)?
<disasm> gspia_: you still have port 22 in there
<disasm> you changed the nix config and ran rebuild switch, right?
<gspia_> disasm: yes
<gspia_> disasm: but let me try again
<disasm> did you get any errors during rebuild switch?
<gspia_> disasm: no errors and the port number from address line vanished (that 33333)
<gspia_> disasm: i'll try to disable this service, rebuild, then enable and rebuild it
<gspia_> disasm: 2 secs
<disasm> can you try without the listen address and just the port and rebuild?
<disasm> it should be services.openssh.ports = [ 33333 ];
<gspia_> disasm: yes, 2 secs to that too
<gspia_> disasm: switch tells about collisions between some png's and R and Rscript but that should not affect sshd?
<disasm> nope
<gspia_> disasm: ok, so now there is now sshd-service and in way the system should be clean (systemctl cat sshd -> "No files found for sshd.service.")
<disasm> did you set services.openssh.enable = false?
<gspia_> disasm: yes
vandenoever has quit [(Ping timeout: 240 seconds)]
<gspia_> disasm: and now I started it with "enable = true" but nothing else. "ps ax" -> sshd is running
<gspia_> disasm: when I cat /nix/store/6b90hc1b2h9n9rw9h95sv50qbdld2xfh-sshd_config
<gspia_> disasm: there is a line "Port 22" visible
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
<disasm> gspia_: I just did a build-vm with this config and it works: https://gist.github.com/disassembler/53a8728576797bbbac4207f9c13d4923
felipedvorak has quit [(Ping timeout: 240 seconds)]
<gspia_> disasm: 1q, if I copy and try that, will the x (kde) still be available
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v7jR9
<NixOS_GitHub> nixpkgs/master 291da85 Moritz Kiefer: haskell: remove any extraneous outputs from sdistTarball
<NixOS_GitHub> nixpkgs/master b6a746d Peter Simons: Merge pull request #28097 from cocreature/sdistTarball-doc...
NixOS_GitHub has left #nixos []
<disasm> no :) you need to only change the ssh section :)
<gspia_> disasm: ok, I'll try it next
<disasm> that's equivalent to services.openssh.enable = true; services.openssh.ports = [ 33333 ];
<Turion> Weird... I just installed cabal, and trying to build a project gives: /usr/bin/ghc-pkg: createProcess: runInteractiveProcess: exec: does not exist
<Turion> (No such file or directory)
<Turion> Why is it looking for that path?
magnetophon has quit [(Ping timeout: 255 seconds)]
<gspia_> disasm: ok (I had to move some other services into the outer curlies), after switch, the sshd is running
<gspia_> disasm: and sshd_config has a line "Port 33333"
<disasm> yay :) no idea what the problem was before!
ncl28 has joined #nixos
<disasm> can you ssh to the server on port 33333 now?
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gspia_> disasm: locally, yes
<gspia_> disasm: next I'll try it from my other machine
<disasm> awesome, you should be good to go then. If you want you can try adding the listenAddresses now if you have multiple nic's and only want it listening on one.
<disasm> but if you have one nic, there really isn't a point
moredhel1 has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
oever has joined #nixos
reinzelmann has quit [(Ping timeout: 240 seconds)]
<gspia_> disasm: ah, I may have done it again (remembered wrongly), so this listenaddress means the ip of the machine I'm configuring now
<gchristensen> disasm: sure are :) should be done soon
JandJim has quit [(Quit: Page closed)]
vandenoever has quit [(Ping timeout: 276 seconds)]
<disasm> gchristensen: awesome, I'm debating on tackling pill 20 :)
oever is now known as vandenoever
<gchristensen> disasm: yes absolutely :)
Sonarpulse has joined #nixos
<disasm> gspia_: listen address is the IP/port combination that the process will bind to
sellout- has quit [(Quit: Leaving.)]
pxc has joined #nixos
<disasm> gspia_: so for example if you have the IP's 10.40.33.20, 127.0.0.1 and 19.168.35.4 on a machine and you only want to listen on 10.40.33.20 you'd add listen address 10.40.33.20:33333 to the config and then it would only accept connections connecting to that IP/port.
felipedvorak has joined #nixos
<gspia_> disasm: ok & thanks
<disasm> gspia_: you could also specify multiple ports, say 22 on 192.168.35.4:22 and 10.40.33.20:33333 with Port 22 and Port 33333 in the config.
<moredhel1> Hi all, I'm currently experimenting with building docker images using nix and am curious about one aspect of the Dockerfile which doesn't seem to have an equivalent in the Nix files, namely ADD/COPY. I'm looking at the docs specified here: https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools.
vandenoever has quit [(Ping timeout: 240 seconds)]
TheAppleMan has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
<disasm> moredhel1: I think that's because it's expected you would put anything you want to use in the container in the nix store
<gspia_> disasm: just one more thing (if you have still time, you have been most helpful already): just to be sure: I copy the pub-key made in machine A to .ssh/authorized_keys in this machine B and then ssh from A should B doable
<moredhel1> ah, so I would build a nixpkg of my project, then transform that into an image which I can then import into Docker?
<disasm> gspia_: you can... recommended way to do it though is users.extraUsers.<username>.openssh.authorizedKeys.keys = [ "your key goes here" ];
<catern> hey #nixos
<catern> have we figured out how to hardcode locations of Python modules?
<disasm> moredhel1: yup!
<gspia_> disasm: ok, I'll try that one as the .ssh/a..keys didn't seem to work
<gspia_> disasm: thanks so much this far!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v7juH
<NixOS_GitHub> nixpkgs/release-17.03 6dc5620 Eelco Dolstra: gcc: 6.3.0 -> 6.4.0...
NixOS_GitHub has left #nixos []
magnetophon has joined #nixos
ericsagn1 has joined #nixos
<disasm> gspia_: any time :)
sellout- has joined #nixos
acarrico has joined #nixos
takle has joined #nixos
ertes-w has quit [(Ping timeout: 240 seconds)]
babic has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<dash> catern: hmm, what do you mean by that?
jellowj_ has quit [(Quit: WeeChat 1.7.1)]
<dash> simpson: think you could update https://github.com/NixOS/nixpkgs/pull/26923 some time?
<catern> dash: Python searches PYTHONPATH, right? that's kind of inefficient, isn't it?
<catern> we could do that resolution at build time
<dash> ah, in that sense. No, you can't really fix that
revtintin has joined #nixos
<FRidh> catern: wrapPythonPrograms inserts paths to site-packages folders in scripts
revtintin has quit [(Client Quit)]
<FRidh> other than that, its not really possible with a dynamic language like python
pxc has joined #nixos
radvendii has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
revtintin has joined #nixos
thblt has quit [(Ping timeout: 240 seconds)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
radvendii has quit [(Ping timeout: 255 seconds)]
rauno has joined #nixos
magnetophon has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
ylwghst has joined #nixos
vandenoever has quit [(Ping timeout: 240 seconds)]
<dash> fridh: it's possible, you use something like pex/cx_freeze/py2exe to bundle everything together
babic has joined #nixos
<dash> but that's not a win for nix
ylwghst has quit [(Quit: leaving)]
FRidh has joined #nixos
thblt has joined #nixos
<FRidh> dash: that creates executables. It won't allow you to import Python code. Nuitka or Cython would be better options then. Furthermore, the idea is not to bundle all modules of different packages into a single store path
<dash> fridh: nuitka is never a good idea, and cython isn't python :)
<dash> anyway, I'm saying that's a way to bundle everything together to avoid searching, i'm /not/ saying it's a good idea for nix
<FRidh> dash: you can import cythonized python code.
<FRidh> alright, I agree
<copumpkin> niksnut: any plans for a release containing https://github.com/NixOS/nix/commit/c740c3ce500af2b7eb34651b5eeec01288d79dca ? it's biting me and a few other folks
cpennington has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
babic has quit [(Ping timeout: 255 seconds)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
cpennington has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
drakonis_ has joined #nixos
<nixos-users-wiki> "Full Disk Encryption" edited by Mic92 https://git.io/v7jP1
<dash> whoops wrong channel, heh
fresheyeball has joined #nixos
<fresheyeball> what is `nodejs-7_x` called in the master nixpkgs branch?
<dash> Can overlays contain nixos modules?
ebzzry_ has joined #nixos
<Ankhers> fresheyeball: It doesn't look like there is one on master.
<Ankhers> There appears to be a 4, 6 and 8.
<fresheyeball> no 7 hu?
digitus has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<Ankhers> I think node version reserve odd numbers for test builds or something, don't they?
ladams has joined #nixos
stepcut has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
erictapen has joined #nixos
SOO7 has quit [(Ping timeout: 240 seconds)]
<moredhel1> I'm looking to build a nixpkg from a local directory. In my case, I have a single 'index.js' that needs to be run with node. It's similar to the example in the manual, except instead of a fetchurl I would like to specify a list of files in the cwd. Is this possible? or do I need to upload to a git server before I can build?
erictapen has quit [(Ping timeout: 240 seconds)]
drakonis_ has quit [(Read error: Connection reset by peer)]
SOO7 has joined #nixos
__Sander__ has quit [(Quit: Konversation terminated!)]
goibhniu has quit [(Ping timeout: 240 seconds)]
SOO7 has quit [(Excess Flood)]
<kriztw> moredhel1: you can do src = ./.;
dbmikus has joined #nixos
radvendii has joined #nixos
ylwghst has joined #nixos
<moredhel1> ah, thanks :)
<moredhel1> can I pass in a list?
<moredhel1> such as `src = [./server.js ./node_modules];`
fresheyeball has quit [(Quit: WeeChat 1.9)]
dbmikus has quit [(Client Quit)]
pxc has joined #nixos
kuznero has joined #nixos
<kriztw> moredhel1: I don't think so, but I haven't tried :P
<kriztw> moredhel1: if you don't need all the files you can just not copy them in the install stage though
<Filystyn> cpy the file
<Filystyn> ;-)
<dash> moredhel: you use `builtins.filterSource`
SOO7 has joined #nixos
<moredhel1> ah, perfect! thank you :)
Jake_Smith has joined #nixos
<sphalerite> @moredhel:m.aoeu.me: there's also lib.cleanSource in nixpkgs which will filter out commonly unwanted stuff
<moredhel1> ah, is that a wrapper around the above? I'm currently trying to find docs on filterSource to see how I can call it
dbmikus has joined #nixos
Infinisil has joined #nixos
phdoerfler has joined #nixos
<moredhel1> actually, cleanSourceFilter is a good example
Infinisil has quit [(Client Quit)]
<kuznero> Does anybody have any success installing NVidia drivers on NixOS by any chance?
endformationage has joined #nixos
stepcut_ has joined #nixos
stepcut has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #28373: stdenvs: Distinguish between `extraBuildInputs` and `extraNativeBuildInputs` (staging...stdenv-extra-inputs) https://git.io/v7jyD
NixOS_GitHub has left #nixos []
Jake_Smith has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
erictapen has joined #nixos
Jake_Smith has joined #nixos
ladams has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Unode has quit [(Read error: Connection reset by peer)]
SOO7 has quit [(Ping timeout: 255 seconds)]
Unode has joined #nixos
sellout- has quit [(Quit: Leaving.)]
<kuznero> I was trying to see if it is possible to use my GPU with NixOS :) if I will get some games working - nice :)
<kuznero> Any success stories on that?
freusque has quit [(Quit: WeeChat 1.7.1)]
<ylwghst> how to flush dns cache?
k2s has joined #nixos
ladams has joined #nixos
radvendii has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #28374: binutils: Pass --build --host on non-arm (staging...binutils-arm) https://git.io/v7j9B
NixOS_GitHub has left #nixos []
<disasm> kuznero: I believe your looking for services.xserver.videoDrivers = [ "nvidia" ];
<disasm> although depending on how old your card is, you may need one of the legacy drivers
<disasm> kuznero: you'll also need nixpkgs.config.allowUnfree = true;
<disasm> and hardware.opengl.driSupport32Bit = true;
<ylwghst> kuznero: which nvidia card?
cpennington has quit [(Ping timeout: 248 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
python476 has joined #nixos
<kuznero> ylwghst: disasm: I have trouble trying to figure out the exact model. Do you know how is it possible without having drivers installed? Tried lshw and lspci....
<kuznero> ?
erictapen has quit [(Ping timeout: 240 seconds)]
<disasm> kuznero: nix-shell -p pciutils --run lspci
<kuznero> It is one of the cards using NVidia Optimus technology. I am using Lenovo Y50-70///
<octalsrc[m]> Can `nix-env` perform a package's setup hooks?
<gchristensen> nix doesn't have setup hooks
<kuznero> disasm: this is what I see: "00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)"
<kuznero> can it be that I need to turn it on in bios first?
<disasm> you don't see a 2nd VGA?
<kuznero> nope, just a single one.
<octalsrc[m]> gchristensen: I mean things that go in `$out/nix-support/setup-hook`
takle has quit [(Remote host closed the connection)]
<kuznero> disasm: is that ok I restart - have a feeling I need to enable it in bios first...?
<disasm> possibly
<gchristensen> octalsrc[m]: nix-support/setup-hook is for when building packages depending on your package, not general usage
kuznero has quit [(Quit: leaving)]
<octalsrc[m]> Okay, that was my question; I expected that `nix-env` would evaluate it as well
<gchristensen> octalsrc[m]: (in short, no)
<octalsrc[m]> :(
cpennington has joined #nixos
Turion has quit [(Remote host closed the connection)]
takle has joined #nixos
k2s has quit [(Quit: Leaving)]
<gchristensen> octalsrc[m]: what are you trying to do?
Ivanych has joined #nixos
<octalsrc[m]> I'm trying to export a variable pointing to a library path, that would be visible to anything running in your environment
<ylwghst> kuznero: enable it in bios and send us gist of lspci
<gchristensen> octalsrc[m]: that sounds like the answer to "how are you trying to do it?" whereas I'd specifically curious in what you're trying to accomplish
kuznero has joined #nixos
<octalsrc[m]> AH
<kuznero> disasm: It is "3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2)"
<octalsrc[m]> We're trying to use Intellij for developing on a project
<octalsrc[m]> And it needs to load jars from a system installed dir
<gchristensen> oohh yikes and/or ouch :( I don't know how to help :/ trying to work with java stuff always makes my brain hurt :/
takle has quit [(Ping timeout: 246 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6dc5620b58 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
SOO7 has joined #nixos
hlavaty has joined #nixos
<octalsrc[m]> ghchristensen: The best way we've come up with is the put the hard-links to the nix store into Intellij's runtime config
<octalsrc[m]> so maybe that could be automated in some way
kuznero_ has joined #nixos
tokudan has joined #nixos
<earldouglas> How do I specify the channel to use for a NixOps deployment? I could swear I used to know this...
kuznero has quit [(Remote host closed the connection)]
kuznero_ has quit [(Remote host closed the connection)]
kuznero has joined #nixos
ebzzry_ has quit [(Ping timeout: 240 seconds)]
hlavaty has quit [(Remote host closed the connection)]
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<kuznero> disasm: thanks for links... trying "intel nvidia" driver now...
<octalsrc[m]> @earldouglas I'm not sure how to work with `nix-channel`-installed channels, but you can choose a specific nixpkgs tree that you've git-cloned with `nixops ... -I nixpkgs=/path/to/your/particular/nixpkgs`
takle has joined #nixos
phdoerfler has quit [(Quit: Leaving.)]
sary has quit [(Remote host closed the connection)]
Ivanych has quit [(Ping timeout: 240 seconds)]
phdoerfler has joined #nixos
sary has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
kuznero has quit [(Ping timeout: 260 seconds)]
erictapen has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b6a746daa1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
FRidh has quit [(Quit: Konversation terminated!)]
<ylwghst> Is there any good alternative to dropbox?
nix-gsc-io`bot has quit [(Client Quit)]
SOO7 has quit [(Ping timeout: 255 seconds)]
<shapr> magic wormhole?
<shapr> ylwghst: what functionality?
<makefu> not tried it but they have a 100gig free sale right now
kuznero has joined #nixos
Infinisil has joined #nixos
<ylwghst> makefu: only osx/win
<kuznero> disasm: it worked! Thanks! There is only one issue now - it seems that it now know only one screen resolution with right formfactor - maximum. All smaller resolutions are old-school factor for some reason. On 4K monitor on Xfce it all looks pretty weird :)
<disasm> kuznero: yeah, not sure what others do, but I use full res all the time and then scale. That's why my i3 runs in a gnome shell.
radvendii has joined #nixos
<ylwghst> kuznero: you have to scale it
<makefu> if you want to be "that cool kid" you could try self-hosted stuff of course
<disasm> ylwghst: you have your own server? I'm using nextcloud myself
<Infinisil> Ugh, nextcloud, tried it, didn't like it
<Infinisil> But if it works for you ;)
<ylwghst> kuznero: im not sure how to change the scale in xfce
<kuznero> disasm: ylwghst: so, I need to use gnome since it can scale well as appose to Xfce?
<kuznero> only dpi I guess, but this is not the kind of scaling you mean, right?
<ylwghst> kuznero: there is option in gnome-tweak-tool or it can be changed using dconf as well
<ylwghst> kuznero: right
<disasm> kuznero: gnome shell
<Infinisil> Ohh I actually too need to scale stuff down right now and I don't know how, not using any DE, how do I do that with plain X?
<ylwghst> its a sofwtare thing which double size all ui widgets
<kuznero> disasm: gnome shell is not the same as gnome 3?
<ylwghst> kuznero: it is
<ylwghst> gnome shell is part of gnome 3
<ylwghst> but you can try Enlightenment desktop manager
<Infinisil> ylwghst: You mean gnome-terminal?
m0rphism3 has quit [(Ping timeout: 246 seconds)]
<ylwghst> kuznero: its more like xfce
<disasm> kline: sorry, gnome-session I mean
<disasm> meh, ylwghst ^^
Infinisil has quit [(Quit: leaving)]
<ylwghst> gsettings set org.gnome.desktop.interface scaling-factor 2
<ylwghst> hm
<ylwghst> could be changed with xrand too but i havent tried it
<ylwghst> xrandr*
<ylwghst> kuznero: try this xrandr --output eDP1 --scale 1.25x1.25
<ylwghst> or
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v7jNg
<NixOS_GitHub> nixpkgs/staging b11889e John Ericson: gcc: Homogenize syntax in one small spot...
NixOS_GitHub has left #nixos []
SOO7 has joined #nixos
<ylwghst> btw. to that own i should say im thinking of it a long time but i do not have time to take care of my own server but its the best idea id rather has own then store my own files somewhere in "dropbox or any other inc.
<ylwghst> have own cloud*
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v7jN7
<NixOS_GitHub> nixpkgs/staging 0a4d102 John Ericson: gcc 5: Don't quote `propagatedBuildInputs` in ?-check for consistency...
NixOS_GitHub has left #nixos []
magnetophon has joined #nixos
SOO7 has quit [(Ping timeout: 240 seconds)]
DutchWolfie has joined #nixos
ison111 has joined #nixos
hellrazor has joined #nixos
<pxc> I upgraded to the 17.09 pre-release of NixOS (just the unstable channel) yesterday and so far there are no issues except for one ( https://github.com/NixOS/nixpkgs/issues/27050 )
<pxc> so thanks, everyone! :-D
michaelpj has quit [(Ping timeout: 264 seconds)]
bfrog has quit [(Ping timeout: 255 seconds)]
revtintin has quit [(Quit: WeeChat 1.9)]
katyucha has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
michaelpj has joined #nixos
rauno has quit [(Quit: Lost terminal)]
<betaboon> is there a builtin function like containsSubString ?
Filystyn has quit [(Quit: Konversation terminated!)]
Sonarpulse has joined #nixos
phdoerfler has quit [(Quit: Leaving.)]
FRidh has joined #nixos
hanslo-Wesson has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
hanslo-W has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
MoreTea has quit [(Remote host closed the connection)]
michaelpj has quit [(Ping timeout: 248 seconds)]
Sonarpulse has joined #nixos
eacameron has joined #nixos
jbaum98 has joined #nixos
justbeingglad has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #28375: perl-ExtUtils-LibBuilder: Use the C compiler to link (master...perl-ld-cc) https://git.io/v5eJs
NixOS_GitHub has left #nixos []
nh2 has quit [(Read error: Connection reset by peer)]
nh2 has joined #nixos
justbeingglad has left #nixos []
mounty has quit [(Ping timeout: 240 seconds)]
mounty has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #28364: plowshare: 2.1.6 -> 2.1.7 (master...update-plowshare) https://git.io/v7hPk
NixOS_GitHub has left #nixos []
<the-kenny> betaboon: builtins.substring
<the-kenny> betaboon: nix-repl has tab-completion :)
rpifan has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<gchristensen> " Return the substring of s from character position start (zero-based) up to but not including start + len. If start is greater than the length of the string, an empty string is returned, and if start + len lies beyond the end of the string, only the substring up to the end of the string is returned. start must be non-negative." though
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ixmatus opened pull request #28376: nghttp2 => 1.24.0 + --enable-app (master...parnell/update-nghttp2) https://git.io/v5eTR
NixOS_GitHub has left #nixos []
FRidh has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/v5eke
<NixOS_GitHub> nixpkgs/release-17.03 8909cef Tim Steinbach: linux: 4.9.43 -> 4.9.44...
<NixOS_GitHub> nixpkgs/release-17.03 28e8894 Tim Steinbach: linux: 4.12.7 -> 4.12.8...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v5ekJ
<NixOS_GitHub> nixpkgs/master a5f01aa Tim Steinbach: linux: 4.9.43 -> 4.9.44
<NixOS_GitHub> nixpkgs/master 9281b05 Tim Steinbach: linux: 4.12.7 -> 4.12.8
NixOS_GitHub has left #nixos []
<Ankhers> betaboon: It doesn't look like it.
<betaboon> Ankhers: so you consider the "builtins.substring" answer wrong? havent looked it up yet
<Ankhers> I believe that GETS a substring. Not checks if it is a substring.
<Ankhers> as in, substring 3 7 "this is some text" => " is "
<Ankhers> Assuming I mathed that one properly.
<Ankhers> From my understanding of your question, you are looking for more of a `isInfixOf?` function that returns a true or false.
slyfox has quit [(Remote host closed the connection)]
<Ankhers> Apparently that actually returns `"s is so"` based on that input. That makes sense...
<kuznero> ylwghst: it seems that randr --scale works with displayManage.sessionCommands. Thanks!
kuznero has quit [(Quit: Page closed)]
<betaboon> Ankhers: you're right. I'm looking for "isSubstring = string: substring: string CONTAINS substring;"
slyfox has joined #nixos
mounty has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #28377: geogebra: 5-0-377-0 -> 5-0-382-0 (master...update/geogebra) https://git.io/v5eIk
NixOS_GitHub has left #nixos []
hotfuzz_ has joined #nixos
SOO7 has joined #nixos
eacameron has joined #nixos
hotfuzz has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v5eIE
<NixOS_GitHub> nixpkgs/master 7209ed6 Tim Steinbach: linux-copperhead: 4.12.7.a -> 4.12.8.a
NixOS_GitHub has left #nixos []
mounty has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
hellrazor has quit [(Ping timeout: 255 seconds)]
erictapen has joined #nixos
bennofs1 has joined #nixos
<betaboon> Ankhers: thanks. i will report back if it works
bennofs has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
cpennington has quit [(Read error: Connection reset by peer)]
cpennington has joined #nixos
<betaboon> Ankhers: seems to work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #28378: programs.zsh: move evlauation of `${zshAliases}` after `cfg.interactiveShellInit` (master...fix-zshrc-eval-order) https://git.io/v5eLz
NixOS_GitHub has left #nixos []
ona has joined #nixos
DutchWolfie has quit [(Quit: Konversation terminated!)]
Ivanych has joined #nixos
stepcut has joined #nixos
stepcut_ has quit [(Ping timeout: 248 seconds)]
stepcut__ has joined #nixos
<sziszi> hey, anyone experiencing problems with avrgcclibc derivation? I'm on unstable channel, and I can't compile the toolchain
stepcut has quit [(Ping timeout: 248 seconds)]
<sziszi> it gave me an error: "configure: error: Wrong assembler found; check the PATH!" I found mentioning this on github, tried that but didnt work (or i'm a dumbass) https://github.com/NixOS/nixpkgs/issues/28220
<LnL> Sonarpulse: ^ I think documenting it in the manual like you mentioned is probably a good idea :)
<Sonarpulse> LnL: ok :)
<Sonarpulse> there should be stuff on cc-wrapper in general
<Sonarpulse> will write while my big build goes
nh2 has quit [(Quit: Leaving.)]
<LnL> yeah, that would be nice
stepcut__ has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<LnL> oh wow, I thought there was atleast something in there about NIX_CFLAGS_COMPILE and such
gnuhurd has quit [(Remote host closed the connection)]
justanotheruser has quit [(Ping timeout: 240 seconds)]
ShalokShalom has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #28360: Delete orphan file nixpkgs/pkgs/development/tools/build-managers/gradle/2.5.nix (master...patch-50) https://git.io/v7hBm
NixOS_GitHub has left #nixos []
Ankhers has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
bpa has joined #nixos
Ankhers has joined #nixos
<jasom> what do I add to buildinputs for a package that will link with libegl.so? It looks like that's handled differently from other libraries; do I just add mesa to buildInputs or do something else?
<simpson> jasom: Practically, I'd just add mesa and see if that makes it happy. There are other EGL providers, but I don't know if we support many of them in nixpkgs. Maybe there's something specific if you need Darwin support?
<jasom> reading the nix expression for mesa, it looks like depending on mesa is sufficient because mesa is patched to look in /run
<jasom> so if another EGL provider were installed, it would get found
<simpson> Ah, yeah, that might be needed for nVidia to work right.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley pushed 2 new commits to master: https://git.io/v5eY1
<NixOS_GitHub> nixpkgs/master 2bbd1d8 John Ericson: perl-ExtUtils-LibBuilder: Use the C compiler to link
<NixOS_GitHub> nixpkgs/master d8b02ef John Wiegley: Merge pull request #28375 from obsidiansystems/perl-ld-cc...
NixOS_GitHub has left #nixos []
<jasom> I'm actually excited that this project is working. I had it about 90% done six months ago but life happened. I had forgotten about it until someone asked me, and things are proceeding at a good pace now.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #28379: docker: 17.06.0-ce -> 17.06.1-ce (master...docker_17_06_1) https://git.io/v5eOS
NixOS_GitHub has left #nixos []
bpa has quit [(Quit: Leaving)]
Wizek_ has quit [(Quit: Leaving)]
slyfox has quit [(Remote host closed the connection)]
sary has quit [(Ping timeout: 248 seconds)]
phdoerfler has joined #nixos
<Ankhers> How would I go about setting my locale using nixops?
<Ankhers> specifically the LANG environment variable?
<ylwghst> Ankhers:
<Ankhers> ylwghst: ?
<Ankhers> Thanks!
slyfox has joined #nixos
<ylwghst> just uncomment consoleFont if you wan to change it too
takle has quit [(Remote host closed the connection)]
cpennington has quit [(Remote host closed the connection)]
<Ankhers> That didn't seem to help. I'm still getting a warning about latein1 being loaded.
<Ankhers> latin1
<mg> I'm trying to build a Makefile-based project with nix, and I want to change the CFLAGS env variable that is used, what is the simplest way?
ShalokShalom has joined #nixos
takle has joined #nixos
<thoughtpolice> mg: buildFlagsArray and/or makeFlagsArray in your derivation should do it https://nixos.org/nixpkgs/manual/#build-phase
eacameron has quit [(Remote host closed the connection)]
<thoughtpolice> makeFlagsArray passes the flags to all Make invocations. buildFlagsArray only does it when buildHook is run, i.e. when it's compiled, but not when you run, say, 'make install'
sary has joined #nixos
eacameron has joined #nixos
construct has joined #nixos
ison111 has quit [(Ping timeout: 240 seconds)]
<mg> thoughtpolice: thanks!
takle has quit [(Ping timeout: 240 seconds)]
<construct> Hi, I was on here a couple days ago. I mentioned I was on alpine-linux. Well now I'm on NixOS :D . How big should my boot partition be? I've never had to partition a hard drive before except in and A+ certification class, so googled it and to make sure I had enough space, I followed the highest suggestion I could find: 16 GB. Once I booted up, I could see I outdid it. So how big should the boot partition really be?
<ylwghst> construct: its totally up to you
<ylwghst> depends how you will use the system and how much data you will store on it in future
<construct> ylwghst: but isn't 16 GB way too much?
<ylwghst> Ankhers: sry Im going sleep
<ylwghst> construct: not at all
<Wizek> is anyone working on making stack lts resolver version-sets of haskell packages available through nix? e.g. something this could be nice: `nix-shell -p "haskell.packages.stack.lts-7.19.ghcWithPackages (p: with p; [(haskell.lib.dontCheck compose-ltr) uncertain lens diagrams])" --run ghci`
<construct> ylwghst: Okay thanks, then I won't resize it.
<ylwghst> construct: i have started testing nixos with 32gb
<construct> Another question, my KDE flickers when I log in, and after I unlock my screen parts of windows only appear after I hover my mouse over them. What should I do?
bfrog has joined #nixos
<ylwghst> construct: 8gb swap 700mb /boot and root 23,3Ggb
<construct> ylwghst: wow, what kind of files or programs go in the boot directory, so I'll know when to check gparted to see if I need to make it bigger?
<ylwghst> construct: nope it could less about 200mbs will be ok
<ylwghst> could be*
Ivanych has quit [(Ping timeout: 248 seconds)]
<ylwghst> gn
<construct> ylwghst: ok, does installing packages increases the size of the size of the boot folder? What increases the size? I need to know when I might need to resize the boot partition to make it bigger.
sary has quit [(Ping timeout: 248 seconds)]
m0rphism has joined #nixos
<construct> ylwghst: can I shrink the boot partition to how big it is now, or should I leave how many extra MB for new nixos-rebuilds?
ylwghst has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/28e8894a89 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
Mateon1 has quit [(Remote host closed the connection)]
Mateon1 has joined #nixos
nevermin_ has joined #nixos
construct has quit [(Quit: Page closed)]
eacameron has quit [(Remote host closed the connection)]
phinxy has joined #nixos
phinxy has quit [(Max SendQ exceeded)]
eacameron has joined #nixos
jbaum98 has quit [(Quit: Connection closed for inactivity)]
tokudan has quit [(Quit: Leaving)]
eacameron has quit [(Ping timeout: 255 seconds)]
phinxy has joined #nixos
phinxy has quit [(Max SendQ exceeded)]
hiratara has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] seanparsons opened pull request #28380: renoise: 3.0.1 -> 3.1.0 (master...update/renoise-3.1) https://git.io/v5e8u
NixOS_GitHub has left #nixos []
phdoerfler has quit [(Quit: Leaving.)]
hiratara has joined #nixos
eacameron has joined #nixos
ladams has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
erictapen has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 240 seconds)]
Jake_Smith has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
radvendii has quit [(Ping timeout: 240 seconds)]
phinxy has joined #nixos
phinxy has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #28381: doc: Describe CC Wrapper in more detail (master...cc-wrapper-docs) https://git.io/v5eBP
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
nh2 has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
dbmikus has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] layus opened pull request #28382: mercurial: remove hardcoded linux-only cacert (master...mercurial-cacerts) https://git.io/v5eRI
NixOS_GitHub has left #nixos []
tokudan has joined #nixos
nh2 has quit [(Ping timeout: 240 seconds)]
<hodapp> blargh... *every time* I run nix-collect garbage, it nukes things like the 1.4 GB download for CUDA that I use for a custom shell.nix
python476 has quit [(Remote host closed the connection)]
<hodapp> how can I avoid this?
hiratara has quit [(Quit: ZNC - http://znc.in)]
<simpson> hodapp: Have that nix-shell activated while collecting garbage.
<mbrgm> humm... seems like the nix-dev list is offline...
<mbrgm> has someone pulled an archive download before?
<dash> hodapp: alternately, use nix-build on the expr so it gets set as a root
<hodapp> dash: if it's something I need to interact with at the shell, I'm not sure how I'd be able to do that via nix-build
hiratara has joined #nixos
<mbrgm> ahh, it moved to nixos.org/nix-dev. great :)
hamishmack has joined #nixos
eacameron has quit [(Remote host closed the connection)]
phdoerfler has joined #nixos
phdoerfler has quit [(Client Quit)]
phdoerfler has joined #nixos
Sonarpulse has quit [(Ping timeout: 276 seconds)]
hanslo-Wesson has quit [(Ping timeout: 255 seconds)]
eacamero_ has joined #nixos
taktoa has joined #nixos
phdoerfler has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
nevermin_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
thblt has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
justanotheruser has joined #nixos
sary has joined #nixos
bkchr has joined #nixos
rpifan has quit [(Read error: Connection reset by peer)]
rpifan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] alunduil opened pull request #28383: remove collection-json from dont-distribute-packages (master...remove-collection-json-from-dont-distribute) https://git.io/v5ezk
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
takle has joined #nixos
pxc has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] chaseadamsio opened pull request #1527: update MD5 to SHA-256 in expression-syntax (master...master) https://git.io/v5ez6
NixOS_GitHub has left #nixos []
tokudan has quit [(Quit: Leaving)]
takle has quit [(Ping timeout: 240 seconds)]
bkchr has quit [(Ping timeout: 240 seconds)]
rpifan has quit [(Read error: Connection reset by peer)]
rpifan has joined #nixos
eacameron has quit [(Remote host closed the connection)]
bennofs1 has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
radvendii has joined #nixos
sellout- has joined #nixos
pxc has joined #nixos
rpifan has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Remote host closed the connection)]
erictapen has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
erasmas has quit [(Quit: leaving)]
ison111 has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
betaboon has quit [(Quit: This computer has gone to sleep)]
digitus has quit [(Quit: digitus)]
radvendii has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 248 seconds)]
<sphalerite> construct: the only thing that will really be kept there is kernels and corresponding initrds
<sphalerite> construct: so what will use up space there is upgrading the kernel — but only if you keep the old generations around
radvendii has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
<sphalerite> iirc a kernel+initrd will usually be less than 100MB so if you have 2GB for the partition and don't share it with another OS you can keep 20 generations with older kernels around, which is probably quite a few months' worth
ryantm has joined #nixos
<ryantm> Who is in charge of or capable of backporting to 17.03 ?
<sphalerite> Depending on how much history you want to keep for rolling back to, 500 or even 200M could be enough
<clever> -rw-r--r-- 1 root root 3.5M Aug 10 23:16 kzb60ynf7zvq543hf2l1rpnnhp4gr8sa-linux-4.9.39-bzImage
<clever> -rw-r--r-- 1 root root 8.7M Aug 10 23:16 flrij28yp0l94afy1mfmsj07py8w9500-initrd-initrd
<clever> on my machine, they come in at ~12mb for the pair
eacameron has joined #nixos
<sphalerite> ryantm: everyone with commit access to nixpkgs can
erictapen has joined #nixos
<ryantm> Ok... anyone interested in getting Google Chrome working on the 17.03 channel? https://github.com/NixOS/nixpkgs/issues/25880
betaboon has joined #nixos
<joepie91> hodapp: you can add an indirect root
<ryantm> Looks like there is a staging-17.03 and release-17.03 branch. If I were to make a PR to fix google-chrome, which branch should I use?
radvendii has quit [(Ping timeout: 240 seconds)]
<clever> ryantm: release-17.03 i believe
<ryantm> I mean which branch should I make the PR to.
<ryantm> Thanks
markus1189 has joined #nixos
markus1199 has quit [(Ping timeout: 255 seconds)]
hamishmack has quit [(Quit: hamishmack)]
<manveru> hodapp: you can add your nix shell to the gc roots
<manveru> hodapp: i use something like `nix-shell --indirect --add-root .nix-shell.drv`, as long as the .drv file stays there it won't be GCd
phinxy has joined #nixos
thc202 has quit [(Ping timeout: 248 seconds)]
taktoa has quit [(Remote host closed the connection)]