<rui1>
__red__: Thanks. I'll check that out. But anyway, do you know how one could do the other thing?
CMCDragonkai has joined #nixos
CMCDragonkai is now known as Guest6236
takle has joined #nixos
exarkun has quit [(Ping timeout: 252 seconds)]
spinus has quit [(Ping timeout: 256 seconds)]
exarkun has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #24758: avahi-daemon: refactored using some abstraction (master...avahi-refactoring) https://git.io/vSowf
takle has quit [(Ping timeout: 240 seconds)]
<calvertvl>
\quit
calvertvl has quit [(Quit: leaving)]
hamishmack has quit [(Quit: hamishmack)]
coltfred has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
systemfault has joined #nixos
systemfault has quit [(Max SendQ exceeded)]
systemfault has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
dhess has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<dhess>
Hi, I want NixOps to create a new EC2 keypair for an existing deployment (for a different AWS region than the original deployment), but NixOps isn't creating or uploading the new keypair. Anyone have an idea of what I could be doing wrong?
jrolfs has quit [(Ping timeout: 240 seconds)]
<dhess>
The existing keypair still works fine for the original region. It was created by NixOps automatically. I just can't get it to make a new one.
eacameron has quit [(Remote host closed the connection)]
sigmundv has quit [(Quit: Leaving)]
galen has joined #nixos
eacameron has joined #nixos
sigmundv has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
acarrico has joined #nixos
eacameron has joined #nixos
sigmundv has quit [(Ping timeout: 252 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
* copumpkin
unbreaks evaluation, sorry
cpennington has joined #nixos
vaibhavsagar has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vSoov
<NixOS_GitHub>
nixpkgs/master ec674a6 Dan Peebles: nix: fix evaluation...
eacameron has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
thc202 has quit [(Ping timeout: 260 seconds)]
schoppenhauer has joined #nixos
eacameron has joined #nixos
Guest6236 has quit [(Ping timeout: 240 seconds)]
mbrgm has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
mbrgm has joined #nixos
<colescott>
Does anyone know about how many users nixos has?
eacameron has joined #nixos
<mounty>
colescott: God knows. Only He can define 'user' anyway.
byteflame has joined #nixos
<mounty>
Let me ask a question which a mere mortal should be able to answer, about Hydra.
<Ralith>
enough that you don't usually need to update packages yourself, but not so many that we have substantial corporate backing
<mounty>
How do you specify a Linux command ask part of a build process? I'm looking at https://nixos.org/hydra/manual/ and it's not clear from there.
<mounty>
Let's say for example that the build process is: git clone .... ; cabal2nix source >default.nix ; nix-build JackRose.nix
<mounty>
Note that those two .nix files are distinct.
<mounty>
The git checkout is obvious.
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
justin_ has quit [(Ping timeout: 252 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
exarkun has quit [(Ping timeout: 240 seconds)]
exarkun has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
Supersonic112_ is now known as Supersonic112
Guest6236 has joined #nixos
eacameron has joined #nixos
Wizek_ has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
takle has joined #nixos
derjohn_mob has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
gbbrt has joined #nixos
hexagoxel has joined #nixos
<mounty>
.. but the Hydra 'inputs' system doesn't seem to allow for running arbitrary commands.
eacameron has joined #nixos
gbbrt_ has quit [(Ping timeout: 260 seconds)]
<dash>
mounty: It does allow for arbitrary Nix exprs though. So you can write one that does that.
eacameron has quit [(Remote host closed the connection)]
<mounty>
dash: OK, so I have to learn the nix expression language at least to the extent of being able to call out to cabal2nix?
eacameron has joined #nixos
Guest6236 has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
Guest6236 has joined #nixos
<mounty>
Is there a good guide to using Hydra? because https://nixos.org/hydra/manual/ isn't it. In particular, I don't understand the explanation of the nix language.
eacameron has joined #nixos
<mounty>
That's the first problem. I have not yet found a clear explanation of the nix expression language.
<mounty>
Wow, an open-source language with unclear documentation. Who'd have thought?
andymandias has quit [(Ping timeout: 252 seconds)]
takle has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
<nh2>
what do I need to do so that the buildInputs of a binary I've built end up in its systemd Environmant (PATH)?
<nh2>
e.g. if my software calls `identify` (from imagemagick) at run time, how do I achieve that the imagemagick /bin is on the PATH for my systemd service?
<c74d>
nh2: do you know what the relevant key name in a service file is? (I don't, but if you do I can help)
takle has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 252 seconds)]
<c74d>
oh, hm. trying to access a derivation's `buildInputs` seems to always return an empty list. :/
<nh2>
c74d: I know that I want to set `Environment=` in the service unit file, and specifically the PATH variable. I know how to do that for a systemd unit defined with nixpkgs: `systemd.services.<name>.environment`, and there's even a helper for PATH with `systemd.services.<name>.path`. So theoretically I only have to do `systemd.services.myservice.path = [package1 package2]`
<nh2>
c74d: right, the question is: How do I get the list of packages I need
<nh2>
I need to query the buildInputs of a built derivation
<nh2>
so something like `systemd.services.myservice.path = mypackage.buildInputs`
byteflame has quit [(Ping timeout: 252 seconds)]
<c74d>
nh2: what's the definition of mypackage?
<nh2>
c74d: a mkDerivation
bjarki is now known as SuprDewd
<c74d>
nh2: mh, this feels like a hack, but try mypackage.nativeBuildInputs
Guest6236 has quit [(Ping timeout: 240 seconds)]
<c74d>
(I'm trying things in nix-repl and that seems to return buildInputs)
<c74d>
(but I don't know why, so I'm not comfortable with it)
<nh2>
c74d: I'm also currently trying `passthru = { buildInputs = buildInputs }` in my package, then I should be able to access those like `myPackage.buildInputs`
<c74d>
mm
<c74d>
oh, that's what passthru does
<c74d>
(more idiomatic syntax would be `passthru = { inherit buildInputs; }`)
<nh2>
yes, I'm still not sure if I like `inherit` or not
<nh2>
but now I'm hitting a new problem `The value o the environment variable 'PATH' in systemd service 'myservice.service' is too long` :/
<nh2>
I'll trace it, not sure it should be really so long
<c74d>
I'm guessing this is a job for buildEnv
johnsonav has quit [(Ping timeout: 252 seconds)]
<dhess>
I want NixOps to create a new EC2 keypair for an existing deployment (for a different AWS region than the original deployment), but NixOps isn't creating or uploading the new keypair. Anyone have an idea of what I could be doing wrong?
<nh2>
c74d: 2048 chars seems utterly restrictive. Let me check the `buildEnv` you mentioned
stepcut has joined #nixos
johnsonav has joined #nixos
<nh2>
dhess: sounds like a good question to me, I would take it to the issue tracker. Even if you're doing something wrong, it would still be recorded for future users
<c74d>
nh2: I think it would be "${pkgs.buildEnv { name = "..."; paths = mypackage.buildInputs; pathsToLink = ["/bin"]; }}/bin"
<dhess>
nh2: I figured it out. I was trying to `deploy --include new_host`, but I needed to do `deploy --include new_key new_host`
madsa has joined #nixos
mguentner has joined #nixos
<nh2>
c74d: the final "/bin" seems not necessary (results in `/bin/bin`), but apart from that what you wrote worked out of the box! You are fantastic, thank you so much!
<nh2>
c74d: how did you know/learn about buildEnv? I didn't know it existed
<c74d>
nh2: I was unclear; the first bit of code, that included the final "/bin", was to be put in systemd.services.myservice.environment; the second, without the final "/bin", was a simplified version for systemd.[…].path
<c74d>
I saw someone mention buildEnv, thought it might be useful, then later looked it up when I thought I might have a use for it
cpennington has quit [(Remote host closed the connection)]
exarkun has quit [(Ping timeout: 240 seconds)]
exarkun has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<unlmtd[m]>
installing a node package in the nix store doesnt make the package available for another package? I was trying to use a metalsmith plugin installed in the store, no worky. after I installed the old-fashioned way, it works
schoppenhauer has joined #nixos
athan has quit [(Remote host closed the connection)]
Zer000 has joined #nixos
athan has joined #nixos
<unlmtd[m]>
wait I think I found the problem
byteflame has joined #nixos
gk_1wm_su has joined #nixos
gk_1wm_su has left #nixos []
<unlmtd[m]>
nope
RchrdB has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
<unlmtd[m]>
actually none of the modules in the nix store can be called by my build.js
mguentner2 has joined #nixos
mguentner has quit [(Ping timeout: 255 seconds)]
alx741 has quit [(Quit: alx741)]
fresheyeball has quit [(Quit: WeeChat 1.7)]
galen has quit [(Ping timeout: 255 seconds)]
fresheyeball has joined #nixos
<Zer000>
normally if in a nix expression I do string substitution I can do something like this LIBCLANG_PATH = "${nixpkgs.clang}/lib" but openssl has two paths (looking at the output of "nix-env -qa --out-path openssl"), a bin and a dev. How can I specify the dev one?
<Zer000>
oh you just do ${nixpkgs.openssl.dev} silly me
<fresheyeball>
I have a dumb one, sorry guys
<fresheyeball>
but how the heck to I customize gnome terminal?
<hyper_ch>
what to do if virtualbox is broken on stable and unstable?
takle has joined #nixos
<mojjo>
rotaerk: ok, nice! your example works for me. For the repo I'm about to fetch (from a ssh server) I'm still getting `fatal: Couldn't find remote ref refs/heads/dev` though.
<mounty>
dash: thanks for that link; I'm working through it now. All the other introductions to the nix language appear to pre-suppose understanding of the material they are purporting to present.
<simpson>
mounty: It's hard to unlearn non-Nix in preparation for learning Nix.
<unlmtd[m]>
hyper_ch: nixos has a thing for making broken designs stand out. I dont mean to come out as a prick but Id say; if virtualbox breaks so much it's probably a good idea to get it out of your workflow
<hyper_ch>
unlmtd[m]: unfortunately that's not possible
<unlmtd[m]>
hyper_ch: what are you virtualizing
<unlmtd[m]>
Iv heard of people virtualizing OSX on kvm. I dont think it would be easy on nixos thou
AllanEspinosa has quit [(Ping timeout: 255 seconds)]
<unlmtd[m]>
and now kvm has gpu passthrou, so you can use a second gpl directly with your vm
<unlmtd[m]>
second gpu*
takle has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
<unlmtd[m]>
I think it would be really nice if someone wrote a nix expression to have a OSX on a kvm
<mounty>
simpson: it's not that; it's that the other introductions don't present the material progressively. they jump from basic syntax to complete examples with no intermediate steps.
<unlmtd[m]>
I agree there hasnt been a very good nix learning writeup yet
<mounty>
I'm trying to write a Hydra project and the first jobset(s) is to check out and build the source with the steps: git clone .... ; cabal2nix source >default.nix ; nix-build JackRose.nix
<hyper_ch>
unlmtd[m]: windows
<mounty>
I now realise mkDerivation is probably what I need for the second command but the introductions so far do not explain how to do it for myself.
<unlmtd[m]>
hyper_ch: kvm is wayyy faster for windows
<hyper_ch>
so?
<hyper_ch>
can you run kvm on a windows installation?
<unlmtd[m]>
ohh I thought you were doing the other way around
<mounty>
E.g., do I have to build my own local cabal2nix or can I use that installed globally ? Don't answer that; it's just a sample question that I have to be able to answer myself.
<hyper_ch>
unlmtd[m]: both
<hyper_ch>
the vm needs to be portable
<unlmtd[m]>
I see
<hyper_ch>
does kvm even give access to usb devices?
<unlmtd[m]>
I was taking you backwards
<unlmtd[m]>
yes you can do that
takle has quit [(Ping timeout: 255 seconds)]
<unlmtd[m]>
kvm can give you the most direct access
<hyper_ch>
can a vobx installation be used in kvm?
<unlmtd[m]>
it would use different drivers and modules
<sivteck>
i have installed the python35Packages.lxml package with environment.systemPackages in configuration.nix but i am unable to import lxml in the python interpreter. "No module named 'lxml'".
<hyper_ch>
can I use my current vbox vm in kvm?
<sivteck>
i also have libxml2 installed.
bennofs has joined #nixos
<unlmtd[m]>
hyper_ch: im not a vm expert, but im pretty sure they use different storage, etc
<unlmtd[m]>
so no
<unlmtd[m]>
but the nice thing with nixos is how easily a config can be modified for the hardware/vm used
<Havvy>
unlmtd[m]: You found the mozilla overlay right?
<unlmtd[m]>
I did
<unlmtd[m]>
I just decided Im ditching everything for rust
<Havvy>
But Nix isn't Rust. ;)
<fuzzy-id>
so ${pkgconfig}/nix-support/setup-hook is not called
<fuzzy-id>
but why not?
LnL has quit [(Ping timeout: 245 seconds)]
<fuzzy-id>
shouldn't this be triggered by libraryPkgconfigDepends?
<unlmtd[m]>
nix doesnt count, nix is now as indispensable as water
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/vSoDi
<NixOS_GitHub>
nixpkgs/master 443dc39 Gabriel Ebner: gnome3.gnome_settings_daemon: use wrapGAppsHook...
<unlmtd[m]>
if someone isnt using nix theyre doing it wrong
<Havvy>
unlmtd[m]: Windows users?
<Ralith>
fuzzy-id: I don't know what that variable is. Maybe pkgconfig isn't in your buildInputs?
<unlmtd[m]>
ya f**k windoze
<Havvy>
I'd rather we got Nix working on Windows...
<unlmtd[m]>
Havvy: its a waste of your intellectual effort
<unlmtd[m]>
Havvy: why?
<unlmtd[m]>
Havvy: wayland already usable, so there is no more reason except finding the right hardware
<Havvy>
Because there's a lot of Windows developers and Windows users.
<unlmtd[m]>
Havvy: just like there used to be lots of fortran programmers
<unlmtd[m]>
Havvy: leave the dead with the deads
<fuzzy-id>
buildInputs is an unexpected argument…
<Havvy>
Linux has been around for decades. It's not going to win people over from Windows. So build where the people are.
<fuzzy-id>
i have it in my function header
<unlmtd[m]>
we just need a decent open source excel alternative
<mounty>
simpson: nothing new under the sun. Nothing to unlearn for nix. It's just O'Caml + JSON.
<unlmtd[m]>
Havvy: im not specifying linux
<unlmtd[m]>
fuschia and redoxOS are much more interesting than linux
galen has quit [(Ping timeout: 240 seconds)]
<Havvy>
Sure. But it's not like Redox uses Nix and AFAIK, Fuschia isn't a consumer OS.
<Havvy>
Anyways, I need to sleep.
<fuzzy-id>
very confusing, all this
LnL has joined #nixos
<unlmtd[m]>
> So build where the people are.
<unlmtd[m]>
Screw 'the people'. follow them down the cliff. build what is best. leaders dont follow the people
takle has joined #nixos
<unlmtd[m]>
developing for windows is a waste of precious open source dev ressource
<unlmtd[m]>
look, the guys came out of a windows vm from their browser! ahahah!
<vandenoever>
is there an easy way to install debug symbols for a nix package?
takle has quit [(Ping timeout: 252 seconds)]
mudri has joined #nixos
<fuzzy-id>
what is mkderivation doing? simply building a .drv file?
exarkun has quit [(Ping timeout: 255 seconds)]
exarkun has joined #nixos
Guest99725 has joined #nixos
marsel has quit [(Ping timeout: 255 seconds)]
stepcut has joined #nixos
stepcut has quit [(Ping timeout: 255 seconds)]
<unlmtd[m]>
really weird; my custom neovim also pulls vim
<unlmtd[m]>
oO
Wizek_ has joined #nixos
<mojjo>
we have `builtins.toFile "name" "somestring"`, which returns the path to the nix store where the file has been saved. Do we have something similar for directories? I'd need to put a string into a file inside a directory in the nix store...
<mojjo>
(to configure a server, that needs a CONFIG_DIR instead of CONFIG_FILE env var...)
Guest99725 has quit [(Quit: laters)]
thc202 has joined #nixos
Filystyn has quit [(Ping timeout: 240 seconds)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Filystyn has quit [(Read error: Connection reset by peer)]
simukis_first_ni has quit [(Remote host closed the connection)]
Gravious has joined #nixos
simukis_first_ni has joined #nixos
froglegs1 has quit [(Ping timeout: 240 seconds)]
<mounty>
Given that the command: nix-env -f "<nixpkgs>" -qaP -A haskellPackages
<mounty>
outputs something called haskellPackages.cabal2nix, is it possible to write a nix expression that runs the equivalent of: cabal2nix someDir >someDir.nix
<aristid>
gchristensen: oh and after install you switch to disk boot
<gchristensen>
yeah
<aristid>
gchristensen: on Hetzner I just used their rescue Linux to install NixOS... Does that not work on packet?
<gchristensen>
it could, but I think this is better: I don't have to issue API commands to do it, I just have to ask it to boot via a PXE URL
<gchristensen>
and the PXE file is completely generic, nothing about it is specific to me. it could be generated by hydra and be done, easy for users to boot-to-nixos
exarkun has quit [(Ping timeout: 252 seconds)]
exarkun has joined #nixos
<aristid>
gchristensen: I didn't use API either, that was by hand
<gchristensen>
ah :)
<gchristensen>
so NixOps does the same -- rescue mode -- via the API :)
<aristid>
But yeah why not put this PXE into nixpkgs?
<gchristensen>
right now, because it doesn't work very reliably
<aristid>
I have this irrational aversion to nixops
<gchristensen>
you may find you have a rational aversion to it
<aristid>
Well the main thing I dislike is the local state file
athan has quit [(Ping timeout: 240 seconds)]
<aristid>
It seems the German NixOS users are better organized than the Dutch
<gchristensen>
oh?
<aristid>
More meetups there
jrolfs has joined #nixos
<aristid>
Despite NL being home base! ;)
jrolfs has quit [(Ping timeout: 252 seconds)]
athan has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vSodA
<NixOS_GitHub>
[nixpkgs] peti pushed 13 new commits to master: https://git.io/vSoF4
<NixOS_GitHub>
nixpkgs/master 94acb5b Matthew Bauer: yasr: make linux-only
<NixOS_GitHub>
nixpkgs/master 04f8199 Matthew Bauer: libx86emu: make linux-only
<NixOS_GitHub>
nixpkgs/master a1f22aa Matthew Bauer: neardal: make linux-only
<lzt>
Hello! I'm trying to install NixOS and when I type nixos-install I get errors like that (but sometimes packages are different) : https://pastebin.com/nSadx7bj Can I use wget instead of curl or somehow change timeout parameters?
<mbrgm>
how can I increase the number of max file descriptors for a service in nixos?
<gchristensen>
lzt: hmm try just running it again, it is fine to re-run
<lzt>
I did it about 20 times
<lzt>
each launch failed
<gchristensen>
hmm is it a time-out or is the internet broken?
<gchristensen>
if you curl icanhazip.com, does it work?
<lzt>
it shows ip, btw I'm using nixos livecd right now
<lzt>
oh, it seems that installation finished successfully
aminechikhaoui has joined #nixos
<lzt>
just tried 10 more times and it finished
<gchristensen>
not great, but I'm glad it finished
edvorg has quit [(Remote host closed the connection)]
<lzt>
for the future: is there a way to make it less tedious?:)
<gchristensen>
well I don't know what to say, because I can't imagine why it is failing. what is your network performance like?
<lzt>
10-30Mbit/s
Filystyn has quit [(Read error: Connection reset by peer)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
<bennofs>
i also hit this errors, but that was on arch with systemd-resolved and using resolve as dns resolver instead of dns
<bennofs>
s/this/these
<gchristensen>
lzt: it is possible, for example, to make an installer which already has everything required for your installation
mojjo has joined #nixos
<mojjo>
going through the various lib/builtin functions to find one that deeply merges two sets...
<ekleog>
mojjo: recursiveUpdate?
<ekleog>
(set-based functions are in <nixpkgs>/lib/attrsets.nix ;))
<mojjo>
yes!!
<mojjo>
thx
aminechikhaoui has quit [(Ping timeout: 240 seconds)]
YellowOnion has joined #nixos
aminechikhaoui has joined #nixos
<YellowOnion>
what does this mean? The option `__ignoreNulls' defined in `/etc/nixos/ext-firewall.nix' does not exist.
lzt has quit [(Ping timeout: 260 seconds)]
<srhb>
I'm experiencing something odd where some of my steam games which are run with primusrun somehow kill primusrun prematurely (or something like that.) The end result is that the fan doesn't spin down at all afterwards, even though everything has cooled down. This is only some games. Any idea what might be going on?
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
byteflam1 has joined #nixos
<unlmtd[m]>
srhb: I doubt this is the right room
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vSoN2
<pie_>
uh which texlive thing is the proper texlive pakcage to install?
<pie_>
texlive.combined.scheme-[...] is whats listed by the nixos online package search and idk what this scheme stuff is
<joachifm>
pie_: they are akin to distribution sets, determines which macro packages etc you get. maybe try scheme-basic first
<pie_>
i thought it had something to do with lisp lol
Jackneill_ has joined #nixos
<joachifm>
scheme-basic should give you latex and friends, at least
Jackneill has quit [(Ping timeout: 252 seconds)]
pdobrogost has joined #nixos
jrolfs has joined #nixos
<m3rlin>
should I clone git nixpkgs-channel to install driver?
filterfish has joined #nixos
<DeaDSouL_>
ok, I've add the permittedInsecurePackages in configurations.nix as nix-env said, but still same thing? here is my configuration.nix http://paste.debian.net/plain/926721
Guest6236 has quit [(Ping timeout: 260 seconds)]
<ronny>
hi
<DeaDSouL_>
yeah, even after modifying the configuration.nix i ran `nixos-rebuild switch --upgrade` ... then I've tried ` nix-env -iA nixos.libimobiledevice` ... but I'm still getting the same error message: http://paste.debian.net/plain/926718
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<DeaDSouL_>
any idea why ?
<DeaDSouL_>
ronny: hi
jrolfs has quit [(Ping timeout: 255 seconds)]
<ronny>
garbas: any idea if there is a nix-native way to do editable installs of 2 or more packages ? im codeveloping 2 packages and they are separate projects on pypi
<m3rlin>
hello
<copumpkin>
gchristensen: oh, fair enough :)
pie_ has quit [(Ping timeout: 240 seconds)]
takle has quit [(Remote host closed the connection)]
<peterhoeg>
deadsoul_: there are security fixes that have not been fixed upstream.
takle has joined #nixos
<peterhoeg>
Pretty much what the error message says. ;-)
<peterhoeg>
s/fixes/issues/
<DeaDSouL_>
peterhoeg: I've even added 'libplist' in 'environment.systemPackages' and got it installed when nixos-rebuild .... but again I can not install 'libimobiledevice' !!
m3rlin has quit [(Ping timeout: 240 seconds)]
<gchristensen>
DeaDSouL_: have you read the full error message?
takle has quit [(Ping timeout: 245 seconds)]
davidak has joined #nixos
<DeaDSouL_>
gchristensen: yes.. I've added libplist to whitelist
<gchristensen>
DeaDSouL_: it seems the error hasn't clearly communicated that nixpkgs.config.permittedInsecurePackages only works for nixos-rebuild and for `nix-env`, `nix-build`, `nix-shell` you must use ~/.config/nixpkgs/config.nix, do you have any suggestions on how to make that more clear?
<DeaDSouL_>
gchristensen: it would help a lot if you tell me directly what I'm missing or what I'm doing wrong
<DeaDSouL_>
gchristensen: right, which made me adding the libplist to main system with nixos-rebuild... then trying to install a normal package that depends on libplist
<DeaDSouL_>
what I understood so far, is libimobiledevice requires libplist, which is marked insecure. so i have to install it by one of the suggested options... and yes I did choose the first one, which adding libplist as part of the system packages
<gchristensen>
ah
<DeaDSouL_>
now, I think I should be able to install libimobiledevice using nix-env
<gchristensen>
so in this case you need to whitelist it based on how you want to install libimobiledevice
<gchristensen>
however, installing libimobiledevice on its own won't allow digikam to talk to your phone :/ it seems digikam isn't set up to do that
<DeaDSouL_>
gchristensen: ok, let's first understand how to solve this problem in case I might face some in future
<gchristensen>
sure
<DeaDSouL_>
if I put libplist in the permittedinsecurepackages, and add it to the system packages
<DeaDSouL_>
why am I still being unable to install packages that require libplist?
<gchristensen>
you still need to add it ~/.config/nixpkgs/config.nix if you use nix-env to install something which depends on it
<DeaDSouL_>
gchristensen: if i want to install some package using user1, it will only be available to him ... and if I installed as root it should be available to all users... does that mean if i want it to be available to all users I should added to /root/.config/nixpkgs/config.nix ?
jrolfs has joined #nixos
<DeaDSouL_>
installed it*
<gchristensen>
no, each user would need to whitelist it if they want to use nix-env to install a package which depends on it
<DeaDSouL_>
gchristensen: that means I can not install it as root?
<DeaDSouL_>
but once it got installed, it should automatically be available to all users since it's being installed
<DeaDSouL_>
sorry, but this nixos thing is very new to me.. as I'm trying to understand how does it actually work
<gchristensen>
yes, but when nix
<gchristensen>
installs something new, it checks all its dependencies and as part of that will requires whitelist it
<DeaDSouL_>
gchristensen: I see
mkoenig has quit [(Remote host closed the connection)]
coltfred has joined #nixos
<NixOS_GitHub>
[nix] neilmayhew opened pull request #1313: Propagate NIX_BUILD_CORES to nix-shell environments (1.11-maintenance...topic/cores) https://git.io/vSohJ
<DeaDSouL_>
gchristensen: back to idevices... how can I set it up?
m3rlin has joined #nixos
nh2 has joined #nixos
<symphorien>
is the command-not-found shell hook broken in 17.03 ?
alx741 has joined #nixos
<NixOS_GitHub>
[nix] neilmayhew opened pull request #1314: Propagate NIX_BUILD_CORES to nix-shell environments (master...topic/cores-master) https://git.io/vSohW
<m3rlin>
how to use nixpkgs
<m3rlin>
I really new on nixpkgs
<m3rlin>
*nixos
<monsieurp>
m3rlin: did you read the official documentation?
<m3rlin>
ya, but still confuse. should I using git?
ixxie has quit [(Ping timeout: 252 seconds)]
<DeaDSouL_>
m3rlin: `nixos-rebuild switch` wich will activate the new modifications and update grub menu... if you add `--upgrade` will update/upgrade your system ... that's the most used cases (at least for me)
<m3rlin>
oh I see, thank you
cfricke has quit [(Quit: WeeChat 1.7)]
mkoenig has joined #nixos
byteflam1 has quit [(Ping timeout: 255 seconds)]
byteflame has quit [(Ping timeout: 255 seconds)]
systemfault has joined #nixos
cfricke has joined #nixos
<DeaDSouL_>
gchristensen: any idea how to make kde recognize my iDevices ?
takle has joined #nixos
coltfred has quit [(Ping timeout: 245 seconds)]
<gchristensen>
DeaDSouL_: I think your best bet would be to open up an issue describing what you're wanting to do, I don't know how else to help. I'm sorry
takle_ has joined #nixos
takle has quit [(Remote host closed the connection)]
<DeaDSouL_>
gchristensen: thanks bro
<bennofs>
symphorien: it is half broken due to a hydra update
<peterhoeg>
deadsoul_: adding it to systemPackages doesn't make a difference. If I add libplist to permittedInsecurePackages as the error message explains it, I can install libimobiledevice on unstable.
exarkun has quit [(Ping timeout: 240 seconds)]
exarkun has joined #nixos
<DeaDSouL_>
peterhoeg: I see. thanks :)
<DeaDSouL_>
how can I make user1 member of 'wheel' ?
<DeaDSouL_>
peterhoeg: in /etc/nixos/configuration.nix ?
<DeaDSouL_>
peterhoeg: I've added a user manually `useradd -c 'User 1' -m user1` ... so I can't find it in configuration.nix
RchrdB has joined #nixos
<joachifm>
DeaDSouL_: see gpasswd
m3rlin has quit [(Ping timeout: 240 seconds)]
<DeaDSouL_>
joachifm: thanks
<DeaDSouL_>
brb, logout,re-login :D
DeaDSouL_ has quit [(Quit: leaving)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle_ has quit [(Remote host closed the connection)]
takle has joined #nixos
takle_ has joined #nixos
<peterhoeg>
I see that the virtualbox-guest-additions derivation takes a "kernel" parameter, but when I try doing that in mine, I just get 'anonoymous function called without required argument ‘kernel’'
<peterhoeg>
I'm trying to build the hyperv daemons that are distributed as part of the linux kernel source. So I need to depend on the current kernel.
<peterhoeg>
A bunch of other things with kernel modules use the same pattern with the "kernel" parameter
<peterhoeg>
So what on earth am I missing?
takle has quit [(Ping timeout: 240 seconds)]
systemfault has quit [(Quit: Bye!)]
georges-duperon has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
<joachifm>
peterhoeg: can you elaborate; do you mean you're doing callPackage with an expression that takes a kernel param?
<joachifm>
peterhoeg: the kernel package set is built with linuxPackagesFor which takes care of passing the kernel param to its constituents, where kernel is typically 'linux' or some variation thereof
cfricke has quit [(Read error: Connection reset by peer)]
<peterhoeg>
joachimfm: correct
cfricke has joined #nixos
<peterhoeg>
Ahhhhh
<peterhoeg>
Idiot me didn't scroll further up to realize that linuxPackagesFor was in play
<peterhoeg>
I thought it was just a regular "callPackage" call
<joachifm>
peterhoeg: I guess you want to put your expression inside the linuxPackagesFor thing; or do callPackage foo { kernel = linux; }
cfricke has quit [(Client Quit)]
sivteck has quit [(Quit: Leaving)]
cfricke has joined #nixos
<peterhoeg>
Please excuse me why I go introduce my forehead to the table top
<peterhoeg>
Hard and repeatedly...
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
fuzzy-id has quit [(Ping timeout: 252 seconds)]
Mic92 has quit [(Quit: WeeChat 1.7)]
<peterhoeg>
joachifm: thanks a lot, it all works now
Mic92 has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vSKfZ
georges-duperon has quit [(Ping timeout: 252 seconds)]
noah_nix has joined #nixos
carlosda1 has quit [(Ping timeout: 240 seconds)]
<noah_nix>
Hello, I am relatively new to Linux and have been distro hopping for a few months. I just found NixOS and am about to try it. I wonder, what kind of partitioning is recommended if you want to use the whole HDD (of 500 GB) ?
<Filystyn>
hello
<Filystyn>
nixos posix manual package
<Filystyn>
differs from opengruop manual
<Filystyn>
why?
<noah_nix>
Filystyn: are you speaking to me?
<Filystyn>
ops sorry everythign is right
<Filystyn>
sorry mistake
<simpson>
noah_nix: Most folks put everything on one partition. You can do whatever you like.
<noah_nix>
I'll assume you were writing to another person, not me, then.
<noah_nix>
simpson: no swap?
<simpson>
noah_nix: That's up to you.
byteflam1 has quit [(Quit: leaving)]
<noah_nix>
I saw in the NixOS manual something about naming the partitions with a label? Why that?
<simpson>
Because it makes it easier to figure out which partition is which later on.
byteflam1 has joined #nixos
<noah_nix>
OK. Do you think NixOS is suitable for a Linux beginner (willing to do some work to set it up, but not later on) ?
<symphorien>
and labels do not change when you delete a partition
<simpson>
noah_nix: I have no idea which distro is suitable for Linux beginners.
<noah_nix>
But do you have to troubleshoot much in NixOS, I mean does problem occur often?
<noah_nix>
That requires more knowledge than browsing the internet, to solve.
<simpson>
Well, no, but that's not necessarily due to Nix. It could be because I've used Linux for a long time and I understand its failure modes well.
<simpson>
Crediting NixOS for that would be misleading.
<srhb>
I think NixOS has been one of the most stable experiences for me. But then I start dabbling, and things do break.
<srhb>
No worse than they did on, say, Arch or Gentoo though. ;-P
<simpson>
There's many kinds of dabbling which can't happen on NixOS.
<simpson>
For example, in the Python world, sometimes somebody will suggest the terrible idea of $(sudo pip). But fortunately it doesn't work on NixOS>
<noah_nix>
srhb, simpson: okay, that sounds great. Not to mention that Windows has relatively many issues as well, like viruses.
georges-duperon has joined #nixos
jsgrant-_ has joined #nixos
pie_ has joined #nixos
<noah_nix>
Just an off-topic question quickly: I have an HP EliteBook released 2011 or something, and it has Legacy BIOS. There is, however, an UEFI mode for the computer that I can enable from the BIOS setup screens. What is preferred by you people, UEFI or BIOS? Is there a risk that I will have an old version of UEFI if I enable it? There is a warning saying the UEFI mode for my PC is for development purposes only, and not supported by HP.
<simukis_first_ni>
provided I have `environment.systemPackages = with pkgs; [ ... ];` and `boot.kernelPackages = ...`, how do I add `boot.kernelPackages.<package>` into `environment.systemPackages`?
<srhb>
noah_nix: I use uefi, though for no particular reason anymore. It used to be because I was loading the kernel directory from efi, but no longer.
<noah_nix>
okay, then I assume I can continue using legacy BIOS, and not risk changing it
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vSKUG
<NixOS_GitHub>
nixpkgs/master b520bed Peter Hoeg: syncthing: 0.14.25 -> 0.14.26
peterhoeg has quit [(Remote host closed the connection)]
<orbekk>
noah_nix: personally I find uefi easier to use, especially for dual booting. there is no big advantage if your bios setup already works for you, though
noah_nix has quit [(Ping timeout: 260 seconds)]
hamishmack has joined #nixos
peterhoeg has joined #nixos
vaibhavsagar has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] corngood opened pull request #24772: WIP: nixos: use pkgsi686Linux for pkgs_i686 (master...pkgs_i686) https://git.io/vSKUl
takle has quit [(Remote host closed the connection)]
marsel has quit [(Ping timeout: 240 seconds)]
colescott has quit [(Quit: WeeChat 1.0.1)]
rardiol has joined #nixos
<dtzWill>
aww new Nix is too smart for my go-to standin for sha256, 52 'a' characters lol
<dtzWill>
but all 1's works! :P
takle has joined #nixos
<aristid>
dtzWill: i recommend using all 5s
takle_ has joined #nixos
mudri has quit [(Ping timeout: 252 seconds)]
takle has quit [(Ping timeout: 245 seconds)]
orbekk has quit [(Ping timeout: 240 seconds)]
ndowens08 has joined #nixos
<ndowens08>
hey
takle_ has quit [(Ping timeout: 240 seconds)]
cfricke has quit [(Quit: WeeChat 1.7)]
jsgrant-_ has left #nixos []
<dtzWill>
'ello :)
<ndowens08>
sup :)
<dtzWill>
aristid: haha 5's are the way to go? xD alright
<aristid>
dtzWill: yup ;)
jsgrant-_ has joined #nixos
jmiven has quit [(Quit: WeeChat 1.7)]
jsgrant-_ has quit [(K-Lined)]
jmiven has joined #nixos
orbekk has joined #nixos
bennofs has quit [(Ping timeout: 252 seconds)]
NickHu_ has quit [(Ping timeout: 260 seconds)]
colescott has joined #nixos
colescott has quit [(Client Quit)]
marsel has joined #nixos
<ndowens08>
weird, nox is saying owner is not defind in fetchFromGitHub
colescott has joined #nixos
colescott has quit [(Client Quit)]
<ndowens08>
hmm must have mispelled it
colescott has joined #nixos
colescott has quit [(Client Quit)]
colescott has joined #nixos
<simukis_first_ni>
provided I have `environment.systemPackages = with pkgs; [ ... ];` and `boot.kernelPackages = ...`, how do I add `boot.kernelPackages.<package>` into `environment.systemPackages`?
colescott has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
<ndowens08>
so why does fetchgit always fail to resolve github.com?
<jeaye>
Does hydra build noXlibs = false variants for 17.03? I'd like to enable it, but I had it disabled in 16.09 since it required me to build my own packages, like openjdk.
<michalrus>
--verbose, -v
<michalrus>
Increases the level of verbosity of diagnostic messages printed on standard error.
<michalrus>
How do I decrease it to 0? :P
aminechikhaoui has quit [(Quit: leaving)]
ertesx has joined #nixos
olejorgenb has joined #nixos
garzr has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
ertesx is now known as ertes
<garzr>
Hey all, I'm trying to get playonlinux working on nix, but it doesn't see opengl drivers. I've confirmed they exist via glxinfo. Any suggestions?
<NixOS_GitHub>
[nixpkgs] asymmetric opened pull request #24776: mutt: actually make imap optional (master...mutt-imap) https://git.io/vSKLd
<NixOS_GitHub>
[nixpkgs] asymmetric opened pull request #24777: notmuch: fix homepage and notmuch-mutt license (master...notmuch) https://git.io/vSKtL
<Ralith>
garzr: do you have hardware.opengl.driSupport32Bit set to true?
exarkun has joined #nixos
<garzr>
Ralith: I do
takle has quit [(Remote host closed the connection)]
<ndowens08>
ok git wizards, lately trying to squash commits is acting funny; lets say i want to squash the latest two commits which should be git rebase -i HEAD~2 but lately it is only showing the last two if i do HEAD~3 or HEAD~4 in which ends up committing other unrelated packages
garzr has quit [(Quit: Page closed)]
systemfault has joined #nixos
ixxie has joined #nixos
noah-nix has joined #nixos
<noah-nix>
Hello. I've followed all the steps from the NixOS manual (the installation guide), and everything have worked fine. But I accidentally started the installation without configuring network (internet connection) !
<noah-nix>
I saw in the installation log there was an error passing by; "could not download ..."
<noah-nix>
Now it's copying files..
<noah-nix>
Sorry if pinging is not allowed but I happen not to have a lot of time.. simpson
hyphon81 has joined #nixos
mog has quit [(Ping timeout: 260 seconds)]
byteflam1 has quit [(Ping timeout: 252 seconds)]
byteflame has quit [(Ping timeout: 252 seconds)]
<ndowens08>
should be able to redo the configuation file and then run nixos-rebuild switch
<Dezgeg>
just ctrl-c it, get the network up & try again
takle has joined #nixos
<ndowens08>
or that
mog has joined #nixos
eacamero_ has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
magnetophon has quit [(Ping timeout: 240 seconds)]
<noah-nix>
which is preferred? I don't want duplicated files.
takle has joined #nixos
<noah-nix>
ndowens08: why redo the config file?
<noah-nix>
ndowens08: and should I reinstall after doing the command?
<noah-nix>
Now I've just performed the command without re-modifying the config file.
vandenoever has quit [(Ping timeout: 255 seconds)]
<jeaye>
I don't see any related issues to pcregrep on the nixpkgs repo, but it looks like it may need to be packed with better security flags. Anyone else worked around this already?
<manveru>
i think i'm going insane... got a process that runs as root, uses up 100% of a core, htop says its name is "/", and it has absolutely no info in /proc/... link to exe is invalid, environ is empty, cwd and cmdline as well...
<jeaye>
noah-nix: You were here when I asked it.
<manveru>
plus it's unkillable... but it's not listed as zombie
<noah-nix>
jeaye: yeah, I was unsure whether you were sending the link to me or someone else. And I didn't check the link btw..
<jeaye>
noah-nix: Nope, still talking about my issue. :)
<manveru>
and i fear the 17.03 upgrade broke my nvidia setup :(
<manveru>
fun times
systemfault has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vSKYa
<NixOS_GitHub>
nixpkgs/master 1b94c30 Tuomas Tynkkynen: fio: 2.17 -> 2.19
simukis_ has joined #nixos
<manveru>
or maybe it's just my graphics card being broken...
simukis_ has quit [(Client Quit)]
simukis_first_ni has quit [(Read error: Connection reset by peer)]
<manveru>
even in grub i already have weird graphic artifacts
simukis_ has joined #nixos
simukis_ has quit [(Read error: Connection reset by peer)]
<noah-nix>
when did the new update come out?
simukis_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg closed pull request #24229: Build all kernel modules for ARM and Aarch64 (master...arm-modules) https://git.io/vSexh
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vSKO5
<NixOS_GitHub>
nixpkgs/master da4fd5e Lorenzo Manacorda: mutt: actually make imap optional (#24776)
jgertm_ has joined #nixos
jgertm has quit [(Killed (wolfe.freenode.net (Nickname regained by services)))]
jgertm_ is now known as jgertm
<noah-nix>
I'll continue working on my issue tomorrow. Bye
noah-nix has quit [(Quit: Page closed)]
<toppler>
Is there an option for hosts.deny in the main configuration file?
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
exarkun has quit [(Ping timeout: 252 seconds)]
mojo has joined #nixos
exarkun has joined #nixos
mojo is now known as Guest55726
<Guest55726>
hi! anyone knows why `chroot /mnt` fails on a nix live cd with a nix system mounted to /mnt? I'm getting: `chroot: failed to run command'/run/current-system/sw/bin/bash`
<Guest55726>
..'no such file or directory'
<c74d>
I remember doing `chroot /mnt` in the Gentoo live-disk, but I don't think one does that with NixOS
<Guest55726>
I was about to change my root password this way..
justbeingglad has joined #nixos
takle has joined #nixos
<ktosiek>
nixos-install --chroot --root /mnt
railswalker has joined #nixos
<ktosiek>
Guest55726: maybe something like this ↑?
<Ralith>
Guest55726: /run/current-system is created at boot; if your system isn't booted then it doesn't exist
<railswalker>
for some reason I'm getting "error: anonymous function at /home/stephen/nixpkgs/pkgs/misc/kio-gdrive/default.nix:1:1 called without required argument ‘ki18n’"; anyone know why?
<Guest55726>
do you know if nixos-install resets the password? since this is my only intention..
<railswalker>
using callPackages, and I put ki18n in the list of arguments
<ktosiek>
Guest55726: not really, check `man nixos-install`
mojjo has quit [(Read error: Connection reset by peer)]
<gchristensen>
anyone know if there is a way to put nixos-generate-config in to a systemd unit's PATH?
<gchristensen>
I hate when we have packages only accessible via modules :(
<LnL>
I don't think there is a package for the nixos-* commands outside of the module system
<sjanssen>
as I understand it, the Stackage LTS packages were removed from nixpkgs a while ago. Is there a way to generate expressions for these LTS releases myself? Is there another path to go from a working stack build to a nix-based build?
<gchristensen>
I reckon I'll put /run/current-system/sw/bin/ in the path, though I'm not sure /run/ is available to systemd jobs?
ksf has quit [(Remote host closed the connection)]
dhruvio has joined #nixos
dhruvio has quit [(Client Quit)]
byteflam1 has quit [(Ping timeout: 245 seconds)]
byteflame has quit [(Ping timeout: 245 seconds)]
dhruvio has joined #nixos
dhruvio has quit [(Client Quit)]
dhruvio has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vSKWk
<NixOS_GitHub>
nixpkgs/staging a05959e Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
<dhruvio>
hi there, wondering if someone has been able to get unity3d to work on 17.03? i'm able to start it and create a new project; however, it crashes immediately after opening a new project. any help would be much appreciated! thank you
<dhruvio>
the logs tell me: 'This application failed to start because it could not find or load the Qt platform plugin "xcb".'
<dhruvio>
sorry if it's a basic question, i'm new to nixos :)
<gchristensen>
what do you think the chances of ZFS working on aarch64? :)
<Dezgeg>
I don't see why not... if the ZoL devs ever tested it
<gchristensen>
let me push my changes so you can see what I'm trying to buuild
byteflame has quit [(Ping timeout: 255 seconds)]
jrolfs has joined #nixos
acarrico has quit [(Ping timeout: 240 seconds)]
<gchristensen>
Dezgeg: I'm having failures building /nix/store/6p7ggivk0x7vl4p70jvzg2z14aw0mqph-spl-kernel-0.6.5.9-4.9.21.drv and /nix/store/6gd6fzcsshdv4fbpvrk5w2z7xy2f3q79-syslinux-2015-11-09.drv