MP2E has quit [(Remote host closed the connection)]
MP2E has joined #nixos
<srhb> Acou_Bass: The release notes. They are a work in progress of course.
<yegortimoshenko> pbogdan: sorry, i missed that unlink. i get a different error message.
<Acou_Bass> ahhh cool
<Acou_Bass> i thought they mostly just referred to 'regular' releases rather than keeping up with nixos-unstable
<srhb> Acou_Bass: Well, they will become the release notes for 18.03 :)
<Acou_Bass> ahh right yeah
<Acou_Bass> makes sense
<yegortimoshenko> pbogdan: i do `cd /; sudo chmod 777 /root; touch /root/meh; sudo ln -s foo a`, run `strace steam | grep unlink`
<LnL> the release notes are supposed to be updated when stuff is merged into master, just doesn't always happen in practice
<Acou_Bass> XD
<srhb> Acou_Bass: That said, as long as you don't fiddle with stateVersion you should be fine.
<srhb> Acou_Bass: Most "breaking" changes will then simply prevent you from building the new configuration, so nothing bad happens.
<Acou_Bass> yeah
taktoa has joined #nixos
<yegortimoshenko> yes, nixos-unstable is rather stable
<Acou_Bass> im not too worried about it breaking my OS, just about having to fix things when it fails to build :P
<srhb> Occasionally you get to go on Github to track down what's going on. :-)
<srhb> The joys of being on unstable.
<Acou_Bass> yeah but i do that anyway
<Acou_Bass> xd
<Acou_Bass> the joys of being on an obscure distro where basically no 'normal' internet-found instructions work :D
raynold has joined #nixos
<Acou_Bass> not that im complaining
akaWolf has quit [(Ping timeout: 248 seconds)]
<pbogdan> yegortimoshenko: it feels like a race condition between a failure occurring in https://github.com/yegortimoshenko/nixpkgs/blob/08156be327054bf17bd746b26d56f08f926d1413/pkgs/build-support/build-fhs-userenv/chrootenv.c#L216 and the clean up callback; is that plausible?
DTK has quit [(Ping timeout: 260 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<pbogdan> the callback may get invoked before the mounts are cleared?
sigmundv__ has quit [(Ping timeout: 248 seconds)]
nevermind has joined #nixos
<infinisil> LnL: Oh, the imports don't work either
nevermind is now known as Guest51810
<infinisil> infinite recursion, a different one
ottidmes has quit [(Ping timeout: 248 seconds)]
<infinisil> I already suspected this though, imports can't depend on the config, because each import can change options and everything
<infinisil> And my hacky workaround gets hackier and hackier as i try to make it actually work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to mariadb-10.2: https://git.io/vbFkt
<NixOS_GitHub> nixpkgs/mariadb-10.2 9efe58f Robin Gloster: mysql57: add server.static for libmysqld.a
<NixOS_GitHub> nixpkgs/mariadb-10.2 d8a5242 Robin Gloster: amarok{,-kf5}: use mysql.server.static for libmysqld
NixOS_GitHub has left #nixos []
<yegortimoshenko> pbogdan: even if it's a race condition, nftw should never cross mountpoints because of FTW_MOUNT flag
jrolfs has quit [(Ping timeout: 240 seconds)]
Guest51810 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to mariadb-10.2: https://git.io/vbFk0
<NixOS_GitHub> nixpkgs/mariadb-10.2 816b085 Robin Gloster: Merge remote-tracking branch 'upstream/master' into mariadb-10.2
NixOS_GitHub has left #nixos []
<yegortimoshenko> pbogdan: sounds plausible, though. i'll make a fix right away
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 25 new commits to master: https://git.io/vbFk6
<NixOS_GitHub> nixpkgs/master 300ee45 Peter Hoeg: kde-applications: 17.08.3 -> 17.12.0
<NixOS_GitHub> nixpkgs/master 8a15258 Peter Hoeg: kget: 20170903 -> 17.12.0
<NixOS_GitHub> nixpkgs/master 6c317b6 gnidorah: amarok-kde4: drop
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko pushed 1 new commit to master: https://git.io/vbFkQ
<NixOS_GitHub> nixpkgs/master 25b35f4 Yegor Timoshenko: chrootenv: resolve potential race condition
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 272 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] moretea opened pull request #33122: Bump dlib: 19.6 -> 19.8 (master...bump-dlib) https://git.io/vbFIu
NixOS_GitHub has left #nixos []
nevermin_ has joined #nixos
cinimod has quit [(Quit: Connection closed for inactivity)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
nevermin_ has quit [(Client Quit)]
jb55 has joined #nixos
thc202 has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
pkill9 has quit [(Quit: WeeChat 2.0)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 265 seconds)]
Guest67241 has joined #nixos
laggy_wifi is now known as putin_tootin_roo
putin_tootin_roo is now known as putin_
putin_ is now known as the_putin
the_putin is now known as la_putin
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah closed pull request #30985: pythonPackages.pykde4: init at 4.14.3 (master...pykde4) https://git.io/vFqeH
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
tekul has quit [(Quit: leaving)]
Guest67241 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
orivej has quit [(Ping timeout: 265 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
astrofog has joined #nixos
dieggsy has quit [(Ping timeout: 248 seconds)]
aarvar has quit [(Ping timeout: 268 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
aarvar has joined #nixos
Sonarpulse has joined #nixos
<dhess> LnL: around?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
vidbina has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
michalrus has quit [(Quit: leaving)]
michalrus has joined #nixos
<la_putin> does nixos have pwndbg in its repo?
otherjrolfs has joined #nixos
<dhess> ok, anyone around who's quite experienced with overlays?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<dhess> damned holidays ;)
otherjrolfs has quit [(Ping timeout: 272 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
aarvar has quit [(Ping timeout: 264 seconds)]
astrofog has quit [(Quit: Quite)]
aarvar has joined #nixos
hyphon81 has joined #nixos
Arcaelyx_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyphon81> I'm adding pkgs to local nixpkgs now and I could install added pkgs with nix-shell. However, I can't install those with nix-env.
hiratara has quit [(Ping timeout: 252 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<hyphon81> nix-shell -p python3 -p 'python3Packages.chainer.override {cudaSupport=true;}' -I nixpkgs=./nixpkgs # This worked
hiratara has joined #nixos
<hyphon81> nix-env -i pythonPackages.chainer -f ./nixpkgs # This returns "matches no derivations"
dan_b has quit [(Ping timeout: 260 seconds)]
<hyphon81> Why?
<samueldr> dhess: your question is?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
<samueldr> hyphon81: I don't know, but is it possible you dropped the "3" in your nix-env -i?
<jtojnar> hyphon81: I think you need to use -iA
<jtojnar> otherwise, name attributes will be searched, instead of looking up the attribute
mbrgm has quit [(Ping timeout: 256 seconds)]
<hyphon81> jtojnar: Thanks! It works! ...But why?
<jtojnar> hyphon81: see man nix-env, section selectors
<hyphon81> jtojnar: OK!
mbrgm has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vbFYW
<NixOS_GitHub> nixpkgs/master 15b2a76 Tim Steinbach: linux: 4.4.107 -> 4.4.108
NixOS_GitHub has left #nixos []
<nixy> Has anybody here packaged a QT/KDE theme before?
drakonis has joined #nixos
<nixy> I'd like to package arc-kde (I think I have it working rn), but I'd like to see if theres anything else
<jtojnar> hyphon81: the name would be something like python2.7-PyYAML, the name which would be used to store the package in nix store /nix/store/dsfa8r8hzw5hkmjsz5l3hw71rj2bz0ak-python2.7-PyYAML-3.12
otherjrolfs has joined #nixos
jrolfs has joined #nixos
vidbina has quit [(Ping timeout: 248 seconds)]
<hyphon81> jtojnar: Thanks.
<jtojnar> with -A, instead of looking through name attribute of every derivation, you attribute from the top-level Nix expression being evaluated (in this case, basically all-packages.nix)
tmaekawa has joined #nixos
aarvar has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
aarvar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vbFYi
<NixOS_GitHub> nixpkgs/master 5128f43 Tim Steinbach: linux-copperhead: 4.14.8.b -> 4.14.9.a
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbFYP
<NixOS_GitHub> nixpkgs/release-17.09 69422ff Tim Steinbach: linux-copperhead: 4.14.8.b -> 4.14.9.a...
NixOS_GitHub has left #nixos []
tmaekawa has quit [(Client Quit)]
Supersonic112 has quit [(Disconnected by services)]
<hyphon81> I'm tring making PR for adding chainer to nixpkgs. Now I'm reading this(https://nixos.org/nixpkgs/manual/#idm140737317450592).
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
qmmm has quit [(Ping timeout: 248 seconds)]
DavidEGrayson has quit [(Ping timeout: 248 seconds)]
DavidEGrayson has joined #nixos
heath has quit [(Ping timeout: 248 seconds)]
qmm has joined #nixos
otherjrolfs has joined #nixos
<hyphon81> It says "use nix-env -i pkg-name" and I always use nox. So, I thought I did strange action, but, actually, I was missing attr option.
jrolfs has joined #nixos
theseriousadult has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
taktoa has quit [(Remote host closed the connection)]
heath has joined #nixos
Arcaelyx has joined #nixos
yegortimoshenko has quit [(Remote host closed the connection)]
<jtojnar> hyphon81: I do not really see an use case for running the command without -A or -E
<jtojnar> you either know the attribute name, or you can easily find it
<jtojnar> well the only usecase is when you find the derivation name using `nix-env -qa | grep somepkg`
otherjrolfs has joined #nixos
<jtojnar> but that does not work in many cases
JazzyEagle has quit [(Ping timeout: 246 seconds)]
DavidEGrayson has quit [(Ping timeout: 248 seconds)]
azdle has quit [(Ping timeout: 248 seconds)]
DavidEGrayson has joined #nixos
<hyphon81> jtojnar: I always use nox. It can install pkgs easily.
<jtojnar> and you can use --attr-path which will print the actual path
<jtojnar> hyphon81: oh, did not know there is also a nox command that can do that
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<jtojnar> that will tell you both the derivation name (used without -A) and the attribute path (in parentheses, selected with -A)
jrolfs has joined #nixos
mizu_no_oto has joined #nixos
ed-packet has quit [(Quit: leaving)]
jrolfs has quit [(Ping timeout: 256 seconds)]
JazzyEagle has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
jduan has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
drakonis has quit [(Read error: Connection reset by peer)]
jrolfs has quit [(Ping timeout: 256 seconds)]
JazzyEagle has quit [(Ping timeout: 248 seconds)]
<jduan> hello
<jduan> Can I get some help? I'd like to try nix out in fish shell and I found this PR https://github.com/NixOS/nix/pull/1090. How do I generate a nix-profile.fish script from nix-profile.fish.in? I'm not a Makefile expert ...
<jtojnar> jduan: you would run ./bootstrap.sh, then ./configure
<jduan> jtojnar: thanks. Let me give it a try
JazzyEagle has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
jb55 has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hyphon81 opened pull request #33123: chainer: init at 3.2.0 (master...add/chainer-add) https://git.io/vbFsl
NixOS_GitHub has left #nixos []
mmlb has quit [(Quit: The Lounge - https://thelounge.github.io)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
verite has joined #nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
jekor has joined #nixos
dieggsy has joined #nixos
<jtojnar> nvidia is pain in the rear
phreedom has quit [(Ping timeout: 272 seconds)]
nevermind has joined #nixos
nevermind is now known as Guest16989
Acou_Bass has quit [(Ping timeout: 252 seconds)]
Guest16989 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nevermin_ has joined #nixos
schoppenhauer has quit [(Ping timeout: 272 seconds)]
schoppenhauer has joined #nixos
rogue_koder has quit [(Quit: Konversation terminated!)]
<disasm> any suggestions for booting nixos on osx using xhyve? I install nixpkgs.xhyve already.
nevermin_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nevermin_ has joined #nixos
nevermin_ has quit [(Client Quit)]
<jtojnar> hyphon81: are the test failures on Python 3 something that cannot be fixed?
nevermin_ has joined #nixos
Acou_Bass has joined #nixos
<jtojnar> hyphon81: It does not work for me even on python2 with sandboxing enabled https://paste.gnome.org/p1qlkmloi
<jtojnar> missing dependencies
phreedom has joined #nixos
Acou_Bass has quit [(Ping timeout: 272 seconds)]
Acou_Bass has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9.1)]
nevermin_ has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hyphon81> jtojnar: I'm fixing codes. It needs to change pkgs list for checkPhase such as pytest and mock.
orivej has joined #nixos
<jtojnar> you can use checkInputs in python derivations
<hyphon81> yes, I did.
<hyphon81> nvcc compile is slowly...
c0ffee152 has quit [(Quit: Lost terminal)]
Acou_Bass has quit [(Ping timeout: 248 seconds)]
Acou_Bass has joined #nixos
<jtojnar> hyphon81: also are the platform limitations intentional?
dieggsy has quit [(Ping timeout: 256 seconds)]
loke has joined #nixos
Acou_Bass has quit [(Ping timeout: 268 seconds)]
<hyphon81> jtojnar: Yes, the cupy uses nvidia driver so it needs to run on linux. The chainer can run as just python package.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/69422ff3611 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<jtojnar> hyphon81: I was more concerned about x86_64, will that not work on ARM?
Acou_Bass has joined #nixos
<jtojnar> ?
<hyphon81> jtojnar: I can't test it. For example, MAYBE, jetson(http://www.nvidia.com/object/jetson-tk1-embedded-dev-kit.html) can use cupy.
Acou_Bass has quit [(Ping timeout: 248 seconds)]
<jtojnar> we can try building it if you add platforms.linux, but the sandboxed build will need to be fixed first
<hyphon81> I see. Thanks.
<loke> I just installed Nixos and exploring it right now. My first issue is a bit weird... I ran KDE from the installer and I was able to configure the touchpad nicely. After installing Nixos and booting off the drive, hand enabling KDE Plasma and logging in... I now am no longer able to configure the touchpad (all but one of the controls are greyed out, and the one that isn't doesn't work).
<loke> My question: What is the diffferentce between a new installation with KDE enabled, and the KDE that comes on the installer image?
<loke> Some package I haven't installed perhaps?
<samueldr> let me verify
<samueldr> libinput.enable = true;
<samueldr> sorry
<samueldr> services.xserver.libinput.enable = true;
<samueldr> in your configuration.nix, it's used in the installation image
<loke> You're right., That one was commented out.
<loke> Testing now.
pxc has joined #nixos
<samueldr> you may need to restart the display manager
<loke> samueldr: I did rebuild switch and then rebooted just to be sure
<loke> No difference. The touchpad controls are still disabled.
<pxc> Is there any way to tell Nix to _temporarily_ (i.e., within a specific scope) allow evaluating broken packages?
<pxc> I'm trying to simplify an overlay I use for declaring lists of packages, some common to multiple operating systems (like NixOS and macOS) and others specific to them. Instead of declaring separate lists for common and OS-specific packages, I'd like to filter on each package's meta.platforms attribute. But Nix won't even evaluate the list for those packages to be filtered out. :-(
<loke> Problem is my laptop is a Dell, and it's not using synaptics... It's Logitech ImPS/2
<pxc> (ohai, samueldr! I just saw you on GitHub a while ago. You helped me figure out my bluetooth issues with suspend/resume. Thanks. :-)
* loke is heading out for lunch. Thank you so much for your help samueldr.
<loke> (the damn Dell touchpad is always a problem. I'd have just dismissed this as crap hardware if it wasn't for the fact that it worked so nicely from the installed image)
<loke> s/installed/installer/
<samueldr> loke: weirdly, I though libinput should have been enough, especially since it worked in the installer
<samueldr> that's what's used for the graphical stuff for the installer
<samueldr> the last commit is even a mention about libinput (!)
<samueldr> pxc: sorry, helped you on github with bluetooth? I'm confused since I don't remember
<pxc> samueldr: oh, it was indirect. The NixOS Wiki links to a gist of your describing a solution for mangled power states on USB bluetooth devices: https://nixos.wiki/wiki/Bluetooth
<pxc> the link text is ‘this gist’
<samueldr> ah yeah right
<hyphon81> jtojnar: The test error with python3, error message says missing argument from a nix_run_setup.py call.
<samueldr> I knew I had it in there, but didn't remember specifically helping you
<samueldr> glad it helped
<hyphon81> jtojnar: When I saw other packages, solutions examples for error from nix_run_setup.py are doCheck = false or attaching patches.
simukis has joined #nixos
<hyphon81> jtojnar: I couldn't found a solution with fixing codes, so I did doCheck = false method...
dywedir has joined #nixos
proteus-guy has quit [(Remote host closed the connection)]
<jtojnar> hyphon81: what argument is missing?
Acou_Bass has joined #nixos
<jtojnar> pxc: you can set NIXPKGS_ALLOW_BROKEN variable
<hyphon81> jtojnar: 'message' is missing when called time_range() on nix_run_setup.py's test. https://github.com/cupy/cupy/blob/06e84b561aeba2d4abc5342fe5a7c1da894a436b/cupy/prof/time_range.py#L9
Acou_Bass has quit [(Ping timeout: 248 seconds)]
tmaekawa has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
orivej has quit [(Ping timeout: 260 seconds)]
<jduan> jtojnar: after fighting many errors I was able to make "./configure" work. But I don't see the generated file. "find . -name nix-profile.fish" returns nothing. Anything else I need to do?
<jtojnar> jduan: it should be in the same folder as the original file
<jtojnar> alternately, you can manually replace all @variable@s with the right values
<jduan> I don't see it under scripts/
<jduan> do I need to run make?
<jtojnar> I think the in files are processed during configure phase
<jtojnar> but I might be wrong
<jtojnar> trying make should definitely do it
mkoenig has quit [(Ping timeout: 256 seconds)]
mkoenig has joined #nixos
<jduan> make failes
<jduan> I/O error : Attempt to load network entity http://docbook.org/xml/5.0/rng/docbook.rng
<jduan> warning: failed to load external entity "http://docbook.org/xml/5.0/rng/docbook.rng"
<jduan> Relax-NG parser error : xmlRelaxNGParse: could not load http://docbook.org/xml/5.0/rng/docbook.rng
<jduan> Relax-NG schema http://docbook.org/xml/5.0/rng/docbook.rng failed to compile
<jduan> -:1: parser error : Document is empty
<jduan> ^
<jduan> make: *** [doc/manual/manual.is-valid] Error 1
<jduan> any idea? http://docbook.org/xml/5.0/rng/docbook.rng loads fine in the browser
<yrashk> is there a way to interpolate nix expressions in a string that came from a third source (i.e. not a string literal), say, `builtins.readFile` ?
<jduan> I removed this line "doc/manual/local.mk" from the Makefile and now make is making progress
<jtojnar> jduan: that should be provided by docbook5
<jduan> you mean I should "brew install docbook"?
proteus-guy has joined #nixos
<jtojnar> you can use nix-shell -p docbook5 --run "make"
<jtojnar> maybe nix-shell -p docbook5 libxml2 --run "make"
tmaekawa has quit [(Quit: tmaekawa)]
<jtojnar> yrashk: if the file contains a nix string, you should be able to import it
<jduan> the problem is I don't have nix installed yet (that's what I'm trying to do in the first place)
<jtojnar> yrashk: though there could not be any free variables, I think
<yrashk> jtojnar: the file contains plain text with some string interpolation... say "this is my file, and I'd like to use this binary ${pkgs.derivation}/bin/binary" <-- stored in ./file; so if I do `builtins.readFile ./file`, is there any way to interpolate it as if it was a string literal with the contents of ./file ?
pxc has quit [(Ping timeout: 248 seconds)]
<jtojnar> you would have to change the file to a function `{pkgs}: "this is my file ${pkgs.derivaton}"`
<jtojnar> and then use `import ./file { inherit pkgs; }`
<jtojnar> since imported files do not inherit the scope
<yrashk> is this the only way to interpolate?
<yrashk> (in the case of an external string)
<jtojnar> I do not think there is an eval function in nix
<jtojnar> I suppose it is possible to write a custom parser in Nix
<dhess> Anyone have an idea why a Hydra jobset won't do a git pull to refresh one of its inputs?
<jtojnar> yrashk: or maybe use nix-instantiate command in builder script
<jtojnar> but making files into functions is nice and idiomatic solution
ilyaigpetrov has joined #nixos
<yrashk> jtojnar: the reason why I don't want to do the first suggested approach is because I want to generate parts of my configs this way but I don't want to lose easy editability of these config files (when the editor knows about the format, such as .el) because I wrapped everything into a string
<jtojnar> another thing you could do is add a placeholder, for example @derivation@
<yrashk> yeah, I thought of that, it's not beautiful, but would work in some cases
<jtojnar> yrashk: It works great with substituteAll { src = ./file; derivation = "${pkgs.derivation}/bin/file"; }
<loke> samueldr: I'm wondering... The only difference between the installer and the actual system that I can think of is the fact that the installer isn't started through the displaymanager.
<jtojnar> jduan: I think installing nix the normal way would be the best for now
<jtojnar> jduan: there is a list of dependencies in the manual https://nixos.org/nix/manual/#ch-installing-source
orivej has joined #nixos
Judson has quit [(Ping timeout: 265 seconds)]
fragamus has joined #nixos
<yrashk> jtojnar: yeah, this works nice for that limited case, indeed! I wanted to interpolate originally because I want to do different processing in different files (I am trying to auto-generate saved searches for notmuch email queries across different tools :). Thanks for your help anyway -- substituteAll is at least a bit better than nothing
asuryawanshi has joined #nixos
<yrashk> at least I can do some processing in separate functions
mkoenig has quit [(Ping timeout: 248 seconds)]
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mkoenig has joined #nixos
<jtojnar> yrashk: wait, would this work? builtins.tryEval "{pkgs}: ''${builtins.readFile ./file}''"
<jtojnar> though you would still need to escape '' in the file
<yrashk> yeah, I'd rather not go that deep :)
<jtojnar> I think that is exactly what you were asking for :)
leat has quit [(Quit: WeeChat 1.9.1)]
<jtojnar> though the substitutions are probably much saner solution
asuryawanshi has quit [(Remote host closed the connection)]
<hyphon81> hyphon81: According to meta statement, cudatoolkit pkgs on nix is only corresponding x86_64-linux. So, we can't use cupy in other platforms. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/cudatoolkit/default.nix#L130
<hyphon81> jtojnar: According to meta statement, cudatoolkit pkgs on nix is only corresponding x86_64-linux. So, we can't use cupy in other platforms. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/cudatoolkit/default.nix#L130
<jtojnar> okay, hyphon81
aarvar has quit [(Ping timeout: 265 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #32846: coqPackages.tlc: init at 20171206 (master...coq-tlc-20171206) https://git.io/vbX13
NixOS_GitHub has left #nixos []
<jtojnar> yrashk: hmm, tryEval does not seem to work as I though anyway
jduan has quit [(Remote host closed the connection)]
amosbird has joined #nixos
amosbird has left #nixos ["WeeChat 2.0.1"]
mkoenig has quit [(Ping timeout: 260 seconds)]
mkoenig has joined #nixos
Acou_Bass has joined #nixos
<loke> I have a custom xkb symbols file that I normally use to make my keyboard behave the way I want. I normally drop that into /usr/share/X11/xkb/symbols and use setxkbmap to activate it. Clearly this doesn't exist in Nixos, so what is the "correct" way to do this?
Acou_Bass has quit [(Ping timeout: 252 seconds)]
fragamus has quit [(Ping timeout: 265 seconds)]
nix_newb has joined #nixos
<nix_newb> hello, i get no disk space available during nixos-install
<jtojnar> hyphon81: I am getting a different errors from tests https://paste.gnome.org/pifmn6rl7
<nix_newb> i am booting from usb
<hyphon81> jtojnar: Now, I pushed fixed codes and checks have passed.
Acou_Bass has joined #nixos
<jtojnar> hyphon81: oh, I was talking about cupy tests
<jtojnar> will check the chainer
asuryawanshi has joined #nixos
Acou_Bass has quit [(Ping timeout: 265 seconds)]
<nix_newb> nvm, i had to bump the size of tmpfs on /nix/.rw-store
nix_newb has quit [(Quit: Page closed)]
theseriousadult has joined #nixos
<hyphon81> jtojnar: It seems to occur error on CUDA. For example, I see this type error when NVIDIA graphic card is missed. https://paste.gnome.org/pifmn6rl7
<yrashk> jtojnar: the substituteAll approach worked well enough, thank you so much :)
<jtojnar> hyphon81: that will probably be an issue in sandboxed builds
<fearlessKim[m]> loke: http://stesie.github.io/2016/08/nixos-custom-keyboard-layout might give you some hindsight
<loke> fearlessKim[m]: Thanks!
ixxie has joined #nixos
leat has joined #nixos
verite has quit [(Ping timeout: 265 seconds)]
adamCS has quit [(Ping timeout: 268 seconds)]
aarvar has joined #nixos
adamCS has joined #nixos
<hyper_ch> who has op rights here?
orivej has quit [(Ping timeout: 260 seconds)]
Leo` has quit [(Ping timeout: 240 seconds)]
the-kenny has quit [(Ping timeout: 256 seconds)]
orivej has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix opened pull request #33125: coreutils: 8.28 -> 8.29 (staging...coreutils-8.29) https://git.io/vbF8V
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbF89
<NixOS_GitHub> nixpkgs/master e820787 Miguel Madrid Mencía: git-cola: 2.11 -> 3.0
<NixOS_GitHub> nixpkgs/master 53c2210 Jörg Thalheim: Merge pull request #33117 from mimadrid/update/git_cola-3.0...
NixOS_GitHub has left #nixos []
deepfire has joined #nixos
jtojnar has quit [(Ping timeout: 272 seconds)]
<neonfuz> what package is the adwaita theme in?
asuryawanshi has joined #nixos
nschoe has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
tmaekawa has joined #nixos
nevermind has joined #nixos
theseriousadult has quit [(Quit: Leaving)]
nevermind is now known as Guest73583
jtojnar has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
Guest73583 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
the-kenny has joined #nixos
Itkovian has joined #nixos
aloiscochard has joined #nixos
Yotam_ has joined #nixos
<Yotam_> After I'm use nix-build on a stack project, how can I run the executable?
phreedom has quit [(Ping timeout: 264 seconds)]
Leo` has joined #nixos
orivej has quit [(Ping timeout: 256 seconds)]
<Ralith> gnome3.gnome_themes_standard I think
Yotam__ has joined #nixos
phreedom has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #33126: ocamlPackages.notty: 0.1.1a -> 0.2.1 (master...ocaml-notty-0.2.1) https://git.io/vbFB9
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
Yotam_ has quit [(Ping timeout: 264 seconds)]
<jtojnar> neonfuz: gtk3
MP2E has quit [(Remote host closed the connection)]
<jtojnar> it is built-in
nevermin_ has joined #nixos
nevermin_ has quit [(Ping timeout: 240 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
<neonfuz> ah, thanks lol
<infinisil> Yotam__: It should be in ./result/bin
<Yotam__> infinisil: thanks!
bbsl has joined #nixos
<infinisil> Which seems a lot simpler than the thing done in that blogpost
<loke> infinisil: Thanks. I'm still here :-)
<infinisil> loke: oh and if you're not using home-manager, that line would go into extraSessionCommands or something like that (~/.profile would work too i think)
<loke> infinisil: I'm not using home-manager. At least I don't think so. I'm just starting out with nixos :-)
nix_newb has joined #nixos
<nix_newb> hello what's the recommended way to mount a luks encrypted non-critical partition on user login?
<infinisil> loke: I see. Yeah home-manager is separate from nixos, but it's using the nixos module system to let you manage your $HOME files, packages and services https://github.com/rycee/home-manager
<loke> infinisil: I see. I don't think I need that. :-)
<loke> At least not for now.
<infinisil> nix_newb: You might be able to do it with `fileSystems.<name?>.options = [ "x-systemd.before=multi-user.target" ];`
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<infinisil> nix_newb: See `man systemd.mount` and `man systemd.unit` for more info
ottidmes has joined #nixos
<nix_newb> infinisil: so i should delete the entry from luks.devices and filesystems.devices?
thc202 has joined #nixos
07IAB9G2Q has joined #nixos
<07IAB9G2Q> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbF0E
<07IAB9G2Q> nixpkgs/master c82b52d Will Dietz: chkrootkit: 0.51 -> 0.52
<07IAB9G2Q> nixpkgs/master 4000e6b Jörg Thalheim: Merge pull request #33121 from dtzWill/update/chkrootkit-0.52...
07IAB9G2Q has left #nixos []
7ITAADGDB has joined #nixos
<7ITAADGDB> [nixpkgs] Mic92 closed pull request #33121: chkrootkit: 0.51 -> 0.52 (master...update/chkrootkit-0.52) https://git.io/vbFUx
7ITAADGDB has left #nixos []
<nix_newb> infinisil: shouldn't i get grub prompt for it ? I don't get any such prompt right now
<infinisil> nix_newb: not sure how it combines with luks, but this mount option can do something like you want i think
<infinisil> nix_newb: a grub prompt for what?
<nix_newb> infinisil: how would i get the prompt for password?
<infinisil> nix_newb: Ohh it doesn't work at all?
<nix_newb> yeah right now i have a lvm luks partition, and it times out during boot process
<nix_newb> it isn't the root partition but mountpoint is /something
<infinisil> nix_newb: what's your configuration.nix and co?
<nix_newb> autogenerated boot.initrd.luks.devices."encrypted".device = "/dev/disk/by-uuid/XXX"
<LnL> infinisil: did you figure out your recursion issues?
<infinisil> LnL: I did not, given up on it for now
orivej has joined #nixos
<nix_newb> fileSystems."/encrypted" = { device = "/dev/disk/by-uuid/XXX", fsType = "ext4" }
<infinisil> nix_newb: did you add the fileSystems."/encrypted" yourself?
<nix_newb> no it's auto generated
<infinisil> encrypted devices are accessible on /dev/mapper/<name> so not sure why that was generated
<nix_newb> infinisil: i mounted it on /mnt before install
<nix_newb> named it the "encrypted"
<nix_newb> maybe i need to set preLVM false?
<infinisil> nix_newb: So you did `cryptsetup luksOpen /dev/disk/by-uuid/XXX encrypted` and `mount /dev/mapper/encrypted /encrypted` before running nixos-generate-config?
<nix_newb> infinisil: yes
<infinisil> nix_newb: preLVM is true by default
<nix_newb> infinisil: right but my partition is a lvm partition
<infinisil> oh, and you did the lvm steps too for mounting?
<nix_newb> infinisil: yes
<infinisil> wait so you have luks /under/ lvm?
<nix_newb> right luks on top of lvm
<infinisil> then preLVM might be needed, have never used it so not sure
<nix_newb> okay i will test it, thanks
<nix_newb> brb
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #33128: qsyncthingtray: build with native browser to allow for Qt > 5.6 (master...u/qst) https://git.io/vbFEn
NixOS_GitHub has left #nixos []
proteus-guy has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbFEB
<NixOS_GitHub> nixpkgs/master d01f053 Kai Harries: nitrokey-app: 1.1 -> 1.2
<NixOS_GitHub> nixpkgs/master f80200e adisbladis: Merge pull request #33112 from KaiHa/nitrokey-1.2...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #33129: ghc: wire up new binary ghc for bootstrapping (master...ghc-binary-boot-pkgs) https://git.io/vbFEg
NixOS_GitHub has left #nixos []
nix_newb has quit [(Ping timeout: 260 seconds)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbFEy
<NixOS_GitHub> nixpkgs/master 6674e34 John Wiegley: Xaw3d: 1.6 -> 1.6.2...
<NixOS_GitHub> nixpkgs/master da09b6b adisbladis: Merge pull request #33119 from jwiegley/Xaw3d-fix...
NixOS_GitHub has left #nixos []
roberth has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
simukis has quit [(Quit: simukis)]
Ivanych has quit [(Remote host closed the connection)]
coot_ has joined #nixos
Ivanych has joined #nixos
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 252 seconds)]
m0rphism has quit [(Quit: WeeChat 1.9.1)]
bbsl has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbFuN
<NixOS_GitHub> nixpkgs/master 8ab993a adisbladis: firefox-beta-bin: 58.0b9 -> 58.0b13
<NixOS_GitHub> nixpkgs/master 71f677d adisbladis: firefox-devedition-bin: 58.0b11 -> 58.0b13
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
FRidh has joined #nixos
Orbstheorem has quit [(Remote host closed the connection)]
<loke> I'm trying to create a nixfile for the latest Emacs from Git, and I'm having some issues... I have ended up with two questions: 1) What is the difference between ‘dependencies’, ‘buildInputs’ and ‘nativeBuildInputs’? 2) I need to add a build dependency on libXpm, but when I add that to ‘buildInputs’ I'm getting an error: “undefined variable ‘libXpm’ as /etc/nixos/emacs.nix”
<loke> s/as/at/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #33130: firefox: 57.0.2 -> 57.0.3, firefox-esr: 52.5.2esr -> 52.5.3esr (master...firefox-bin-57.0.3) https://git.io/vbFzk
NixOS_GitHub has left #nixos []
proteus-guy has joined #nixos
pcarrier has quit [(Ping timeout: 255 seconds)]
Acou_Bass has joined #nixos
mgdelacroix has quit [(Read error: Connection reset by peer)]
thoughtpolice has quit [(Read error: Connection reset by peer)]
nand0p has quit [(Ping timeout: 255 seconds)]
mgdelacroix has joined #nixos
nand0p has joined #nixos
thoughtpolice has joined #nixos
pcarrier has joined #nixos
vidbina has joined #nixos
Orbstheorem has joined #nixos
<Orbstheorem> Hello, I have a command, call it cmd\_a. cmd\_a wants to read /etc/some/file, call it file\_a. file\_a contains secrets and I'd like to avoid creating it. Is there anyway to “mask” file\_a with a fd (or a tmpfile) so that only cmd\_a can ever access this data? Ideally, I'd like to run something like
<Orbstheorem> ```
<Orbstheorem> fmasking file\_a =(pass show some/data/file) -- cmd\_a "some params" "some other params"
<Orbstheorem> ```
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/53c2210812a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
aarvar has quit [(Ping timeout: 272 seconds)]
nslqqq1 has quit [(Ping timeout: 248 seconds)]
ssmike has joined #nixos
willprice has joined #nixos
<infinisil> loke: you'll want to put that in buildInputs indeed, but the attribute might be a bit different *looks for it*
nslqqq has joined #nixos
<infinisil> loke: Ah it should be libXpm, but you need to add it to the arguments at the top
<loke> infinisil: I looked at the "official" emacs build nixfile, and they do specify libXpm explicitly in it
<loke> infinisil: But I'm confisued why I'm getting an error when I try to use the same one. Do I need to perform some magic in order to get libXpm defined?
<infinisil> loke: Can you show your nix file?
<loke> infinisil: What arguments at the top?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 8 new commits to master: https://git.io/vbFgI
<NixOS_GitHub> nixpkgs/master 9cf561a Klaas van Schelven: googleapis_common_protos: init at version 1.5.3
<NixOS_GitHub> nixpkgs/master 388c119 Klaas van Schelven: google_auth: init at 1.2.1
<NixOS_GitHub> nixpkgs/master df69f44 Klaas van Schelven: grpcio: init at 1.7.3
NixOS_GitHub has left #nixos []
<loke> infinisil: Sure... Hang on a sec.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #32890: google-cloud-speech: init at 0.30.0 (master...google-cloud-speech) https://git.io/vbMP9
NixOS_GitHub has left #nixos []
<willprice> I'm following along the nix-pills tutorial series and I've come across an issue building gnu-hello where `ar` isn't found, it seems that this is included in `binutils-unwrapped` but not `binutils`, what is the difference between these two packages?
<loke> infinisil: Oh wait...
<loke> infinisil: There. Latest revision.
<loke> infinisil: That one gives me an error because libXpm isn't defined.
tmaekawa has quit [(Quit: tmaekawa)]
vidbina has quit [(Quit: leaving)]
Acou_Bass has quit [(Read error: Connection reset by peer)]
<infinisil> loke: Oh haha, it's xorg.libXpm
<infinisil> loke: The xorg packages are all under the xorg attribute
<loke> infinisil: Oh wow. How could I figure that out?
Acou_Bass has joined #nixos
<loke> I don't want to ask here every time I get stuff with something like that.
<infinisil> loke: `nix-env -qaP | fzf`
<infinisil> well the fzf is not needed, but very much convenient, i recommend its installation
<loke> what is it?
<loke> Never heard of fzf before.
<willprice> loke, fuzzy list searcher, super handy https://github.com/junegunn/fzf
<infinisil> Oh and actually, there's libxpm on top-level, which is a newer version for me, not sure what that's about
<loke> willprice: When it comes to installing such things, should I add them to the main package list in the configuration.nix file, or should I just to a local nix-env -i whatever?
<loke> What's the difference between these two methods?
<loke> (other than the latter being local to a user)
<LnL> configuration.nix is atomic and updates automatically
<infinisil> loke: well the first is declarative, the second imperative. the first one you can rollback, the second one you lose if you reinstall the system
<LnL> err declarative I mean
<loke> I see.
<infinisil> loke: There's also `nix-shell -p fzf --run fzf` which just runs fzf without installing it at all, really useful for trying things out
<infinisil> loke: so you could do `nix-env -qaP | nix-shell -p fzf --run fzf`
Leo` has quit [(Ping timeout: 240 seconds)]
<infinisil> willprice: (not sure if you saw my message for you)
Leo` has joined #nixos
<akfp> how can I specify kernel module parameters in the config?
<willprice> infinisil, thanks, I'm still trying to figure out what the difference is by looking at that code :/
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<infinisil> akfp: boot.kernelParams I think
<akfp> so I guess there's some syntax for converting from /etc/modprobe.d/whatever config to kernel parameters..
<infinisil> willprice: It seems to have something to do with cross-compilation, actually not sure myself. It could be that `ar` is available in another package
<akfp> right.. just prefix with <modulename>.
<willprice> infinisil, strange as `ar` is a fairly fundamental utility for compilation regardless of cross-compilation. I don't see why it shouldn't be in all of the binutils packages
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<infinisil> willprice: Oh actually, it's in `stdenv`!
orivej has quit [(Remote host closed the connection)]
<willprice> infinisil, how'd you mean? `ar` is packaged separately?
<infinisil> willprice: It should just be available without including any packages assuming you're using stdenv.mkDerivation
hyphon81 has quit [(Read error: Connection reset by peer)]
<infinisil> I think
ssmike has quit [(Remote host closed the connection)]
<willprice> infinisil, ah that's the catch, I'm following the nix-pills series which gets you writing a simple version of mkDerivation yourself, so the docs (in nix-pills) need to be corrected so that `ar` is available.
ssmike has joined #nixos
<infinisil> Yeah probably
<LnL> willprice: the stdenv in nixpkgs is what contains the generic builder, that makes a bunch of stuff a lot easier
<LnL> willprice: in practice derivation is never used directly, the pills just show how it works internally
<infinisil> willprice: can you link me to the section?
<willprice> LnL, sure, but I'm just trying to follow the series at the moment (and submitting PRs to fix the out of date bits)
<willprice> infinisil, https://nixos.org/nixos/nix-pills/generic-builders.html notably the line `inherit gnutar gzip gnumake gcc binutils coreutils gawk gnused gnugrep;` which does not provide an environment with `ar`
orivej has joined #nixos
<infinisil> I see, hmm, not sure why binutils doesn't have ar
<LnL> ah, well without the stdenv it should probably be the unwrapped version, binutils.binutils
<willprice> LnL, awesome, I'll submit a PR with a fix
asuryawanshi has quit [(Remote host closed the connection)]
<LnL> and maybe also stdenv.cc.cc instead of gcc
asuryawanshi has joined #nixos
<willprice> LnL, what makes binutils wrapped?
<infinisil> Hmm, `nix-shell -p binutils --pure --run "ar --version"` works though
<LnL> with -p you're in a stdenv.mkDerivation
<infinisil> oh right
<willprice> LnL, switching from binutils to binutils-unwrapped solves the issue
rsa has quit [(Ping timeout: 248 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
sary has quit [(Ping timeout: 252 seconds)]
sary has joined #nixos
ixxie has joined #nixos
arianvp2 has joined #nixos
arianvp2 has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 240 seconds)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
sary has quit [(Ping timeout: 272 seconds)]
iyzsong has joined #nixos
mkoenig has joined #nixos
orivej has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mrVanDalo opened pull request #33132: vcvrack: init at 0.5.1 (master...feature/vcvrack) https://git.io/vbFVe
NixOS_GitHub has left #nixos []
rsa has joined #nixos
nix_newb has joined #nixos
<nix_newb> hello, i am trying to run firefox nightly that i downloaded off their website
<nix_newb> i get no such file/directory
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #32387: buildkite: allow configuration and actual use of agent-specific hooks (release-17.09...buildkite-hook-configuration) https://git.io/vbccz
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar opened pull request #33133: Buildkite build-hook option (master...buildkite-master) https://git.io/vbFVj
NixOS_GitHub has left #nixos []
warrickmacmillan has joined #nixos
raynold has quit [(Quit: Connection closed for inactivity)]
warrickmacmillan has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar closed pull request #33133: Buildkite build-hook option (master...buildkite-master) https://git.io/vbFVj
NixOS_GitHub has left #nixos []
<tilpner> nix_newb - Unpatched binaries don
<tilpner> ...'t usually work on NixOS
<nix_newb> tilpner: ah, so how do i patch it?
<tilpner> nix_newb - You can run them in an FHS-compliant chroot, with e.g. steam-run, patch the binary with patchelf, or use a Nix-packaged Firefox version
<tilpner> nix_newb - If all you care about are Firefox nightlies, look at Mozillas firefox overlay: https://github.com/mozilla/nixpkgs-mozilla
sary has joined #nixos
<nix_newb> tilpner: how do i patch using patchelf? what am i looking to patch in the binary? the dll path?
<tilpner> nix_newb - You're not actually meant to do that manually, it will be tedious and fragile. You would start setting the interpreter path (which will resolve the file not found error), and then provide all required libraries
<tilpner> nix_newb - Depending on the application, there might be a few more hardcoded paths, e.g. in configuration files. I'm not familiar with patching Firefox binaries, and I don't advise you try doing that
<nix_newb> okay, so do you use the overlay?
<nix_newb> this might be a problem if i have to run some proprietary binaries :(
<tilpner> No, I use firefox-beta-bin from nixos-unstable
<tilpner> Proprietary binaries don't have to be patched, I already mentioned the FHS chroot
<Yaniel> anyone been able to run matlab on nixos?
<nix_newb> tilpner: can i cherry pick packages from unstable channel?
<tilpner> nix_newb - Yes
<tilpner> nix_newb - That doesn't require using git manually, you can mix packages from different channels without a local nixpkgs checkout
<nix_newb> so do i mention it in configuration.nix? can i get an example?
<tilpner> LnLs example works too. I was going to write up an example using users.users.*.packages and fetchTarball instead of channels :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hrdinka pushed 2 new commits to master: https://git.io/vbFwQ
<NixOS_GitHub> nixpkgs/master d1bfa7e Christoph Hrdinka: nvidia-x11: add libelf to buildInputs...
<NixOS_GitHub> nixpkgs/master a3c45b3 Christoph Hrdinka: bbswitch: add libelf to buildInputs...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #33134: sway: 0.15.0 -> 0.15.1 (master...sway) https://git.io/vbFwh
NixOS_GitHub has left #nixos []
<infinisil> I'm thinking about creating a simple IRC bot for here for setting commands for common scenarios such as using a package from unstable or the callPackage thing
<infinisil> (that's a bit much "for"'s in a row)
ma27 has joined #nixos
<nix_newb> thanks LnL tilpner ; there are some packages that are not updated in the repo, how do you guys deal with it? Maintain separate nix expressions?
<nix_newb> for e.g. i use keybase encrypted git, but nixos provide keybase is out-of-date
<nix_newb> tilpner: also can you show that example please? it might be useful in future.
<nix_newb> i haven't finished the nix manual tbh.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #33135: gtksourceview: run checks on Linux only (master...gtksourceview-check) https://git.io/vbFrn
NixOS_GitHub has left #nixos []
<infinisil> nix_newb: something like this: https://git.io/vbFr0
<infinisil> (there's 2 ways to do it, both are in that nix link)
pie_ has joined #nixos
pkill9 has joined #nixos
sary has quit [(Ping timeout: 252 seconds)]
<gchristensen> -18F / -23C out there :X
hyphon81 has joined #nixos
<LnL> whoa
<nix_newb> infinisil: thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hrdinka pushed 1 new commit to master: https://git.io/vbFrj
<NixOS_GitHub> nixpkgs/master 47a71e9 Christoph Hrdinka: pg_tmp: init at 2.3...
NixOS_GitHub has left #nixos []
<globin> Isorkin: https://github.com/NixOS/nixpkgs/pull/32928/commits/56bb935487bbdb62d7f84b417028d924dbcd03f9 I don't see a real benefit in this, is there a special reason for this?
<nix_newb> why is nixpkgs.config.allowUnfree not working?
<Isorkin> no, need remove?
<Dezgeg> I think those 'series' files are used for quilt
<Isorkin> globin: remove commit
pie_ has quit [(Ping timeout: 250 seconds)]
pie_ has joined #nixos
<globin> Isorkin: thanks :) I'll go throught the rest of your commits today and fix up the rest then the whole mariadb 10.2 PR should be ready :)
orivej has joined #nixos
<infinisil> nix_newb: what exactly is not working
<infinisil> nobody can help without any information on the problem
<gchristensen> infinisil: perhaps you'd like to add messages to !factoids
<gchristensen> !factoids
<{^_^}> Have a helpful Nix factoid? Send a PR! https://github.com/grahamc/ofborg/blob/released/factoids.toml
<nix_newb> infinisil: i added unstable channel and firefox-beta-bin is unFree but the configuration allowUnfree doesn't seem to work
<infinisil> gchristensen: Oh nice. But I thought more of something dynamic. E.g. `!facts foobar Some fact about foobar` to have a fact about foobar
<infinisil> nix_newb: how are you trying to install it
<gchristensen> thus far the volume of factoids being created has been so low I'm not sure the dynamic effort is worthh it
<nix_newb> in configuration.nix
asuryawanshi has quit [(Ping timeout: 272 seconds)]
<nix_newb> i have the let unstable = import <nixos-unstable>{};
<infinisil> gchristensen: Maybe it's the other way around: because it's not dynamic, not many factoids have been created :)
<infinisil> I know #emacs has such a dynamic bot
<gchristensen> infinisil: let's take this to #nixos-borg?
<infinisil> and it seems to work pretty well over there
pie_ has quit [(Ping timeout: 248 seconds)]
<Isorkin> globin: mariadb 10.1 completely need to delete?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbFK2
<NixOS_GitHub> nixpkgs/master 907face adisbladis: qt5: Add qtvirtualkeyboard submodule
<NixOS_GitHub> nixpkgs/master 5630781 adisbladis: services.xserver.desktopManager.plasma5: add qtvirtualkeyboard to systemPackages
NixOS_GitHub has left #nixos []
<LnL> nix_newb: you'll want import <nixos-unstable> { allowUnfree = true; } in that case
<LnL> or import <nixos-unstable> config.nixpkgs; that might also work
boothead has joined #nixos
<nix_newb> LnL: makes sense; thanks
<globin> Isorkin: we don't need it anymore, I've changed the mysql57 build to include libmysqld.a in a seperate output fixing the amarok builds
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33115: plasma5: add qtvirtualkeyboard support (master...plasma/virtualkeyboard) https://git.io/vbdh0
NixOS_GitHub has left #nixos []
<boothead> Hi All, has something changed in how haskell packages are generated? You used to be able to override versions with package = super.package_N_N but the underscore versions no longer work..
goibhniu has joined #nixos
<Isorkin> globin: can someone do not want to move mariadb 10.2
<infinisil> boothead: you could do a git bisect to find the commit that broke it and then see its PR
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3aec59c99ff (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
pie_ has joined #nixos
<globin> Isorkin: if we receive a special request for that we might bring it back, but generally we don't keep old versions around :)
<boothead> infinisil: it's more a case of wanting to know the new way to do things
<Yotam__> When using nix-build, how can I add ncurses to it for intero to use?
<Isorkin> globin: ok. Is it possible to make libressl by default in mariadb?
<infinisil> boothead: Well you'll probably find out about the new way to do things when you find the commits and PR. Would be faster if somebody here knew though :)
zarel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 6 new commits to mariadb-10.2: https://git.io/vbFiJ
<NixOS_GitHub> nixpkgs/mariadb-10.2 79b3355 Izorkin: lisp-modules: mysql -> mysql.connector-c
<NixOS_GitHub> nixpkgs/mariadb-10.2 d4932aa Izorkin: mariadb: remove broken link file rcmysql
<NixOS_GitHub> nixpkgs/mariadb-10.2 39f1b3b Robin Gloster: mysql module: cleanup obsolete checks
NixOS_GitHub has left #nixos []
<gchristensen> infinisil: or if such a thing was documented :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33134: sway: 0.15.0 -> 0.15.1 (master...sway) https://git.io/vbFwh
NixOS_GitHub has left #nixos []
<boothead> gchristensen: documentation would ruin all the fun. This is character building :-)
<gchristensen> boothead: you must be a true NixOS Community Member
<gchristensen> this community has lots of Built Character ;)
<boothead> Nothing is as character building as having to use windows for $day-job ;-)
<globin> Isorkin: why would you want to do that? we agreed at some point ~2 years ago that we use openssl by default if there is now special reason and you can always override openssl = libressl with the penalty of having to rebuild everything depending on it :)
<Isorkin> globin: ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to mariadb-10.2: https://git.io/vbFi4
<NixOS_GitHub> nixpkgs/mariadb-10.2 7de40c8 Robin Gloster: redland: use connector-c
NixOS_GitHub has left #nixos []
<makefu> PSA: Today at 17:00 there will be a NixOS Meetup at the 34c3, maintainers and users will be there
<gchristensen> makefu: where within 34c3?
<gchristensen> (I'm assuming 34c3 is big enough to not just be "at 34c3")
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hrdinka pushed 3 new commits to master: https://git.io/vbFib
<NixOS_GitHub> nixpkgs/master 0269438 Christoph Hrdinka: nsd: add configFile parameter...
<NixOS_GitHub> nixpkgs/master f00c17e Christoph Hrdinka: nsd: 4.1.16 -> 4.1.19...
<NixOS_GitHub> nixpkgs/master 3e14b28 Christoph Hrdinka: nsd module: make use of NSDs configFile option...
NixOS_GitHub has left #nixos []
ma27 has quit [(Ping timeout: 272 seconds)]
ma27 has joined #nixos
jb55 has joined #nixos
orivej has quit [(Ping timeout: 276 seconds)]
<gchristensen> !unfree
<{^_^}> You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ#How_can_I_install_a_proprietary_or_unfree_package.3F
<gchristensen> makefu: ^ thanks!
Neo-- has joined #nixos
<makefu> :D
pie_ has quit [(Ping timeout: 250 seconds)]
<gchristensen> I quite prefer the factoids that link to wiki article
Yotam__ has quit [(Quit: Leaving)]
<manveru> gchristensen: at the NixOS assembly table
<> changed the topic of #nixos to: gchristensen has changed topic for #nixos to: "NixOS Assembly at 34c3: meet maintainers and users at 17:00 || Need help? Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin"
<gchristensen> how is that, manveru
<manveru> looking good :)
gxt has quit [(Ping timeout: 272 seconds)]
gxt has joined #nixos
globin has quit [(Quit: o/)]
<jtojnar> gchristensen: did you need me yeserday?
tnks has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jluttine opened pull request #33136: yle-dl: 2.28 -> 2.30 (master...update-yle-dl) https://git.io/vbF1e
NixOS_GitHub has left #nixos []
globin has joined #nixos
KarelWDingeldey[ has joined #nixos
globin has quit [(Client Quit)]
<zarel> and when the 34c3 is over we'll organize to meet at FOSDEM, right? right? :-D
sigmundv has quit [(Ping timeout: 264 seconds)]
globin has joined #nixos
<gchristensen> jtojnar: hi, is there a place you know of documenting things like " I installed gnumetric and needed gnome3.gconf and evince to fix some issues (saving config changes and previewing respectively)" ? this is some feedback I got from a coworker
<la_putin> can ld.so be used to print the interpreter?
ylwghst has joined #nixos
<la_putin> or does only patchelf have the ability to print the interpreter
m0rphism has joined #nixos
<KarelWDingeldey[> Hi, does anyone have exim deployed via nixos?
<KarelWDingeldey[> Exim uses ${xyz} syntax in its config.
<jtojnar> gchristensen: I would consider both a bug
<KarelWDingeldey[> I'm struggling with escaping these. Nix complains that it can't find the vars.
<jtojnar> gchristensen: the first https://github.com/NixOS/nixpkgs/issues/11239
<KarelWDingeldey[> I read in the nix manual that they can be escaped with '' - doesn't work properly though.
<KarelWDingeldey[> Any ideas, hints?
<jtojnar> gchristensen: the preview is troubling since there is a circular dependency between gtk and evince
<gchristensen> KarelWDingeldey[: they can be escaped with ''. can you show how you're trying to escape them?
<gchristensen> jtojnar: indeed...
r3s1stanc3 has joined #nixos
* KarelWDingeldey[ sent a long message: KarelWDingeldey[_2017-12-28_14:16:47.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/saoGJnLEGUPFxMTqKNyivEOl>
<r3s1stanc3> hi there
<gchristensen> KarelWDingeldey[: and what do you want to come out of that?
<KarelWDingeldey[> In the exim.conf I want it to appear as:
<KarelWDingeldey[> dkim_domain = ${lc:${domain:$h_from:}}
<KarelWDingeldey[> If I escape all occurances like this, nix complains about missing end-brackets.
<r3s1stanc3> i'm trying to install nixos on an ovh server using this tutorial: https://chris-martin.org/2015/installing-nixos. i've downloaded nixos minimal-17.09.2378.af7e47921c4-x86_64 but whem running `nixos-install`, i get the following error: `error: changing modification time of '/nix/store/.../lib/libseccomp.so': Read-only file system`
<r3s1stanc3> are there any known reasons for this?
<gchristensen> KarelWDingeldey[: I suspect you're missing one, maybe.when I use your literal example, it works fine, it comes out as "dkim_domain = ${lc:${domain:$h_from:}}\n"
ylwghst has quit [(Read error: Connection reset by peer)]
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.9.1)]
boothead has quit [(Quit: Page closed)]
sigmundv has joined #nixos
<KarelWDingeldey[> Just double-checked. Haven't missed a single one.
FRidh has quit [(Remote host closed the connection)]
cement has quit [(Ping timeout: 252 seconds)]
<gchristensen> would you mind pasting more of your config?
orivej has joined #nixos
<KarelWDingeldey[> Ok, I have to apologise. I just tried to narrow it down by only leaving the one line in the config - didn't work. I removed even the one line and it still doesn't work.
<KarelWDingeldey[> I was certain it's the exim part that's causing the issues, but I must have missed a bracket somewhere else.
<gchristensen> ok, then, can you paste your full config? something is funny here :)
<gchristensen> oh! okay
cement has joined #nixos
<NickHu> Is there a way to evaluate path strings like ${zlib.out} from nix-shell or something?
<NickHu> So I can see where they are pointing to
<tokudan[m]> Nick Hu: nix-build -A zlib.out '<nixpkgs>'
jrolfs has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] marsam opened pull request #33137: buildRustCrate: Set target_os to "macos" on darwin (master...feature/fix-build-rust-create-darwin) https://git.io/vbFDV
NixOS_GitHub has left #nixos []
<KarelWDingeldey[> Working like a charm now. 🙂Thank you gchristensen and everyone who is involved in NixOS - a great system!
<gchristensen> woohoo! so glad!
<KarelWDingeldey[> Only one thing: I just noticed that exim doesn't have ldap support.
<KarelWDingeldey[> Would I need to create my own package in order to get this built in?
<tokudan[m]> is there a nixos aassembly at 34c3?
<NickHu> tokudan: Thank you
sigmundv has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 260 seconds)]
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<infinisil> I'm still not quiet sure about Nix + Haskell. I'm having problems all the time. Cabal has dependency hell, and stack is a pain on Nix. And ghc-mod which I'm using to get some auto-completion and stuff crashes all the time and it's annoying ahhhhhh
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NickHu opened pull request #33138: fdr: 4.2.0 -> 4.2.3 (master...fdr) https://git.io/vbFys
NixOS_GitHub has left #nixos []
<avn> infinisil: `stack --nix build` works, cabal2nix works well, stack3nix works _sometimes_
<infinisil> I'm using stack --nix build for now because that's the only thing I know working. And I don't know how to properly write cabal files yet
<maurer> infinisil: I haven't poked it in a while, but just to check, when you tried stack, you tried it with the nixos integration features?
<maurer> Ah, yeah, see that you have
<infinisil> yeah, but it's horrible to build a nix derivation with this
<maurer> Writing cabal files is going to be required regardless of whether you're involving nixos...
<avn> infinisil: `stack new` create you more or less basic cabal file, and copy/paste from other .cabal's works ;)
sigmundv has joined #nixos
<infinisil> Hmm yeah
<infinisil> I'd like to use nix's cached haskell packages, and i think i need to use pure cabal for that and haskellPackages something
KarelWDingeldey[ has left #nixos ["User left"]
pie_ has joined #nixos
<maurer> Again, been a bit since I poked it, but when I was using stack + nixos, stack seemed to be able to use package caches as long as I was using the current default ghc
vidbina has joined #nixos
<maurer> and if you're having any issues with cabal dependencies, I'd strongly suggest sticking with stack as your build layer - it's already picking good defaults for a lot of package versions without you thinking about it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33136: yle-dl: 2.28 -> 2.30 (master...update-yle-dl) https://git.io/vbF1e
NixOS_GitHub has left #nixos []
pie_ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
<infinisil> maurer: I'm pretty sure stack downloads and builds everything on its own (well that's what stack --nix build does right now for me), or were you using some nix file with nix-build?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<maurer> Lemme find the project where I was doing it and try it
hyphon81 has quit [(Remote host closed the connection)]
rct has quit [(Ping timeout: 265 seconds)]
coot_ has quit [(Quit: coot_)]
orivej has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
rct has joined #nixos
pie_ has joined #nixos
<infinisil> I have a project that uses stack with a default.nix to build a derivation with $out/bin/executable
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<maurer> Hm, I can't seem to find what I had
<infinisil> but on every nix-build stack needs to download the build plan and build all dependencies
jrolfs has quit [(Ping timeout: 264 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
<infinisil> and sandboxing needs to be disabled to work
asuryawanshi has joined #nixos
<maurer> So, again, it's been a while, but my memory here is that stack worked a lot better if you invoked it directly rather than through nix-build
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<maurer> I wonder if there's any packages in nixpkgs which use stack
<maurer> If so they might have an example
coot_ has joined #nixos
<maurer> Are you using buildStackProject? (this function wasn't there when I messed with it before)
<infinisil> maurer: Yeah it does, but the problem is you can't build a derivation with the stack command, which you need to be able to deploy and install stuff
<infinisil> maurer: Yeah
<maurer> infinisil: Does your stack.yaml hardcode a ghc version? You could try that
<maurer> If you don't, it has to go ask the server what stacks exist to try to pick the best one
<maurer> which might be where you're getting wrecked
<maurer> Nvm, found it, you did set your resolver
<maurer> I have no clue, sorry
jrolfs has quit [(Ping timeout: 248 seconds)]
<infinisil> maurer: Also opened this issue: https://github.com/NixOS/nixpkgs/issues/32005
otherjrolfs has quit [(Ping timeout: 265 seconds)]
<maurer> infinisil: Yeah, I don't know the Right Way to deal with this - if you feel like hacking it to make it deterministic, I think that you may be able to tell stack to use an existing build plan (or it might even default to this if it's there)
iyzsong has quit [(Ping timeout: 265 seconds)]
<maurer> infinisil: So you could add the generated stack build plan to the source (I know, icky) similar to having a Cargo.lock file in rust
<infinisil> it'll still have download all dependencies, which is also not allowed
pie_ has quit [(Ping timeout: 255 seconds)]
<infinisil> maurer: I'd have to put every stack dependency to the source
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #33139: chrootenv: rewrite on top of GLib (master...20171228.053707/chrootenv) https://git.io/vbFSp
NixOS_GitHub has left #nixos []
<maurer> Using buildStackProject actually fetches through cabal rather than from nix?
<infinisil> maurer: Nope, it just calls stack
<maurer> ick
<infinisil> so that's why i'd like to use cabal and nix stuff
<maurer> Yeah, and I just remembered, we usually make haskellPackages match up with some stack lts package set I think
<maurer> which should make results of using cabal + nix similar?
<maurer> Good luck
oida has quit [(Ping timeout: 252 seconds)]
<schoppenhauer> hi. I am trying to use boost and cpp-netlib. but both packages are not providing a pkg-config configuration. is it possible to automatically detect the required cflags and libs that normally pkgconfig would yield?
nix_newb has quit [(Ping timeout: 260 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
pie_ has joined #nixos
<infinisil> maurer: Oh right, good point
pie__ has joined #nixos
<maurer> Software versioning is hard
jrolfs has quit [(Ping timeout: 248 seconds)]
pie_ has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
coot_ has quit [(Quit: coot_)]
<maurer> (I do think that crates.io took a step in the right direction by disallowing re-uploading of a package version - if you made a mistake, you bump the version number and "unpublish" the previous one. The previous one will still ship, but won't be selected by dependency solver algos)
ixxie has joined #nixos
pie_ has joined #nixos
jrolfs has joined #nixos
<la_putin> google hates meh ;-; i cant find anything on how to print elf header sections ;-;
pie_ has quit [(Remote host closed the connection)]
<maurer> la_putin: Try dumpelf, depending on what you mean
otherjrolfs has joined #nixos
<la_putin> in C
pie_ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
<maurer> In C, grab one of the elf.h files, mmap it in, and walk the data structure with appropriate bounds checks
leat has quit [(Quit: WeeChat 1.9.1)]
<maurer> But I feel like that's kind of out of scope for this channel >_>
<joepie91> maurer: that's also what npm does, fwiw
<joepie91> possibly other registries, too
<maurer> joepie91: That at least did not used to be true, given the "left pad" incident
<joepie91> maurer: the leftpad incident doesn't involve what you're describing :) what you're describing has been true for npm for a long time (cannot replace versions, only update and unpublish), but package deletion was a separate issue
<joepie91> it's absolutely impossible to directly replace a release on npm and this has been true for a long time
pie__ has quit [(Remote host closed the connection)]
<maurer> The difference is that unpublishing on crates.io still allows the package to be downloaded and used
pie__ has joined #nixos
<maurer> it just doesn't show up as a "good" choice to solvers and human readable text
<joepie91> relating to package deletion, there were iirc two issues; 1) a policy issue, where it was possible to delete a package *at all*, and 2) a technical issue, where it inadvertently allowed reuse of a now-freed package name when policy-wise it shouldn't have
<joepie91> maurer: hm, I'm actually not sure whether unpublished packages are technically still accessible on npm
<la_putin> im trying to impliment patchelf --print-interpreter
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<gchristensen> come on, la_putin, we've talked about this.
<la_putin> is there a C version of patchelf or is there only a C++ version
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<aminechikhaoui> la_putin: isn't that already implemented ?
<gchristensen> la_putin: #nixos isn't the place to discuss your project, as noted the last several times I've told you.
asuryawanshi has quit [(Remote host closed the connection)]
goibhniu1 has joined #nixos
<maurer> joepie91: I have no idea either (I have ideological differences with javascript), but the argument for keeping it accessible is that the code _was_ released under the license in the past, and the registry should not facilitate the removal of such unless there's a legal reason
<joepie91> maurer: just gave it a test, and an unpublished package no longer lists a tarball URL in the metadata, and the original tarball URL no longer works
orivej has joined #nixos
asuryawanshi has joined #nixos
goibhniu has quit [(Ping timeout: 256 seconds)]
<joepie91> maurer: I don't disagree, btw :P
<maurer> la_putin: Grab https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=elf/elf.h walk segments looking for PT_INTERP, grab the bytes
Arcaelyx has joined #nixos
<maurer> la_putin: I'd advise you though that if you can't find the relevant documentation on this yourself though, you may want to come back to this project later when you're more familiarized with things
<maurer> la_putin: binary patching will only get harder from here
{^_^} has quit [(Remote host closed the connection)]
oida has joined #nixos
{^_^} has joined #nixos
{^_^} has quit [(Changing host)]
{^_^} has joined #nixos
<joepie91> maurer: anyhow, good to know that crates.io handles this differently :)
<gchristensen> maurer: they're trying to reimplement Nix and have been here under other nicks too.
<domenkozar> slight offtopic
<domenkozar> how do I make tmux resize fully?
<domenkozar> aggressive-resize option doesn't work
<maurer> domenkozar: Normally C-b D -> disconnect all the other clients works for me
<domenkozar> I guess that's something terminal also has to implement
<maurer> gchristensen: Sorry, I wanted to at least point him in the right direction, but I'll refrain if it's been generating excess traffic
<domenkozar> maurer: how do I disconnect them?
<gchristensen> no worries maurer :)
<domenkozar> tmux new connect to existing session
<domenkozar> connects*
<maurer> domenkozar: C-b D will bring up a list of connected clients
<maurer> use up and down + enter to pick ones you want to disconnect
<maurer> (this assumes the problem is a "small" terminal you left connected)
<domenkozar> well that kills tmux on another workspace
<domenkozar> I want one tmux on each workspace
<domenkozar> not sharing session
<domenkozar> this used to work
<domenkozar> but recent tmux just merges sessions into one
<maurer> Oh, OK, I misunderstood
<maurer> I've always just named sessions, but I can see that only being a workaround for you
<domenkozar> even that merges them
<maurer> tmux new -s foobarbaz
<maurer> tmux new -s bazbarfoo
<maurer> produces linked sessions for you?
<maurer> If so, that's def. a bug
<domenkozar> I've opened with
<domenkozar> tmux new -s foo
<domenkozar> and it attaches it as you can see in the image
<domenkozar> it just nests sessions
<maurer> Weird
<domenkozar> maurer: that's your tmux -V
<maurer> 2.2
<maurer> I'm on an old one
<domenkozar> ah, don't use 2.6 then
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
orivej has quit [(Ping timeout: 240 seconds)]
<maurer> I'm not seeing anything in the changelog that would explain this, so I'd go ask in #tmux if I were you
<maurer> maybe there's a reason, maybe it's a bug
cement has quit [(Ping timeout: 250 seconds)]
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
simukis has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
tekul has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
zorcon has joined #nixos
<zorcon> why do i get not output when running nix-env -q
<zorcon> shouldn't it list all installed packages?
<nixy> It lists all packages installed in your user profile
<zorcon> okay, how do i get system-wide package list?
leat has joined #nixos
<nixy> I'm not sure, but I think you'd have to use `nix-store --query` for that
nschoe has quit [(Ping timeout: 248 seconds)]
<Isorkin> globin: it is possible to add a plugin mariadb galera?
zorcon has quit [(Ping timeout: 260 seconds)]
Neo-- has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 2 new commits to master: https://git.io/vbF5H
<NixOS_GitHub> nixpkgs/master d545ef3 Shea Levy: hslib: Function to extract the haskell build inputs of a package....
<NixOS_GitHub> nixpkgs/master a7334eb Shea Levy: Merge branch 'hslib-haskell-build-inputs'
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy closed pull request #33012: hslib: Function to extract the haskell build inputs of a package. (master...hslib-haskell-build-inputs) https://git.io/vbQq7
NixOS_GitHub has left #nixos []
<globin> Isorkin: sure generally, I'd prefer if you'd open a new PR for that though, since I'll probably be merging the mariadb 10.2. PR today or tomorrow
<Isorkin> globin: I did not manage to build a package. build error
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to mariadb-10.2: https://git.io/vbFdv
<NixOS_GitHub> nixpkgs/mariadb-10.2 e98816c Robin Gloster: digikam: mysql is not needed in buildInputs
<NixOS_GitHub> nixpkgs/mariadb-10.2 a9646a5 Izorkin: grass: client -> connector-c
<NixOS_GitHub> nixpkgs/mariadb-10.2 0de00eb Robin Gloster: grass: 7.0.2 -> 7.2.2, fix build
NixOS_GitHub has left #nixos []
yegortimoshenko has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
goibhniu has joined #nixos
goibhniu1 has quit [(Ping timeout: 240 seconds)]
<edef> hey so
<edef> which of y'all are here at 34C3
<edef> i'm chilling at the haskell table (i'm the one with the rainbows)
zorcon has joined #nixos
<gchristensen> edef: there is/was a nixos assembly table at 17:00
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
<zorcon> i got dc'd, why my fonts are not being installed?
<zorcon> i specified x-font in configuration.nix but nix-env -qasP shows it is present but not installed?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
ssmike has quit [(Remote host closed the connection)]
nuncanada has joined #nixos
<nixy> Did you add it to environment packages or to fonts?
ssmike has joined #nixos
<zorcon> environment
<nixy> You need to put the package into `fonts.extraFonts' or `font.fonts` for it to be available
goibhniu has quit [(Ping timeout: 248 seconds)]
goibhniu has joined #nixos
<zorcon> do i need it in systemPackages still?
<nixy> I don't believe so. You may need to include pkgs though
<srhb> zorcon: Nope, you don't. :)
<nixy> `fonts.fonts = with pkgs; [ x-font ];`
<zorcon> okay thank you
ma27 has quit [(Quit: WeeChat 2.0)]
ma27 has joined #nixos
<zorcon> nixy: how do i make my ~/.fonts directory work with nix
bkchr has joined #nixos
<zorcon> fc-list doesn't work with it
<bkchr> Mic92: online?
<nixy> zorcon: Pretty sure you just need to use ~/.local/share/fonts
<nixy> I think ~/.fonts isn't being used anymore (though I could be wrong)
<adisbladis> bkchr: He is right next to me talking about overlays
<bkchr> adisbladis: Nice! Just wanted to know what he thinks about my latest changes to https://github.com/NixOS/nixpkgs/pull/32230
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<zorcon> nixy: you are right, it worked on my installations of other distros
<nixy> Your other distros probably weren't on the cutting edge of font packages
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to mariadb-10.2: https://git.io/vbFFo
<NixOS_GitHub> nixpkgs/mariadb-10.2 f6ac879 Izorkin: libdbiDrivers: fix config
<NixOS_GitHub> nixpkgs/mariadb-10.2 52003f3 Robin Gloster: php: clean up mysql/mariadb handling
<NixOS_GitHub> nixpkgs/mariadb-10.2 98ddc0a Robin Gloster: mysql57: backward compat...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar pushed 6 new commits to master: https://git.io/vbFFK
<NixOS_GitHub> nixpkgs/master 50a6403 hyphon81: maintainers: Add hyphon81
<NixOS_GitHub> nixpkgs/master 05573d3 hyphon81: nccl: init at 1.3.4-1
<NixOS_GitHub> nixpkgs/master a9379a6 hyphon81: pythonPackages.fastrlock: init at 0.3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #32928: mariadb: 10.2.9 -> 10.2.11 (mariadb-10.2...mariadb-10.2) https://git.io/vbyor
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #33123: pythonPackages.chainer: init at 3.2.0 (master...add/chainer-add) https://git.io/vbFsl
NixOS_GitHub has left #nixos []
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin force-pushed mariadb-10.2 from 98ddc0a to a584fbd: https://git.io/vFsJa
<NixOS_GitHub> nixpkgs/mariadb-10.2 69b4bcb Robin Gloster: mariadb: 10.1.26 -> 10.2.6
<NixOS_GitHub> nixpkgs/mariadb-10.2 1fe1516 Robin Gloster: mariadb: fix lib cycle and hash
<NixOS_GitHub> nixpkgs/mariadb-10.2 2da042b Robin Gloster: mariadb: lib -> connector-c
NixOS_GitHub has left #nixos []
gilligan_ has joined #nixos
jrolfs has quit [(Ping timeout: 268 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<gilligan_> how do I reference <nixpkgs/nixos/tests/make-test.nix> from a given `pkgs` argument? I mean, when I use <nixpkgs> that of course uses whatever my nixpkgs system path is set to
akaWolf has joined #nixos
<clever> gilligan_: pkgs.path + "/nixos/tests/make-test.nix"
<{^_^}> gilligan_: pkgs.path + "/nixos/tests/make-test.nix"
<gilligan_> clever, {^_^} thanks :)
<{^_^}> clever, {^_^} thanks :)
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
goibhniu has quit [(Ping timeout: 264 seconds)]
<marek> is there a tool for automatic nixos installations upon boot? I'm looking for something similar to Fedora Anaconda, where I build an bootable usb with instructions and all I have to do it to boot it up and it does the restore of the entire configuration automagically
<{^_^}> is there a tool for automatic nixos installations upon boot? I'm looking for something similar to Fedora Anaconda, where I build an bootable usb with instructions and all I have to do it to boot it up and it does the restore of the entire configuration automagically
goibhniu has joined #nixos
<LnL> gchristensen: whoa, the bot is asking questions now :D
<{^_^}> gchristensen: whoa, the bot is asking questions now :D
<yegortimoshenko> gchristensen: it went crazy!
<{^_^}> gchristensen: it went crazy!
<marek> {^_^}: {^_^}
<{^_^}> {^_^}: {^_^}
hotfuzz_ is now known as hotfuzz
<LnL> euh
<{^_^}> euh
* yegortimoshenko {^_^}
* {^_^} {^_^}
<clever> marek: i have something very similar
<{^_^}> marek: i have something very similar
<clever> marek: this is a nixos module, that pre-installs a bash script called justdoit into the nixos, and running that will just do it (wipe the hdd and install nixos)
<{^_^}> marek: this is a nixos module, that pre-installs a bash script called justdoit into the nixos, and running that will just do it (wipe the hdd and install nixos)
<yegortimoshenko> (; ̄Д ̄)
<{^_^}> (; ̄Д ̄)
<clever> marek: you then just need to generate a usb image with the justdoit.nix included in the imports
<{^_^}> marek: you then just need to generate a usb image with the justdoit.nix included in the imports
<zorcon> wtf is this bot copying others?
<{^_^}> wtf is this bot copying others?
<clever> yep
<{^_^}> yep
<LnL> gchristensen: grahamc: help!
<{^_^}> gchristensen: grahamc: help!
<marek> clever: thank you, that looks good!
<{^_^}> clever: thank you, that looks good!
<yegortimoshenko> it went rogue.
<{^_^}> it went rogue.
<marek> /quit
<{^_^}> /quit
<marek> ah:)
<{^_^}> ah:)
otherjrolfs has joined #nixos
Mateon3 has joined #nixos
ma27 has quit [(Quit: WeeChat 2.0)]
Mateon1 has quit [(Ping timeout: 256 seconds)]
Mateon3 is now known as Mateon1
<gchristensen> infinisil: please don't do that :)
<{^_^}> infinisil: please don't do that :)
jrolfs has joined #nixos
Myrl-saki has joined #nixos
<infinisil> Huh?
<Myrl-saki> How do I nix-shell the current project, + more packages?
<gchristensen> infinisil: you accidentally bound exchange-messages to queue-publish
<infinisil> Ahh haha
<infinisil> OHhh
<Myrl-saki> I guess technically, I can do nested nix-shell
<gchristensen> your permissions shouldn't allow for that... I'll try and figure out why it did.
<infinisil> I didn't even realize, I just saw my program running indefinitely
<infinisil> Lol
<infinisil> Sorry!
<gchristensen> sorry, everyone. some initial quirks... I'll see about a test environment that doesn't involve real channels :)
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<gilligan_> hrm.. still not working..
zorcon has quit [(Ping timeout: 260 seconds)]
<gilligan_> clever, `import (pkgs.path + "/nixos/tests/make-test.nix") ({ pkgs, ... }: { ...` <-- I assume the pkgs in ({ pkgs, ...}: should be the same pkgs that make-test was imported from? everything else seems weird.. right?
goibhniu has quit [(Ping timeout: 256 seconds)]
goibhniu has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oida opened pull request #33141: added 'An Anarchist FAQ' (AFAQ) package. (master...anarchism) https://git.io/vbFAV
NixOS_GitHub has left #nixos []
Vorpal has left #nixos ["Leaving"]
<yegortimoshenko> could someone explain why nixos doesn't ship with overlayfs? it has been merged into linux 3.18: https://github.com/torvalds/linux/commit/e9be9d5e76e34872f0c37d72e25bc27fe9e2c54c
<samueldr> what do you mean "ship"?
<samueldr> from /proc/config.gz CONFIG_OVERLAY_FS=m
<samueldr> on kernel 4.9, nixos 17.09
<yegortimoshenko> samueldr: $(ls /run/current-system/kernel-modules/lib/modules/*/kernel/fs/) doesn't have it, and i can't mount it (mount fails with "unsupported filesystem")
<samueldr> weird
<yegortimoshenko> modprobe unionfs also doesn't work, but i'm not sure that's the correct name of the module
<samueldr> ls /run/current-system/kernel-modules/lib/modules/*/kernel/fs/overlayfs | wc -l → 1
otherjrolfs has joined #nixos
<yegortimoshenko> samueldr: oh, right. i was speaking about unionfs the whole time...
<samueldr> oh
<samueldr> has it been merged into any linux revision?
tekul has quit [(Ping timeout: 264 seconds)]
<yegortimoshenko> samueldr: unfortunately, no...
<samueldr> mystery resolved then?
<yegortimoshenko> yes, thank you!
<yegortimoshenko> meaning, i'm stuck with overlayfs, but i'm not sure if it's flexible enough for chrootenv...
<samueldr> you did all the legwork!
orivej has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
FRidh2 has joined #nixos
coot_ has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<yegortimoshenko> orivej: does ibus work on rebuilt system? gi hook change probably caused a lot of rebuilding
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to mariadb-10.2: https://git.io/vbFxC
<NixOS_GitHub> nixpkgs/mariadb-10.2 2485a21 Robin Gloster: release-notes 18.03: add MariaDB update notes
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
jrolfs has quit [(Ping timeout: 265 seconds)]
<catern> Is there a convenient wrapper for fetching release tarballs from Github?
<Yaniel> fetchfromgithub allows specifying tags I think?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #33142: Semi automated emacs package updates (master...semi-automated-emacs-package-updates) https://git.io/vbFxS
NixOS_GitHub has left #nixos []
<yegortimoshenko> catern: no, there is no such wrapper
<catern> My real issue is that this project uses autotools, so I need to get the tarball after autoreconf has been run, so I can't just download directly from the tag - unless I add autoreconfhook to the Nix derivation
<catern> Which should I do, pull the release tarball which has the configure script genereated by autoreconf, or add autoreconfhook to the derivation?
<jtojnar> yegortimoshenko: could bubblewrap or something like that be used instead of chrootenv?
<yegortimoshenko> jtojnar: no, none of other tools solve the problem of stacking multiple roots on top of each other.
<yegortimoshenko> the part that is shared by bubblewrap, etc. is 10 lines of C code.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mbode opened pull request #33143: flink: 1.3.2 -> 1.4.0 (master...flink_1_4_0) https://git.io/vbFpw
NixOS_GitHub has left #nixos []
verite has joined #nixos
<yegortimoshenko> jtojnar: chrootenv is 140 lines of c code in the latest pull request, and it will probably be two times shorter when reimplemented on top of unionfs. we really don't need other tools.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] catern opened pull request #33144: Update supervise, supervise_api (master...master) https://git.io/vbFp5
NixOS_GitHub has left #nixos []
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
jduan has joined #nixos
<infinisil> test
raynold has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33142: Semi automated emacs package updates (master...semi-automated-emacs-package-updates) https://git.io/vbFxS
NixOS_GitHub has left #nixos []
markus1189 has joined #nixos
pie__ has quit [(Ping timeout: 240 seconds)]
zarel has quit [(Quit: Leaving)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
zarel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vbFhj
<NixOS_GitHub> nixpkgs/master 65138e8 Peter Simons: Revert "hslib: Function to extract the haskell build inputs of a package."...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vbFjt
<NixOS_GitHub> nixpkgs/master 695a026 Domen Kožar: ghc: wire up new binary ghc for bootstrapping...
<NixOS_GitHub> nixpkgs/master d54384b Peter Simons: Merge pull request #33129 from domenkozar/ghc-binary-boot-pkgs...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti closed pull request #33129: ghc: wire up new binary ghc for bootstrapping (master...ghc-binary-boot-pkgs) https://git.io/vbFEg
NixOS_GitHub has left #nixos []
truh has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33141: added 'An Anarchist FAQ' (AFAQ) package. (master...anarchism) https://git.io/vbFAV
NixOS_GitHub has left #nixos []
{^_^} has quit [(Remote host closed the connection)]
truh has quit [(Ping timeout: 265 seconds)]
{^_^} has joined #nixos
{^_^} has quit [(Changing host)]
{^_^} has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
tmaekawa has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
yegortimoshenko has quit [(Quit: Page closed)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
tmaekawa has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
atomicbeef has joined #nixos
<atomicbeef> hello
jrolfs has joined #nixos
<atomicbeef> I'm coming to NixOS from Arch so I'm still getting used to things
<atomicbeef> I was wondering why my .bashrc is only used in urxvt and not when I login through the console outside of X
<Yaniel> does anyone know how I can make meson find glm on in nix-shell?
<samueldr> atomicbeef: do you also have a .bash_profile file?
<atomicbeef> samueldr: no
<atomicbeef> so then it's a case of me not understanding the difference between login and nonlogin shells?
<samueldr> sorry for screencapping text, this is from `man bash` → https://stuff.samueldr.com/screenshots/2017/12/20171228142717.png
<samueldr> possibly
<samueldr> give me one minute
<samueldr> I'm gisting my .bash_profile
<atomicbeef> yeah I think that's it
<atomicbeef> I just checked on my Arch box
<atomicbeef> .bash_profile sources .bashrc
<samueldr> though, reading it back, my file may not fix your issue :S, as it fixes *another* issue
<samueldr> .*profile and .bashrc are a mess, imho
<atomicbeef> yeah I haven't touched bash configuration in a long time
jrolfs has quit [(Ping timeout: 240 seconds)]
<atomicbeef> I just set it up over a year ago and only ever changed a few lines
<LnL> yeah, all the conditions/ordering of those files is pretty confusing
<atomicbeef> thanks for the help with that
<samueldr> my profile has been set-up years ago, for those bashrc/profile discrepancies, and I'm always forgetting the exact specifics >.<
<atomicbeef> yeah that's exactly one of the reasons I wanted to try out NixOS
verite has quit [(Ping timeout: 264 seconds)]
<atomicbeef> so when I have to recreate something I don't spend hours trying to figure out how I solved a problem a year ago
m0rphism has joined #nixos
<LnL> I know some platforms explicitly load /etc/bashrc from /etc/profile maybe that's for a similar reason
b0b1 has joined #nixos
<atomicbeef> LnL: yup
<atomicbeef> arch does that
<samueldr> yeah, looked at my other files
<samueldr> updated the gist
<samueldr> my ~/.bashrc sources .profile is needed, my ~/.bash_profile source ~/.profile and then uses ~/.bashrc if needed... ugh
<atomicbeef> I just have my .bash_profile sourcing .bashrc
<samueldr> in bashrc I only have the stuff *for interactive sessions*, so no PATH manipulation, no environment manipulation, only setup stuf like prompt, term title
<atomicbeef> ah
<LnL> I think my bashrc is just a symlink :p
<samueldr> and in ~/.profile I have everything for the profile, etc, it is agnostic
<atomicbeef> see that's probably a more correct way of doing things
<samueldr> when I set it up a long time a go in a galaxy far away, setting up the mess of files sourcing each-others conditionally was the better solution
ssmike has quit [(Ping timeout: 255 seconds)]
<samueldr> it worked across macOS (née Mac OS X), different Linux distros and I even had a fling with FreeBSD
<samueldr> I think I may have used it under cygwin, too, but I try not to remember that
b0b1 has quit [(Client Quit)]
<samueldr> cygwin or even msys?
<atomicbeef> that's pretty portable
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<samueldr> if you're cautious enough, you may even make that ~/.profile compatible with other shells
<atomicbeef> I've only ever tried ZSH
<atomicbeef> didn't really do too much with it
<atomicbeef> I tend to stick with the default of whatever the OS I'm using is
<atomicbeef> so on Linux it's been bash
<samueldr> ah, I remember, I also have ~/.xsessionrc source ~/.profile so my graphical session has all my PATH and environment manipulation shenanigans
orivej has joined #nixos
b0b1 has joined #nixos
<b0b1> moin
<atomicbeef> I didn't even know ~/.xsessionrc existed
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
b0b1 has quit [(Client Quit)]
<jduan> question: are there books on nix? I've been reading articles online but I'd like to read a book about nix. Books offer a systemic understanding in general.
JazzyEagle has quit [(Ping timeout: 272 seconds)]
<atomicbeef> I'm experiencing some really weird behavior in vim
<LnL> not really, theres a nice series of blogposts
<LnL> !pills
<atomicbeef> whenever I backspace an indent in insert mode, I lose the ability to backspace anything in insert mode until I restart vim
<atomicbeef> must be my configuration because it doesn't happen with defaults
jb55 has joined #nixos
<LnL> that's the default behaviour of vim
ylwghst has joined #nixos
<atomicbeef> really?
<atomicbeef> when I run vim as root without any configuration the problem doesn't occur
<atomicbeef> here's my .vimrc: https://ptpb.pw/-9ai
<LnL> huh
<atomicbeef> I'm not sure if it's a plugin or not
<jduan> LnL: thanks! nix-pills isn't linked from https://nixos.org/nixos
<LnL> atomicbeef: set backspace=indent,start
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<atomicbeef> LnL: hmm
<atomicbeef> after setting that I can't backspace indents at all
<LnL> what about set nocompatible
<clever> atomicbeef: set backspace=indent,eol,start
<clever> i believe this is how i had fixed it
<atomicbeef> clever: thanks that fixed it
<LnL> huh, that's for newlines
<atomicbeef> I think I already had nocompatible set
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
jsgrant has joined #nixos
<LnL> btw you have a typo for <leader>gl
<atomicbeef> LnL: thanks!
<atomicbeef> this channel is super helpful
ylwghst has quit [(Remote host closed the connection)]
<LnL> :D
jeaye has quit [(Quit: WeeChat 1.9.1)]
<atomicbeef> how do you guys quickly search for packages on the commandline?
<atomicbeef> doing something like nix-env -qaP irssi takes about 5 seconds on my machine
<LnL> yeah that's pretty slow, nix-repl has tab completion
jeaye has joined #nixos
<LnL> and there's also nix-index for finding binaries, libs, etc.
<pkill9> there's also 'nox' which is supposed to be faster by caching the available packages list
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<atomicbeef> yeah I was wondering if something like nox existed
<atomicbeef> when I used gentoo searching for packages would be pretty slow too
<samueldr> I use nox and nix-index (nix-locate)
<infinisil> nox hasn't been working very well for me, so i never really used it
<LnL> and sometimes I just grep in nixpkgs :p
<atomicbeef> I have to get my grep game up
<infinisil> same, ripgrep through nixpkgs is really fast
jrolfs has joined #nixos
<atomicbeef> I only really use it with pipes
<samueldr> nix-locate I find useful when I know the binary name, but not which package provides it
<jduan> LnL: thanks for sharing "nix pills". It's well written!
<infinisil> Okay, why is nix-index failing: error: attribute 'skylighting_0_4_4_1' missing, at /cfg/nixpkgs/pkgs/development/haskell-modules/configuration-common.nix:519:19
<atomicbeef> would you guys recommend reading the nix pills series first for someone trying to understand NixOS?
<infinisil> I just remembered that's probably why I've never used nix-index
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] k0001 opened pull request #33146: electrum: Add QT_QPA_PLATFORM_PLUGIN_PATH (master...qt-el-fix) https://git.io/vbbTq
NixOS_GitHub has left #nixos []
<LnL> yeah, it doesn't really handle evaluation errors
<LnL> try with -f of 17.09
<infinisil> yeah doing that now
jrolfs has quit [(Ping timeout: 240 seconds)]
<infinisil> works
<samueldr> my trick for binaries, is to search using `bin/the-binary-name`
<samueldr> e.g.: nix-locate bin/glxgears
<infinisil> nixos-unstable works too, I must have some bad commits in my nixpkgs checkout :/
m0rphism has quit [(Quit: WeeChat 1.9.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar force-pushed haskell-outputs-bin-etc-lib from 5a58985 to 9b718c3: https://git.io/vbgMM
<NixOS_GitHub> nixpkgs/haskell-outputs-bin-etc-lib b4351ea Domen Kožar: Revert "Merge pull request #32333 from NixOS/revert-32112-hask-split-out"...
<NixOS_GitHub> nixpkgs/haskell-outputs-bin-etc-lib 81d5472 Domen Kožar: hevm: disable bin output to prevent a cycle
<NixOS_GitHub> nixpkgs/haskell-outputs-bin-etc-lib bff15c6 Domen Kožar: symlinkJoin: support multiple outputs...
NixOS_GitHub has left #nixos []
pie__ has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<atomicbeef> I've been experiencing audio stutter
<atomicbeef> I solved it somehow in the past but I don't remember how I did it
<atomicbeef> I have PulseAudio installed
<atomicbeef> it happens randomly and it's a quick popping noise
<atomicbeef> I'm not sure if PA is to blame or not
<atomicbeef> is there any way to easily check that?
ma27 has joined #nixos
JazzyEagle has joined #nixos
mekeor has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
<mekeor> how complicated is it to port nixos to another architecture, e.g. MIPS?
<samueldr> there was a MIPS port in the past, I do not know the current status of it, but expect it doesn't work out of the box
<samueldr> there is currently a community effort for ARMv6 and ARMv7, and an upstream (nixos) effort for AArch64
JazzyEagle has quit [(Ping timeout: 255 seconds)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
fragamus has joined #nixos
goibhniu has joined #nixos
<mekeor> how do you port NixOS to another architecture? it would need changes in both nix and nixpkgs repositories/projects, right?
goibhniu1 has quit [(Ping timeout: 265 seconds)]
<samueldr> (now, that's something I do not actually know for sure)
<mekeor> (which project does actually offer the nixos-rebuild program?)
otherjrolfs has joined #nixos
alexteves has joined #nixos
<samueldr> first, getting nix natively working ony MIPS, on any distro may be necessary, as cross-compilation is a work-in-progress (unless I'm mistaken)
JazzyEagle has joined #nixos
jrolfs has joined #nixos
<mekeor> makes sense
<mekeor> seems like a lot of work. the benefits need to be big then
<mekeor> oh, cool
<samueldr> for users already using nixos, the benefits are clear, but sure, it's a lot of work, especially if there's breakage
<samueldr> even bootstrapping nix (nixpkgs?) may take a while, since there will be a lot of things to compile
pxc has joined #nixos
asymmetric has quit [(Ping timeout: 256 seconds)]
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
fragamus has quit [(Quit: Colloquy for iPhone - http://colloquy.mobi)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 265 seconds)]
<samueldr> mekeor: you might want to start from here: https://github.com/NixOS/nixpkgs/tree/master/pkgs/stdenv/linux
jsgrant has quit [(Quit: Leaving)]
jb55 has quit [(Ping timeout: 265 seconds)]
otherjrolfs has joined #nixos
fragamus has joined #nixos
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<makefu> there will be a nix workshop by Mic92 and me tomorrow at 17:00 https://events.ccc.de/congress/2017/wiki/index.php/Session:Packaging_in_Nixpkgs
fragamus has quit [(Client Quit)]
asymmetric has joined #nixos
lambdamu has joined #nixos
mekeor has quit [(Remote host closed the connection)]
mekeor has joined #nixos
<atomicbeef> I'm trying to change the pulseaudio configuration to disable timer based scheduling
jrolfs has joined #nixos
<atomicbeef> the arch wiki describes how to do this, but it involves modifiying a line that already exists in the default pulseaudio configuration
<atomicbeef> how do you deal with this in NixOS?
<atomicbeef> using hardware.pulseaudio.extraConfig to append it results in pulseaudio not running due to an invalid configuration
<lambdamu> atomicbeef: You can replace the entire config with hardware.pulseaudio.configFile
<zarel> mekeor: MIPS support is just a leftover of a single supported board and it's been unmaintained for years. Yet it would be really really cool to have active MIPS support, a lot of home routers are running on it
<samueldr> atomicbeef: looking at the nixos options, your best bet would be what lambdamu said >.<
<samueldr> ninja'd
<atomicbeef> hmmm
<atomicbeef> that kind of sucks
<samueldr> yes :(, but nixos uses the upstream default.pa as the default config
<atomicbeef> I mean it's basically what you do in any other OS anyways
<atomicbeef> my only concern is when upstream changes
jrolfs has quit [(Ping timeout: 265 seconds)]
<lambdamu> atomicbeef: I know nothing of pulseaudio configs, but are you saying nixos produces a config file pulseaudio can't handle?
<atomicbeef> eys
<atomicbeef> yes*
<samueldr> once your nix is strong, you may be able to override the default.pa from the package, doing a bit if sed, making it look like what you want
<lambdamu> atomicbeef: Do you have an idea why? If not maybe report it as a bug
<atomicbeef> lambdamu: yeah, I'm pretty sure it's because it tries to load a module that's already loaded
<atomicbeef> samueldr: that sounds like a nicer solution
<samueldr> lambdamu: could you share the bit you need to change?
<samueldr> a link to the archlinux wiki entry is fine
<atomicbeef> load-module module-udev-detect tsched=0
<atomicbeef> default.pa already contains load-module module-udev-detect
<lambdamu> I guess some config formats and changes can't be supported by the simple append logic nix uses
goibhniu1 has joined #nixos
<lambdamu> I think replacing the entire file is actually the sane solution then
<hyper_ch> hmmm, acme.sh is not packages....
<samueldr> lambdamu: could you add `unload-module module-udev-detect` before re-loading it?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vbbLB
<NixOS_GitHub> nixpkgs/master e9886dd Joe Doyle: csfml: init at 2.4 (#33000)
NixOS_GitHub has left #nixos []
<samueldr> sorry, atomicbeef
goibhniu has quit [(Ping timeout: 252 seconds)]
<atomicbeef> samueldr: I don't have that much experience configuring PA
<atomicbeef> but I'll try that
<atomicbeef> seems like it could work
<samueldr> (the command exists)
<samueldr> (but it may be unable to deal with unloading if other modules loaded after needs it, or anything really)
<atomicbeef> yeah
<atomicbeef> hmm
<atomicbeef> says the daemon startup failed
<samueldr> journalctl --user --unit pulseaudio
<atomicbeef> it's complaining about the module being loaded more than once
<samueldr> then it probably can't handle being unloaded :(
truh has joined #nixos
otherjrolfs has joined #nixos
<atomicbeef> that's unfortunate
jrolfs has joined #nixos
_alice_ has joined #nixos
<samueldr> though, it seems like I'm able to do it using `pacmd`
<atomicbeef> hmm
<atomicbeef> how do you list versions of your system that you can rollback to?
<_alice_> Anyone got ibus working? I'm trying to setup pinyin input and ibus-setup errors with "Namespace IBus not available"
<atomicbeef> my google-fu seems to not be working at the moment
<_alice_> atomicbeef: I'm not sure of how to list in-session, but if you reboot the boot manager should list some.
<Yaniel> how do I make meson find glm?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<Yaniel> glm is in buildInputs
<Yaniel> but apparently not in PKG_CONFIG_PATH
jrolfs has quit [(Ping timeout: 248 seconds)]
<atomicbeef> _alice_: yeah I'd rather avoid a reboot
<_alice_> Yaniel: Um, new user so might not be right/not totally sure what the problem is, but if you try your thing in a nix-shell -p glm would that help?
<samueldr> atomicbeef: IIRC : sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
<Yaniel> I have glm and a bunch of other stuff in buildInputs in my shell.nix
mekeor has quit [(Ping timeout: 276 seconds)]
pie__ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
<atomicbeef> samueldr: thanks, that did it
<atomicbeef> is it impossible to rollback to a generation not immediately before the current one?
<atomicbeef> https://github.com/NixOS/nixpkgs/issues/24374 this seems to suggest so
<nixy> atomicbeef: You can rollback to whatever generation you want
<nixy> But you might have to do it through the boot menu
<atomicbeef> nixy: yeah that's what I was wondering about
tf777 has joined #nixos
<atomicbeef> does anyone know why that limitation exists?
<nixy> It doesn't really make sense to rollback the whole system without a reboot IMO
<nixy> Your kernel wouldn't rollback and if the problems you experience are caused by the current kernel then...
<lambdamu> atomicbeef: I think the --rollback option is just a shorthand, you can use --proflile-name explicitly
<atomicbeef> I understand why you can't always rollback
<lambdamu> atomicbeef: I didn't try that, though
<atomicbeef> but in my case it's for a two line configuration change
<atomicbeef> so it wouldn't screw anything up
<samueldr> do note that rollback won't reset your /etc/nixos ocnfigurations
<atomicbeef> yeah
<lambdamu> atomicbeef: Scratch that about --profile-name I think I doesn't do what i thought it does
<atomicbeef> I just wanted to know if there was a way for me to avoid commenting out 3 lines :p
jrolfs has joined #nixos
otherjrolfs has joined #nixos
drakonis_ has joined #nixos
<atomicbeef> alright
<atomicbeef> I'm thoroughly confused right now
<samueldr> it would be using nix-env with --switch-generation
<samueldr> (there is a rollback command, but it acts exactly the same way, one previous every invocation)
<atomicbeef> I commented out my lines in configuration.nix for the extra pulseaudio config
<atomicbeef> ran nixos-rebuild switch
<atomicbeef> the lines are still there in /var/run/current-system/etc/pulse/default.pa
tekul has joined #nixos
<atomicbeef> pulse still fails to start
<atomicbeef> samueldr: thanks for finding that
jduan has quit [(Remote host closed the connection)]
<samueldr> atomicbeef: were you `cd-ed` in a directory and looked at a relative filename or used the absolute filename when you looked for the lines?
<atomicbeef> I used the absolute filename
<samueldr> because the way profiles work, if you `cd-ed` to /var/run/current-system/etc/pulse/, then rebuilt, you're still in the previously built folder
<atomicbeef> yeah
<samueldr> ah, then uh, dunno
<atomicbeef> that's really strange
jrolfs has quit [(Ping timeout: 260 seconds)]
<samueldr> (I was bit by that two days ago, I was frantically trying to get something to show up in a folder, and it didn't, because it already did in the right location)
tf777 has quit [(Quit: Page closed)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
drakonis has quit [(Ping timeout: 272 seconds)]
asymmetric has quit [(Remote host closed the connection)]
asymmetric has joined #nixos
<atomicbeef> even after I set hardware.pulseaudio.extraConfig = ''''; in my configuration.nix and switched to the new configuration, the old lines are still in default.pa
<atomicbeef> I have no idea what's going on
<atomicbeef> oh okay
<atomicbeef> vim is just being strange
<atomicbeef> or maybe sudoedit
<atomicbeef> I don't know
<atomicbeef> it wasn't actually saving to /etc/nixos/configuration.nix
<nixy> Ayyy I've made that mistake before
<atomicbeef> yeah I don't know what caused that
<samueldr> How does sudoedit work?
<samueldr> sudoedit actually doesn’t let you edit the file directly. Instead, it creates a copy, in /tmp, that only you have access to.
<samueldr> I do not have an upstream (or man page) reference to that fact
<atomicbeef> yeah I saw the path in vim was /var/tmp/configuration.nix[other random characters]
<atomicbeef> I thought nothing of it since I thought it was actually saving to /etc/nixos/configuration.nix in the end
<atomicbeef> but it wasn't for some reason
<samueldr> reason probably being "by design" :/
otherjrolfs has joined #nixos
jrolfs has joined #nixos
yegortimoshenko has joined #nixos
astsmtl has quit [(Ping timeout: 252 seconds)]
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
sigmundv_ has quit [(Ping timeout: 265 seconds)]
alfie has quit [(Ping timeout: 240 seconds)]
neonfuz has quit [(Ping timeout: 240 seconds)]
sigmundv_ has joined #nixos
ldlework has quit [(Ping timeout: 260 seconds)]
zombified has quit [(Ping timeout: 260 seconds)]
coot_ has quit [(Quit: coot_)]
ldlework has joined #nixos
ldlework has quit [(Changing host)]
ldlework has joined #nixos
alfie has joined #nixos
neonfuz has joined #nixos
<LnL> I'm always impressed by nix when I change something on this deployment I almost never touch
zombified has joined #nixos
hiratara has quit [(Ping timeout: 265 seconds)]
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
zarel has quit [(Quit: Leaving)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
ssmike has joined #nixos
<atomicbeef> samueldr: where would you recommend I place my custom pulseaudio configuration file?
<atomicbeef> to follow the nix way
hiratara has joined #nixos
stringy has joined #nixos
truh has quit [(Ping timeout: 250 seconds)]
<samueldr> next to your configuration.nix, possibly in a subfolder
<atomicbeef> alright that makes sense
<samueldr> and when referencing it ./my-awesome-default.pa
<samueldr> without quotes or anything, paths are their own things in nix
<atomicbeef> ah
<atomicbeef> that's interesting
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
drakonis__ has joined #nixos
drakonis__ has quit [(Read error: Connection reset by peer)]
asymmetric has quit [(Ping timeout: 260 seconds)]
megfault has joined #nixos
<makefu> megfault: for the issue https://github.com/garbas/pypi2nix/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vidbina opened pull request #33148: Add/bitscope mergeable (master...add/bitscope-mergeable) https://git.io/vbbYS
NixOS_GitHub has left #nixos []
drakonis_ has quit [(Ping timeout: 272 seconds)]
moet has joined #nixos
klntsky has joined #nixos
<pkill9> is it safe to move the /nix directory to another partition (in this case, my /home partition) and then `mount --bind /home/nix /nix`? would I still be able to build things (apparently symlinking won't work because of patches in the nix toolchain that refuse to compile if they're not in the /nix directory (or if the compile flag was used when compiling nix, the specified nix store directory))
<clever> pkill9: yeah, that should work fine
<pkill9> cool :)
MP2E has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
_alice_ has quit [(Quit: Konversation terminated!)]
knupfer has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<knupfer> How can I bring nix to actually build a benchmarksuite in haskell when running nix-build ?
edwtjo has quit [(Ping timeout: 255 seconds)]
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
yegortimoshenko has joined #nixos
<r3s1stanc3> is there a way to list all installed nix packages? i just installed nixos on my server and it seems i installed some packages, that i don't need, e.g. alsa
hiratara has quit [(Quit: ZNC - http://znc.in)]
hiratara has joined #nixos
jacob has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
FRidh2 has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ma27 opened pull request #33150: programs.zsh.ohMyZsh: add `cacheDir` option (master...oh-my-zsh-cachedir) https://git.io/vbb30
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lschuermann opened pull request #33151: Add basic stunnel module (master...stunnel-module) https://git.io/vbb32
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<yegortimoshenko> r3s1stanc3: nix-env -q
<clever> r3s1stanc3: the above command will only include packages installed via nix-env, and wont include parts of nixos
<r3s1stanc3> yegortimoshenko: that just lists packages from the current profile
<r3s1stanc3> i'm just listing files in `/nix/store/...-system-path/bin`. how can i remove files from that part of the store?
<yegortimoshenko> ah, ok
<yegortimoshenko> r3s1stanc3: nix-store -qR /run/current-system
dywedir has quit [(Ping timeout: 268 seconds)]
<r3s1stanc3> great thanks. an how can i uninstall from that store?
<yegortimoshenko> by changing the system profile, i.e. /etc/nixos/configuration.nix
<yegortimoshenko> you can't update configuration in place and destructively uninstall packages required by the system
drakonis has joined #nixos
<clever> r3s1stanc3: you first need to find out what is depending on alsa, by checking the `nix-store -q --tree /run/current-system`
<yegortimoshenko> meaning, you should find out why it's pulled in and disable that
<yegortimoshenko> s/should/would have to/
<r3s1stanc3> so i have to change this section `environment.systemPackages = with pkgs; [` in my config and then i can try removing the packages by invoking nix-store --gc?
<clever> r3s1stanc3: even after you rebuild, a garbage collection wont delete it because of the rollbacks
<yegortimoshenko> you should also run `sudo nixos-rebuild switch` to switch to new profile
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<yegortimoshenko> and also `nix-collect-garbage -d` to delete previous profiles that keep the artifact in nix store
<yegortimoshenko> sorry, `sudo nix-collect-garbage -d`
<yegortimoshenko> if you run it as user it will only delete profiles of that user
<clever> and some things like alsa get auto-installed, without having to be present in systemPackages
moet has quit [(Ping timeout: 268 seconds)]
<clever> sound.enable = false; will be the first step in removing alsa
contrapumpkin is now known as OriginalBankster
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
aarvar has joined #nixos
OriginalBankster is now known as contrapumpkin
tf777 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin force-pushed mariadb-10.2 from 2485a21 to 9d8fc0f: https://git.io/vFsJa
<NixOS_GitHub> nixpkgs/mariadb-10.2 cb8dd4d Klaas van Schelven: googleapis_common_protos: init at version 1.5.3
<NixOS_GitHub> nixpkgs/mariadb-10.2 17cd40e Klaas van Schelven: google_auth: init at 1.2.1
<NixOS_GitHub> nixpkgs/mariadb-10.2 aa538f2 Klaas van Schelven: grpcio: init at 1.7.3
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin force-pushed mariadb-10.2 from 9d8fc0f to e85e2f5: https://git.io/vFsJa
<NixOS_GitHub> nixpkgs/mariadb-10.2 6aab187 Robin Gloster: mariadb: 10.1.26 -> 10.2.6
<NixOS_GitHub> nixpkgs/mariadb-10.2 188c778 Robin Gloster: mariadb: fix lib cycle and hash
<NixOS_GitHub> nixpkgs/mariadb-10.2 0da3895 Robin Gloster: mariadb: lib -> connector-c
NixOS_GitHub has left #nixos []
deepfire has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
<tf777> I've been trying to get a working install of nixOs; I think the live USB booting as sda is part of the problem, but I get through the install ok, and when I start it up again there's no mnt or config in root@nixos:~, it's all in /, and the mnt folder disappears.
<tf777> So I think partitioning & mounting the sdb volumes and having them appear as sda when I remove the thumb drive is causing an issue.
<adisbladis> tf777: That's as designed.
<adisbladis> What does your hardware-configuration.nix say
jrolfs has quit [(Ping timeout: 248 seconds)]
gilligan_ has quit [(Ping timeout: 255 seconds)]
simukis has quit [(Quit: simukis)]
deepfire has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vbbG1
<NixOS_GitHub> nixpkgs/master 7d7d377 Andreas Rammhold: Revert "fix phpPackages memcache,memcached,xdebug"...
<NixOS_GitHub> nixpkgs/master 939e71f Andreas Rammhold: uwimap: Do not pollute `include/` with headers...
<NixOS_GitHub> nixpkgs/master 1217ffe Andreas Rammhold: prayer: use correct include directory for `c-client` aka uwimap
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs has joined #nixos
truh has joined #nixos
truh has quit [(Client Quit)]
deepfire has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<tf777> This is my HW config; had to take a picture since I'm kind of juggling machines atm https://imgur.com/a/Kefj2
jrolfs has quit [(Ping timeout: 240 seconds)]
pxc has quit [(Ping timeout: 265 seconds)]
jacob has quit [(Quit: Lost terminal)]
<globin> tf777: it should only be in /mnt while installing
<globin> tf777: after installation the nixos config should reside in /etc/nixos
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
goibhniu has joined #nixos
atomicbeef has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33152: chkrootkit: fixup relative path usage (master...fix/chkrootkit-relative-paths) https://git.io/vbbZA
NixOS_GitHub has left #nixos []
goibhniu1 has quit [(Ping timeout: 268 seconds)]
<tf777> globin: Ok I'll keep working on it.
<tf777> THanks
<pkill9> ls -l /
<pkill9> oops
dan_b has joined #nixos
<globin> tf777: well it sounds as if your installation just worked :)
<Yaniel> oh lookie, our glm pkg is outdated
<Yaniel> and there's even an open PR to fix that... since march >.<
<globin> Yaniel: link?
<Yaniel> (the updated glm provides a pkg-config file so it'd work with meson, the current one doesn't; apparently debian and redhat had the same issue)
<globin> Yaniel: then I'll review and merge right now, was just switching to the next thing to do
<Yaniel> looks like it's doing some redundant stuff though
<Yaniel> and even that is a version behind by now, the current glm is 0.9.8.5
<Yaniel> that's just a matter of changing revision & hash though
otherjrolfs has joined #nixos
jrolfs has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
mekeor has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 opened pull request #33153: mercurial: don't propagate frameworks (master...darwin-mercurial) https://git.io/vbbnH
NixOS_GitHub has left #nixos []
<Ralith> Yaniel: the nice thing about nix is that you don't need things like pkgconfig magic in your build system, though
<Ralith> especially for header only libs
<Ralith> just put it in your buildInputs, #include <glm/whatever> and go
<Yaniel> unless you are building something that uses meson, which in turn does require pkgconfig to work
<Yaniel> even for header-only libs :(
<Yaniel> (vkmark in this case)
<globin> Yaniel: yeah I', cleaning it up
<Yaniel> 👍
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<globin> Yaniel: that is some awful cmake code :/ copying stuff to the install directory while running cmake :(
roberth has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
<Ralith> Yaniel: I mean, meson doesn't *force* that on you, but yeah nice not to have to patch third party build systems
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<Ralith> I'd be a little surprised if meson doesn't have a way to override dependency search on the command line
cement has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] JohnAZoidberg opened pull request #33154: Upgrade xfce4-terminal to v0.8.6 (master...xfce4-terminal-0.8.6) https://git.io/vbbcg
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33152: chkrootkit: fixup relative path usage (master...fix/chkrootkit-relative-paths) https://git.io/vbbZA
NixOS_GitHub has left #nixos []