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)]
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
<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?
<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
<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
<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>
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
<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)]
<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
<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
<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
<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
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”
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"
<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
<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?
<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
<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)
<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
<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
<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
<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
<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
<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...
<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.
<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)]
<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
<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
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
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
<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
<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] 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
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
<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?
<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
<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.
<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.
<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
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>
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)
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
<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?
<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.
<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
<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>
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)]
<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