Sonarpulse has quit [(Ping timeout: 260 seconds)]
<catern> I want something I can deploy :)
pie__ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
yegortimoshenko has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
jbaum98 has quit [(Quit: Connection closed for inactivity)]
filterfish has quit [(Ping timeout: 268 seconds)]
k0001 has joined #nixos
darlan has joined #nixos
Rotaerk has joined #nixos
johnw_ has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jerith666 opened pull request #27194: WIP: OpenJDK 9 ea (master...openjdk-9-ea) https://git.io/vQr5N
NixOS_GitHub has left #nixos []
ris has quit [(Ping timeout: 240 seconds)]
ison111 has joined #nixos
johnw_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pxc1 has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
phinxy has quit [(Read error: Connection reset by peer)]
ebzzry has quit [(Ping timeout: 260 seconds)]
ebzzry has joined #nixos
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
myguidingstar has joined #nixos
Svarog has joined #nixos
thc202 has quit [(Ping timeout: 258 seconds)]
alex-v has left #nixos ["ERC (IRC client for Emacs 25.2.1)"]
hellrazor has quit [(Read error: Connection reset by peer)]
ryantrinkle has quit [(Ping timeout: 260 seconds)]
hellrazor has joined #nixos
vaibhavsagar has joined #nixos
filterfish has joined #nixos
thmzlt has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 260 seconds)]
Zer000 has joined #nixos
filterfish has quit [(Ping timeout: 260 seconds)]
<Zer000> I am having a driver issue: http://lpaste.net/raw/356743
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] cleverca22 opened pull request #27196: enable split-output builds for all haskellPackages (master...haskell-split-output) https://git.io/vQrAi
NixOS_GitHub has left #nixos []
thmzlt has quit [(Quit: leaving)]
filterfish has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
s33se has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
s33se_ has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
<Infinisil> clever: ^ Nice
Svarog has quit [(Quit: Ex-Chat)]
<clever> Infinisil: had to use some fun tricks to even test it, because nixpkgs wanted to rebuild 2 GHC's for every change i made: https://gist.github.com/cleverca22/60c46368afb999c16224fc17af5c538d
k0001 has quit [(Ping timeout: 240 seconds)]
simpson has joined #nixos
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
danl1240 has joined #nixos
<simpson> Ah, it's one of those days where my two commands are $(vim shell.nix) and $(nix-shell).
<Infinisil> simpson: You could use some nnoremap stuff to automatically call nix-shell when you press F5 or whatever
<clever> an example of that from my own config
<simpson> Infinisil: I'm tweaking a development shell for a cloud fleet.
<simpson> buildInputs = with pkgs; [ fossil nixops tahoelafs jq google-cloud-sdk ];
<simpson> I have...weird tastes.
danl1240 has quit [(Ping timeout: 260 seconds)]
filterfish has quit [(Ping timeout: 260 seconds)]
zraexy has quit [(Quit: Leaving.)]
<Infinisil> Ohh, your config clever reminds me of something I might wanna do, which is to instead of `ninja`, to use `${pkgs.ninja}/bin/ninja`
<Infinisil> This ensures that the package is actually installed
<Infinisil> I have lots of such commands in my xmonad config and I don't want to keep track of them manually
<clever> Infinisil: ah yeah, that can also be done
spinus has quit [(Ping timeout: 240 seconds)]
ryanartecona has joined #nixos
not_enough_chara has joined #nixos
pmade has quit [(Ping timeout: 255 seconds)]
<not_enough_chara> hello! can I get help with nixops here, or should I be somewhere else ?
<simpson> not_enough_chara: This is the place.
<not_enough_chara> i'll ask anyway, i'm trying to deploy multiple machines on digitalocean
<not_enough_chara> but i've run into something weird
AluisioASG has quit [(Quit: No Ping reply in 180 seconds.)]
<not_enough_chara> i get the same error message (3 machines by the way) that the ssh key is already added
alanz has quit [(Ping timeout: 255 seconds)]
<not_enough_chara> i've cleared all my ssh keys and started from scratch, but it seems that new keys arent generated for each droplet, but rather 1 for all 3
kmicu has quit [(Ping timeout: 255 seconds)]
<not_enough_chara> this means that it tries to add it 3 times, and digitalocean doesnt allow duplicate keys
aneeshusa has joined #nixos
<not_enough_chara> surely im doing something wrong or someone else has run into this
AluisioASG has joined #nixos
kmicu has joined #nixos
<not_enough_chara> by the way im on windows in virtualbox running nixos shelled into one of my failed deployment nixos servers with nix-shell irrsi, so if i drop out i'll join back in as soon as i can :)
pmade has joined #nixos
alanz has joined #nixos
<not_enough_chara> let me know if i should make a github issue for this or if it's intended behaviour / a stupid mistake i made
calvertvl has quit [(Quit: leaving)]
<simpson> No idea about deploying to DO, sorry.
<not_enough_chara> well, its to reproduce, just run the virtualbox multi machine deployment example, but instead deploy to digitalocean
<not_enough_chara> *to reproduce
lvernschrock has left #nixos []
<not_enough_chara> simpson: well, actually what would help is if you could explain the ssh-key option in resources
<simpson> The DO backend is relatively new, and we use kind of a hacky way to get onto those machines.
<Infinisil> not_enough_chara: I assume you're using nixops?
<not_enough_chara> yeah
<Infinisil> Yeah, DO isn't well established
Zer000 has quit [(Quit: Leaving)]
<simpson> I don't know anything about the SSH key configuration; I always use the defaults and let nixops set up keys for me.
<Infinisil> Maybe you can fix it though :)
<not_enough_chara> ok well then i guess this is my opportunity to contribute to nix finally
<not_enough_chara> i've got a flight and a free weekend, i'll take a look at it
<not_enough_chara> let me get a bouncer in here and i'll see what i can find
<simpson> Speaking of nixops, I just posted https://github.com/NixOS/nixops/pull/698 but apparently the github bot doesn't see that repository.
<not_enough_chara> simpson or Infinisil , should intended behaviour be having seperate keys for each server or one key for all servers
<not_enough_chara> right now it's trying to do one key for all servers and failing because it wants to upload each one
<Infinisil> not_enough_chara: Upload as in add to your profile?
<not_enough_chara> so i could just stop it from duplicating it, or i could go the other route and make it a different key for each server
<not_enough_chara> Infinisil: correct
<not_enough_chara> right now it wants to upload the same key 3 times
<not_enough_chara> in my case
<simpson> I don't know. You'd have to ask whoever wrote the DO backend what their plan was.
<not_enough_chara> 40 servers, attempts to upload the same key 40 times , it works once but fails the other 39
<not_enough_chara> at least from what i can see in my situation
<simpson> Perhaps it should just gracefully accept the error from the DO API, since it sounds expected.
<not_enough_chara> well before i do anything else i want to be 100% certain that it's not me making the mistake
schoppenhauer has quit [(Ping timeout: 258 seconds)]
<not_enough_chara> different deploys yield different generated keys, those add successfully
<not_enough_chara> so that's fine
<not_enough_chara> i meant fresh deploys not each generation
schoppenhauer has joined #nixos
<not_enough_chara> ill be back
not_enough_chara has quit [(Quit: leaving)]
pxc has joined #nixos
koserge has quit [(Ping timeout: 260 seconds)]
aneeshusa has quit [(Ping timeout: 268 seconds)]
<Infinisil> Come back, not_enough_chara, I have sauce for you
<Infinisil> It's way too late for me, can the remaining people here ( simpson maybe? ) give not_enough_chara this link? It might help them with debugging https://github.com/NixOS/nixops/blob/master/nixops/backends/digital_ocean.py
Mateon3 has joined #nixos
<Infinisil> I'll be off
Infinisil has quit [(Quit: leaving)]
Mateon1 has quit [(Ping timeout: 246 seconds)]
Mateon3 is now known as Mateon1
filterfish has joined #nixos
<celph> Does wicd normally not mix well with nixos? It has trouble connecting, I think it's creating a tempfile to indicate it's connected and nix is forcing a reversion.
johnsonav has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
aneeshusa has joined #nixos
<catern> aha, Nix *is* the solution to my problem, I knew it
<catern> I only had to think think think until I figured it out
<catern> in other news I wish nix-store --gc had an option to only GC things that have been dead for more than N minutes/hours/days/months
<catern> might need to add some information into the database for that...
<catern> or you could do it with a layer in front of nix-daemon
<catern> which maintains the time informations and watches the GC roots directory for changes and keeps a huge number of temp roots open to the nix-daemon and kicks off GCs when prompted
<celph> buh I'm trying to switch back to wpa_supplicant but it keeps failing to build when systemctl tries to start it
phreedom has quit [(Ping timeout: 248 seconds)]
<boomshroom> From my understanding, nix determines what files are dependencies via string searching the files. Is it possible to do this for files not part of a derivation? Nim config files let you specify a gcc path and I'm curious if I can make Nix look at that file directly to determine what gets GCed.
aneeshusa has quit [(Ping timeout: 248 seconds)]
ndrei has joined #nixos
<catern> boomshroom: what would you put in that file? the important part is the hash in store paths - Nix searches for hashes to find dependencies
<boomshroom> catern: `i386.standalone.gcc.path = "/nix/store/5vraan7p52bhpazb558dqdwm8pldb92a-gcc-i686-elf/bin"` I haven't touched the file in a while and I just checked and that path was garbage collected at some point, but I should be able to rebuild it.
<boomshroom> And if I can't rebuild that specific hash, I can rebuild gcc and replace it with the new path and then try to register as a gc-root.
myguidingstar has quit [(Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170608225630])]
pxc1 has joined #nixos
<boomshroom> What I'm wondering is if I can mark an arbitrary ascii file as a GC root.
schoppenhauer has quit [(Ping timeout: 255 seconds)]
schoppenhauer has joined #nixos
pxc1 has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
snikkers has quit [(Remote host closed the connection)]
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
aneeshusa has joined #nixos
andchat has joined #nixos
<andchat> hi
<andchat> what methods are there for creating a download accelerator (or atleast downloading files faster then curl/wget can)
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
<unlmtd> what's keeping virt-manager from redirecting USB devices? (insufficient permission)
<unlmtd> bugger!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #27197: yices library: enable full functionality by adding libpoly polynomial library and fix soname linking. (master...master) https://git.io/vQoUH
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kquick opened pull request #27198: Add ABC verifier library in addition to the executable. (master...add_abc_library) https://git.io/vQoTt
NixOS_GitHub has left #nixos []
myguidingstar has joined #nixos
nekroze has joined #nixos
vaibhavsagar has joined #nixos
<clever> nekroze: nix-build release.nix -A tests.something
<clever> nekroze: it can help to "nix-repl release.nix" and then tab-complete tests.
<nekroze> clever: always forget about nix-repl, I will install that again, thanks. Not I have tried `nix-build release.nix -A test.x86_64-linux` but it says attribute test does not exist
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacamero_ has joined #nixos
<nekroze> clever: Gotta run but I think nix-repl will get me where I need, thanks again mate!
<nekroze> \q
nekroze has quit [(Quit: leaving)]
eacameron has quit [(Ping timeout: 260 seconds)]
eacamero_ has quit [(Ping timeout: 260 seconds)]
johnw_ has joined #nixos
johnw_ has quit [(Client Quit)]
johnw_ has joined #nixos
aneeshusa has quit [(Ping timeout: 260 seconds)]
johnw_ has quit [(Ping timeout: 246 seconds)]
marsel has joined #nixos
myguidingstar has quit [(Ping timeout: 260 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/74f55017d2 (from 19 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
faffolter has joined #nixos
faffolter has quit [(Changing host)]
faffolter has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
myguidingstar has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
eli1 is now known as pop
pop has quit [(Changing host)]
pop has joined #nixos
Ivanych has joined #nixos
mudri has joined #nixos
johann__ has joined #nixos
filterfish_ has joined #nixos
filterfish_ has quit [(Remote host closed the connection)]
filterfish_ has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
MercurialAlchemi has joined #nixos
cmr has quit [(Ping timeout: 240 seconds)]
goodwill has quit [(Ping timeout: 240 seconds)]
kvz has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Read error: Connection reset by peer)]
Khetzal has quit [(Ping timeout: 248 seconds)]
Kingsquee has joined #nixos
AndreasLutro has quit [(Ping timeout: 240 seconds)]
cmr has joined #nixos
cmr has quit [(Changing host)]
cmr has joined #nixos
orivej has joined #nixos
eisbaer1 has quit [(Ping timeout: 246 seconds)]
greymalkin has quit [(Ping timeout: 240 seconds)]
ent has quit [(Ping timeout: 240 seconds)]
ent has joined #nixos
goodwill has joined #nixos
Khetzal has joined #nixos
kvz has joined #nixos
AndreasLutro has joined #nixos
cornfeedhobo has quit [(Ping timeout: 240 seconds)]
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
greymalkin has joined #nixos
eisbaer1 has joined #nixos
cornfeedhobo has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ralith opened pull request #27200: rust-bindgen: 0.25.5 -> 0.26.1 (master...bindgen) https://git.io/vQoqU
NixOS_GitHub has left #nixos []
MoreTea has joined #nixos
magnetophon has quit [(Ping timeout: 240 seconds)]
kuznero has joined #nixos
<kuznero> Hi All!
<MoreTea> hi kuznero
<kuznero> Got another problem building with `nix-build docker.nix`: http://lpaste.net/6053767635051479040 please help!
DrWaste has joined #nixos
<MoreTea> I don't know shit about the haskell build stuff.
<MoreTea> but based on the stacktrace, i'd say that you're providing a wrong argument to either haskell.lib.dontCheck, or haskell.lib.justStaticExecutables
<MoreTea> callPackage is supposed to return a finished package (which is a function)
<MoreTea> so I would bet on that you can't use 'justStaticExecutables' like this.
<MoreTea> Please remove the haskell.lib.{dontCheck,justStaticExecutables} calls
<MoreTea> does this make any sense to you kuznero :)?
<kuznero> MoreTea: Thanks, but the whole idea was to start using justStaticExecutables. I will try getting rid of dontCheck though
<MoreTea> does it work without the justStaticExecutables?
<MoreTea> I'd look up the implementation of that in github.com/nixos/nixpkgs
<MoreTea> and then see which arguments it expects.
<MoreTea> at the moment you're feeding it the wrong type of argument.
<Isorkin> Help. How to build php56Packages.apcu with my custom php56 ?
<kuznero> MoreTea: Thanks, will try without it for now to see if it works.
<MoreTea> kuznero, good luck :)
Itkovian has joined #nixos
<kuznero> MoreTea: it seams that the problem was in callPackage instead. So I just used `cabal2nix --shell . > default.nix` now and then just imported it without callPackage. And it seems to be a valid nix now.
<MoreTea> @Isorkin, I haven't done that before, but we can take a look at this together.
<MoreTea> php56Packages is probably defined in <nixpkgs/pkgs/top-level/all-packages.nix>
<MoreTea> you can build your own php56Packages, by doing the same call, but with your own php56 package as an argument to callPackage
<MoreTea> Isorkin, does that help?
adeohluwa has joined #nixos
cinimod has joined #nixos
magnetophon has joined #nixos
pxc1 has joined #nixos
<cinimod> I have sources for (Haskell) package A which depends B which depends on C & D
<cinimod> So if I build package A using nix then it complains it can't find package B
<cinimod> I have a workflow that I use with cabal sandboxes
<cinimod> Or alternatively I can just paste -i..path/to/B -i../path/t/C etc on the ghc invocation
mudri has quit [(Ping timeout: 248 seconds)]
<cinimod> What's the nix way of doing things?
<MoreTea> A, B, C & D are all haskell packages?
<cinimod> Yes
<sphalerite> nix-shell is probably the way
<sphalerite> nix-shell -p 'ghc.withPackages (ps: [ps.B])'
pxc1 has quit [(Ping timeout: 255 seconds)]
<Isorkin> Moredread: like that? https://pastebin.com/gGBpuipY How to callpackage nixpkgs default phpPackage ?
<sphalerite> cinimod: of course ideally you'd write a nix expression for building A and use nix-shell on that
* cinimod has been using nix for a day
<cinimod> Googling for ghc.withPackages has not given me very much
<sphalerite> If you just run nix-shell -p 'ghc.withPackages (ps: [ps.B])' you'll get a shell where ghc is wrapped to find B
FRidh has joined #nixos
<sphalerite> and the transitive dependency on C and D is sorted out automatically
marsel has joined #nixos
* cinimod will be back shortly
<MoreTea> Isorkin, something like that yes.
<cinimod> In `chart-unit` I have libraryHaskellDepends = [ base colour diagrams-lib diagrams-svg foldl formatting lens linear numhask numhask-range text ];
<cinimod>
<cinimod> But numhask only exists as source in `../numhask`
<cinimod> So do I replace B in nix-shell -p 'ghc.withPackages (ps: [ps.B])' with ../numhask?
<Isorkin> php56Packages = recurseIntoAttrs (callPackage pkgs.php56Packages { php = php56; }); wring?
<Isorkin> *wrong
<MoreTea> Isorkin, I don't know, haven't tried it ;) but that looks like it should be the way to do it.
ennui has joined #nixos
Christian[m]1 has left #nixos ["User left"]
<andchat> is this the fastest way to achieve the highest download speed? aria2c "${URL[i]}" --split=512 --max-connection-per-server=16 --min-split-size=1M --max-concurrent-downloads=512 --continue --conditional-get=true --allow-overwrite=true -o ../"${destination[i]}"
<Isorkin> php56Packages = recurseIntoAttrs (pkgs.php56Packages.override { php = php56.override cfg-php; });
<Isorkin> nix-build ~/mypack -A php56Packages.imagick - error: cannot coerce a set to a string, at /nix/store/bp3v6p37yc2p6balzh53j6d8rb1i2ki5-nixos-17.09pre110213.01c3847b9c/nixos/pkgs/build-support/build-pecl.nix:14:3
<Isorkin> How to fix&)
<sphalerite> cinimod: if it's not in hackage (⇒ not in nixpkgs) then I don't really know. You'd probably need to write an expression for it, but I don't know that much about the haskell ecosystem in general, nor haskell's interaction with nix in particular. Have you read the relevant manual section? https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
pie_ has quit [(Ping timeout: 260 seconds)]
ertes has quit [(Ping timeout: 248 seconds)]
<cinimod> It's not in hackage
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vQoOI
<NixOS_GitHub> nixpkgs/master 3ff4054 Victor Calvert: leo-editor: Don't hardcode pythonX.Ym
<NixOS_GitHub> nixpkgs/master e17054a Frederik Rietdijk: Merge pull request #27192 from calvertvl/fix_leo-editor_no-hardcode-python...
NixOS_GitHub has left #nixos []
<sphalerite> andchat: it depends on a lot of things, but usually just downloading a file normally (i.e. using one connection, just using the regular download functionality in your browser or wget or curl or whatever) is the way to go as you're letting systems work the way they were designed to work.
<sphalerite> andchat: if you want it to go faster consider looking for a torrent for whatever you're downloading.
Wizek has joined #nixos
<andchat> those download at under 200kb/s
bkchr has joined #nixos
Wizek_ has joined #nixos
<andchat> aria2c with the current configs can download at up to 1.1mb/s
<bkchr> Hi, does someone also can not open the digital clock configuration or the volume settings in plasma 5.10.3?
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
justbeingglad has joined #nixos
<andchat> [#194635 9.4MiB/17MiB(53%) CN:16 DL:1.4MiB ETA:5s]
justbeingglad has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub closed pull request #27200: rust-bindgen: 0.25.5 -> 0.26.1 (master...bindgen) https://git.io/vQoqU
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
<MoreTea> Isorkin, you can't build the set of all php packages in one go
<MoreTea> you should refer to one specific package.
<MoreTea> that's what that error says
7GHABFERD has joined #nixos
<7GHABFERD> [nixpkgs] pSub closed pull request #27175: iosevka: 1.13.0 -> 1.13.1 (master...update-iosevka) https://git.io/vQwrt
7GHABFERD has left #nixos []
07EAA8Y7Z has joined #nixos
<07EAA8Y7Z> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vQoOM
<07EAA8Y7Z> nixpkgs/master 565e2b5 Johannes Frankenau: iosevka: 1.13.0 -> 1.13.1
<07EAA8Y7Z> nixpkgs/master 19424cd Pascal Wittmann: Merge pull request #27175 from jfrankenau/update-iosevka...
07EAA8Y7Z has left #nixos []
thaega has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
<Isorkin> replace to - php56Packages.apcu = recurseIntoAttrs (pkgs.php56Packages.override - error while evaluating ‘versionAtLeast’ at /nix/store/bp3v6p37yc2p6balzh53j6d8rb1i2ki5-nixos-17.09pre110213.01c3847b9c/nixos/lib/strings.nix:363:24, called from /nix/store/bp3v6p37yc2p6balzh53j6d8rb1i2ki5-nixos-17.09pre110213.01c3847b9c/nixos/pkgs/top-level/php-packages.nix:10:12:
<Isorkin> while evaluating ‘versionOlder’ at /nix/store/bp3v6p37yc2p6balzh53j6d8rb1i2ki5-nixos-17.09pre110213.01c3847b9c/nixos/lib/strings.nix:351:22, called from /nix/store/bp3v6p37yc2p6balzh53j6d8rb1i2ki5-nixos-17.09pre110213.01c3847b9c/nixos/lib/strings.nix:363:29:
<Isorkin> attribute ‘version’ missing, at /nix/store/bp3v6p37yc2p6balzh53j6d8rb1i2ki5-nixos-17.09pre110213.01c3847b9c/nixos/pkgs/top-level/php-packages.nix:10:36
boomshroom has quit [(Quit: Page closed)]
<MoreTea> ah, that's a misunderstanding.
<MoreTea> I meant that you can't build php56Packages, because it is an attribute set (nix-speak for dict/hashmap)
<MoreTea> that's what your previous error said
<MoreTea> "cannot build an attributeset".
johann__ has quit [(Quit: Leaving.)]
johann__ has joined #nixos
<cinimod> Ok apparently I should have `~/.config/nixpkgs/config.nix` but I don't
<cinimod> Should that have been created when I installed nix?
<MoreTea> cinimod, nope, it will get included if it's there, otherwise, it will be ignored.
<cinimod> But
<cinimod> Hogsmill:numeric-ode dom$ nix-env -f "<nixpkgs>" -qA haskellPackages
<cinimod> cabal2nix-2.2.1
<cinimod> nix-1.11.9
<cinimod> nss-cacert-3.28.1
<MoreTea> cinimod, i'd go for a shell.nix in your project dir
<MoreTea> this will override your global user environment
<MoreTea> nix-shell is per-project.
<cinimod> I have multiple projects
<cinimod> I am reading 9.5.3.2. How to build projects that depend on each other
<MoreTea> IMHO doing that is like using global variables
<cinimod> Ok can I have two projects and set the config in the directory above them somehow?
<MoreTea> sure. if you use direnv with `use_nix` directive, this is automatic even
<MoreTea> but I'm not familiar with the haskell build stuff
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27186: nfs-utils: Replace reference to /bin/true (master...patch-3) https://git.io/vQrI3
NixOS_GitHub has left #nixos []
thc202 has joined #nixos
kuznero has left #nixos []
<cinimod> I can build with cabal outside of nix
Phlogistique has quit [(Ping timeout: 240 seconds)]
<cinimod> I think I am stuck
<cinimod> I can probably use a Haskell sandbox but that will mean a lot of compilation of dependent packages
<impredicative> cinimod: Does `nix-shell -p haskellPackages.numhask" work?
* cinimod thought they'd tried this
* cinimod goes to try again
<impredicative> May have done, sorry - only just looked at conversation
<cinimod> Up to a point
<cinimod> I mean it builds the package and then tries to build and run the test suite but fails at this point
<cinimod> Let me try without nix and see what happens
freusque has joined #nixos
<cinimod> BTW I am very grateful to all people who are helping me
pie_ has joined #nixos
ilyaigpetrov has joined #nixos
pietranera has joined #nixos
<cinimod> So if I do `cabal configure` and `cabal test` all is well
<impredicative> If the tests are failing, you can do something like `numhask = dontCheck self.CallPackage`...
<impredicative> Hmm. Any idea why the tests fail in the nix build?
<cinimod> I don't think the tests are failing
<cinimod> In nix, the test can't find a module from the library it just built
<cinimod> Could not find module ‘NumHask.Prelude'
<cinimod> But outside nix I don't have this problem
<impredicative> What does the derivation for numhask look like?
<impredicative> You built it with cabal2nix?
<cinimod> Yes
ris has joined #nixos
<cinimod> cabal2nix ./numhask.cabal --sha256="" --shell > default.nix
<cinimod> I will paste the derivation
<cinimod> and the cabal file
<cinimod> Hmmm I don't see the library in the testHaskellDepends pragma
<cinimod> I will post it anyway
<cinimod> The build-depends field for the test specifies `numhask`
<cinimod> But this isn't reflected in the derivation
orivej has quit [(Ping timeout: 260 seconds)]
xadi has joined #nixos
<impredicative> Yeah, it's all built in one phase atm
orivej has joined #nixos
<impredicative> Or rather, not one phase, but the library is not a separate derivation from the tests
myguidingstar has quit [(Ping timeout: 246 seconds)]
myguidingstar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vQonb
<NixOS_GitHub> nixpkgs/master eca3e8c tjikini: elvish: 0.5 -> 0.9
<NixOS_GitHub> nixpkgs/master 9728c26 Jörg Thalheim: elvish: remove unnecessary deps.nix...
<NixOS_GitHub> nixpkgs/master c773919 Jörg Thalheim: Merge pull request #27158 from tjikini/elvish...
NixOS_GitHub has left #nixos []
Ngevd has joined #nixos
Ngevd is now known as nvd
<cinimod> error: undefined variable ‘dontCheck’ at /Users/dom/.config/nixpkgs/config.nix:6:24
<cinimod> Where do I look for the syntax?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vQocn
<NixOS_GitHub> nixpkgs/master e36b588 Vladimír Čunát: luajit: add 2.0 version again...
<NixOS_GitHub> nixpkgs/master b8726c3 Vladimír Čunát: luajit: switch to 2.0.5 on aarch64 by default
NixOS_GitHub has left #nixos []
myguidingstar has quit [(Quit: ChatZilla 0.9.93 [Firefox 53.0.3/20170608225630])]
<impredicative> It's in "/pkgs/development/haskell-modules/lib.nix
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sibi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #27201: linux: Enable more I/O schedulers (master...schedulers) https://git.io/vQoc8
NixOS_GitHub has left #nixos []
moet has joined #nixos
Itkovian has joined #nixos
pie_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQocK
<NixOS_GitHub> nixpkgs/master 0f2db06 Hector Jusforgues: consul_exporter: init at 0.3.0 (#27162)
NixOS_GitHub has left #nixos []
seppellll has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1444: Fix nix-instantiate manpage indentation (master...man) https://git.io/vQrRC
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra closed pull request #1445: Don’t hardlink disallowed paths in OS X. (master...macos-skip-hardlink) https://git.io/vQrRP
NixOS_GitHub has left #nixos []
<cinimod> impredicative: this https://gist.github.com/idontgetoutmuch/fee0f8c8280ad2d4cdb79bb77cf022fb fails with error: value is a function while a set was expected, at /nix/store/k7ggnnjn7m9621y9my0lfm2vgbbg3ij3-nixpkgs-17.09pre108299.ec9a23332f/nixpkgs/pkgs/development/haskell-modules/lib.nix:6:28
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27201: linux: Enable more I/O schedulers (master...schedulers) https://git.io/vQoc8
NixOS_GitHub has left #nixos []
johann__ has quit [(Quit: Leaving.)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
snikkers has joined #nixos
Itkovian has joined #nixos
Phlogistique has joined #nixos
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
moet has quit [(Ping timeout: 240 seconds)]
indi_ has joined #nixos
<impredicative> cinimod: nix really needs `$`. Try dontCheck (self.callPackage ... {});
hyphon81 has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
<nvd> I'm trying to understand how to use hail ( https://github.com/TaktInc/hail )
<nvd> Is the profile it mentions the same thing as a NixOS profile?
<cinimod> error: undefined variable ‘dontCheck’
<jophish> Is there a way to let the remote system sign packages when using nix-build with NIX_REMOTE?
<impredicative> cinimod: Hmm, everywhere seems to refer to it by explicitly importing the lib.nix file
ertes has joined #nixos
<cinimod> numhask = pkgs.haskell.lib.dontCheck (self.callPackage /Users/dom/Dropbox/Private/NumMethHaskell/numhask {});
Neo-- has quit [(Ping timeout: 240 seconds)]
<cinimod> I think this works but I have a different error
<cinimod> error: anonymous function at /Users/dom/Dropbox/Private/NumMethHaskell/numhask/default.nix:1:1 called with unexpected argument ‘mkDerivation’
<cinimod> But this was generated using cabal2nix
<apeyroux> Hello, i want to use nix-shell with shebang but i would like to add doCheck = false in nix-shell params ( https://pastebin.com/J7QH66w3 ). Its possible ?
pie_ has joined #nixos
<jophish> hmm, what format should signing-key.sec be in?
Rajsun has quit [(Ping timeout: 248 seconds)]
* LnL should add a page about distributed builds to the wiki
<manveru> man... i really wanted to like fish, but its vi mode support feels like early alpha since years :(
<jophish> ah, thanks manveru
<manveru> thank LnL, he figures this shit out :)
<jophish> :D thanks too LnL!
<jophish> Ah, seems to be working
<cinimod> I nuked my config.nix file and am trying again
<cinimod> But I seem to be downloading the world
<jophish> It seems very odd that I have to have signing-key.pub in the target machine's /etc/nix
<jophish> what if I want to use more than one remote builder
<jophish> will they have to sign with the same secret key?
ertes has quit [(Quit: Bye!)]
<LnL> maybe you can add multiple keys in there like ssh
<jophish> ah, good thinking
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
<cinimod> If I have no config.nix then `nix-shell -p haskellPackages.numhask` works as far as trying to build the tests and fails with a compilation error but if I have a config.nix then I get a nix rror: error: anonymous function at /Users/dom/Dropbox/Private/NumMethHaskell/numhask/default.nix:1:1 called with unexpected argument ‘mkDerivation’
mpcsh has joined #nixos
<LnL> clever: around?
pie_ has quit [(Ping timeout: 260 seconds)]
canndrew has joined #nixos
<impredicative> cinimod: I cloned numhask and was able to get this working
<impredicative> Let me upload a gist with what I have
<cinimod> Wow that's very generous of you to take the time
<canndrew> hello people, i want to use a tar archive as the src in a derivation I'm writing. what's the best way to do this?
<canndrew> sorry, a local tar archive, on my computer
<MoreTea> canndrew, src = ./rel/path/to/src.tar.gz
<impredicative> cinimod: I'm currently trying to understand the haskell builder to make more serious changes to it, so time spent understanding problems there is well spent :-)
<LnL> ^ stdenv.mkDerivation will unpack that for you
<canndrew> MoreTea: does it need to be rel? I tried with an absolute path and it complained about permissions
<MoreTea> then the nix builder might not be able to read it
<canndrew> can i or should i just add hte archive to the store somehow?
<MoreTea> if you make it world readable, it should work
<MoreTea> chmod +r my.tar.gz
<canndrew> hmm, the file is already world-readable..
<impredicative> Differences from yours: I did not use the "--shell" argument to cabal2nix, because that already includes the "callPackage". I also added "doCheck = false" to the derivation itself
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vQo48
<NixOS_GitHub> nixpkgs/master 7077031 Eelco Dolstra: nixos-rebuild: Respect empty NIX_REMOTE...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vQo4R
<NixOS_GitHub> nixpkgs/release-17.03 d8ea4c4 Eelco Dolstra: Revert "linux: 4.9.35 -> 4.9.36"...
NixOS_GitHub has left #nixos []
<canndrew> ah, nix-prefetch-url looks useful..
civodul has joined #nixos
<MoreTea> could you paste a trace of the error then?
bugworm has joined #nixos
pie_ has joined #nixos
<cinimod> impredicative: Woohoo
<cinimod> Now I can try with the other libraries
<cinimod> For a time I thought in the /me Vs. nix battle that nix had won
Wizek__ has joined #nixos
andchat has quit [(Ping timeout: 258 seconds)]
Rajsun has joined #nixos
<impredicative> cinimod: I have often felt like that
pie_ has quit [(Ping timeout: 268 seconds)]
bugworm has quit [(Quit: Konversation terminated!)]
Wizek has quit [(Ping timeout: 240 seconds)]
CodeWarrior has quit [(Ping timeout: 255 seconds)]
vaibhavsagar has quit [(Ping timeout: 248 seconds)]
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQoRn
<NixOS_GitHub> nixpkgs/master 5b9f4e1 Daniel Brockman: solc: 0.4.11 -> 0.4.12
<NixOS_GitHub> nixpkgs/master a765577 Jörg Thalheim: Merge pull request #27150 from dbrock/solc...
NixOS_GitHub has left #nixos []
<cinimod> impredicative: lol
<gchristensen> from time to time I feel something similar, too. but it isn't nix wins I lose, nix loses and I lose, because the program I'm trying to use is untamable
phreedom has joined #nixos
ebopp has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQoRQ
<NixOS_GitHub> nixpkgs/master e78b820 Francois-Rene Rideau: gambit: 4.8.6 -> 4.8.8-f3ffeb6...
<NixOS_GitHub> nixpkgs/master f96e4ed Francois-Rene Rideau: gerbil: 0.11 -> 0.12-DEV
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26947: Update gambit and gerbil (master...master) https://git.io/vQlTB
NixOS_GitHub has left #nixos []
<srhb> Has anyone gotten the Haskell library inline-java to build recently? I'm a bit confused with the error message: "javac: callProcess: runInteractiveProcess: exec: does not exist (No such file or directory)"
<ebopp> hello. i am having a bit of trouble building a Python package that's not on nixpkgs yet.
CodeWarrior has joined #nixos
cpennington has joined #nixos
<impredicative> srhb: I work with the people who wrote it, let me ask them
<ebopp> it depends on numpy, thus i added this to its propagatedBuildInputs field, but when building pip (presumably?) complains that it can't find a version that satisfies the requirement… i am fairly new to Nix, so might do something completely wrong.
<srhb> impredicative: Nice, thanks!
pie_ has joined #nixos
<nvd> Does anyone have an example of using hail I could look at?
<srhb> impredicative: Looks like it's just a missing dependency on jdk.
<srhb> impredicative: I'll fix it (I think)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQo0o
<NixOS_GitHub> nixpkgs/master 69a8564 Daniel Brockman: go-ethereum: 1.4.7 -> 1.6.6
<NixOS_GitHub> nixpkgs/master acde126 Jörg Thalheim: Merge pull request #27149 from dbrock/go-ethereum...
NixOS_GitHub has left #nixos []
<srhb> impredicative: Yep, that was it. :-)
k0001 has joined #nixos
xadi has quit [(Quit: Leaving.)]
orivej has quit [(Ping timeout: 248 seconds)]
oifgjregesgoern has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d8ea4c4196 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<oifgjregesgoern> Hi! I'm wondering if Monero miner xmr-stak-cpu is available via a nix expression somewhere? https://github.com/fireice-uk/xmr-stak-cpu
spacefrogg has quit [(Ping timeout: 276 seconds)]
spacefrogg has joined #nixos
cinimod has quit [(Ping timeout: 240 seconds)]
<srhb> oifgjregesgoern: grep -R "xmr-stak-cpu" gives me nothing in nixpkgs
xadi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #27203: haskellPackages.inline-java: Add jdk build dependency (master...inline-java-jdk) https://git.io/vQouf
NixOS_GitHub has left #nixos []
<oifgjregesgoern> I'm trying to use nix-shell from a tutorial - typing `$nix-shell -p git`. It says "Can't locate utf8.pm: /home/x/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3.
<oifgjregesgoern> BEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.". How can you repair permissions on these files?
<srhb> oifgjregesgoern: Which nixpkgs version?
<oifgjregesgoern> srhb: I don't know... How do you find out?
<srhb> oifgjregesgoern: Are you using nix-channels? If so, nix-channel --list
<oifgjregesgoern> When running that as my user I get the same permissions error. When running as root it returns "nixos https://nixos.org/channels/nixos-17.03"
<srhb> oifgjregesgoern: Oh ouch, I wonder how your permissions got messed up. :/
<oifgjregesgoern> Ok. If I want to remove a user, nuke 'em from the machine, do I just have to remove them from the `users.extraUsers` mapping in configuration.nix? Is that all required?
marrek has joined #nixos
marrek has quit [(Client Quit)]
pxc1 has joined #nixos
<LnL> yep
<FRidh> ebopp: if you have questions about expressions, then you best paste it
<ebopp> fridh: sure, will do. i solved my problem now, but i actually don't understand how.
pxc1 has quit [(Ping timeout: 260 seconds)]
filterfish_ has quit [(Ping timeout: 260 seconds)]
johann__ has joined #nixos
<ebopp> so, now I managed to reproduce my problem: https://gist.github.com/aepsil0n/888cd0ad10f25ca9f5ea5edde136a905
<ebopp> it seems like I can't mix numpy from python36.pkgs with python.pkgs.buildPythonPackage
Wizek has joined #nixos
<FRidh> ebopp: no, you cannot. `python` refers to `python27`
<FRidh> always use items from the same set
<ebopp> oh, that makes sense then…
<ebopp> by fiddling around I ended up just using `with pkgs.python27;` at the beginning of the expression
<FRidh> by the way, is vispy already more usable by now?
<ebopp> I am about to try it ;)
Wizek_ has quit [(Ping timeout: 276 seconds)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
<ebopp> when did you last work with it? just judging by the GitHub history, it seems development has slowed down a bit since 2015
Wizek_ has joined #nixos
Wizek__ has quit [(Ping timeout: 276 seconds)]
<FRidh> ebopp: last time I checked the code and docs is maybe a year ago. I think they had just begun work on a higher-level api but I think development on that indeed did not go so fast
indi_ has joined #nixos
cinimod has joined #nixos
ryantrinkle has joined #nixos
indi_ has quit [(Ping timeout: 255 seconds)]
Wizek__ has joined #nixos
Wizek has quit [(Ping timeout: 248 seconds)]
Wizek has joined #nixos
Wizek__ has quit [(Ping timeout: 240 seconds)]
Wizek__ has joined #nixos
johann__ has quit [(Quit: Leaving.)]
Wizek has quit [(Ping timeout: 255 seconds)]
Rajsun has quit [(Ping timeout: 276 seconds)]
Wizek_ has quit [(Ping timeout: 260 seconds)]
Wizek_ has joined #nixos
indi_ has joined #nixos
Rajsun has joined #nixos
<canndrew> I'm trying to execute a proprietary executable and I'm getting "libFoo.so: cannot open shared object file: No such file or directory"
<canndrew> I've used patchelf to set tyhe rpath to where libFoo.so is
<canndrew> but I'm still getting the error :/
<canndrew> what could possibly be happening?
mkoenig has quit [(Remote host closed the connection)]
<spacefrogg> canndrew: You also have to set the interpreter. This is the libc loader that is used to load the binary.
<canndrew> spacefrogg: thanks, I've set the interpreter though
<canndrew> it's specifically complaining about the missing library, which shouldn't be missing
<spacefrogg> canndrew: The command 'file libFoo.so' will show you what the interpreter is set to.
<spacefrogg> canndrew: When the interpreter is not set correctly you get the error message you have posted. (Which is, indeed, misleading.)
<canndrew> libFoo.so is installed properly in my nix store, but it can't find
<canndrew> *find it
<spacefrogg> canndrew: libFoo.so does also need the interpreter set correctly as is needed for the binary calling libFoo.so
indi_ has quit [(Ping timeout: 268 seconds)]
<canndrew> the full error (to be less confusing): ./houdini-bin: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
<canndrew> but patchelf --print-rpath houdini-bin gives...
<spacefrogg> What does 'ldd ./houdini-bin' show?
<canndrew> /nix/store/xfrkm34sk0a13ha9bpki61l2k5g1v8dh-gcc-5.4.0-lib/lib64:/run/opengl-driver/lib:/nix/store/j1axmg8l6xzgdr9xyklsmmwhdgiwdpg1-glu-9.0.0/lib:$ORIGIN/../dsolib
<canndrew> that libGLU.so.1 is not found
<canndrew> can pastebin the full output if you like. just wondering what could possibly be causing this since the rpath is setup correctly afaict
cinimod has quit [(Ping timeout: 260 seconds)]
<spacefrogg> canndrew: Well, it is not. There is no path to libGLU.so.1 in your rpath setup.
Wizek_ has quit [(Ping timeout: 246 seconds)]
Wizek_ has joined #nixos
<spacefrogg> Did you verify that libGLU.so.1 is in any of your rpath paths?
<canndrew> ls /nix/store/j1axmg8l6xzgdr9xyklsmmwhdgiwdpg1-glu-9.0.0/lib/libGLU.so.1
<canndrew> says it's there... :/
tmaekawa has joined #nixos
<canndrew> confusing... I might just try using makeWrapper instead and set LD_LIBRARY_PATH
<canndrew> though it'd be nice to have some clue what's going on
abcrawf has quit [(Remote host closed the connection)]
<canndrew> spacefrogg: thanks!
oifgjreg` has joined #nixos
faffolter has quit [(Read error: Connection reset by peer)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
abcrawf has joined #nixos
oifgjregesgoern has quit [(Ping timeout: 248 seconds)]
cpennington has quit [(Remote host closed the connection)]
Wizek has joined #nixos
Wizek__ has quit [(Ping timeout: 248 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
Wizek__ has joined #nixos
Wizek has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nthorne opened pull request #27206: git-big-picture: init at 0.9.0 (master...InitGitBigPicture) https://git.io/vQowK
NixOS_GitHub has left #nixos []
Sonarpulse has joined #nixos
orivej has joined #nixos
alfie has quit [(Ping timeout: 246 seconds)]
<ebopp> ok, new problem with vispy… it requires fontconfig as a runtime dependency. but naturally it does not find it, even when I specify it under propagatedBuildInputs. is there a way to wrap a Python module to find libraries from the nix store?
Wizek_ has quit [(Ping timeout: 246 seconds)]
Wizek_ has joined #nixos
indi_ has joined #nixos
the-kenny has quit [(Quit: WeeChat 1.7.1)]
* tommyangelo[m] sent a long message: tommyangelo[m]_2017-07-07_12:26:56.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/rAnsppfCYBrwMHSadgvsckcU>
<gchristensen> oh wow, nice work matrix
the-kenny has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
<gchristensen> tommyangelo[m]: do you see an error in your journalctl?
<gchristensen> tommyangelo[m]: do you see any log messages on the device you're trying to mount from?
Wizek_ has joined #nixos
indi_ has quit [(Ping timeout: 248 seconds)]
<tommyangelo[m]> gchristensen: cifs_mount failed w/return code = -115
<gchristensen> tommyangelo[m]: anything interesting in dmesg?
<tommyangelo[m]> gchristensen: same thing
<gchristensen> any other message around it, like "Error connecting to socket. Aborting operation"?
<tommyangelo[m]> Sorry yes, exactly
spacefrogg has quit [(Quit: Gone.)]
<gchristensen> and any logs on the target server?
<tommyangelo[m]> not that I have access to
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vQooT
<NixOS_GitHub> nixpkgs/master 941d83d zimbatm: kops: 1.6.0 -> 1.6.2
NixOS_GitHub has left #nixos []
<gchristensen> ouch
<gchristensen> can you mount it by hand?
Piece_Maker has joined #nixos
Guest16190 is now known as grahamc
grahamc has quit [(Changing host)]
grahamc has joined #nixos
grahamc has quit [(Changing host)]
grahamc has joined #nixos
jensens has joined #nixos
<gchristensen> kind of funny / annoying that identifying creates so many messages
Acou_Bass has quit [(Ping timeout: 260 seconds)]
Piece_Maker is now known as Acou_Bass
<tommyangelo[m]> gchristensen: yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vQooK
<NixOS_GitHub> nixpkgs/master 17aedaf zimbatm: kubernetes-helm: 2.4.1 -> 2.5.0
NixOS_GitHub has left #nixos []
<tommyangelo[m]> but it prompts for a password and I just press enter
<gchristensen> tommyangelo[m]: can you share your mount command? ooh
koserge has joined #nixos
<gchristensen> you should probably provide an option: "password="
<tommyangelo[m]> gchristensen: mount -t cifs //192.168.70.2/public /mnt/public
<gchristensen> and I'm not sure if it is, or how it is inferring a username
<tommyangelo[m]> trying
iyzsong has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
MoreTea has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27147: mergerfs: 2.22.1 -> 2.23.0 (master...update-mergerfs) https://git.io/vQ2xO
NixOS_GitHub has left #nixos []
<ebopp> ok, solved the aforementioned python packaging issue by adding LD_LIBRARY_PATH to both expressions: https://gist.github.com/aepsil0n/43002355489cd76025278f51b80942e3
<ebopp> this kind of feels redundant though
<ebopp> is there any way to clean that up or does it have be this way?
<tommyangelo[m]> gchristensen: Did not work, and I ran out of time, it'll have to stay manual for now. Thanks for the help!
<FRidh> ebopp: you'll need to patch the vispy source and hardcode paths to the libraries you need
<ebopp> fridh: and i can do that in vispy.nix using some patching function from nixpkgs, i guess?
Wizek has joined #nixos
indi_ has joined #nixos
<FRidh> ebopp: yep, either you create a patch externally and add it to the `patches` list, or you put in a `postPatch` and use substituteInPlace or sed to make the modifications
<FRidh> you'll want to search for occurences of LoadLibrary
<FRidh> or find_library
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #27161: linux: Clean up kernel config warnings (master...kernel_config_cleanup) https://git.io/vQVGW
NixOS_GitHub has left #nixos []
Wizek_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #27133: ammonite: 0.9.9 -> 1.0.0 (master...ammonite_1_0_0) https://git.io/vQgxN
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
sary has quit [(Ping timeout: 260 seconds)]
Wizek__ has quit [(Ping timeout: 240 seconds)]
<ebopp> fridh: thanks, that helps.
sary has joined #nixos
indi_ has quit [(Ping timeout: 246 seconds)]
cpennington has joined #nixos
Wizek__ has joined #nixos
ryantrinkle has quit [(Ping timeout: 276 seconds)]
sary has quit [(Ping timeout: 255 seconds)]
tmaekawa has joined #nixos
sary has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
Wizek has quit [(Ping timeout: 255 seconds)]
Wizek_ has joined #nixos
Tucky has joined #nixos
adeohluwa has quit [(Quit: Connection closed for inactivity)]
srhb has quit [(Quit: Quit)]
seppellll has quit [(Quit: Leaving)]
srhb has joined #nixos
earldouglas has joined #nixos
sary has quit [(Ping timeout: 255 seconds)]
vaibhavsagar has joined #nixos
sary has joined #nixos
<LnL> FRidh: any idea why building a wheel would result in libffi.so.6 => not found
nschoe has joined #nixos
hiberno has quit [(Quit: WeeChat 1.6)]
<FRidh> LnL: you get that while building a wheel? With a nix-build or without nix?
<LnL> with nix but not using buildPythonPackage
<FRidh> which python version?
<LnL> 2.7.13
<FRidh> anyway, likely you need to hardcode a path to a library somewhere
<FRidh> what package is it?
<LnL> cffi
<FRidh> checking the expression I see it doesn't hardcode any path.
<LnL> let me try with the same version that we have in nixpkgs
<FRidh> which is most likely why it doesn't work during runtime but does while building with nix-build
<LnL> same thing with 1.10.0
indi_ has joined #nixos
spacefrogg has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
<FRidh> Did you make libffi available?
indi_ has quit [(Ping timeout: 260 seconds)]
<LnL> yes the wheel builds fine, but stuff that tries to use it doesn't work unless I set LD_LIBRARY_PATH
Wizek_ has joined #nixos
<LnL> the python stuff in nixpkgs also goes through a wheel build right?
<FRidh> yes
<FRidh> when it builds the wheel, the wheel contains some compiled code that should retain the reference to libffi
Rotaerk has quit [(Quit: Leaving)]
romildo has joined #nixos
tmaekawa has quit [(Ping timeout: 240 seconds)]
<LnL> yeah my stuff basically does the same
DrWaste has quit [(Quit: Run away!)]
<LnL> the main difference is that it doesn't include any dependency information so you can easily generate expressions from a requirements.txt
<gchristensen> any go wizards around? I have a go package that, I believe, needs to keep a reference to the go compiler
<LnL> why does it need that?
<FRidh> LnL: did you check whether a reference to libffi still exists somewhere in the package? E.g. $ grep -R $(nix-build -A libffi) $(nix-build -A python.pkgs.cffi)
<gchristensen> LnL: it is `errcheck` which does static code analysis: https://gist.github.com/grahamc/3c6ce0cc31e0c27b06366663ab75c93e
<LnL> eww
<gchristensen> ohh looks like it is as easy as allowGoReference = true
<LnL> yeah there's some stuff in the go builder to remove the references by default
Rotaerk has joined #nixos
<LnL> FRidh: nope, nothing I'm just wondering why it works with the standard python infrastructure
<gchristensen> it makes sense, though, there is no reason you'd have this tool if you weren't also in possession of a go compiler
<srhb> Are there any nixos services that use a postgresql or some other service as a backing store that I can take a look at?
<srhb> I'm wondering how one would structure such a module
<dalaing> Hydra uses postgresql I think
<srhb> dalaing: Thanks! Though that's probably not a simple example :D
<FRidh> LnL: maybe you have an impurity? That it finds a libffi elsewhere during build
<dalaing> Gitlab as well
<srhb> dalaing: Neat
<dalaing> srhb: I'm starting to wonder what other tech you're into - reflex and Nix are both pretty awesome and not as widely known as I think they should be
<dalaing> I should probably ask Ryan and Cale the same question :)
<srhb> dalaing: That's about it, though my day job is devopsing (sigh, mostly opsing...) some very enterprisey things in a Mesos cluster environment
<srhb> Wishing I could use the tools I love more for that :-)
<srhb> dalaing: Yourself?
<dalaing> .Those are my top two for now :)
* srhb nods
<dalaing> Probably something with session types when that tech matures
<impredicative> I'm doing devops-y stuff at the moment mostly with nix :-)
<srhb> interesting!
<srhb> impredicative: Tweag sounds like magic wonderland ;-)
<dalaing> Types for protocols seem like a big win
<dalaing> Yeah, Tweag sounds great
<catern> what is reflex?
nslqqq has quit [(Ping timeout: 240 seconds)]
<srhb> catern: reflex-frp, a functional reactive framework for Haskell
<catern> ah
<srhb> catern: Lots of cross-pollination since its creator decided to package it up with Nix due to the difficult ghcjs builds at the time. Great stuff :)
<srhb> (Or at least I think that was the motivation)
<dalaing> both have a very nice power-to-weight ratio
<nvd> Right, so, what I am doing: I have written a shell script which I would like to turn into a systemd unit. I would like to do this with nix. Furthermore, I would like to distribute this with hail. Unfortunately, I don't know how to do any of those things
<gchristensen> does "hoist" have special meaning in functional programming?
<srhb> gchristensen: Mostly in Haskell land, I think, compared to lift
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
* gchristensen goes looking
<gchristensen> "Best Hoists in Haskell, New Jersey with Reviews - YP.com"
<srhb> Haha
<srhb> gchristensen: iirc you lift something into a context, or hoist something out of. The former is a lot more common.
indi_ has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<gchristensen> <3 thank you :D
<srhb> (That doesn't really go with my "out of" claim. When i doubt, listen to Gabriel, not me.)
<impredicative> Hmm, I tend to think of hoist as lifting things over natural transformations
<gchristensen> will do :) it is still a bit of a struggle for me to read this sort of post, lots of context I'm not aware of (since I'm a lowly imperative programmer 99% of the time)
<impredicative> As in switching out the undelying functor or similar
<srhb> impredicative: That makes great sense, thanks.
<NickHu> Can someone help me override haskellPackages.xmonad-contrib to be built from github instead of hackage?
<srhb> NickHu: Sure
<LnL> gchristensen: yeah haskell people use all kinds of strange words :D
<srhb> You'll learn to love it, we've infected #nixos by now ;-P
<srhb> NickHu: Have you used any overlays yet?
<gchristensen> nix has helped me understand several functional concepts, and I think Rust has, too, to some degree
<ToxicFrog> nvd: "turn into a systemd unit" as in "you have a script that you want to be launched and managed automatically by systemd" or as in "you have a sysvinit management script that you want to convert to a systemd unit file"?
<gchristensen> though perhaps Rust has helped me learn to trust and really deeply read compiler error messages :P
<dalaing> Hail is great, but I have only used it for a blog so far, so I'm not confident I could help with it
indi_ has quit [(Ping timeout: 260 seconds)]
<dalaing> And it's after midnight here and I've had a drink or two
<ToxicFrog> I definitely can't help with the Hail part but I've done a bunch of [writing systemd unit files for existing programs, converting sysvinit control scripts to systemd, writing systemd units in nix]
ryantrinkle has joined #nixos
<gchristensen> LnL: IMO a major problem with haskell, as a person who doesn't use haskell, is once you learn haskell you forget how to be not academic and relate to anyone else :o
<disasm> nvd: what's the script do?
nslqqq has joined #nixos
<disasm> nvd: also, to your 2nd point, wanting to distribute with nix, are the systems your distributing to nixos or just nix on another OS?
<disasm> err wanting to do this with nix. I've never heard of hail btw, so don't think I can help you on part 3.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] nc6 opened pull request #27209: Nc/haskell multiple out (master...nc/haskell-multiple-out) https://git.io/vQo9v
NixOS_GitHub has left #nixos []
phinxy has joined #nixos
sary has quit [(Remote host closed the connection)]
<nvd> disasm: the script sends info about disk and memory usage to a graphite server
<nvd> disasm: and nix on another OS
Wizek has joined #nixos
bennofs has joined #nixos
<nvd> disasm: it seems not many people have used hail (it is pretty recent tbf)
<bennofs> what's hail?
<bennofs> cool
Wizek__ has quit [(Ping timeout: 246 seconds)]
Wizek__ has joined #nixos
erasmas has joined #nixos
<srhb> NickHu: You seemed to disappear, but you want to use something like this if you're doing it via overlays: http://nixpaste.lbr.uno/F6Fa_SqC?nix
<srhb> (Well, it's quite similar even if you're not using overlays)
Wizek_ has quit [(Ping timeout: 248 seconds)]
<nvd> I'm pretty new to nix and I'm probably diving in at the deep end here....
<srhb> nvd: I'm not sure if Nix (without NixOS) has a concept of systemd services at all
tokudan has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All!
ison111 has quit [(Quit: WeeChat 1.7.1)]
<gchristensen> srhb, nvd: it does not
<disasm> nvd: so I think you can do stdenv.mkDerivation { with a src of your bash script and an installPhase that copies it to $out. I don't think nix without nixos can manage systemd services at all, so you'd probably need to create a systemd unit separate from nix.
<kuznero> How do I do something like `COPY` or `ADD` in Dockerfile with `dockerTools.buildImage`?
<gchristensen> nixpkgs can create systemd unit files but then you have to do whatever you have to do with them to use it
<nvd> Right, I see
<clever> LnL: yeah
<disasm> kuznero: I think you'd write a derivation with an installPhase that copies to $out
<LnL> clever: I used your kexec + justdoit thing today <3
<kuznero> Ah... that didn't come to mind :) Thanks! :)
<kuznero> disasm: thanks!
<srhb> kuznero: There's only ever one layer produced from buildImage :)
<LnL> clever: had my system up in like 2 minutes
Wizek_ has joined #nixos
<kuznero> srhb: I just want some files by default in my volume if it happen not to be mounted
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQoQJ
<NixOS_GitHub> nixpkgs/master 14f2083 Thorsten Weber: git-ftp: init at 1.4.0
<NixOS_GitHub> nixpkgs/master 515d5d5 Jörg Thalheim: Merge pull request #27177 from tw-360vier/git-ftp...
NixOS_GitHub has left #nixos []
zetok has quit [(Ping timeout: 255 seconds)]
<disasm> gchristensen: it can? I thought the systemd stuff was all at the nixos level.
<clever> LnL: nice
Wizek__ has quit [(Ping timeout: 260 seconds)]
<nvd> disasm: it's not that tricky to output a file, I guess, but it's slightly trickier to put it where it needs to go
oifgjreg` has quit [(Ping timeout: 240 seconds)]
<kuznero> nvd: you mean in docker image not under /nix/store?
indi_ has joined #nixos
<gchristensen> disasm: nixpkgs can write out any text file you want, is what I mean
<nvd> kuznero: where did docker come into it?
<srhb> I think we're mixing up topics now :-)
<kuznero> nvd: sorry, I unintentionally mixed things up...
Wizek__ has joined #nixos
zetok has joined #nixos
<disasm> gchristensen: ah k, that makes more sense :)
<nvd> kuznero: no worries :)
<disasm> nvd: I don't know if this helps, but applications/networking/syncthing/default.nix does something similar I think to what you want to do.
ryanartecona has joined #nixos
yegortimoshenko has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
<disasm> then after you install the derivation on the system you want the monitoring on, you'd just need to symlink the unit file to /etc/systemd/system/ and run systemctl daemon-reload && systemctl start mymonitor.service
<disasm> hail and hydra I have no experience with yet. Been meaning to play with hydra for some time, just don't have the free time.
Wizek_ has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
<kuznero> disasm: adding content with another derivation helped. Thanks again!
<disasm> kuznero: awesome, glad to hear it! Did you get that docker image shrinked?
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
<kuznero> disasm: oh yes :) pure pleasure :) from 1,67G to 62M (scotty web server + bunch of other small stuff)
<disasm> kuznero: would you mind sharing the nix derivation? I'm curious what the fix in the end was.
<kuznero> Sure, just a few minutes - I will finish up adding content files and will post a link
sary has joined #nixos
<srhb> Hmms. nixos-rebuild switch is stuck after "setting up tmpfiles" with no further output. How might I diagnose what's going on?
eacameron has joined #nixos
eacamero_ has quit [(Ping timeout: 258 seconds)]
Rajsun has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 258 seconds)]
impredicative has quit [(Quit: Konversation terminated!)]
pxc1 has joined #nixos
<kuznero> Will check in later. Have a great weekend everyone!
eacameron has quit [(Ping timeout: 240 seconds)]
kuznero has quit [(Quit: Page closed)]
eacameron has joined #nixos
hiberno has joined #nixos
iyzsong has quit [(Quit: bye.)]
<disasm> ooh, haskell.lib.justStaticExecutables, that's nifty
eacamero_ has joined #nixos
pxc1 has quit [(Ping timeout: 258 seconds)]
k0001 has quit [(Remote host closed the connection)]
eacameron has quit [(Ping timeout: 258 seconds)]
k0001 has joined #nixos
Rajsun has joined #nixos
civodul has quit [(Remote host closed the connection)]
eacamero_ has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
k0001 has quit [(Remote host closed the connection)]
indi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQobr
<NixOS_GitHub> nixpkgs/master 006ac6b Jörg Thalheim: exa: 0.6.0 -> 0.7.0
NixOS_GitHub has left #nixos []
k0001 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vQob6
<NixOS_GitHub> nixpkgs/master 8fc5beb Eelco Dolstra: httpd: 2.4.25 -> 2.4.26...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #27212: hugo: 0.24.1 -> 0.25 (master...pr/hugo-0.25) https://git.io/vQobD
NixOS_GitHub has left #nixos []
eacameron has quit [(Read error: Connection reset by peer)]
bkchr has quit [(Ping timeout: 276 seconds)]
eacameron has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vQobb
<NixOS_GitHub> nixpkgs/release-17.03 8cb29b3 Eelco Dolstra: httpd: 2.4.25 -> 2.4.26...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #27213: gx: 20160601-f84ddf7 -> 0.12.0 (master...pr/gx) https://git.io/vQobh
NixOS_GitHub has left #nixos []
orivej has joined #nixos
ennui has quit [(Ping timeout: 260 seconds)]
spinus has joined #nixos
yegortimoshenko has quit [(Remote host closed the connection)]
indi_ has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #27214: unzip: Use less lines of context in patch so NLS patch commutes (staging...unzip-nls) https://git.io/vQoNa
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vQoNj
<NixOS_GitHub> nixpkgs/master 93b1b3d Robert Helgesson: perl-PDF-API2: 2.030 -> 2.033
NixOS_GitHub has left #nixos []
snikkers has quit [(Remote host closed the connection)]
eacameron has joined #nixos
g^k_1^w^m_s^u has joined #nixos
g^k_1^w^m_s^u has quit [(Excess Flood)]
Tucky has quit [(Quit: WeeChat 1.9)]
k0001 has quit [(Remote host closed the connection)]
ebopp has quit [(Ping timeout: 240 seconds)]
k0001 has joined #nixos
tosmi has joined #nixos
<tosmi> hi
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #27215: Harden stdenv in two misc ways (master...stdenv-harden) https://git.io/vQoxd
NixOS_GitHub has left #nixos []
ennui has joined #nixos
<Eisfreak7> /
bennofs has quit [(Ping timeout: 255 seconds)]
<gchristensen> neato...
<tosmi> i'm just on my way learning nixos and desperatly trying to build a ruby dev env with the help of nix-shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27094: buildbot: 0.9.7 -> 0.9.9.post2 (master...buildbot-0.9.9) https://git.io/vQu5Z
NixOS_GitHub has left #nixos []
romildo has quit [(Quit: Leaving)]
<tosmi> but i'm always getting "build input ... does not exist"
phreedom has quit [(Ping timeout: 258 seconds)]
<tosmi> i've tried various examples on how to build a dev env, the result is always the same...
freusque has quit [(Quit: WeeChat 1.7.1)]
alfie has joined #nixos
<tokudan> tosmi, i don't think it's a problem with your nix expression
<tokudan> tosmi, see the comment i just made on that gist
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #27216: only add existing directories to PATH (master...path) https://git.io/vQopy
NixOS_GitHub has left #nixos []
<tosmi> ok, thanks
<tokudan> I'm not really sure what that message means, but it's probably something along the line of "this nix store path should exist, but I cannot find it. HELP me!"
<srhb> Yeah, and presumably that's stdenv things.
<srhb> Which is bad.
<tosmi> yeah, i check the paths and they are in the nix store...
phreedom has joined #nixos
bkchr has joined #nixos
bennofs has joined #nixos
<tokudan> hmm... you could try something like nix-store --realise /nix/store/b43ww9wkpwjxha7ql7mizxpa2vb6yk5r-gcc-wrapper-5.4.0
<tokudan> for each of the paths mentioned
<gchristensen> ugh I hate how I hurt myself... currently considering installing hydra on a ScientificLinux box ....
Wizek_ has joined #nixos
<tokudan> and if that does not help, maybe nix-store --repair-path /nix/store/b43ww9wkpwjxha7ql7mizxpa2vb6yk5r-gcc-wrapper-5.4.0
<tokudan> tosmi, it could be something completely different, though. i have little experience there
ryanartecona has quit [(Quit: ryanartecona)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vQohw
<NixOS_GitHub> nixpkgs/master fbbf5e7 Frederik Rietdijk: python.pkgs.virtualenv: move to separate expression
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
<tosmi> ok, but thanks anyways
ryanartecona has joined #nixos
<tosmi> i'll try it with just one package (patchelf) the result is the same
Wizek has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27151: seth: 0.5.1 -> 0.5.6 (master...seth) https://git.io/vQav5
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
<tokudan> i guess that points to a problem with your nix store then. you didn't delete anything in there manually, I hope?
<tosmi> no, didn't touch it
<tosmi> the only thing is the machine didn't receive any updates in a while
<tosmi> i just tried it on my notebook with the same result
<tosmi> strange
<tokudan> then maybe try updating the machines?
<tosmi> yeah, thats the next thing i'm gonna do
<tosmi> @tokudan, which channels do you have configured (as user and root)?
jbaum98 has joined #nixos
<tokudan> that's the only one
indi_ has quit [(Ping timeout: 260 seconds)]
<tosmi> ok thanks
<tosmi> same here, i'll try updating to the latest and greatest packages
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<srhb> tosmi: How are you launching that nix-shell ?
yegortimoshenko has joined #nixos
<tosmi> i've created a default.nix file in an empty directory and just called 'nix-shell'
<yegortimoshenko> why is there no ec2-user in NixOS EC2 AMIs?
bkchr has quit [(Ping timeout: 260 seconds)]
<srhb> tosmi: I really don't understand how you could be experiencing that...
<gchristensen> yegortimoshenko: we use the user `root`. not all AMIs on EC2 use the `ec2-user` name
<srhb> On two machines, no less
bkchr has joined #nixos
<yegortimoshenko> gchristensen: most do
<gchristensen> ubuntu doesn't and that represents a substantial number of their VMs
<tosmi> yup, i've got clue either
mudri has joined #nixos
<tosmi> no clue...
<gchristensen> IIRC only amazon-linux does?
<gchristensen> anyway, it is by no means a standard or requirement, just a quirk of a few of the distros EC2 provides
<yegortimoshenko> rhel, centos, suse, gentoo all use ec2-user
<yegortimoshenko> freebsd images too
<tosmi> both machines got installed with 16.09 and are now running 17.03
<gchristensen> sure, that's fine
<gchristensen> we d on't
<srhb> tosmi: Let's get the version you're using once it's rebuilt.
<srhb> tosmi: If the error persists, that is.
<tosmi> ok, rebuild switch is currently running
orivej has quit [(Remote host closed the connection)]
digitus has joined #nixos
<tokudan> tosmi, you probably don't need the rebuild
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vQKeC
<NixOS_GitHub> nixpkgs/staging 21ef8d5 montag451: network-manager: fix hard-coded path for modprobe
NixOS_GitHub has left #nixos []
<tokudan> tosmi, you could try the nix-shell right after the channel upgrade
orivej has joined #nixos
bkchr has quit [(Ping timeout: 276 seconds)]
<tokudan> though 16.09 should be replaced sometime soon, as far as i remember it's basically unsupported now
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27187: network-manager: fix hard-coded path for modprobe (master...network-manager-modprobe) https://git.io/vQrIh
NixOS_GitHub has left #nixos []
<tosmi> 16.09 is just the version i used for installation. i'm currently on 17.03.
<srhb> does nixos-version give a commit if you're running off channels?
<tosmi> 17.03.1387.25a8ba5baf (Gorilla)
<tosmi> this is on my workstation, the other machine is currently updating
marsel has quit [(Ping timeout: 240 seconds)]
<srhb> tosmi: Works for me on that commit as well, so I guess we can rule that out.
sibi has quit [(Quit: Connection closed for inactivity)]
<srhb> tosmi: But the fact that it's occurring on both machines makes it sound like we need to check if something odd is happening in your configuration
<tosmi> ok, just give me a sec
<tosmi> i just ran 'nix-channel --update' and 'sudo nix-channel --update'
<tosmi> and now i'm just running nix-shell again
<tosmi> i'll post my config in a second gist, if nix-shell fails again
<tosmi> it's currently downloading packages, i can see paxctl-0.9 beeing fetched...
<tosmi> nop, failed again, same message
<tokudan> same paths?
<tosmi> yeah, no difference
<tokudan> then either something's wrong with your config or your nix store caught a cold or something
[0x4A6F] has joined #nixos
<tosmi> my configuration nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vQKvN
<NixOS_GitHub> nixpkgs/master e08e354 Vladimír Čunát: luajit: revert to 2.1 on aarch64 for now...
NixOS_GitHub has left #nixos []
<tosmi> what catches my eye is system.stateVersion="16.09";
<gchristensen> that never needs to be changed
<gchristensen> changing it will only either: do nothing to help you, or: hurt you by breaking something.
<tosmi> ok
<Infinisil> Only situation it could be changed is when you install that config to a new machine
<gchristensen> good catch, Infinisil
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj closed pull request #27216: only add existing directories to PATH (master...path) https://git.io/vQopy
NixOS_GitHub has left #nixos []
<tosmi> after updating the notebook, got the same error...
<tosmi> strange..
alx741_ has joined #nixos
<srhb> tosmi: Do you have any user nixpkgs config?
yegortimoshenko has quit [(Remote host closed the connection)]
<tosmi> you mean ~/.nixpkgs/config.nix
nvd has quit [(Quit: leaving)]
<srhb> tosmi: Or anything in ~/.config/nixpkgs at all
<tosmi> yeah, i've set allowUnfree to true
<srhb> Or that one
<tosmi> there no .config/nixpkgs
<srhb> Did you try verifying/repairing the store yet?
alx741 has quit [(Ping timeout: 268 seconds)]
<tosmi> nix-store --verify returns 0
<srhb> tosmi: I think you want sudo nix-store --verify --check-contents --repair
pietranera has quit [(Quit: Leaving.)]
<srhb> Oh, also
<srhb> Did we ever try nix-shell --pure ?
pxc1 has joined #nixos
<tosmi> ok nix-store --check-contents --verify --repair is currently running
<tosmi> will try running --pure next
<tosmi> maybe it's my shell environment
<srhb> Or just your user env in general
<srhb> I don't think we ever checked that
orivej has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 5 new commits to master: https://git.io/vQKJu
<NixOS_GitHub> nixpkgs/master 7fdf18e Vladimír Čunát: stdenv: refactor (no change in semantics)...
<NixOS_GitHub> nixpkgs/master 5afcdc8 Vladimír Čunát: stdenv: simple refactor to get rid of pos'...
<NixOS_GitHub> nixpkgs/master dfc004e Vladimír Čunát: lib.lists.mutuallyExclusive: add function
NixOS_GitHub has left #nixos []
indi_ has joined #nixos
jhinkle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vQKJr
<NixOS_GitHub> nixpkgs/master bdabf6a Victor Calvert: pythonPackages.mechanize: 0.2.5 -> 0.3.5
<NixOS_GitHub> nixpkgs/master ff5423c Frederik Rietdijk: calibre: use bundled html5lib...
NixOS_GitHub has left #nixos []
<tosmi> just run bash --norc --noprofile and use nix-shell --pure, same error
<srhb> tosmi: Well, I'm stumped.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27191: pythonPackages.mechanize: 0.2.5 -> 0.3.5 (master...fix_calibre_mechanize-0.3.5) https://git.io/vQry3
NixOS_GitHub has left #nixos []
<tosmi> me too :-)
<tosmi> nix-store returned with 0 and without any error message
<tosmi> hm i'll try to setup a fresh vm and run the expression there
Wizek_ has quit [(Ping timeout: 246 seconds)]
Wizek__ has quit [(Ping timeout: 255 seconds)]
<tosmi> i will also open an github issue, maybe someone else already had that problem
<srhb> tosmi: Good plan
indi_ has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8cb29b3c84 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0f2db06540 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Ralith> what's the magic nix-build incantation to build a package that's written to be invoked by callPackage but which doesn't actually have a top-level expression anywhere
nix-gsc-io`bot has quit [(Client Quit)]
tosmi` has joined #nixos
<tokudan> Ralith, nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 3 new commits to staging: https://git.io/vQKTn
<NixOS_GitHub> nixpkgs/staging a14cf06 John Ericson: stdenv: Harden hook runners...
<NixOS_GitHub> nixpkgs/staging e57a220 John Ericson: stdenv, swift: Use `local fd` in is* bash functions for hygiene
<NixOS_GitHub> nixpkgs/staging f536412 John Ericson: Merge pull request #27215 from obsidiansystems/stdenv-harden...
NixOS_GitHub has left #nixos []
<gchristensen> Sonarpulse: interesting, with vcunat's recent pushing of your code to master's stdenv, I'm not sure why those three commits should go to the staging stdenv
<Sonarpulse> gchristensen: which ones?
<Sonarpulse> the meta code
<gchristensen> https://git.io/vQKJu
<Sonarpulse> doesn't change hashes
tosmi has quit [(Ping timeout: 255 seconds)]
<gchristensen> oh cool :)
alx741_ has quit [(Quit: alx741_)]
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AMDmi3 opened pull request #27220: Fix homepage (master...patch-1) https://git.io/vQKTV
NixOS_GitHub has left #nixos []
alx741 has joined #nixos
<Sonarpulse> gchristensen: oh and I pushed the code and merged it :)
<Sonarpulse> the contributors-push-to-PR feature :D
<gchristensen> :D
<Sonarpulse> I alos just merged an actual staging thing
<Sonarpulse> then I need to merge those two PRs to make base commit for a 3rd
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aschmolck opened pull request #27221: git: add missing deps for filter-branch etc (master...fix-git-deps) https://git.io/vQKTD
NixOS_GitHub has left #nixos []
<Sonarpulse> nixpkgs history, ...I'm sorry
<gchristensen> meh
<gchristensen> a clean history is for the birds. real life is complicated
<Infinisil> Staging is one thing of git/version management I don't quiet get yet
<gchristensen> git's staging? or nixpkgs' staging branch?
Wizek_ has joined #nixos
<Infinisil> Both I guess?
<gchristensen> well they're different
<Infinisil> I don't know either :)
ambro718 has joined #nixos
Wizek__ has joined #nixos
<ambro718> I want to use pkgs.lib.linkFarm (to create a directory with symlinks), but is it possible to extract the paths from the result?
sary has quit [(Ping timeout: 258 seconds)]
<Ralith_> tokudan: that just gives me errors from unrelated packages, which is weird, because presumably it's pulling in my perfectly good system nixpkgs
sary has joined #nixos
<tokudan> Ralith_, probably errors from dependencies? not only direct dependencies count
<ambro718> I need to do something like this: http://ideone.com/HZNE2n
<Ralith_> tokudan: I don't think my nodejs package depends on agda.
cmr has quit [(Quit: FIN)]
<Sonarpulse> Infinisil: I suppose it can be argued that both are hacks
<Sonarpulse> though in different ways
<tokudan> Ralith_, i don't know how you have to call nodejs packages
<Ralith_> it is a normal package.
<Ralith_> no special calling needed
ebopp has joined #nixos
<tokudan> well, then nix shouldn't evaluate agda if it's not in the dependency path somewhere
cmr has joined #nixos
cmr has quit [(Changing host)]
cmr has joined #nixos
<tokudan> maybe it's onyl required to build something?
<Infinisil> Sonarpulse: I'll read up on it when I need it
<Sonarpulse> +1
<gchristensen> tokudan, Ralith_: it sounds like whatever you're doing is trying to evaluate all of nixpkgs
<tokudan> gchristensen, what I've sent Ralith_ as command to build a package is: nix-build -E 'with import <nixpkgs> { }; callPackage ./default.nix { }'
<tokudan> gchristensen, i dont think that should evaluate all of nixpkgs
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #27222: gitlab-runner service: add graceful mode (master...gitlab-runner-graceful) https://git.io/vQKIP
NixOS_GitHub has left #nixos []
<tokudan> gchristensen, well, unless the default.nix does it, of course
indi_ has joined #nixos
<Infinisil> tokudan: If you're currently in the nixpkgs directory where the main default.nix lives, then i'm pretty sure this would evaluate all of nixpkgs
<tokudan> Infinisil, Ralith_ has that problem, not me
indi_ has quit [(Ping timeout: 260 seconds)]
<Infinisil> tokudan: Yeah, I meant 'you' as a in 'any person'
<Ralith_> I'm not doing anything remotely like that, no, as explained above
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27220: Fix homepage (master...patch-1) https://git.io/vQKTV
NixOS_GitHub has left #nixos []
<Infinisil> Ralith_: Oh sry
<Sonarpulse> gchristensen: did you manual change get merged?
<gchristensen> Sonarpulse: yeah, but minus the jing changes
<Sonarpulse> mmm
<gchristensen> b/c it'd put the jre too close to stdenv or something
<Sonarpulse> ok
<Sonarpulse> there's still real line numbers at least?
<gchristensen> yup :)
<Sonarpulse> yay!
xadi has quit [(Quit: Leaving.)]
mudri has quit [(Ping timeout: 276 seconds)]
mrcheeks has joined #nixos
ennui has quit [(Ping timeout: 260 seconds)]
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
<gchristensen> can I make a persistent GC root for a `.drv`? I'm trying to work around a temporary problem where a nix-shell environment is over aggressively being GC'd, while the real solution is put in to place
<slabity> So there's no nixos wiki, right? Is there a place I can help with documentation?
indi_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to openssl-1.1: https://git.io/vQKYl
<NixOS_GitHub> nixpkgs/openssl-1.1 b7128d5 Robin Gloster: transmission: add patch to build with openssl 1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 5766383 Robin Gloster: aws-sdk-cpp: 1.0.153 -> 1.1.7
<NixOS_GitHub> nixpkgs/openssl-1.1 055d97f Robin Gloster: mariadb: use connector-c for libmysqlclient
NixOS_GitHub has left #nixos []
orivej has joined #nixos
<Infinisil> gchristensen: Does nix-store --add-root <path> not work?
danl1240 has joined #nixos
<grahamc> Infinisil it seems to want to build the drv first
carlosda1 has joined #nixos
ris has quit [(Ping timeout: 255 seconds)]
ericsagnes has quit [(Ping timeout: 258 seconds)]
<danl1240> can some point me to a ELI5 description of how I can install an older version of Mercurial using nix?
indi_ has quit [(Ping timeout: 260 seconds)]
<srhb> danl1240: If it's not already in nixpkgs, you can either get an older nixpkgs or manually override (or make a new) derivation with the version you want
<srhb> danl1240: In which case you basically want to know how to override packages.
<Infinisil> grahamc: Ohh right
darlan has joined #nixos
<danl1240> srhb: yeah... it's not in nixpkgs, and I don't know how to do those things.......
bit_lySLH2uSZHed has joined #nixos
<srhb> danl1240: http://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs you'll be wanting to override at least src (to get the older src)
bit_lySLH2uSZHed has left #nixos []
[0x4A6F] has quit [(Ping timeout: 248 seconds)]
carlosda1 has quit [(Ping timeout: 276 seconds)]
cwre has joined #nixos
<FRidh> gchristensen: # nix-instantiate -A python --add-root /nix/var/nix/gcroots/mypy
<Infinisil> gchristensen grahamc: sudo nix-instantiate --add-root /nix/var/nix/gcroots/hello seems to work
<cwre> Hey all, what is NixOS based on? Does it take anything from an upstream distro?
<Infinisil> FRidh: Heh, same time
<srhb> cwre: Aside from inspiration and some deb packages here and there, it's not based on anything else.
<cwre> Ahhh, yes.
<cwre> Wonderful.
<cwre> What do you mean by deb packages here and there? So it supports .debs?
nschoe has quit [(Quit: Program. Terminated.)]
<srhb> cwre: Not as such, but there are helper functions to extract things from debs and repackage in a nixpkgs way.
ericsagnes has joined #nixos
<srhb> cwre: I believe we get spotify from a deb, for one.
<danl1240> srhb: is there a good primer/example of jumping from just using nix-env -i to make my own package/derivation so I can do that?
<danl1240> srhb: and I have a version of Mercurial in mind, how do I find it?
<cwre> Mmm, okay. I'm an Arch users looking for something that I can try and force on my employer instead of Ubuntu.
<cwre> Because Arch "isn't secure"
<cwre> *stabel
<srhb> danl1240: You'll want something like that in ~/.config/nixpkgs/overlays/oldmercurial.nix
<cwre> ugh, can't type.
<srhb> danl1240: You'll want to fill in the src bit with the sources you want. Find something similar from mercurials definition in nixpkgs (grep for mercurial)
<srhb> danl1240: That should get you started.
<srhb> cwre: I switched from Arch myself.
<srhb> cwre: No luck on pushing NixOS yet, sadly. :-)
<cwre> srhb: what was your reasoning for switching?
<srhb> cwre: Declarative system, basically. It was love at first sight.
<srhb> And the hackability of just altering a git repository to alter your distro radically is just fantastic.
<cwre> I do find it interesting, but I guess I don't understand how awesome it can be.
<Sonarpulse> slabity: there is the nixpkgs and nixos manuals within the nixpkgs repo
<cwre> I'm downloading it right now to try it in a VM.
<srhb> cwre: Cool. :)
<cwre> So basically I'll have a huge config file for my system?
<srhb> cwre: You should be the one to convince you anyway. :-)
<srhb> cwre: Not so huge, necessarily, but yes.
<srhb> cwre: And for other systems too, possibly.
<cwre> Yeah yeah, that's what's really cool.
<danl1240> srhb: I have ~/.config but not those subdirs... I assume I can just make them
<srhb> danl1240: Correct.
<cwre> But so it says that it creates new installs for each version... Does it garbage collect after a certain time? How does binary switching work?
<srhb> cwre: You can control how often (if automatically at all) garbage is collected
<srhb> Essentially a timer that does nix-collect-garbage
<srhb> cwre: Switching is swapping out symlinks, mostly.
<srhb> danl1240: Take a look at pkgs/applications/version-management/mercurial/default.nix for the src block of the original
<srhb> danl1240: That's the bit you want to override with your version :)
<cwre> Is that a manual process or is there a nix command? Sorry, I haven't trolled through a ton of documenation yet, just reading the about page.
<srhb> cwre: nixos-rebuild switch builds and switches in the new configuration
<srhb> cwre: There's also boot, build-vm, build...
<cwre> :O
<srhb> cwre: They do what you might expect
<danl1240> srhb: where is pkgs?
<srhb> danl1240: in your nixpkgs checkout. :-)
<cwre> What about packages that aren't currently available for NixOS? Is there a AUR or similar?
<srhb> danl1240: git clone git@github.com:NixOS/nixpkgs.git
<srhb> cwre: No, we have overlays though (as of 17.03)
<cwre> Overlays?
<srhb> cwre: and it's easy to branch and alter nixpkgs to your liking
<srhb> cwre: I'm actually explaining a small overlay right now to danl1240
<disasm> cwre: if you want to contribute, clone nixpkgs and add it there. Otherwise, you can use the same derivations in your own config if it's not something you want to contribute.
<srhb> cwre: In this case it just overrides the version of mercurial, but it could just as well be a new package or several
<srhb> cwre: But agian, branching nixpkgs and contributing the package instead is just as easy.
<cwre> Mmm, this is cool. Is NixOS considering "Rolling Release"?
Sonarpulse has quit [(Ping timeout: 276 seconds)]
<srhb> cwre: A lot of users keep a local checkout of nixpkgs that they use as the base of their system instead of the "snapshots" (called channels)
<disasm> cwre: the declarative syntax make it really easy to package most things from source. Packaging from existing binaries is a little trickier involving patching the binary itself, wrappers, etc...
<srhb> cwre: So you can just addd the functionality whenever, no need to wait for the PR to go through
<srhb> cwre: I actually don't know. :-P I find it hard to classify.
<srhb> cwre: I'm on the nixos-unstable branch, I guess it's sort of rolling release.
<srhb> cwre: Whereas nixos-17.03 branch is somewhat more stable
<disasm> cwre: I come from archlinux as well. Actually have a dual boot on my nixos desktop, but I've rebooted into arch, maybe twice. When I do boot into arch, I use the same nix store on arch so I can run anything I have installed in nixos.
<cwre> Oh crap, so this is ***similar*** to Homebrew for MacOS.
<srhb> cwre: How so?
<cwre> Well, at least for how packages are managed.
<srhb> (I don't know homebrew)
<danl1240> srhb: so, looking at the history of .../mercurial/default.nix I see the previous version had a Mercurial version I can use... can I override "version" and "src" in that overlay?
<disasm> cwre: kinda, you can also run nix on MacOS :) Although not every package is available.
<cwre> Wait...
<cwre> What?
<srhb> danl1240: Yup.
<srhb> cwre: nix is the package manager, nixpkgs are the packages, NixOS is the OS that uses both
<srhb> cwre: But nix and nixpkgs is cross-platform
<srhb> danl1240: If you do that, you might actually want to not override mercurial at all, but simply call the new attribute mercurial_yourversion
<srhb> danl1240: Then you can have both.
<danl1240> srhb: ah... I thought that was what this was doing... yes that is better
<disasm> cwre: if your like most of us here, you'll never go back to another distribution... I cringe everytime I have to do something on a non-nix system nowadays.
<srhb> danl1240: If you call it mercurial = ... you simply "overwrite" the package entirely
<danl1240> srhb: right, just the name (of the derivation and the file) must change
<srhb> disasm: I think that's called selection bias. ;-)
<srhb> danl1240: Not the file. Just that name.
<srhb> danl1240: You might want to change the name attribute too, though, or they will appear with the same name when you search through nix-env
<srhb> (but not the same attribute path)
<danl1240> srhb: got it
endformationage has joined #nixos
<srhb> danl1240: When you're done you can test with nix-shell -p yourattributename
<gchristensen> thank you, Infinisil & FRidh :D
<danl1240> srhb: I'm trying this, but it's complaining about undefined variables (name and version, depending): http://nixpaste.lbr.uno/vd7aLr3_?nix
<srhb> danl1240: Ah, you'll need to make the attribute set recursive
<srhb> danl1240: oldAttrs: rec {
<srhb> danl1240: Otherwise it cannot refer to its own attributes at all
<danl1240> srhb: now "infinite recursion encounter..."
<srhb> danl1240: Woops
<srhb> danl1240: I think that's fetchurl
<danl1240> srhb: I can 'let' those vars outside the block, right
<srhb> danl1240: You'll want to get that from self (or super, it doesn't really matter as we're not altering it)
<srhb> danl1240: So simply self.fetchurl
<srhb> danl1240: both self and super are nixpkgs at various stages of the override process
<srhb> well, before and after. :-P
ryanartecona has quit [(Quit: ryanartecona)]
mudri has joined #nixos
<srhb> super is the old nixpkgs, self is the new, to be exact.
k0001 has quit [(Ping timeout: 240 seconds)]
<Infinisil> Soo, FRidh or gchristensen, how do you undo nix-instantiate --add-root ?
<danl1240> srhb: that did it, success!
<srhb> danl1240: Yay! :-)
<srhb> danl1240: See, not too painful.
indi_ has joined #nixos
<gchristensen> Infinisil: `rm` I imagine :)
<danl1240> srhb: very obscure tho O_o
<Infinisil> gchristensen: Ohh, right, that should work
<danl1240> srhb: I can see the power here
<srhb> danl1240: Not so much once you get it. Basically we're redefining ALL of nixpkgs
<srhb> danl1240: But you're only adding a single attribute to it, in this case.
<srhb> danl1240: Referring to values from the old (or new, laziness is cool) package set.
<danl1240> srhb: yeah I basically created a new package with a handful of lines... and I didn't need to clone the nixpkgs repo either
<srhb> danl1240: :-)
<srhb> Is there a function that will raise an exception after a certain date?
xadi has joined #nixos
<srhb> I tend to leave temporary fixes around and never get rid of them, even if they might have been fixed upstream
<srhb> I was thinking if I could wrap them in a timed exception...
<Infinisil> srhb: Interesting idea, I never thought of that
<Infinisil> Don't think there is such a thing today
<srhb> Well, it is impure :-P
<srhb> unless the current time is an input.
<srhb> (I don't think it is)
<gchristensen> nix-repl> __currentTime
<gchristensen> 1499452062
<srhb> oooh
<srhb> Then it should be easy
<gchristensen> there are some things like this that are not allowed to be used in nixpkgs
<srhb> Obviously. :)
indi_ has quit [(Ping timeout: 240 seconds)]
<gchristensen> !m srhb
<[0__0]> You're doing good work, srhb!
<srhb> :3 thanks
jbaum98 has quit [(Quit: Connection closed for inactivity)]
<LnL> FRidh: I found the issue
ndrei has quit [(Ping timeout: 240 seconds)]
bit_lySLH2uSZHed has joined #nixos
bit_lySLH2uSZHed has quit [(K-Lined)]
bit_lySLH2uSZHed has joined #nixos
bit_lySLH2uSZHed has left #nixos []
<Infinisil> gchristensen: Damn, didn't know about __currentTime, nasty stuff
<gchristensen> there are a few like that :)
<FRidh> LnL: impurity?
<LnL> FRidh: I have a separate drv for the wheel and the installed package, it looks like pip just starts messing around with the object files if it can't access things during the installation
<gchristensen> things that are not officially documented, recommended, or guaranteed to exist in the future
<FRidh> LnL: that would be really wrong....the wheel should just be unpacked
<FRidh> it didn't actually download a wheel in the background?
<LnL> no I have sandboxing enabled
<LnL> and the object files in the wheel look fine
Sonarpulse has joined #nixos
moet has joined #nixos
justelex has joined #nixos
bit_lySLH2uSZHed has joined #nixos
bit_lySLH2uSZHed has quit [(K-Lined)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 5 new commits to master: https://git.io/vQKWA
<NixOS_GitHub> nixpkgs/master 4cf4d71 John Ericson: stdenv: Conservatively move `mkDerivation` into it's own file
<NixOS_GitHub> nixpkgs/master afc2023 John Ericson: stdenv: Have mkDerivation pull the "extra" arguments from stdenv instead...
<NixOS_GitHub> nixpkgs/master a302d73 John Ericson: top-level: {build,host,target}Platform are defined in the stdenv instead...
NixOS_GitHub has left #nixos []
MrSchwifty has joined #nixos
MrSchwifty is now known as GRBurst
marsel has joined #nixos
<tosmi`> @tokudan, @srhb thanks for you help with my nix-shell problem
orivej has quit [(Ping timeout: 255 seconds)]
xadi has quit [(Quit: Leaving.)]
<tosmi`> the problem is my environment, just created a new test user and everything works
<tosmi`> i just have to diff my user envs
moet has quit [(Ping timeout: 268 seconds)]
tosmi` is now known as tosmi
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
indi_ has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
<srhb> tosmi: Nasty. :)
bit_lySLH2uSZHed has joined #nixos
bit_lySLH2uSZHed has left #nixos []
sary has joined #nixos
indi_ has quit [(Ping timeout: 240 seconds)]
GRBurst has quit [(Ping timeout: 240 seconds)]
lfam__ has joined #nixos
<cwre> disasm: eh... I'm just learning this for reference. I find the idea awesome, but I don't run Linux at home at all. It's not worth the hassle of having to dual boot when I spend most of my time in Windows for games.
<cwre> If my CPU supported GPU passthrough, I might do that. But it doesn't... Damn you, 3770K.
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<lfam__> I changed the channel from nixos-unstable-small to nixos-17.03-msall, and now `nixos-rebuild test` errors out with several messages like: error: file ‘nixpkgs/nixos’ was not found in the Nix search path (add it using $NIX_PATH or -I)
<lfam__> Any advice?
<disasm> cwre: haha, yeah, I have a separate gaming desktop, although it's about 5 years old now and probly needs some upgrades.
<Eisfreak7> Is there a reason `home-manager` isn't in nixpkgs?
<disasm> cwre: my server next to it runs nixos though, and all my laptops (including my macs) are running nixos.
<cwre> disasm: Completely blowing my Mac install away scares me.
<disasm> Eisfreak7: it's brand spanking new, I literally saw the e-mail on the listserv about it this past week.
<srhb> Eisfreak7: Wasn't it announced, like, two days ago?
<cwre> disasm: and I stil play games on my laptop because I don't have my desktop with me currently :(\
<srhb> I also don't think it's considered production ready
<srhb> cwre: Get hooked on Paradox games, never need anything not supported on Linux... :-P
<cwre> srhb: I like my AAA games, though. I can't abandon Geralt or Senua, man.
<Eisfreak7> disasm srhb: The first commit was ~4 month ago. May be that it was developed in private back then though
<cwre> Also, I've been playing Path of Exile and that's not crossplatform either... :(
<cwre> OMG and you guys default Nightly on the graphical installer?
<cwre> <333333
<srhb> cwre: I didn't know we had a graphical installer. :-P
<disasm> Eisfreak7: me too :) that games fun.
<disasm> err cwre not Eisfreak7
<cwre> I'm really excited for Senua's Sacrifice. It comes out on my wedding :o
<srhb> Eisfreak7: Well, if it's not dangerous it looks completely trivial to add. :)
<disasm> cwre: cool to PM you?
phreedom has quit [(Ping timeout: 260 seconds)]
Wizek has joined #nixos
<srhb> Can contributors add labels to issues?
<srhb> I don't know if it's even a restricted thing or I just have no idea how to
<LnL> no, I'm not even sure if it's possible to allow that
<srhb> OK.
schoppenhauer has joined #nixos
GRBurst has joined #nixos
<disasm> cwre: there isn't a graphical installer per say, it's just a live CD, install is all command-line.
<cwre> disasm: It's got a display manager, is what I meant, haha.
<cwre> The manual opens up in Nightly
Wizek__ has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 240 seconds)]
Wizek_ has joined #nixos
sary has quit [(Ping timeout: 276 seconds)]
sary has joined #nixos
thaega has quit [(Ping timeout: 255 seconds)]
oida has joined #nixos
lfam__ has quit [(Ping timeout: 260 seconds)]
oida_ has quit [(Ping timeout: 255 seconds)]
indi_ has joined #nixos
lfam__ has joined #nixos
ris has joined #nixos
ris has quit [(Client Quit)]
ris has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
_ris has joined #nixos
tvon has joined #nixos
juselius has joined #nixos
athan has quit [(Ping timeout: 260 seconds)]
ris has quit [(Ping timeout: 255 seconds)]
juselius has quit [(Client Quit)]
juselius has joined #nixos
marsel has quit [(Ping timeout: 255 seconds)]
<Infinisil> ,<<<,,,,,,,,,
<Infinisil> whoops, don't mind that
<disasm> Infinisil: is that some secret coded message?
<disasm> haha
<Infinisil> Heh
<manveru> looks like brainfuck :)
<Infinisil> I need to press a key to wake up the screen, looks like i pressed enter this time :P
<disasm> I stick to control, hence why my control key has completely no lettering left on it!
<manveru> i always press shift :)
<Infinisil> My keyboard has no lettering on it by design :P
mrcheeks has quit [(Quit: ERC (IRC client for Emacs 26.0.50))]
<manveru> technically i have letters, they're just black on a black keyboard
<Infinisil> Ohh, well
<Infinisil> As long as you can see them
lfam__ has quit [(Ping timeout: 276 seconds)]
katyucha is now known as Guest42568
Guest42568 has quit [(Killed (niven.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
juselius has quit [(Ping timeout: 240 seconds)]
katyucha_ has joined #nixos
<Olgierd> hi, should I use unstable on a desktop, given I want the newest versions of programs? (development box)
lfam__ has joined #nixos
<srhb> Olgierd: You can mostly switch back and forth as you like.
<Infinisil> Olgierd: Or you could just use a few packages from unstable
<LnL> ^ I would recommend you use the release and import specific stuff from unstable
<disasm> so... I have a derivation in the nix store. I want to use that on another system that doesn't have nix on it. Is it possible to just copy that derivation and it's dependencies without having a full nix install on the other system?
<LnL> yes, you can create a tar for the entire closure
ebopp has quit [(Quit: leaving)]
<disasm> LnL: ooh, how do I do that?
leothrix has quit [(Ping timeout: 240 seconds)]
<disasm> oh, that's with nix-build isn't it?
<LnL> nix-store -qR $(nix-build '<nixpkgs>' -A hello) | tar czf hello-closure.tar.gz -T -
<LnL> for example
sary has quit [(Ping timeout: 268 seconds)]
MP2E has joined #nixos
leothrix has joined #nixos
<cwre> What's the deal with this error? https://ptpb.pw/YvrN.png
sary has joined #nixos
<cwre> I put in a package that didn't exist and it failed out the first time. Now it won't let me reinstall D:
<tokudan> cwre, rerun with --show-trace and try to figure out which line in one of your files causes it?
<Infinisil> cwre: You could also gist your configuration.nix if you can't figure it out
<disasm> LnL: that's perfect!!!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] robx opened pull request #1447: Documentation fixes (master...man2) https://git.io/vQKVe
NixOS_GitHub has left #nixos []
Ivanych has quit [(Ping timeout: 268 seconds)]
jonte has joined #nixos
<Infinisil> Man, I'd really like alacritty to build, wanna try it out
lfam__ has left #nixos ["Leaving"]
leat has quit [(Ping timeout: 240 seconds)]
<dtzWill> if folks are talking about how to fix problems/how to wrap alacritty, sounds like building is less of an issue in at least some contexts :)
<dtzWill> oh, the nixos issue: https://github.com/NixOS/nixpkgs/pull/21801 O:)
<eacameron> Is it easy to enable swapfile in NixOS?
griff_ has joined #nixos
<dtzWill> hmm, well GL Infinisil sorry O:)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #27224: KDE PIM Applications (master...kdepim) https://git.io/vQKwR
NixOS_GitHub has left #nixos []
<Infinisil> dtzWill: Eh, whatever, I have a working terminal for now
<dtzWill> Infinisil: whatcha using? :)
<Infinisil> dtzWill: gnome-terminal for now, previously used sakura
<Infinisil> eacameron: Yup, super easy, hold on
<Infinisil> dtzWill: What about you?
<dtzWill> Infinisil: coolies. using termite myself for now
<dtzWill> long time rxvt-unicode user previously, lol
<cwre> Hmm looks like it was an error with my packages... I don't really understand how to install a DE...
<disasm> LnL: that worked almost too well...
<LnL> why wouldn't it? :D
<dtzWill> :D that's the power of Nix
<dtzWill> *glory
<disasm> and 31 MB for /nix... Can't complain there.
<dtzWill> cwre: if you give more details folks can probably help. DE's are usually just a flag in configuration.nix
<cwre> dtzWill: I'm looking to install XFCE
griff_ has quit [(Quit: griff_)]
<tokudan> cwre, services.xserver.desktopManager.xfce.enable = true; in /etc/nixos/configuration.nix
<dtzWill> "services.xserver.desktopManager.xfce.enable = true"; should do the trick? Haven't used XFCE on NixOS but would be shocked if prosed the error you're encountering
<LnL> yeah hard to tell from those lines, I'm suspecting you added something to systemPackages that's not a package
lambdael has quit [(Quit: WeeChat 1.7.1)]
<tokudan> you will also need a display manager, i use sddm with xfce (services.xserver.displayManager.sddm.enable = true;)
<Infinisil> eacameron: I personally use zfs, so `fallocate --length=4GiB swapfile` doesn't work, I'm using `dd if=/dev/zero of=swapfile bs=1048576 count=4096` instead, this just creates some space. Use `mkswap swapfile` to actually make it a swap (duh). Then you can call `swapon swapfile` to have the system use that swap. If you want to keep that setting, a simple `nixos-generate-config` should add a swap to
<Infinisil> /etc/nixos/hardware-configuration.nix.
pxc1 has quit [(Ping timeout: 255 seconds)]
pxc1 has joined #nixos
<Infinisil> s/a swap/the just created swap
<Infinisil> disasm: My /nix is 44GB..
<Infinisil> Ah no, just 39GB
<cwre> holy crap, so there's an option for almost any desktop manager out there?
<simpson> cwre: No, just for the popular ones that folks have written configuration for.
<disasm> Infinisil: that's it? Mine's 51 GB
<cwre> simpson: that's why I said almost!! :D
<cwre> But this is great.
<tokudan> cwre, if you're on nixos, you can just enter "nixos-option services.xserver.desktopManager" and explore them
<Infinisil> cwre: http://nixos.org/nixos/options.html#services.xserver.desktopmanager.
<dtzWill> tokudan: TIL! neat! :)
<disasm> Infinisil: that was a single derivation I'm pushing to a centos 7 box so I don't have to mess with building an rpm
<dtzWill> disasm: only thing is you sometimes need to /unset/ LD_LIBRARY_PATH to make Nix things happy
carlosda1 has joined #nixos
<tokudan> dtzWill, what does TIL stand for?
<disasm> today I learned
<tokudan> ah
<dtzWill> I've only encountered that problem really when dealing with folks (myself included) who used to install things into local prefix and setup PATH/LD_LIBRARY_PATH accordingly... basically for users who would be better off using Nix anyway :P :D
romildo has joined #nixos
<dtzWill> (yes, "today I learned". Anyway thanks for sharing about nixos-option, tokudan! :))
<Infinisil> nixos-option hasn't worked for me a lot, it's pretty limited and I'm not using it anymore because of that
<dtzWill> oh :(
<Infinisil> And it takes ages to show the result sometimes
<disasm> lately I just git grep in nixpkgs for what I'm looking for
<Infinisil> disasm: Yeah me too
<Infinisil> `nixos-option environment.systemPackages`
<Infinisil> Value:
<Infinisil> (That's all the output)
<tokudan> it basically parses all of nixpkgs to figure out what you want... and is useless if you want to figure out what options exist in a list
<Infinisil> tokudan: Ah that makes sense then, it's much less useful like this though
<tokudan> faster than starting a browser if I'm in a terminal for these simple things though
<Infinisil> ripgrepping nixpkgs even faster :D (if you know where to look)
<MP2E> i usually just grep the nixpkgs tree using ripgrep
<Infinisil> Especially since my firefox takes 15 seconds to start for whatever reason..
<tokudan> Infinisil, that's the point... do you know which file to grep for e.g. desktop managers? ;)
<dtzWill> 'man configuration.nix' solves most of the option discoverability problems for me, with inspecting a nixpkgs tree for more complicated investigations/queries (+1 for rg (ripgrep))
<celph> I've been stuck trying to get networking up since yesterday
<celph> for some reason systemctl can't start wpa_supplicant
<ToxicFrog> https://nixos.org/nixos/options.html is super useful too
<celph> because of that I can't connect to anything or rebuild
<celph> I'm super confused, I've wiped and reinstalled, literally done nothing that's not just running nixos-install and setting a password and trying to rebuild
<celph> or use wpa_cli
<MP2E> celph: do you have the line "networking.wireless.enable = true;" in your /etc/nixos/configuration.nix ?
<MP2E> wireless tools won't be installed to your new installation without that
<celph> yup
<MP2E> ah hm
Itkovian has joined #nixos
<cwre> Any of you have a preferred hypervisor on windows? I'm looking for something under the "not VB but also still Open Source" category
MercurialAlchemi has quit [(Ping timeout: 268 seconds)]
sary has quit [(Remote host closed the connection)]
<celph> There's always qemu
sary has joined #nixos
celph-alt has joined #nixos
jhinkle has quit [(Ping timeout: 260 seconds)]
<celph-alt> https://pastebin.com/fs3e8SBH my configuration.nix, not sure what might be the source of the networking issue
digitus has quit [(Quit: digitus)]
<cwre> celph: does qemu run on windows?
digitus has joined #nixos
<Infinisil> celph-alt: Do you have an ethernet connection?
<celph-alt> Infinisil: yes
<Infinisil> celph-alt: what's the output of ifconfig?
<celph-alt> Infinisil: https://pastebin.com/e1H2wqsY
<Infinisil> celph-alt: Hmm, did you run nixos-generate-config? What's in /etc/nixos/hardware-configuratixon.nix?
<Infinisil> I for example needed the broadcom module for wireless which was put in there via nixos-generate config
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<celph-alt> Infinisil: yeah, I've slightly modified hadware-configuration for mount options and because the autogen tried to map my filesystem more than once, otherwise it's exactly as-is
mkoenig has joined #nixos
<celph-alt> not sure if I should file a bug report over the multiple mapping issue, it's easy to fix by hand but it'll bork the install if you don't. seems specific to btrfs subvolumes.
<celph-alt> or maybe just my particular btrfs-on-luks setup
<Infinisil> celph-alt: How have you tried to set up wpa_supplicant? Via /etc/wpa_supplicant?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zraexy opened pull request #27225: qsyncthingtray: 0.5.7 -> 0.5.8 (master...pkgs-qsyncthingray) https://git.io/vQKin
NixOS_GitHub has left #nixos []
<celph-alt> just running wpa_cli
<Infinisil> celph-alt: Without any configuraiton?
<celph-alt> Infinisil: yeah
<Infinisil> celph-alt: Running wpa_cli on my machine gives me the error `Could not connect to wpa_supplicant: (nil) - re-trying`
cpennington has quit [(Remote host closed the connection)]
<Infinisil> But I'm pretty sure you need to set up your networks beforehand
<celph-alt> Isn't wpa_cli supposed to provide an interface for that?
<Infinisil> By putting them in /etc/wpa_supplicant
<Infinisil> celph-alt: I don't know about wpa_cli, I just know how it worked for me
<Infinisil> I suppose it should work too
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27225: qsyncthingtray: 0.5.7 -> 0.5.8 (master...pkgs-qsyncthingray) https://git.io/vQKin
NixOS_GitHub has left #nixos []
<celph-alt> Infinisil: so according to the arch wiki, wpa_cli needs at least one configuration file to work
<celph-alt> that's really bizarre but okay
magnetophon1 has joined #nixos
<Infinisil> celph-alt: Try putting something like
<Infinisil> network={
<Infinisil> ssid="<ssid of your network>"
<Infinisil> psk="<password of that network>"
<Infinisil> }
<Infinisil> in /etc/wpa_supplicant.conf
<Infinisil> Then `systemctl restart wpa_supplicant
<Infinisil> celph-alt: Why is that bizarre?
<eacameron> Infinisil: Thank you!
<magnetophon1> Is it possible to have a verbose version of "nix-env --list-generations", one that tells you the system version, and maybe more info (kernel name?, ...). GRUB knows all this, so it should be possible...
<celph-alt> Infinisil: usually when I install a thing I don't expect it to break updating until I configure it
FRidh has quit [(Quit: Konversation terminated!)]
<Infinisil> celph-alt: So wireless worked before?
<celph-alt> Infinisil: kind of. I was using wicd previously but it seems to write state info somewhere that nix doesn't like it to be written, so it wouldn't actually keep a connectioon up
<celph-alt> Infinisil: I connected once or twice, but it wasn't reliable
<Infinisil> celph-alt: I see, I know nothing about wicd though, does using /etc/wpa_supplicant.conf work?
jonte has quit [(Ping timeout: 248 seconds)]
<Infinisil> magnetophon1: I only know that you can find the generations in /nix/var/nix/profiles
<Infinisil> Or /nix/var/nix/profiles/per-user/$USER
sidpatil has joined #nixos
celph-alt has quit [(Ping timeout: 260 seconds)]
<sidpatil> I've been trying to enable Bonjour in Pidgin, and it keeps giving me an "unable to establish connection with the local mDNS server" error.
<sidpatil> Does anyone know what's going on? I've installed Avahi through services.avahi.enable = true
<LnL> magnetophon1: this will kind of show it, ls -l /nix/var/nix/profiles/system-*/kernel
celph-alt has joined #nixos
<celph-alt> Infinisil: anyway thanks, I can actually get some work done now :D
<Infinisil> celph-alt: Soo did it work or not?
celph-alt has quit [(Client Quit)]
<Infinisil> Okay then
<MP2E> heh
<celph> Infinisil: sorry I yanked my ethernet cable and the message saying it worked didn't send lol
<MP2E> well at least it was fixed :p
<MP2E> haha oh i see
<Infinisil> celph: Ahh nice, glad I could help :)
carlosda1 has quit [(Ping timeout: 276 seconds)]
<sidpatil> I'm running Pidgin 2.12.0
<sidpatil> Avahi version 0.6.32
<celph> I'm hoping I can switch to wicd long-term but already nixos has some serious advantages that I don't want to give up
<Infinisil> sidpatil: No idea, you might need to dig a bit, using strace, -vvv flags or just running from the command line to see the output
<MP2E> Haven't tried wicd, but I use network-manager on nixos to good effect, interfacing through the nmcli program
<celph> I'll give it a shot
<sidpatil> Infinisil: I'll try that.
sidpatil has quit [(Quit: Leaving.)]
sidpatil has joined #nixos
<magnetophon1> Infinisil and LnL: Thanks!
sidpatil has quit [(Client Quit)]
sidpatil has joined #nixos
<Infinisil> magnetophon1: No problem
sidpatil has left #nixos []
Ivanych has joined #nixos
<celph> wpa_supplicant is still breaking rebuild T__T
ennui has joined #nixos
endforma1 has joined #nixos
celph-alt has joined #nixos
<celph-alt> Infinisil: https://pastebin.com/Ns9FkwCY I'm so confused
endformationage has quit [(Ping timeout: 248 seconds)]
sidpatil has joined #nixos
<Infinisil> celph-alt: Have a look at `journalctl -u wpa_supplicant`
romildo has quit [(Quit: Leaving)]
<Infinisil> Hmm
<celph-alt> It looks like rebuild is trying to start it while it's already running, but at the same time if I try to stop it before rebuild I get the same error
<Infinisil> celph-alt: Nah it has nothing to do with that, nixos know when it needs to stop/start/restart services
<Infinisil> I don't know what's exactly the problem, you could maybe debug it by manually starting it
<Infinisil> systemctl cat wpa_supplicant shows you the service file
<Infinisil> The ExecStart is what's being called when the service starts
<Infinisil> You could try running that in the terminal and maybe adding some -v's or with strace
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #27227: fish-foreign-env: hide warnings when setting PATH (master...fish) https://git.io/vQKyZ
NixOS_GitHub has left #nixos []
hiratara has quit [(Ping timeout: 276 seconds)]
<Infinisil> For me, the contents of the file at execstart contain a small script that calls wpa_supplicant with some options, you could try calling that with these options directly
<celph> I'm not really sure how to parse strace, manual start happens without error though
<Infinisil> Also have a look at `man wpa_supplicant`, maybe there's some debug option
hiratara has joined #nixos
<Infinisil> celph: Well if you can run wpa_supplicant manually and you have working internet then systemd should be able to do it as well
<celph> no never mind it absolutely fails to start after being killed and no output
celph-alt has quit [(Ping timeout: 260 seconds)]
copumpkin has quit [(Remote host closed the connection)]
<celph> Infinisil: I tried a couple things - if I kill wpa_supplicant I can start it again manually as before, but systemctl can't start it, and starting it via wpa_supplicant-start doesn't do anything and doesn't output any error messages
<celph> Infinisil: systemctl calls wpa_supplicant-start
<celph> gonna read that I guess
ryanartecona has joined #nixos
<celph> found the problem
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
<Infinisil> celph: And?
eacameron has quit [(Remote host closed the connection)]
<celph> Infinisil: so wpa_supplicant-start is a script that calls wpa_supplicant with /etc/wpa_supplicant.conf, I was using a file at /etc/wpa_supplicant/exapmle.conf, a simlink fixed the problem
<Infinisil> celph: Ahh lol
eacameron has joined #nixos
<Infinisil> Well that's kinda stupid
<Infinisil> :p
<celph> Infinisil: I'm not sure if this is the packagers' fault or the writers of wpa_supplicant
GRBurst has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
eacameron has quit [(Ping timeout: 240 seconds)]
<earldouglas> Anyone familiar with running Graphite on NixOS? I'm trying to figure out what I need to do to run it, aside from services.graphite.web.enable = true.
<celph> I think it's wpa_supplicant not providing a default config file in the expected place, but requiring a config file to launch and expecting one in the launch script provided for systemd
<Infinisil> celph: well why is the file not in the right spot? did you put it there or somebody else?
<celph> Infinisil: I put it there, because I didn't realize that wpa_supplicant expected it to be in a certain place
<celph> Infinisil: or rather, the launch script expects it
mudri has quit [(Quit: WeeChat 1.8)]
<simpson> earldouglas: I highly recommend that you not run Graphite, period. It's got version mismatches and security iffiness and upstream is stuck chasing a release that'll never happen.
<simpson> earldouglas: But yes, that would be how to run graphite-web.
<earldouglas> Ah, nuts. Any recommendations for an alternative? I just need simple metrics reporting.
<Infinisil> celph: Well you can't put it anywhere and expect it to work.. /etc/wpa_supplicant.conf is *the* location to put it, it's all over the manuals
eacameron has joined #nixos
<celph> Infinisil: I have forgotten the contents of many a manual in my time, but yes I should have gone back and looked through it
<Infinisil> celph: Glad you got it to work :D
endformationage has joined #nixos
<celph> Infinisil: same, once I can figure out eduroam I'll be overjoyed
<chominist[m]> How do I change my terminal appearance, do I have to do this through configuration.nix?
<chominist[m]> (Or if I don't have to, would you recommend doing so, and how?)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #27229: minio service: add additional config options (master...minio-more-config) https://git.io/vQKH3
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 248 seconds)]
endforma1 has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<celph> chominist: local preferences for xterm can be set in home, global preferences I think go in /etc
<celph> chominist: xterm prefs are managed through xresources
<Infinisil> chominist[m]: Yeah it all depends on the terminal you're using
sary has quit [(Ping timeout: 248 seconds)]
tmaekawa has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
<catern> whenever I try to install with nixos-install, I see it is buildling /nix/store/j7siszihkmd12kq5c3wz1hrbs9f24nrs-nixos-system-earth-17.09pre110215.7d36ae33df.drv
<catern> surely that's the wrong version?
<catern> I got my nixos-install by installing it from channels/nixos-17.03 from https://github.com/NixOS/nixpkgs-channels
eacameron has joined #nixos
<catern> with "nix-env -i -A config.system.build.nixos-install -A config.system.build.nixos-option -A config.system.build.nixos-generate-config -f default.nix"
<catern> plus I get a ton of errors like "download-from-binary-cache.pl: could not download ‘https://cache.nixos.org/wlqg7nlvjhgrxwrpnxk1f0c416fplqh3.narinfo’ (Curl error 77)"
<catern> what is going on?
ryanartecona_ has joined #nixos
MP2E has quit [(Client Quit)]
ryanartecona has quit [(Ping timeout: 260 seconds)]
ryanartecona_ is now known as ryanartecona
justbeingglad has joined #nixos
<chominist[m]> celph (IRC): Infinisil (IRC): would you change keyboard settings in this manner as well? I want to switch to programmer's dvorak + custom settings but having trouble
<Infinisil> catern: I think it might be using your user channels, what does `sudo nix-channel --list` say?
eacameron has quit [(Ping timeout: 260 seconds)]
akaWolf has joined #nixos
<chominist[m]> And more importantly, what is global/local/in configuration.nix? Packages and system settings in conf.nix, and package confs are in local/global?
<celph> chominist: some global keyboard conf can be done via services.xserver
<Infinisil> chominist[m]: Ah no, keyboard settings aren't specific to your terminal, if you want programmer dvorak you can do `setxkbmap -layout us -variant dvp`, and if you want to put this is configuration.nix you need to do services.xserver.layout = "us", services.xserver.xkbVariant = "dvp";
<celph> chominist: you probably want to set services.xserver.layout for keyboard
<celph> or what infinisil said
justbeingglad has left #nixos []
hiratara has quit [(Quit: ZNC - http://znc.in)]
<celph> Do what he said I'm still pretty new to this
<chominist[m]> 👌
<chominist[m]> I want to change some dvp settings but having trouble
eacameron has joined #nixos
hiratara has joined #nixos
<chominist[m]> Would I do that on xkbOptions? I have "caps:escape" on that, but I don't know how to layer more stuff on it (Infinisil (IRC)
<Infinisil> chominist[m]: You should be able to just use a ", " between options
aanderse has quit [(Read error: Connection reset by peer)]
eacamero_ has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
<simpson> Huh. nixops in nixpkgs doesn't depend on Nix. It probably should, right?
<catern> Infinisil: ah good point
<simpson> Or I guess it's supposed to use the system Nix.
<Infinisil> simpson: Well if it builds without that dependency in a sandbox it might not
<simpson> Infinisil: Well, nixops only calls Nix tools at runtime, via subprocessing. It's not something detectable during the build.
<Infinisil> simpson: I see
eacamero_ has quit [(Ping timeout: 260 seconds)]
<Infinisil> I guess it should then, but the only scenario where it matters is on cross-compiling or smth like that
<Infinisil> Or like just running it on a machine without nix
sary has joined #nixos
Ivanych has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
Infinisil has quit [(Quit: leaving)]
ris has joined #nixos
eacameron has quit [(Ping timeout: 248 seconds)]
nckx has quit [(Quit: restarting my GuixSD server)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] robx opened pull request #27230: go_1_6: Fix darwin (sierra) compile, backport systime syscall fix (master...go16) https://git.io/vQK5N
NixOS_GitHub has left #nixos []
nckx has joined #nixos
_ris has quit [(Ping timeout: 255 seconds)]
Infinisil has joined #nixos
Eisfreak7 has quit [(Quit: WeeChat 1.9)]
eacameron has joined #nixos
lvernschrock has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacamero_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #27231: pqiv: 2.8.3 -> 2.9 (master...update-pqiv) https://git.io/vQKFX
NixOS_GitHub has left #nixos []
mrcheeks has joined #nixos
tokudan has quit [(Quit: Leaving)]
eacameron has quit [(Ping timeout: 240 seconds)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
aanderse has joined #nixos
eacameron has joined #nixos
<sphalerite[m]> Does anyone else really not like how the names shown on emails from nix-dev are now e.g. "Daniel Peebles via nix-dev" rather than just "Daniel Peebles"?
eacameron has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
simukis has quit [(Ping timeout: 276 seconds)]
earldouglas has quit [(Quit: leaving)]
<Infinisil> That reminds me of having to follow the mailing list, still not doing it currently
ryanartecona has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
digitus has quit [(Quit: digitus)]
erasmas has quit [(Quit: leaving)]
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
ryanartecona has joined #nixos
eacamero_ has joined #nixos
markus1199 has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 260 seconds)]
ryantrinkle has quit [(Ping timeout: 268 seconds)]
Nobabs27 has joined #nixos
Sonarpulse has quit [(Ping timeout: 268 seconds)]
Nobabs25 has joined #nixos
Nobabs227 has joined #nixos
Nobabs27 has quit [(Ping timeout: 268 seconds)]
Nobabs25 has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vQKAh
<NixOS_GitHub> nixpkgs/master 1a7d9f5 Tim Steinbach: gradle: 4.0 -> 4.0.1
NixOS_GitHub has left #nixos []
Nobabs227 has quit [(Ping timeout: 240 seconds)]
Nobabs227 has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
<lvernschrock> sphalerite[m]: huh. I hadn't noticed until you said something...
ryanartecona has quit [(Ping timeout: 260 seconds)]
alunduil has joined #nixos