<fusion809>
Hey folks I'd like to edit my /etc/sudoers file so I don't have to keep entering my sudo passwd when I run sudo. I know it's not secure and safe and all that but I'm only running NixOS in a VM so it's a major risk. Editing /etc/sudoers doesn't make any persistent changes as changes are discarded on shutdown and on restart files in /etc are re-populated.
kp__ has quit [(Quit: WeeChat 1.9.1)]
<fusion809>
so it's not a major risk^
rtjure has joined #nixos
drp has joined #nixos
<xelxebar>
webkitgtk-2.4.11 is throwing a compiler error for me
<gandreani>
Getting a weird error when I try to switch from slim to gdm
<gandreani>
Failed to load the backend: opening module nix failed : /nix/store/*-packagekit-1.1.3/lib/packagekit-backend/libpk_backend_nix.so: cannot open shared object file: No such file
mahalel_ has joined #nixos
dieggsy has quit [(Ping timeout: 258 seconds)]
Arcaelyx_ has quit [(Ping timeout: 255 seconds)]
rtjure has joined #nixos
dj_goku has joined #nixos
dj_goku has quit [(Changing host)]
dj_goku has joined #nixos
r0bby has quit [(Ping timeout: 260 seconds)]
kvz has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vFeTe
<NixOS_GitHub>
nixpkgs/master 698894a Vincent Laporte: ocamlPackages.wasm: 0.13 -> 1.0
NixOS_GitHub has left #nixos []
etu has quit [(Ping timeout: 240 seconds)]
fusion809 has quit [(Quit: Leaving)]
otulp has quit [(Ping timeout: 260 seconds)]
mbirkis has quit [(Ping timeout: 260 seconds)]
dj_goku_ has quit [(Ping timeout: 260 seconds)]
acarrico has quit [(Ping timeout: 240 seconds)]
acowley has quit [(Ping timeout: 240 seconds)]
r0bby has joined #nixos
Moredread has quit [(Ping timeout: 252 seconds)]
rtjure has quit [(Ping timeout: 252 seconds)]
the-kenny has quit [(Ping timeout: 240 seconds)]
etu has joined #nixos
acowley has joined #nixos
otulp has joined #nixos
kvz has joined #nixos
mbirkis has joined #nixos
acarrico has joined #nixos
Moredread has joined #nixos
Mateon1 has quit [(Ping timeout: 255 seconds)]
rtjure has joined #nixos
the-kenny has joined #nixos
nixos1022 has joined #nixos
jb55 has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
rtjure has quit [(Ping timeout: 258 seconds)]
betaboon has quit [(Ping timeout: 248 seconds)]
jgertm has quit [(Ping timeout: 264 seconds)]
sary has joined #nixos
riclima has joined #nixos
mbrgm has quit [(Ping timeout: 248 seconds)]
dieggsy has joined #nixos
mbrgm has joined #nixos
rtjure has joined #nixos
ylwghst has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
chakra_ has joined #nixos
chakra has quit [(Read error: Connection reset by peer)]
ylwghst has quit [(Remote host closed the connection)]
<ghostyyy>
and then i set the desktopmanager to xfce and now everything works great
<ghostyyy>
so, for anyone in the future who cant get thumbnails working in pcmanfm, set services.xserver.desktopManager.xfce.enable = true;
rtjure has joined #nixos
dbmikus has quit [(Ping timeout: 240 seconds)]
<ghostyyy>
at least i learned a lot, in the five hours or so it took me to fix that i learned how to use nix-shell, set up a dev environment, compile things on nixos, and how to use dbus-monitor
rtjure has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 240 seconds)]
rtjure has joined #nixos
rtjure has quit [(Ping timeout: 248 seconds)]
rtjure has joined #nixos
glenn has quit [(Remote host closed the connection)]
<cmcdragonkai>
Hey I'm confused here. In what situation can you have an issue addressing a package in the ~/.config/nixpkgs/config.nix but you can find it if you explicitly use `nix-env -f /nix/nixpkgs -i 'pkgs.nodePackages.js-beautify'`, and your NIX_PATH is definitely set to /nix/nixpkgs
<joko>
cmcdragonkai: I don't see an issue there, I mean, I am using nixpkgs.config.packageOverrides all the time and they are addressable by nix-env at all
<cmcdragonkai>
joko: can you try nodePackages.js-beautify
<cmcdragonkai>
eveyrhtiing else works for me except that
<cmcdragonkai>
even nodePackages.tern does
orivej has quit [(Ping timeout: 260 seconds)]
<joko>
Is anyone developing Python on NixOS? I am trying to run a Python app and I get "Fatal Python error: Py_Initialize: Unable to get the locale encoding" and "ModuleNotFoundError: No module named 'encodings'". Googling around showed that there might be an issue with PYTHONPATH etc.
<cmcdragonkai>
joko: running a python app? do you mean developing one via nix-shell? in which case you'll need a combination of nix-shell provided packages and pip installed packages if you're using the virtualenv or path hack
datakurre has quit [(Remote host closed the connection)]
<joko>
cmcdragonkai: I get error: selector ‘nodePackages.js-beautify’ matches no derivations
<cmcdragonkai>
it's only available on 17.09
<cmcdragonkai>
i can acquire it from nix-repl
<cmcdragonkai>
and also nix-shell
<cmcdragonkai>
but not nix-env
<cmcdragonkai>
wth!
datakurre has joined #nixos
<joko>
just a sec, let me try with a 17.09 vm
<joko>
So, regarding the Python app, I do have a shell.nix and packaged a Python library (json-rpc; will do a PR this week). So it seems to me that I have everything as Nix packages, there is no need for virtualenv, right?
<avn>
correct
<joko>
cmcdragonkai: I am still getting "error: selector ‘nodePackages.js-beautify’ matches no derivations"
<clever>
joko: what command did you run, the full args
<cmcdragonkai>
joko: if you really have everything as nix packages, then there should be no need to use pip/virtualenv cause of the package hooks for python deps
<cmcdragonkai>
is there a way to make .nix-defexpr point to /nix/nixpkgs?
<clever>
look at the foo/default.nix above
<cmcdragonkai>
i know there are channels inside it, i have `channels` and `channels_root`
<clever>
i just made a test and foo subdir, with a default.nix that imports a nixpkgs
<jluttine>
has anyone used riot-web in nixos? i installed riot-web package but i have no idea how to launch the app.. there's no riot* executable in my path :/
<clever>
jluttine: look at tha path nix-env downloaded, and run ls on that
<cmcdragonkai>
clever: why test/foo/default.nix
<cmcdragonkai>
clever: i mean what's the significance of those 2 directory names?
<clever>
test, so it doesnt collide with channels or channels_root
<cmcdragonkai>
clever: do they match some sort of channel structure?
<cmcdragonkai>
clever: do you know whether the new nix cli tool will use NIX_PATH?
betaboon has joined #nixos
<clever>
cmcdragonkai: i havent played with it that much yet
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 17 new commits to release-17.09: https://git.io/vFeBT
<NixOS_GitHub>
nixpkgs/release-17.09 f901cdc Piotr Bogdan: marp: 0.0.10 -> 0.0.11...
<NixOS_GitHub>
nixpkgs/release-17.09 863beeb Peter Hoeg: dnsmasq nixos: make sure it always runs...
<NixOS_GitHub>
nixpkgs/release-17.09 eff04a3 Eli Flanagan: apache-httpd: 2.4.28 -> 2.4.29...
NixOS_GitHub has left #nixos []
<sphalerite>
clever: the llvm build succeeded this time!! :D
<sphalerite>
I have a kmscon which sort of works on chromeos except that it conflicts with frecon/chromium so it's not usable there
<sphalerite>
doesn't seem to be working on nixos yet though
<cmcdragonkai>
clever: so i have some questions, how come there's a `~/.nix-defexpr/channels/nixos-17.03` even when i removed all my channels with `nix-channel`
pxc has quit [(Ping timeout: 240 seconds)]
<clever>
cmcdragonkai: removals dont take effect until you nix-channel --update
adamt has quit [(Remote host closed the connection)]
<cmcdragonkai>
Also, in your example why did you add into the nix/store?
srodal has quit [(Ping timeout: 252 seconds)]
<cmcdragonkai>
Why not just create that file in /nix/var/nix/profiles/per-user/root/channels/
<cmcdragonkai>
Why not just create that file in /nix/var/nix/profiles/per-user/root/channels/dummy/default.nix
<sphalerite>
Does anyone know stuff about using kmscon? It's saying "no running seats; exiting", but I want it to show a console!
<clever>
cmcdragonkai: thats a symlink into the nix store, you cant modify it
<clever>
cmcdragonkai: you must use nix-env to modify it, and you have to give it a storepath (or derivation) to add
<cmcdragonkai>
clever: I did run `nix-channel --update` just then, it reported that it created 2 symlinks, but ~/.nix-defexpr/channels/nixos-17.03 is still there
<clever>
cmcdragonkai: which user did you run --update as, and what is inside ~/.nix-channels for that user?
<cmcdragonkai>
cmcdragonkai: i only have 1 user (other than root): cmcdragonkai
<clever>
cmcdragonkai: what is the content of ~/.nix-channels for both users?
<cmcdragonkai>
there is no .nix-channels for cmcdragonkai
<clever>
what is ~/.nix-defexpr/channels a symlink to?
<woffs>
you can do nix-channel --remove even if it is not listed in --list
<cmcdragonkai>
clever: there is no .nix-channels for root
<clever>
just below the commit msg, is a list of branches that include that commit
<cmcdragonkai>
clever: and since it is installed by default, then does that mean we only get 1 version of nix that we can use for a given nixpkgs
<clever>
only master!
<clever>
there is also nixUnstable, but its ... unstable right now!
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jyp opened pull request #30786: pythonPackages.tensorflow: add flags for efficent math on CPU (master...tf-flags) https://git.io/vFeEF
NixOS_GitHub has left #nixos []
roberth has joined #nixos
<joko>
My guess is that I need something like l3lmprhcz5w1xp4nbj42lr8yjs9hc31g-nixos-system-hostname-blabla, how to tell which is the current one?
Phillemann has left #nixos ["WeeChat 1.9.1"]
python476 has joined #nixos
roi_du_silence has joined #nixos
<clever>
joko: /run/current-system
ThatDocsLady has quit [(Quit: Leaving)]
asdfoiawe has joined #nixos
<joko>
clever: thank you, sir!
nextloop has quit [(Ping timeout: 246 seconds)]
<joko>
Hmm, nix-copy-closure reports error: unexpected end-of-file, hash of path â/nix/store/j8dydlcskl12f77jks98myg4w9gbnqrc-python3.5-setuptools-36.4.0â has changed from âddb7a57010288df335916dc2555512d12feacc17b79e71d6eccba99747acb2f1â to âd59d48323f60306b442ad81095ebb32a2804062814cfe6b1fa7ec959eab0f762â! at
<joko>
/nix/store/zapwm1wx4j900am73abd9fc3a271yam2-nix-1.11.15/lib/perl5/site_perl/5.24.2/x86_64-linux-thread-multi/Nix/CopyClosure.pm line 44.
<clever>
joko: python has been pretty bad at corrupting storepaths, you need to run "nix-store --repair-path" on that first
nextloop has joined #nixos
<joko>
clever: so, it creates impurities inside the closure? It did get fixed
erictapen has joined #nixos
<clever>
joko: its mostly blocked by nixos re-mounting /nix/store read-only, so not even root can do it
<clever>
joko: so i'm not sure when exactly the corruption is happening
voiceftp has joined #nixos
<jluttine>
"xsession[4843]: /nix/store/qj9ggl34gn0qh1xpzyjzbfmp2jw65880-xsession: Window manager 'plasma5' not found"
srodal has joined #nixos
cmcdragonkai has quit [(Quit: WeeChat 1.7)]
<eqyiel[m]>
is there a way to force nix-build to do a local build (and ignore /etc/nix/machines)?
cmcdragonkai has joined #nixos
<eqyiel[m]>
my goal is to use --keep-failed, which doesn't seem to work if a remote builder is used
<clever>
eqyiel[m]: if you have root, you can unset both NIX_REMOTE and NIX_BUILD_HOOK when you run nix-build
<clever>
eqyiel[m]: without NIX_BUILD_HOOK, it will loose support for remote builders
dbmikus has joined #nixos
<clever>
and without NIX_REMOTE, it cant cheat by using the local nix-daemon
<clever>
eqyiel[m]: you can also set preferLocalBuild = true; inside the derivation
<clever>
that just disables remote builds entirely (but changes the output hash)
<eqyiel[m]>
oh, root is needed to write to /nix/var/nix/db?
<clever>
and the store itself
<clever>
normally, nix-daemon helps, but its harder to tell the daemon to not use NIX_BUILD_HOOK
<clever>
other then preferLocalBuild
<eqyiel[m]>
clever: yep, thanks, I think preferLocalBuild is a suitable workaround for this use case
glenn has quit [(Remote host closed the connection)]
dbmikus has quit [(Ping timeout: 252 seconds)]
glenn has joined #nixos
<freusque>
hello. does anyone have experience with complex runLatex use cases? I have a situation where the run-latex.sh script fails to produce the same result as the manual pdflatex bibtex pdflatex pdflatex invocations. (an \include thing).
peacememories has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] lheckemann opened pull request #30787: Document nixos-help more obviously (master...nixos-help-doc) https://git.io/vFegB
NixOS_GitHub has left #nixos []
feepo has quit [(Quit: Connection closed for inactivity)]
ixxie has joined #nixos
snikkers has quit [(Ping timeout: 260 seconds)]
snikkers has joined #nixos
jeehell has joined #nixos
notdaniel has joined #nixos
<cmcdragonkai>
clever: I found why the deletion did not work.
<jluttine>
any ideas what could be causing this error (kde plasma not working properly): "xsession[9086]: /nix/store/qj9ggl34gn0qh1xpzyjzbfmp2jw65880-xsession: Window manager 'plasma5' not found."
<jluttine>
or how to debug
<goibhniu>
jluttine: it might be worth testing with a fresh user account ... perhaps some plasma config is pointing to obsolete paths in the store
sigmundv__ has quit [(Ping timeout: 240 seconds)]
nixos1022 has joined #nixos
mrkgnao has joined #nixos
<jeehell>
sphalerite: thanks, I am having a look
<avn>
jluttine: at some moment code had transition from "desktop + wm" to "desktop+wm" (spaceless) syntax
<avn>
so if it stop works after 17.03 upgrade, it can be a clue
<jluttine>
goibhniu: moved my home folder and logged in with clean home dir. still not working. the desktop loads but it's not functional
<jluttine>
eg, clicking menu at bottom left blanks the screen to black and "reloads" the desktop in a second
<goibhniu>
jluttine: ah, it's good to rule that out. Are you using the same revision or NixOS?
<goibhniu>
^of
<goibhniu>
i.e. the latest nixos-unstable
<jluttine>
avn: where is that syntax used? can't recall ever writing something like that
<jluttine>
goibhniu: in login screen, bottom left, there's a choice Desktop session. i have "plasma5" and "xterm". should these be in format dm+wm?
Mic92 has quit [(Quit: WeeChat 1.9.1)]
<goibhniu>
hrm, not sure if I have that, what does that part of your configuration.nix look like?
bigvalen has joined #nixos
<jeehell>
sphalerite: after a few iterations for adding all deps, it works fine. Thanks
Mic92 has joined #nixos
<sphalerite>
goibhniu: should be able to help Friday evening. What times?
<sphalerite>
jeehell: great, glad to hear it :)
dbmikus has joined #nixos
<jluttine>
goibhniu: i have no idea wherr those login screen options come from
roi_du_silence has joined #nixos
<jluttine>
goibhniu: i compared the xsession files. the only difference was path to pulseaudio in nix store
<ixxie>
there is no gpu support for the tensorflow package right?
<goibhniu>
sphalerite, awesome, thanks! I'm aiming to be there by 18:00 at the latest and I'd say I'll spend a few hours testing things out, so some time around then would be great.
<goibhniu>
jluttine: can you post your whole configuration.nix to a pastebin?
<jluttine>
that's quite a complex configuration.. i maintain multiple cimputers with it
ylwghst has quit [(Remote host closed the connection)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
leat has quit [(Ping timeout: 246 seconds)]
cfricke has joined #nixos
<goibhniu>
jluttine: hrm, I don't notice anything odd there
<goibhniu>
jluttine: I presume `nixos-option services.xserver.displayManager.sddm.enable` is true?
<jluttine>
goibhniu: yep
<goibhniu>
and nixos-option services.xserver.desktopManager.plasma5.enable
<jluttine>
yep
<jluttine>
could there be some cache outside HOME messing things up
zzamboni has quit [(Quit: Leaving.)]
<goibhniu>
good question, I don't know ... I didn't understand what config change would be required for the issue that avn mentioned, that sounded interesting
<ixxie>
if I installed Nix for one user on CentOS, is it possible to get it working for another without reinstalling all of Nix in the multiuser way?
TMVector has joined #nixos
orivej has joined #nixos
zzamboni has joined #nixos
TweyII has joined #nixos
TweyII is now known as Guest74639
<TMVector>
Hey :) I'm getting something weird where network replies are being sent on the wrong interface
notdaniel has quit [(Quit: Leaving)]
<TMVector>
I can fix it by reducing the metric on the ip route entry that is for the correct interface
<TMVector>
E.g. # ip route del default via 192.168.122.1 dev enp0s2 src 192.168.122.76 metric 202 && ip route add default via 192.168.122.1 dev enp0s2 src 192.168.122.76 metric 204
simukis has joined #nixos
<TMVector>
(I guess that is actually increasing the metric of the other intf)
<TMVector>
How can I add these commands to my nixos config?
jtojnar_ has joined #nixos
p4cman has quit [(Quit: Connection closed for inactivity)]
frankqux2 has joined #nixos
drp has joined #nixos
<Guest74639>
Is there a convention for required arguments that are more than one level deep? I'd hope I'd be able to write a pattern like { a = { b, c } } to require an argument of the shape { a.b = "foo"; a.c = "bar"; } but I can't figure out a syntax for it
Phillemann has joined #nixos
leat has joined #nixos
<Phillemann>
When I nixos-container root-login into a container, the shell acts weirdly. For example, backspace doesn't work, it inserts a space instead (but "internally" deletes a character).
Guest74639 has quit [(Changing host)]
Guest74639 has joined #nixos
Guest74639 is now known as TweyII
frankqux has quit [(Ping timeout: 240 seconds)]
ylwghst has joined #nixos
damke_ has joined #nixos
<ylwghst>
anyone here with Macbook using grub2-efi bootloader?
damke has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
ssmike has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
TMVector has quit [(Quit: Page closed)]
jeehell has quit [(Quit: Leaving)]
<jluttine>
goibhniu: "cannot mix incompatible qt library (version 0x50901) with this library (version 0x50902)" sounds like it could be relevant (from journalctl)
aloiscochard has joined #nixos
iyzsong has joined #nixos
<goibhniu>
jluttine: I had that recently too, but upgrading fixed it ... you did reboot after upgrading, right?
mrkgnao has quit [(Ping timeout: 240 seconds)]
xd1le has joined #nixos
<jluttine>
"kcrash: attempting to start /nix/store/...-plasma-workspace-5.11.1-bin/bin/plasmashell from kdeinit"
<jluttine>
goibhniu: yep, a few times now
<jluttine>
didn't reboot immediately after upgrading though
proteusguy has quit [(Ping timeout: 258 seconds)]
<goibhniu>
jluttine: I was going to ask if you had stuff installed in your user profile, but you tested with a fresh user, so that should be fine ... so weird
<tazjin>
copumpkin: afaict it just calls `systemctl reload $unit` and waits for that to return, which it does fine 🤔
<aminechikhaoui>
goibhniu: is that last year's conference ?
<tazjin>
wondering if maybe it gets stuck on some step _after_ reloading the unit and that just happens to be the last thing it printed
<goibhniu>
AmineChikhaoui yep, this is just to have some content to test streaming
<aminechikhaoui>
ah that's 2015 :D
<aminechikhaoui>
cool
abcrawf has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] spiderbit opened pull request #30790: kodi: downgrades kodiPlugin.joystick to compatible version 1.3.2 (master...master) https://git.io/vFe97
NixOS_GitHub has left #nixos []
a6a3uh has joined #nixos
abcrawf has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
pxc has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
kuznero has joined #nixos
* goibhniu
<3<3<3 obs-studio
glenn has joined #nixos
nh2 has quit [(Quit: Leaving.)]
pxc has quit [(Ping timeout: 248 seconds)]
glenn_ has quit [(Ping timeout: 248 seconds)]
Alling has joined #nixos
<Alling>
I done goofed. x) I set mutableUsers to false and forgot to uncomment the lines that would give root and my user a password. So I can still ssh in but I cannot do anything sudo. So I cannot nixos-rebuild.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 2 new commits to master: https://git.io/vFeQe
<NixOS_GitHub>
nix/master 2d5b1b2 Eelco Dolstra: Pass lists/attrsets to bash as (associative) arrays
<NixOS_GitHub>
nix/master 3395e3b Eelco Dolstra: Fix exportReferencesGraph in the structured attrs case
NixOS_GitHub has left #nixos []
<Alling>
Tried booting a live NixOS USB and chroot into the system, so now I have a weird shell in which no command other than cd exists.
<Alling>
So wat do?
<tilpner>
Try to activate the current generation with /nix/var/nix/profiles/system/activate
<Alling>
In the regular installation or chrooted?
<tilpner>
In the chroot
ylwghst has quit [(Remote host closed the connection)]
<Alling>
tilpner: What's that supposed to do?
<tilpner>
Activate the current generation, as I said
dbmikus has joined #nixos
<tilpner>
That should put things you expect to be in your PATH into your PATH
<xd1le>
Alling: why not just boot into a previous working generation?
drp has quit [(Quit: drp)]
roi_du_silence has quit [(Ping timeout: 260 seconds)]
<Alling>
xd1le: Tried that but I probably didn't do the right things then. Trying again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rickynils pushed 1 new commit to master: https://git.io/vFeQV
<Alling>
xd1le: What should I do once I've booted into an old gen?
dbmikus has quit [(Ping timeout: 240 seconds)]
<joko>
Is it possible to use python35Packages.override to add (not modify) a Python package?
chrilves has quit [(Remote host closed the connection)]
<tilpner>
Couldn't you just python35Packages // { newPackage = something; }?
<xd1le>
Alling: edit to uncomment lines that would give root and your user a password and then nixos-rebuild?
<joko>
tilpner: seems way smarter, thanks :D
a6a3uh has quit [(Quit: Bye)]
<xd1le>
Alling: edit configuration*
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
riclima has joined #nixos
<Alling>
xd1le: nixos-rebuild instantly fails after "building the system configuration" with error: creating symlink from ‘/nix/var/nix/profiles/system-69-link.tmp-920-702308008’ to ...
<Alling>
I always do sudo nixos-rebuild switch usually, but I'm not sudo right now.
<xd1le>
Alling: ah I see
<ArdaXi[m]>
In an old generation, you should still have sudo rights though, right?
<xd1le>
Alling: you can't login to root either?
<joko>
Hmm, callPackage is not working because in python-pacakges.nix it is set via let as "pkgs.newScope self". Any idea how to properly call them?
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
<Alling>
xd1le: I can't login neither to root nor to my own user because none of them have a password.
<Alling>
xd1le: I can ssh in to my regular user but I cannot do sudo because no password.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 7 new commits to master: https://git.io/vFe53
<NixOS_GitHub>
nixpkgs/master 9356779 Roman Kuznetsov: Point coreclr to 2.0.0 release
<NixOS_GitHub>
nixpkgs/master 71202f8 Roman Kuznetsov: Remove old patches
<NixOS_GitHub>
nixpkgs/master 856995d Joerg Thalheim: coreclr: mark as not broken
NixOS_GitHub has left #nixos []
<tilpner>
Alling - The chroot should allow you to enter as root, so that you don't need to sudo
<xd1le>
Alling: not even in an older generation?
<tilpner>
(--userspec=0:0 if not default)
<Alling>
tilpner: Maybe, but in the chrooted shell, nothing works, so to speak. The only commands that seem to be available are cd and pwd.
<tilpner>
(Or init=/bin/sh, if you have the editor enabled)
<Alling>
xd1le: Nope, can't login there either.
<tilpner>
Alling - And I suggested a fix for that. Can't help you more, need to go now
<Alling>
Thanks!
<Alling>
Will try.
<ArdaXi[m]>
In the chroot, you'll want to `export PATH=/run/current-system/sw/bin` probably
<ArdaXi[m]>
Which should give you a lot more commands to play with
xd1le has quit [(Quit: gtg)]
ylwghst has joined #nixos
<jluttine>
goibhniu: interesting! i found that the issue persists in both sddm and lightdm
ylwghst has quit [(Remote host closed the connection)]
a6a3uh has joined #nixos
acarrico has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
nh2 has joined #nixos
<Alling>
Now I can't even get into UEFI anymore (which I need to boot override to the USB drive). The system just insta reboots after saying "Entering setup" for a few seconds.
<Alling>
I understand that this is probably not a problem for the #nixos channel to solve.
ylwghst has joined #nixos
a6a3uh has quit [(Quit: Bye)]
<tazjin>
is there some sort of trace flag for nixops that will print every step of its perl script evaluation? (akin to `set -x` in shells)
<tazjin>
`--debug` doesn't actually show anything during the execution, only at the start
<ixxie>
FRidh / FRidh[m] - are you in?
dbmikus has joined #nixos
ma27 has joined #nixos
ylwghst has quit [(Quit: leaving)]
ylwghst has joined #nixos
dbmikus has quit [(Ping timeout: 264 seconds)]
jensens has joined #nixos
cfricke has quit [(Quit: WeeChat 1.9.1)]
<CrazedProgrammer>
I got a review on my nixpkgs PR adding a package, should I push the changes in a new commit or should I amend them to the initial commit?
iyzsong has quit [(Ping timeout: 246 seconds)]
damke_ has quit [(Read error: Connection reset by peer)]
<gchristensen>
CrazedProgrammer: usually: amend the initial commit
damke has joined #nixos
TMVector has joined #nixos
<CrazedProgrammer>
all right, thanks
ma27 has quit [(Ping timeout: 255 seconds)]
<TMVector>
Hey :)
<ixxie>
yo
proteusguy has joined #nixos
<TMVector>
I'm trying to run some `ip route` commands, but putting them in networking.localCommands doesn't seem to have any effect
<TMVector>
Any ideas?
<TMVector>
The command is `ip route del default via 192.168.122.1 dev enp0s2 src 192.168.122.76 metric 202 && ip route add default via 192.168.122.1 dev enp0s2 src 192.168.122.76 metric 204`
<TMVector>
I should probably say that ssh-ing in and running the commands manually works
sigmundv__ has quit [(Ping timeout: 252 seconds)]
ylwghst has quit [(Remote host closed the connection)]
<TMVector>
Or does anyone have any ideas how I could debug commands that are run in networking.localCommands?
lebel has joined #nixos
<tazjin>
copumpkin: so my nixops issue is that it executes systemd-binaries from Perl, then calls `wait4()` on them, but it does that call after they've already exited
<tazjin>
and then it will block forever, so I assume something else (tm) is reaping those processes
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 4 new commits to master: https://git.io/vFexi
<gchristensen>
omg zimbatm amazing work getting rust to 1.20
<zimbatm>
thanks!
asdfoiawe has joined #nixos
<gchristensen>
this is just in time to rewrite my terrible grahamcofborg implementation in something more reasonable
<zimbatm>
I tried updating to 1.21 later on but firefox is failing the compilation
<gchristensen>
:(
<infinisil>
gchristensen: Currently written in?
<zimbatm>
gchristensen: the only downside is that it doesn't support git dependencies yet
<gchristensen>
infinisil: do you really want to know?
grumble has quit [(Quit: We don’t want to hate and despise one another. In this world there is room for everyone. And the good earth is rich and can provide for everyone. The way of life can be free and beautiful, but we have lost the way.)]
<gchristensen>
there are some questions people don't really want answers to
<lebel>
Being having an issue with printing to a windows printer via Samba, the authentification succeed, I'm using a specific PPD, etc... With that in mind, what do I put for services.printing.drivers ? Everything seems to go fine in Cups, but when I go to the printer, the output isn't there.
<NixOS_GitHub>
nixpkgs/master 8f349a3 Eelco Dolstra: Add function closureInfo to replace pathsFromGraph...
NixOS_GitHub has left #nixos []
nh2 has quit [(Ping timeout: 240 seconds)]
fendor has joined #nixos
sphalerite__ has joined #nixos
a6a3uh has quit [(Quit: Bye)]
<joko>
I am trying to build a Python application, is it reasonable that nix downloads and builds all the necessary Python libraries? In a nix-shell I had them all
<sphalerite__>
ugh riot is literally too slow to run on my chromebook
<sphalerite__>
Anyway, is there an easy way to get a list of config options for the kernel provided in nixpkgs?
<sphalerite__>
wait, it has to download and extract the full source tarball for it. Ouch
fendor has quit [(Ping timeout: 246 seconds)]
<sphalerite__>
oh well, it'll do. Thanks again
dieggsy has joined #nixos
oida has joined #nixos
ylwghst has joined #nixos
<sphalerite__>
Is there anything besides CONFIG_USB_STORAGE=y and CONFIG_EXT4_FS=y that I might need in order to be able to boot my chromebook from a USB stick without an initrd?
<ylwghst>
Can I log grub2 error message which pop ups for a sec before grub2 menu shows the menu? the message is there even before sleep time set in grub.cfg
<Dezgeg>
the usb drivers itself :)
<sphalerite__>
Dezgeg: smart! Do you know how I can find out which ones exactly I need?
<ylwghst>
clever: you remember when i wasnt able to boot grub2 even if I changed efibootmgr order?
<Dezgeg>
read sources of the device's .dts file, then Makefile / Kconfig of that corresponding triver
reinzelmann has quit [(Quit: Leaving)]
<ylwghst>
clever: i finally explored how does it work on macbooks
<Dezgeg>
oh, and your bootloader needs to pass the correct .dtb to the kernel as well
Alling has quit [(Quit: Page closed)]
<sphalerite__>
Dezgeg: ok I'm almost completely lost. Do you know of a guide that would be helpful or something?
<vaibhavsagar>
hey, how do I get a hydra jobset to reference a separate source location?
<sphalerite__>
like I have no idea what the dts and dtbs actually are
<Dezgeg>
is there a way to get u-boot running on that?
<sphalerite__>
Dezgeg: I think so. I've currently got libreboot with the depthcharge payload on it. I'd quite like to not break the stock chromeos though, since it's very useful for being able to do all the experimenting I need on the device itself
<sphalerite__>
I've got the hang of the whole vboot kernel signing thing though
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to staging: https://git.io/vFvff
<NixOS_GitHub>
nixpkgs/staging 24eb665 Matthew Bauer: cmake: setup CMAKE_FRAMEWORK_PATH...
<NixOS_GitHub>
nixpkgs/staging 5541a9c Daniel Peebles: Merge pull request #30640 from matthewbauer/cmake-frameworks...
NixOS_GitHub has left #nixos []
<Dezgeg>
so the sub-heading "Got linux to boot with an initrd with the version of depthcharge currently used by libreboot by using the following FIT image configuration" describes the files that are needed (zImage, dtb, initrd)
tgunb has joined #nixos
<Dezgeg>
and the patch fragment above shows the relevant .dtb file being rk3288-veyron-speedy.dtb
sigmundv__ has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
<sphalerite__>
So the dtb and FIT thing are parts of the kernel build?
<Dezgeg>
FIT is the thing you build manually from the pieces
<sphalerite__>
ah right and mkimage is what puts them together, and it comes from uboot
<Dezgeg>
yes
a6a3uh has quit [(Quit: Bye)]
MercurialAlchemi has quit [(Ping timeout: 264 seconds)]
trevorriles has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vFvJK
<NixOS_GitHub>
nixpkgs/master c29f701 Sebastian Jordan: pypi2nix: 1.8.0 -> 1.8.1 (#30792)...
NixOS_GitHub has left #nixos []
nh2 has joined #nixos
<sphalerite__>
oh and where do I find the name of the config option I need to enable the USB drivers? I've found the rk3288.dtsi file, which I think is the right one, but where do I go from there/
<Dezgeg>
find something that looks like an usb host controller from the .dts, then grep for what driver supports that device listed in the node's "compatible" field
riclima has quit [(Quit: riclima)]
riclima has joined #nixos
<Dezgeg>
(strings like usb, xhci, ehci are related, also you might need to check any #include'd .dtsi files as well)
<saf_spa>
hello. I am trying to find the package "zandronum". I can see it via www on github in tree/master/pkgs/games/zandronum, but nix-env -qa doesn't see it. I have not added any channels to default installation because I dont want to convert the installation to unstable.
<sphalerite__>
it says ehci-generic, so I'm guessing the option I need is CONFIG_USB_EHCI_HCD=y?
<saf_spa>
how can I see and install this package without converting system to unstable (master is unstable, correct?) ?
<Dezgeg>
sounds like it
<sphalerite__>
saf_spa: it's unfree so you need to allow unfree packages
<Dezgeg>
then, if that node connects to any USB phys, those drivers need enabling as well
<Dezgeg>
i.e. I suppose whichever driver provides this "rockchip,rk3288-usb-phy"
<saf_spa>
my "nix-channel --list" is: nixos https.....17.09 As I see it, zandronum is master channel: https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/zandronum What I dont want to do, is to convert my system to unstable (master), but I want this package.
<saf_spa>
"# nix-channel --list" to be exact
<sphalerite__>
saf_spa: that doesn't apply to user packages
<sphalerite__>
saf_spa: try just doing nix-env -f '<nixpkgs>' -iA zandronum
<riclima>
Hey wondering if anyone has run into a similar problem: the man files for the packages I install do not appear in
<riclima>
Emacs' man command
<riclima>
I'm on macOS
<riclima>
I am using exec-path-from-shell to try and pull MANPATH, however it never gets set on my system
<sphalerite__>
saf_spa: zandronum is in 17.09 too, it's just that there are separate systemwide and per-user unfree settings
<saf_spa>
sphalerite__: well, if I exit back to regular user, and do "nix-env -qaP | grep -ie zandr", I get no results.
<sphalerite__>
saf_spa: what if you do nix-env -f '<nixpkgs>' -iA zandronum
<saf_spa>
sphalerite__: I have just upgraded the channels with "nix-env --upgrade", so that should not be source of problem.
<sphalerite__>
like I said before
python476 has quit [(Ping timeout: 248 seconds)]
griff_ has joined #nixos
<saf_spa>
sphalerite__: this is very strange. It refuses to evaluate claiming allowUnfree is not set, asking to insert one into configuration.nix or config.nix (local).
<sphalerite__>
exactly
<saf_spa>
sphalerite__: does this mean that the global setting does not apply to local users?
<sphalerite__>
yes
<saf_spa>
sphalerite__: hmm, and can I install zandronum global, or it has to be local only?
<sphalerite__>
you can do either
<sphalerite__>
To install it for all users, put it in your systemPackages in configuration.nix then nixos-rebuild switch
<saf_spa>
so the key is -f key?
<saf_spa>
because without this key it does not appear to see.
<sphalerite__>
To install it just for one user, `NIXPKGS_ALLOW_UNFREE=1 nix-env -f '<nixpkgs>' -iA zandronum` (or you can put allwoUnfree =true; in your ~/.config/nixpkgs/config.inx)
<sphalerite__>
the -f '<nixpkgs>' is just to work around nix-env having a terrible UI
<sphalerite__>
and have it behave more similarly to all the other nix tools
<sphalerite__>
One day nix 1.12 will be done and we'll have a better UI. But that day unfortunately isn't close yet :(
<sphalerite__>
Dezgeg: right, I'll try that. Thanks for all the help!
<saf_spa>
nixpkgs is different channel, correct? nixos is stable channel?
<saf_spa>
sphalerite__: I am actually writing something very ugly, a wrapper script for most common commands in bash.
<sphalerite__>
nix-env -f '<nixpkgs>' -iA foo is the same as nix-env -iA nixos.foo on a normal nixos setup
<sphalerite__>
Except the former will also work on non-nixos systems with normal nix setups
beirnsi has joined #nixos
ma27 has quit [(Ping timeout: 248 seconds)]
<sphalerite__>
I usually alias nix-env to nix-env -f '<nixpkgs>' so I don't have to type it out with the ugly quotes each time
mrkgnao has joined #nixos
<sphalerite__>
problem with that is that it makes the behaviour inconsistent with most docs :(
<saf_spa>
sphalerite__: I still dont get why I cant search for this package, even if allowUnfree is true in my configuration.nix. Possibly the root user needs also to have it in addition to global (in config.nix), because the search runs within root profile.
<sphalerite__>
saf_spa: yes, nix-env as root will use root's per-user config, not the system configuration. The system configuration is only used by nixos-rebuild
<sphalerite__>
Dezgeg: oh yeah, anything else that might be critical for getting it to boot?
<gchristensen>
kmicu, kmicu, kmicu, where are you?
<saf_spa>
sphalerite__: allow me one more question, please. Is it possible to add some files to user directories functionally, like what /etc/skel used to do?
<saf_spa>
sphalerite__: of course if you know it
* goibhniu
bets we'll get to 1000 people/bots in #nixos by 2018!
<sphalerite__>
saf_spa: not currently in nixpkgs itself, no. But rycee's home-manager [https://github.com/rycee/home-manager] is useful for doing that sort of thing
<sphalerite__>
well, not really like /etc/skel
<sphalerite__>
but it's useful for managing dotfiles and such.
<saf_spa>
sphalerite__: this is really cool!! Thank you! More nixstuff to research! >:)
<hodapp>
hm, I guess I should do a PR for the patches I did to get newest TensorFlow into nixpkgs... assuming someone else didn't do this while I was taking forever to
a6a3uh has quit [(Quit: Bye)]
ma27 has joined #nixos
<hodapp>
I have this tendency to patch something in Nixpkgs that I ned, and then by the time I get around to doing a PR, I haven't needed for weeks
<hodapp>
s/ned/need/
<fearlessKim[m]>
things like ipsec secrets should be written in /etc right ? applications are not supposed to change their folder once in the store right ?
<gchristensen>
right
<fearlessKim[m]>
cool
ShalokShalom has joined #nixos
<gchristensen>
I'm a bit slow to remember faces and names, so for other people like me who will be at nixcon, here is a picture of me: http://gsc.io/really-me.jpg
<saf_spa>
The biggest difficulty with nixos is its advantages, that require steep learning. A newbie in Linux will only scratch his head for a minute and move on to different distribution.
<disasm>
gchristensen: haha, you're not bald!
<saf_spa>
For example, I came to nixos because I found a dillemma of binary-only distributions for choosing policy, and this policy can never fit every real case. And Gentoo that is good at that has a problem of compilation.
<gchristensen>
disasm: I used to have a shaved head for (not serious) medical reasons :) my drawing is from that time
<saf_spa>
Nixos solves all this problems, plus solves problem of configuration merge, so its really the most advanced os.
kuznero has joined #nixos
<saf_spa>
sphalerite__: ^^^ (on approaching 1000 users and reasons)
<disasm>
gchristensen: thanks for sharing!
<sphalerite__>
saf_spa: yep that's exactly the feeling I get. I've been using nixos for a year now and get sad every time I have to use something else again...
<gchristensen>
drop the CONFIG_ and the `=` I think
<sphalerite__>
perfect, thanks!
<gchristensen>
I fought that (slow) battle too :P
<sphalerite__>
oh yeah, I wonder if botbot.me can make the entire history of the channel available for download. I was hoping to take a look at some stats about it to see (beyond intuitively obvious stuff) what gets discussed/explained particularly often
<ylwghst>
sphalerite__: do you mean modprobeExtraConfig?
<sphalerite__>
Where intuitively obvious stuff is "don't install libraries", "nix-env's UI is awful", etc
<sphalerite__>
ylwghst: no, I mean the lines used to configure a kernel build. See hwat gchristensen linked
<gchristensen>
sphalerite__: I could send you my log from since january 2016
<sphalerite__>
gchristensen: that would be great! I don't think older data than that would be that useful anyway
<ylwghst>
I se
<sphalerite__>
gchristensen: I was thinking a factoid bot would be useful, and this could provide some insight into which factoids would be useful
<gchristensen>
I agree
saf_spa has quit [(Quit: Konversation terminated!)]
beirnsi has quit [(Quit: Page closed)]
lsix has joined #nixos
<Enzime>
in my local checkout of nixpkgs, I've changed the version, source URL and hash for python3Packages.sip and python3Packages.pyqt5
<Enzime>
but when I install qutebrowser (which depends on python3Packages.pyqt5) it still uses the old version
ylwghst has quit [(Quit: leaving)]
orivej has quit [(Ping timeout: 264 seconds)]
sigmundv has quit [(Disconnected by services)]
ylwghst has joined #nixos
sigmundv__ is now known as sigmundv
sigmundv__ has joined #nixos
sphalerite__ has quit [(Ping timeout: 260 seconds)]
dieggsy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] AmineChikhaoui opened pull request #1631: attempt to fix #1630 (master...parallel-query-copy) https://git.io/vFv3I
NixOS_GitHub has left #nixos []
systmkor has quit [(Ping timeout: 264 seconds)]
erasmas has joined #nixos
a6a3uh has joined #nixos
<JaakkoLuttinen[m>
what is the correct way to delete profiles in /nix/var/nix/profiles/per-user/username/
<fearlessKim[m]>
jluttine: nix-env --delete-generations I think
nh2 has quit [(Ping timeout: 255 seconds)]
dieggsy has joined #nixos
p4cman has joined #nixos
sigmundv__ has quit [(Ping timeout: 248 seconds)]
MP2E has joined #nixos
dieggsy has quit [(Remote host closed the connection)]
Curiontice has quit [(Remote host closed the connection)]
Curiontice has joined #nixos
* hodapp
twiddles thumbs and wonders why NVIDIA needs a 1397 MB driver...
<Profpatsch>
hodapp: They embed special code for most games.
<gchristensen>
really?
<jluttine>
fearlessKim[m]: thanks! actually "nix-env -e '.*'" was sufficient to get what i wanted (no need to actually delete the generations as i first thought)
<hodapp>
blaaargh
<Profpatsch>
Ever seen an nvidia logo at the start of a game?
<Profpatsch>
That’s why.
<gchristensen>
neat.
<hodapp>
I tend to play games that predate NVIDIA.
<Dezgeg>
isn't the nvidia user interface written in javascript (with a full node.js included) these days? :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/vFvZY
<NixOS_GitHub>
nix/master 9971d87 Eelco Dolstra: Fix building on clang...
alhariel has quit [(Remote host closed the connection)]
alhariel has joined #nixos
alhariel has quit [(Client Quit)]
<jluttine>
goibhniu: solved the kde issue! :) i had some packages installed in my profile with nix-env and those were referring to older qtbase package, and then everything broke because then there was suddenly two different qt versions in the environment when running as my user.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to master: https://git.io/vFvnD
<NixOS_GitHub>
nixpkgs/master 159019b Franz Pletz: redis: 4.0.1 -> 4.0.2
<NixOS_GitHub>
nixpkgs/master b3dc24c Franz Pletz: qemu: 2.9.1 -> 2.10.1
<NixOS_GitHub>
nixpkgs/master 63bbada Franz Pletz: prometheus-node-exporter service: run as nobody again...
NixOS_GitHub has left #nixos []
alhariel has joined #nixos
ShalokShalom has quit [(Remote host closed the connection)]
<goibhniu>
jluttine: good job!
alhariel has quit [(Remote host closed the connection)]
<goibhniu>
jluttine: did you comment on that github ticket already?
alhariel has joined #nixos
alhariel has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 6 new commits to release-17.09: https://git.io/vFvcs
<NixOS_GitHub>
[nix] AmineChikhaoui opened pull request #1632: run query paths in parallel during nix copy and handle SIGINT (master...sigint-copy) https://git.io/vFvcK
<NixOS_GitHub>
[nixpkgs] league opened pull request #30798: perlPackages.IOPager: 0.06 -> 0.39 (for sqitch) (master...bump-sqitch-iopager) https://git.io/vFvlR
NixOS_GitHub has left #nixos []
fendor has quit [(Ping timeout: 258 seconds)]
lsix has quit [(Remote host closed the connection)]
kuchi has quit [(Ping timeout: 246 seconds)]
lebel has quit [(Remote host closed the connection)]
a6a3uh has joined #nixos
notdaniel has joined #nixos
kuchi has joined #nixos
amir has quit [(Ping timeout: 258 seconds)]
orivej has joined #nixos
amir has joined #nixos
aloiscochard has quit [(Quit: Connection closed for inactivity)]
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] mehandes opened pull request #30799: svgcleaner: init at v0.9.1 (master...svgcleaner) https://git.io/vFv4i
NixOS_GitHub has left #nixos []
amir_ has joined #nixos
acowley_away is now known as acowley
hotfuzz_ is now known as hotfuzz
keret has joined #nixos
Isorkin_ has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
amir has quit [(Ping timeout: 258 seconds)]
hotfuzz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 5 new commits to master: https://git.io/vFvB4
<NixOS_GitHub>
nixpkgs/master 8c9dbb2 Tuomas Tynkkynen: gptfdisk: 1.0.1 -> 1.0.3
<NixOS_GitHub>
nixpkgs/master e85768b Tuomas Tynkkynen: xfsprogs: 4.11.0 -> 4.13.1
<NixOS_GitHub>
nixpkgs/master e94887b Tuomas Tynkkynen: fio: 2.99 -> 3.1
NixOS_GitHub has left #nixos []
roberth has joined #nixos
leat has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
<keret>
Hi everyone, I installed nixos with luks and lvm, I have two questions about it. 1. My laptop's integrated keyboard does not work when I am asked to unlock my disk at stage1 of the booting process. I tried adding usbhid to boot.initrd.availableKernelModules, didn't work 2. I have KDE installed, but I want to know if there is a way to install a group of KDE applicaions instead of installing them separately.
FRidh has quit [(Ping timeout: 255 seconds)]
hellrazor has joined #nixos
<jluttine>
i would like to use the content of the same source tarball for a few different derivations. how can i write a derivation for the unpacked source directory? i tried: sourceDirectory = pkgs.fetchurl { src="..."; sha256="..."; }; but then sourceDirectory points to the tarball, not the unpacked content directory..
hellrazor has quit [(Client Quit)]
hellrazor has joined #nixos
<jluttine>
fetchzip !
digitus has quit [(Quit: digitus)]
<disasm>
keret: welcome! can you gist the output of nix-shell -p usbutils --run lsusb
<ArdaXi[m]>
fetchers only fetch the file and stick it in the store, the standard builder has an unpack phase
<ArdaXi[m]>
So you probably want to make a derivation that only does the unpack
<copumpkin>
fetchers can produce folders too
<copumpkin>
like fetchzip, or fetchgit, or fetchFromGitHub, or all the other VCS fetchers
digitus has joined #nixos
<ArdaXi[m]>
Ah, right, fetchzip is pretty much exactly what I just described
tgunb has quit [(Ping timeout: 258 seconds)]
nh2 has quit [(Ping timeout: 255 seconds)]
<copumpkin>
yeah, except the unpack is part of the fixed-output derivation rather than a normal derivation
katyucha has quit [(Quit: Lost terminal)]
<hyper_ch>
Harekiet: still here?
ssmike has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
damke_ has joined #nixos
<ArdaXi[m]>
keret: What sort of keyboard is it? It's possible you need a different module, though it seems unlikely
<ghostyyy>
i have a program that runs on linux but it is a binary, its interpreter points to /lib64/ld-linux-x86-64.so.2,
<ghostyyy>
how do i patchelf this so that it runs on nixos?
<hodapp>
that's a bit irritating. a shell.nix tells me to run "nix-prefetch-url file://cudnn-8.0-linux-x64-v6.0.tgz" in the download directory for that file, but doing so gives me "error: unable to download ‘file://cudnn-8.0-linux-x64-v6.0.tgz’: URL using bad/illegal format or missing URL (3)"
jb55 has joined #nixos
<betaboon>
is there something like a zen of nix ? :P
goibhniu has quit [(Ping timeout: 258 seconds)]
<ArdaXi[m]>
hodapp: That seems badly written, as far as I know file:// links need to be fully qualified
<gleber_>
Sharing my joy. Over last few days I've set up myself shell.nix for a project, installed direnv with "use nix" for that project, and installed emacs-direnv. It works like a charm and is absolutely awesome! :)
<ArdaXi[m]>
`nix-prefetch-url file://$PWD/cudnn-8.0-linux-x64-v6.0.tgz` might work
nh2 has joined #nixos
damke_ has quit [(Ping timeout: 240 seconds)]
<johnw>
gleber_: :)
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
keret has quit [(Ping timeout: 260 seconds)]
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
<jluttine>
fetchzip doesn't accept patches.. how could i patch the source directory? i'm passing this directory as src to some derivation creators that don't accept patches either
<NixOS_GitHub>
[nixpkgs] gnidorah opened pull request #30800: Sway (master...sway) https://git.io/vFvzW
NixOS_GitHub has left #nixos []
<ArdaXi[m]>
jluttine: There is srcOnly, closest thing I can find
trevorriles has joined #nixos
<ArdaXi[m]>
Takes name, src, patches, runs unpack, patch, and then copies everything into $out
<adisbladis>
iqubic: Would you mind sharing your exwm config so far? I'm pretty interested in switching over.
<disasm>
keret: is that Chicony keyboard the problem device in question or an addtional usb keyboard?
mrkgnao has quit [(Ping timeout: 240 seconds)]
<betaboon>
gleber_: i just spent a couple of days to prepare shell.nix for developers and devops aswell. this makes selling nix to the suit-faction a breeze :D
Neo-- has joined #nixos
nh2 has quit [(Ping timeout: 258 seconds)]
<gleber_>
betaboon: yeah! As long as they do not have yet a reasonably working system already. People being accustomed to something often make them not invest into a superior tech if their tech is not too painful...
<keret>
disasm: that is the one with problem. I plugged a usb keyboard to unlock the disk then the integrated keyboard started to work in sddm.
<jluttine>
ArdaXi[m]: thanks! i think that's perfect
<jluttine>
just what i was looking for
<taaperotassu>
Strange that my media keys are not working. sound.mediaKeys.enable is in my configuration.nix but it seems like my volume keys etc are not recognized?
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-unstable: https://git.io/vFvKe
<NixOS_GitHub>
nixpkgs/python-unstable 6f0c6d8 Frederik Rietdijk: python.pkgs: major and minor updates
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFvKI
<NixOS_GitHub>
nixpkgs/master ce301ef Franz Pletz: prometheus-node-exporter service: add disabledCollectors option
NixOS_GitHub has left #nixos []
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
ylwghst has joined #nixos
orivej has joined #nixos
glenn has quit [(Remote host closed the connection)]
acowley is now known as acowley_away
ahstro has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vFv6Y
<NixOS_GitHub>
nixpkgs/master a26b6c4 Franz Pletz: prometheus-node-exporter service: delete dead code
NixOS_GitHub has left #nixos []
<ahstro>
Hey, so I just decided to give NixOS a go, and I'm already stuck, 6 steps into the manual. Not quite sure how to configure my wireless networking. The manual mentions networkmanager, but I can't seem to use it nor nmcli. Any tips?
<NixOS_GitHub>
[nixpkgs] FRidh pushed 3 new commits to python-unstable: https://git.io/vFvyx
<NixOS_GitHub>
nixpkgs/python-unstable e3645dc Frederik Rietdijk: FIXUP python.pkgs.testtools: 1.8.0 -> 2.3.0
<NixOS_GitHub>
nixpkgs/python-unstable 728380d Frederik Rietdijk: python.pkgs.parso: init at 0.1.0
<NixOS_GitHub>
nixpkgs/python-unstable a529129 Frederik Rietdijk: FIXUP python.pkgs.jedi: missing dependency bump
NixOS_GitHub has left #nixos []
<sphalerite>
ylwghst: I'd just link you but I'm on my phone :p
lebel has quit [(Remote host closed the connection)]
<clever>
ahstro: a few questions that affect the partitioning answer
Isorkin has joined #nixos
<clever>
ahstro: efi vs legacy?, mbr vs gpt?, what rootfs type?, luks?
Ivanych has joined #nixos
mrkgnao has quit [(Ping timeout: 240 seconds)]
kier has joined #nixos
jensens has quit [(Remote host closed the connection)]
<sphalerite>
clever: ahstro said ext4 and bios
jensens has joined #nixos
<clever>
that could be mbr partitioning or legacy booting
davidak1 has quit [(Quit: Leaving.)]
a6a3uh has quit [(Quit: Bye)]
<ylwghst>
sphalerite: i found thx!
tmaekawa has quit [(Quit: tmaekawa)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 closed pull request #30800: sway module: make it useful to end user (master...sway) https://git.io/vFvzW
NixOS_GitHub has left #nixos []
ahstro has quit [(Ping timeout: 260 seconds)]
<bgamari>
Sonarpulse, do you think we should perhaps BUILD_FOR_CC to the default configure options?\
MP2E has quit [(Remote host closed the connection)]
a6a3uh has joined #nixos
feepo has joined #nixos
ryantm has quit [(Quit: Connection closed for inactivity)]
<ylwghst>
sphalerite: last 5 days i've only configured N configured and gets things work and maked WM I use usable with minimum sleep every day and my eyes are like ( O ) ( O )
griff_ has joined #nixos
keret has quit [(Quit: Page closed)]
<ylwghst>
but the fun begins now....
<ylwghst>
after years on osx :) i definetely can switch
notdaniel has joined #nixos
<MichaelRaskin>
I wonder if anyone will protest a change to makeInitrd in Nixpkgs that is only useful for generating initramfs with an approach being the opposite of NixOS.
<MichaelRaskin>
I,e, that change would likely help me to reduce my initramfs size from 118MiB (compressed) to maybe 50MiB relatively easily…
lebel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFvQo
<NixOS_GitHub>
nixpkgs/master 18a177a Jan Tojnar: gpodder: build XDG files
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vFvd9
<NixOS_GitHub>
nixpkgs/master 4ce42a4 Maximilian Bosch: weechat-xmpp: init at 2017-08-30
<NixOS_GitHub>
nixpkgs/master f13c421 Joachim F: Merge pull request #30367 from Ma27/init-weechat-xmpp...
NixOS_GitHub has left #nixos []
<gchristensen>
I think that is a reasonable precaution
<gchristensen>
I'll be opening it up to more people after it is at least a few days old :P
<disasm>
gchristensen: is that using your rabbitmq stuff you setup earlier?
<gchristensen>
but its important to be only building things which have been reviewed at least a little bit to not be obviously bad
<gchristensen>
disasm: yeah
<gchristensen>
it took me 45 min to write the first version of the bot, given the rabbitmq events. witha little creativity, imagine the things we could do
<disasm>
gchristensen: wonder if we could do something that adds a tag needs documentation for new functionality without docs :)
<MichaelRaskin>
The need for a minimal pre-review is because of load considerations?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vFvF3
<NixOS_GitHub>
nixpkgs/master 31b2e70 Dmitry Kalinkin: root_numpy: init at 4.7.3
<MichaelRaskin>
Or you think Nix doesn't have reliable enough sandboxing?
<MichaelRaskin>
Hm, my party trick makes sandboxing moot anyway for a deliberate attack.
<disasm>
MichaelRaskin: I think things like what if the user adds a package that downloads a 1 TB file and runs the system out of disk :)
Guest49808 has quit [(Quit: Lost terminal)]
<MichaelRaskin>
That's a boring load-type consideration
<MichaelRaskin>
Interesting attackers write a clone of fetchurl which is all like fetchurl but also runs a Tor exit node for 15 minutes in parallel with fetching.
<disasm>
MichaelRaskin: ooh, that sounds like a cool trick :)
<MichaelRaskin>
Rude attackers replace the Tor node with a list of recent Linux exploits and try to rootkit the build machine.
<ylwghst>
22:09 < MichaelRaskin> Or you think Nix doesn't have reliable enough sandboxing?
<ylwghst>
22:10 < MichaelRaskin> Hm, my party trick makes sandboxing moot anyway for a deliberate attack.
<ylwghst>
22:09 < MichaelRaskin> Or you think Nix doesn't have reliable enough sandboxing?
<ylwghst>
22:10 < MichaelRaskin> Hm, my party trick makes sandboxing moot anyway for a deliberate attack.
<ylwghst>
22:09 < MichaelRaskin> Or you think Nix doesn't have reliable enough sandboxing?
<ylwghst>
22:10 < MichaelRaskin> Hm, my party trick makes sandboxing moot anyway for a deliberate attack.
<ylwghst>
22:09 < MichaelRaskin> Or you think Nix doesn't have reliable enough sandboxing?
<ylwghst>
22:10 < MichaelRaskin> Hm, my party trick makes sandboxing moot anyway for a deliberate attack.
<ylwghst>
22:09 < MichaelRaskin> Or you think Nix doesn't have reliable enough sandboxing?
<disasm>
ylwghst: stop that
<ylwghst>
22:10 < MichaelRaskin> Hm, my party trick makes sandboxing moot anyway for a deliberate attack.
<MP2E>
heh
<ylwghst>
sorry
<ylwghst>
that wasnt me actually
<disasm>
ylwghst: your cat copy/pasting for you? :)
<MichaelRaskin>
Cat played with the mouse?
<FRidh>
or a fetchurl attacker
<MichaelRaskin>
That's what cats are supposed to do, after all.
<ylwghst>
sometimes it randomly paste my clipboard
griff_ has quit [(Quit: griff_)]
<disasm>
yeah ylwghst go you might want to ps aux|grep tor. If you get any results on your system, it might be MichaelRaskin messing with your irc client
<ylwghst>
MichaelRaskin: not cat all but youre true :D
griff_ has joined #nixos
<ylwghst>
right
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
<MichaelRaskin>
disasm: hey, I don't have build access to random machines on the net!
griff_ has quit [(Client Quit)]
<MichaelRaskin>
And as for Nixpkgs repository — I haven't committed anything complicated and to central enough packages for a long time,.
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<disasm>
MichaelRaskin: just messing :) Are you going to NixCon?
griff_ has joined #nixos
<gchristensen>
MichaelRaskin: exactly, a fixed-output drv have wide permission to do what they want w.r.t. the network, or exfil, etc. that it'd be not good to just build anything
griff_ has quit [(Client Quit)]
griff_ has joined #nixos
griff_ has quit [(Client Quit)]
<ylwghst>
MichaelRaskin: youre supposed to be cat :D
<gchristensen>
MichaelRaskin: especially with the build distribution model of borg: using community member's machines
<MichaelRaskin>
Hm. Maybe that should be run with a separate nix-daemon which sees only the store and /etc/nix/
sigmundv has joined #nixos
<FRidh>
like hydra
<gchristensen>
oh?
<gchristensen>
oh! hydra uses a restricted mode of some sort
<FRidh>
exactly
nixer has quit [(Quit: Page closed)]
<MichaelRaskin>
Well, it forbids __noChroot, but that's irrelevant. But I guess the build slaves are empty enough so there is nothing to exfiltrate…
<FRidh>
do be careful with turning on restricted mode on your own machine...I recall I once had trouble getting rid of it again
<gchristensen>
FRidh: can it be turned on per build?
<clever>
judson: and what that loads, depends on the contents of that default.nix (and by proxy, the all-packages.nix and nearly every file in nixpkgs)
simukis has quit [(Ping timeout: 240 seconds)]
<gchristensen>
ok I have restricted mode turned on for the builds
<ghostyyy>
MichaelRaskin, its in the launchx package
<ghostyyy>
but the same thing happens with Xorg
<MichaelRaskin>
Everything got broken.
<gchristensen>
however, can it spelunk the /nix/store for bad things?
<MichaelRaskin>
By a systemd update.
<gchristensen>
s/bad/secret/
rmrfroot has joined #nixos
prooftechnique has joined #nixos
<MichaelRaskin>
gchristensen: restricted mode is irrelevant, because fetchurl-clone.
<MichaelRaskin>
Well, might reduce the chance of an unlikely error, but.
<gchristensen>
being able to access things on the host is relevant I think?
<MichaelRaskin>
gchristensen: check if fixed-output derivations are _actually_ stopped from accessing the host.
<gchristensen>
I still won't turn it on for arbitrary users, but knowing where we stand is important
<clever>
gchristensen: from what i understand, a "fixed-output" derivation can do whatever network it wants against any machine in the LAN, possibly the private ip of the host
<MichaelRaskin>
It also has access to /etc/resolv.conf and probably a bit more.
<gchristensen>
makes sense
<clever>
gchristensen: and also a declarative hydra project could define /etc as a project input, and get a snapshot of your entire system config
earldouglas has quit [(Ping timeout: 252 seconds)]
<gchristensen>
yeah
<MichaelRaskin>
ghostyyy: I stopped using mainline NixOS precisely after the systemd update that had broken all my attempts to do something like startx.
MarcelineVQ has quit [(Ping timeout: 255 seconds)]
<ghostyyy>
oh dear
<MichaelRaskin>
xlaunch worked until systemd managed to break too many things.
<MichaelRaskin>
I.e. a root-started Xorg started getting EPERM
<gchristensen>
disasm: "wonder if we could do something that adds a tag needs documentation for new functionality without docs :)" want to try? I'll set you up with creds to receive events.
<ghostyyy>
i think that might be my problem
<clever>
MichaelRaskin: i would just patch the xorg modules in nixos to be able to run 2 at once
<ghostyyy>
did you ever fix it?
<clever>
MichaelRaskin: that has been on my todo list
<ghostyyy>
clever, do you have any tips for doing that?
<ghostyyy>
i have absolutely no idea how systemd and xorg interact
<MichaelRaskin>
clever: yeah, but then there are details of how flexible I want all that to be. And how much pain would be to support all that flexibility.
kuznero has joined #nixos
earldouglas has joined #nixos
<MichaelRaskin>
Because I have used multiple X with different configs, for example.
<clever>
this is where the display-manager service gets defined
<clever>
you need to modify it to be able to define several, and then allow some differences between the configs
<MichaelRaskin>
(given that I don't want display manager…)
<clever>
at a minimum, one on :0 and one on :1
<ghostyyy>
clever, ah i see!
<ghostyyy>
thank you very much
<clever>
ghostyyy: there is a cfg.display to change what display it uses
<clever>
ghostyyy: but some things like line 623 are hard-coded to expect 0
<clever>
and dealing with a list of config sets is a bit tricky
<ghostyyy>
i see
<judson>
clever channel default.nix-es could refer to anything on the filesystem though, I suppose. Seems reasonable to consider only files within the channels themselves, though?
<judson>
And e.g. an overlays directory?
<clever>
judson: config.nix and env vars also come into play
<prooftechnique>
What I mean to do is prevent the test suite from running on the three packages listed there
<mpickering>
What's the usual way to fix a derivation which directly calls "gcc" and so fails on osx?
MarcelineVQ has joined #nixos
notdaniel has joined #nixos
<prooftechnique>
But for whatever reason they still run and this breaks the build. Am I doing this wrong?
notdaniel has quit [(Read error: Connection reset by peer)]
ma27 has quit [(Ping timeout: 246 seconds)]
<rmrfroot>
krita segfaults on nixos 17.09 with xmonad, something tells me it has to do with missing kde/qt stuff, anyone know if there are any standing issues regarding running kde/qt applications in non-kde environment? here's the last lines of gdb output: http://lpaste.net/4871722438246793216
<prooftechnique>
mpickering: I have gcc installed with Nix on OS X. Is it directly calling a specific path and causing a failure?
<prooftechnique>
(single-user install, latest Nix, using nix-darwin)
<mpickering>
no the problem is that "gcc is not found"
<LnL>
mpickering: it should be $CC or cc that works on all platforms
ahstro has joined #nixos
<ahstro>
nixos-install just failed, complaining about grub-install, saying "File system `ext2` doesn't support embedding". I never created a ext2 file system, I used ext4 as the manual said
<clever>
ahstro: you must set the grub device to the root (sda) not the partition (sda1)
<judson>
I sorta wish that all I did was Nix, because every time I go to touch e.g. nix-shell I forget how to make it do the thing I want.
<judson>
In this case, I'm just trying to nix-shell with a default.nix, but I'm getting "stuff is broken" errors
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vFvjP
<judson>
That's almost always what I mean to do, but I keep coming back here to be reminded of the incantation.
<judson>
:/
<sphalerite>
Is there an easy way to get a kernel config that is sufficient for some given hardware and doesn't have too much extra baggage? It's been building modules I will never need for several hours now
<clever>
judson: you can also write your files such that they dont need this
<clever>
judson: replace the function args on line 1 with just
<clever>
judson: with import <nixpkgs> {};
<clever>
sphalerite: the standard way is to just "make menuconfig" and customize it as you feel, but nixos doesnt accept a .config file
<judson>
Right. ATM I'm trying to iterate out a new package, though.
<disasm>
gchristensen: sure, maybe you can show me your code for what you got going with your bot this weekend :)
<clever>
judson: you can also make a second nix file, with the contents of the -E string
<clever>
judson: and then point nix-shell at that second file
<sphalerite>
clever: exactly, plus I don't know what I actually need
<clever>
sphalerite: an imperatively made kernel might be better, so you can quickly rebuild after each iteration
<sphalerite>
So tar xf $(nixpkgs linux.src) ; cd linux* ; nix-shell '<nixpkgs>' -A linux
<sphalerite>
Then make?
trevorriles has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite>
Well make config-stuff
<clever>
sphalerite: and anoyingly, you need to add curses to a certain env variable for menuconfig to build
<clever>
its mia from the linux nix-shell
<sphalerite>
The thing is though, again, that I don't know what stuff I actually need :/
<clever>
sphalerite: does lspci work on the chromebook?
rmrfroot has quit [(Remote host closed the connection)]
<sphalerite>
Nope
<clever>
sphalerite: lsmod?
<sphalerite>
Heh. It even ships with lspci. But the shipped one doesn't work either
rmrfroot has joined #nixos
<sphalerite>
Yes but most of the functionality isn't in modules
<clever>
the cpu likely lacks a pci bus
<clever>
one sec
<clever>
sphalerite: "ls -l /sys/module/" includes "modules" that have been linked in at compile time
<clever>
sphalerite: youll need to review that, and decide what you want to keep
<clever>
sphalerite: oh, is there a /proc/config.gz on the stock kernel?
<sphalerite>
Sweet
<sphalerite>
Nope there isn't. Tried that earlier :(
<clever>
ive also done kernel module dev, so i am familiar with all of the kernel internals
<clever>
and ive had the fun of reading the source for at least 2 or 3 of my network drivers
mizu_no_oto has joined #nixos
<judson>
Okay, hoping this is a noob issue and someone just recognizes it:
<judson>
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
<judson>
I've got libffi in the shell buildInputs already.
<clever>
judson: try switching to a --pure shell, does that make any difference?
<judson>
Errors about UTF-8 now. I did need to add pypi2nix as a nativeBuildInput to get that far, so let me try it without --pure...
qewzee has joined #nixos
<rmrfroot>
what is the hash used for nix-prefetch-url when you only supply an url?
<sphalerite>
clever: do you know an easy way to map module names to config option names?
<judson>
Boo: pypi2nix uses -E flags to specify non-python deps, and doesn't seem to use e.g. NIX_LDFLAGS so setting up a "host" default.nix was a red herring
qzd has quit [(Quit: Connection closed for inactivity)]
qewzee has quit [(Ping timeout: 240 seconds)]
<clever>
sphalerite: you need to grep the makefiles
rmrfroot has quit [(Remote host closed the connection)]
<clever>
sphalerite: and is related to this config option
<clever>
sphalerite: most of the time, the pattern is that simple, but not always
<sphalerite>
Right
ertes has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
johnw_ has joined #nixos
johnw has quit [(Ping timeout: 240 seconds)]
rmrfroot has joined #nixos
chaker has quit [(Quit: WeeChat 1.9.1)]
<rmrfroot>
regarding what i wrote earlier about krita: i tried running krita using plasma5 as DE and then the segfault didn't happen. i guess there's some dependency missing when you use xmonad as VM...
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] puffnfresh opened pull request #30806: uvcdynctrl: init at 0.2 (master...package/uvcdynctrl) https://git.io/vFfk7
NixOS_GitHub has left #nixos []
<judson>
Having gotten a pypi2nix requirements.nix, what's the best way to say "and this one package is the thing I'm trying to install"?
ahstro has quit [(Ping timeout: 260 seconds)]
<judson>
I can see how to do build inputs, but something in default.nix that delivers one of the packages as the expression output...
nschoe_ has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
p4cman has quit [(Quit: Connection closed for inactivity)]
hiratara has joined #nixos
civodul` has joined #nixos
civodul has quit [(Ping timeout: 260 seconds)]
rmrfroot has quit [(Remote host closed the connection)]
iqubic has joined #nixos
civodul` has quit [(Ping timeout: 240 seconds)]
civodul has joined #nixos
<judson>
...oh, obviously
<judson>
"If you have a function that receives a set, how do you return an item from the set?"
<bgamari>
Sonarpulse, I'm yet again confused about rpaths
<bgamari>
the ld wrapper doesn't appear to look for transitive dependencies of shared objects
<bgamari>
it only looks for libraries actually mentioned by a -l flag
<bgamari>
so if I have libxml2 which depends upon libz and I'm compiling with -lxml2, how does libz's library path end up in rpath?
dieggsy has quit [(Ping timeout: 246 seconds)]
<Sonarpulse>
bgamari about to head to haskell meetup
<Sonarpulse>
but loook at cross adapter
<Sonarpulse>
buildInputs all become propagated
<Sonarpulse>
but not other runtime inputs!
<bgamari>
ahh, right
<Sonarpulse>
so there's a bug!
<bgamari>
ahh
<Sonarpulse>
this weekend is nixcon
<Sonarpulse>
I hope to kind of push a bunch of this stuff through then
<bgamari>
Sonarpulse, not other runtime inputs?
<Sonarpulse>
depsHostHost
<bgamari>
what other kinds of runtime inputs?
<Sonarpulse>
which are like never made by hand
ylwghst has quit [(Remote host closed the connection)]
<Sonarpulse>
but can come from propagatedDepsTargetTarget
<Sonarpulse>
g2g
<hyper_ch>
so many nixer in one place... won't that make the universe implode?
rogue_koder has quit [(Ping timeout: 240 seconds)]
rogue_koder has joined #nixos
Sonarpulse has quit [(Ping timeout: 258 seconds)]
Ivanych has quit [(Ping timeout: 246 seconds)]
nschoe_ has quit [(Quit: Program. Terminated.)]
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pxc has quit [(Ping timeout: 240 seconds)]
infinisil has joined #nixos
<rycee>
For anybody interested in home manager deploys from system configs: I've improved the branch with the NixOS module somewhat today. It's now able to deploy my (simplified) user environments for my nixops hosts and my declarative containers. Still experimental with hacks here and there but Works For Me™. If you want to try it out you can put `(import (builtins.fetchTarball
<NixOS_GitHub>
[nixpkgs] andir opened pull request #30808: luajit: do not override INSTALL_INC (master...fix-luajit-include-directory) https://git.io/vFfGS
NixOS_GitHub has left #nixos []
<ekleog>
\o/
erasmas has quit [(Quit: leaving)]
<gchristensen>
Mic92: and hopefully, nix-darwin
dbmikus has quit [(Quit: WeeChat 1.9.1)]
ylwghst has joined #nixos
zunk has joined #nixos
asdfoiawe has joined #nixos
markus1199 has joined #nixos
MichaelRaskin has quit [(Ping timeout: 258 seconds)]
ylwghst has quit [(Remote host closed the connection)]
markus1189 has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
pie_ has joined #nixos
mithsv has quit [(Remote host closed the connection)]
mithsv has joined #nixos
<schoppenhauer>
hi. does anyone else have the problem that palemoon segfaults?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vFfC3
<NixOS_GitHub>
nixpkgs/master 5114ca0 Franz Pletz: unifi: 5.6.18 -> 5.6.19
<NixOS_GitHub>
nixpkgs/master 9d74f33 Franz Pletz: mupdf: add patch to fix multiple CVEs...
NixOS_GitHub has left #nixos []
LnL has quit [(Ping timeout: 252 seconds)]
ylwghst has joined #nixos
dieggsy has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
pie___ has joined #nixos
pie_ has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] andir opened pull request #30809: dnstracer: fix build on darwin (master...dnstracer-darwin) https://git.io/vFfW3