<clever>
bebarker: that allows me to just "nix-shell vim.nix" and i get a fully configured editor, without any lasting changes to the machine
<bebarker>
great, that sounds like what I'm looking for
ertes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jerith666 opened pull request #30623: webkitgtk 2.4: fixup build by using older icu again (master...webkit-icu) https://git.io/vdb0C
<simpson>
Hi. I notice that Impressive, the PDF presentation tool, is not packaged and also that its upstream is a little quiet. Are there PDF presentation tools in nixpkgs already which work well on cheap i915 graphics?
ylwghst has joined #nixos
betaboon has quit [(Quit: WeeChat 1.9.1)]
betaboon has joined #nixos
TaoHansen[m] has joined #nixos
drakonis has joined #nixos
ylwghst has quit [(Client Quit)]
<TaoHansen[m]>
i'm running Nix on top of GuixSD. video editors that use MLT, like Shotcut and Kdenlive can't find OpenGL. what do i need to link to get them functional?
<gchristensen>
I don't think that'll work, I think our opengl programs only work under nixos
MP2E has joined #nixos
python476 has quit [(Ping timeout: 240 seconds)]
<drakonis>
why would you do that...
<gchristensen>
use nix on guixsd?
<drakonis>
yes
<drakonis>
that sounds like some very crazy stuff
rburkholder has quit [(Read error: Connection reset by peer)]
<gchristensen>
to get all the benefits of nix (guix) with the unfreeness of nix :)
<drakonis>
like the unstoppable force meets the unmovable object
rburkholder has joined #nixos
adc has quit [(Ping timeout: 248 seconds)]
<requisitebits>
ebkitgtk 2.4: fixup build by using older icu again (master...webkit-icu) https://git.io/vdb0C
<requisitebits>
17:27 -!- NixOS_GitHub [~NixOS_Git@192.30.252.34] has left #nixos []
<TaoHansen[m]>
drakonis: what gchristensen said. :-)
<TaoHansen[m]>
runs without complaint
<TaoHansen[m]>
also a video editor
<gchristensen>
is it based on opengl?
<TaoHansen[m]>
shouldn’t all these things depend on OpenGL?
<TaoHansen[m]>
pardon my supreme ignorance
<gchristensen>
I don't think necessarily
<gchristensen>
pitivi seems to not
<TaoHansen[m]>
got it. thanks for your help. i’ll just use Pitivi if there isn’t a workaround
betaboon has quit [(Quit: WeeChat 1.9.1)]
betaboon has joined #nixos
<TaoHansen[m]>
drakonis: actually this is only part of the why. Nixpkgs has a whole lot more packages than Guix. so i just draw from their repos when Guix doesn’t have what i want
<TaoHansen[m]>
“it’s like Voltron. the more you hook up, the better it gets.”
<gchristensen>
but why guix at all?
<gchristensen>
not a loaded question, just curious
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
orivej has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
<Acou_Bass>
gchristensen: guix is great :D scheme is even easier than the nix expression
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] hamishmack opened pull request #30625: r-modules: Fix a number of popular R packages (master...r-fixes) https://git.io/vdbgD
NixOS_GitHub has left #nixos []
hellrazo1 has joined #nixos
lambdamu_ has joined #nixos
hellrazor has quit [(Ping timeout: 246 seconds)]
etu has quit [(Read error: Connection reset by peer)]
<disasm>
bebarker: here's a default.nix skeleton I use everywhere... basically for your case, just add your package in buildInputs. You can do that directly similar to how you run nix-shell -p that clever showed, or clean it up and do a let pkg = import ./foo.nix; in and then use pkg in buildInputs.
<disasm>
hyper_ch: most of my clients aren't even using nix, let alone nixos yet sadly. All my personal stuff is nixops now though (including this d.o box I use for connecting to IRC)
<disasm>
I'm working on a standardized platform management nixops set of roles that as soon as I find a client interested in nix though, I'll be ready :) So far got most of the monitoring stuff done, ldap SSO with ssh keys in ldap, playing with gocd instead of jenkins for build server and a few other things.
<adisbladis>
disasm: Did you publish your nixops configs somewhere?
<adisbladis>
Ohh I really like that helpful shellHook :>
Wizek has quit [(Quit: Connection closed for inactivity)]
<hyper_ch>
is there actually a nice syntax highlighting for .nix in kate?
mkoenig_ has quit [(Remote host closed the connection)]
xd1le has joined #nixos
pxc has joined #nixos
frankqux2 has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] michaelpj opened pull request #30634: redshift: allow using geoclue2 as the location provider (master...imp/redshift-geoclue) https://git.io/vdbKe
NixOS_GitHub has left #nixos []
frankqux1 has joined #nixos
ma27 has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
ssmike has quit [(Ping timeout: 240 seconds)]
iyzsong has joined #nixos
jgertm has joined #nixos
notdaniel has quit [(Quit: Leaving)]
pie_ has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterromfeldhk opened pull request #30635: androidndk: add Darwin support (master...androidndk/darwin) https://git.io/vdbKo
NixOS_GitHub has left #nixos []
mgttlinger has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterromfeldhk closed pull request #30635: androidndk: add Darwin support (master...androidndk/darwin) https://git.io/vdbKo
NixOS_GitHub has left #nixos []
jgertm has joined #nixos
jgertm has quit [(Ping timeout: 248 seconds)]
Mateon2 has joined #nixos
ssmike has joined #nixos
jushur has quit [(Quit: The Borg joined forces with Skynet, Resistance is futile! Uploading has begun!)]
ssmike has quit [(Ping timeout: 255 seconds)]
ssmike has joined #nixos
demego has quit [(Remote host closed the connection)]
demego has joined #nixos
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pikajude has joined #nixos
scribbler has joined #nixos
scribbler has quit [(Remote host closed the connection)]
scribbler has joined #nixos
xelxebar has joined #nixos
<xelxebar>
I'm a bit stumped. How can I go about installing the nix-install nix-generate-config etc tools?
<xelxebar>
I see the *.nix expression files under /nix/store/<blah>-nixpkgs-<blah>/nixos/modules/installer/tools/
<xelxebar>
FWIW, I'm running a nix store on a non nixos system
simukis has joined #nixos
mutagenfork has joined #nixos
kiloreux has joined #nixos
kiloreux_ has joined #nixos
notdaniel has joined #nixos
jsgrant has quit [(Remote host closed the connection)]
scribbler has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] cocreature opened pull request #30641: ghcjs: Do not mark as broken (master...unbreak-ghcjs) https://git.io/vdbPG
NixOS_GitHub has left #nixos []
<CcxWrk>
I see that there are no overlay-style binaries for installing Nix on ARM, while there are full NixOS builds. Is there a reason for that? Could I build my own?
<clever>
CcxWrk: i have nix running on one of my raspberry pi's, ive given my hydra a kick to get it going again
Ivanych has joined #nixos
<CcxWrk>
clever: So you built Nix from source there?
roflukulus has joined #nixos
<CcxWrk>
Or via hydra on different arch I guess.
mgttlinger has quit [(Quit: Connection closed for inactivity)]
scribbler has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
hamishmack has joined #nixos
<neonfuz>
recommended chinese font package?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdbXR
<NixOS_GitHub>
nixpkgs/master 525e121 Vladimír Čunát: xorg.libXfont: 1.5.2 -> 1.5.3...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vdbXE
<NixOS_GitHub>
nixpkgs/staging f70118b Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
roflukulus has left #nixos []
roflukulus has joined #nixos
roflukulus has quit [(Quit: Leaving.)]
roflukulus has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vdbXw
<NixOS_GitHub>
nixpkgs/release-17.09 2b0ccb1 Vladimír Čunát: xorg.libXfont: 1.5.2 -> 1.5.3...
NixOS_GitHub has left #nixos []
ssmike has joined #nixos
<roflukulus>
Hi, this is nearly my first day in nixos. When i add pidgin to configuration.nix and do a nix-rebuild switch, my screen flickered and the system was unusable. After reboot everything is fine. Any workarounds against this behaviour? Do nix-rebuild test first?
<srhb>
roflukulus: nixos-rebuild test only activates the configuration but does not set it bootable for the next boot, so that wouldn't change anything in this case.
<srhb>
(meaning you're back to your old system once you reboot)
<jluttine>
hmm.. how can i add some my own packages to pkgs in configuration.nix?
<srhb>
jluttine: There's a myriad of ways. How about packageOverrides?
<srhb>
Or maybe overlays.
<roflukulus>
srhb: I see, so what should I do best? I had this behaviour also with atom.
<srhb>
roflukulus: I don't think we have enough information on what you did and what happened to give any sensible advice.
wlhlm has joined #nixos
<roflukulus>
srhb: what you need? configuration.nix? the nix-shell command on topic gives me undefined variable 'nix-info'
<srhb>
roflukulus: The changes you made before rebuilding would be better.
<srhb>
(That said I have no idea about X issues, so I personally probably won't be able to help, but maybe someone else will)
<srhb>
roflukulus: And you hadn't upgraded the channel or anything since last rebuild?
NightTrain has quit [(Quit: Lost terminal)]
<jluttine>
srhb: ok! tried packageOverrides but got errors both with it being a top-level attribute name alongside config and option, and also with being under config. don't know where it should be put..
<jluttine>
srhb: yep, thanks! i'm always having difficulties finding the right place from the docs. i google and google and browse the docs and in the end the info was still somewhere else :/
<srhb>
jluttine: Yes, the split between nixos and nixpkgs manuals can be a little confusing.
<srhb>
jluttine: You get used to it :)
<CcxWrk>
clever: I see. So if my device isn't capable of doing that, I guess I should take an emulator, compile Nix by hand there, rebuild so it becomes self-contained and then just move the /nix directory to the actual device.
<CcxWrk>
Does Nix support some kind of distcc setup to get the compilation processes out of the emulator?
<clever>
CcxWrk: nix has its own build slave setup, but it assumes you can run nix on the target machine
<avn>
CcxWrk: better just mount /nix from other device, not alter /nix to /some
<srhb>
CcxWrk: nix.buildMachines perhaps?
<avn>
otherwise you can't use binary caches
<clever>
avn: as long as you move the entire /nix to /nix on another device, it will survive
<avn>
clever: I know, just tried to explain things
<CcxWrk>
I'll see if I can get bindmounts to work there, then I'll be able to use /nix, otherwise I guess I'll have to rebuild from scratch.
a6a3uh has quit [(Quit: Bye)]
<CcxWrk>
srhb: Where is that documented?
<CcxWrk>
But I'm leaning towards using musl (if that's an option) so I guess that has no binary channels anyway.
<srhb>
CcxWrk: Presumably in the nix manual
<srhb>
Though apparently not...
<CcxWrk>
srhb: That's the one I just searched and found nothing. :]
<srhb>
CcxWrk: Meh. It's documented in the nixos options then. For some reason :P
<clever>
CcxWrk: which device are you trying to target?
<clever>
CcxWrk: and what prevents you from running normal glibc based nix on it?
<jluttine>
hmm.. i'm running "nixos-rebuild build" and got errors because it tries to download some non-existent package. i've removed all references to this package but still it tries to download it for some reason. could there be some caching causing this?
<CcxWrk>
Xperia Pro. 512MB RAM. Most of which is occupied by Android.
ssmike has quit [(Ping timeout: 255 seconds)]
<clever>
jluttine: can you gist the full error?
<srhb>
jluttine: That sounds like you didn't remove all references to it.
<srhb>
:-P
<clever>
CcxWrk: ah, you could use a different arm device with a compatible cpu
<clever>
CcxWrk: do you know if its armv6, armv7 or aarch64?
<clever>
jluttine: nginx depends on nextcloud which depends on calendar.tar.gz
<clever>
jluttine: can you gist your configuration.nix file?
Isorkin has joined #nixos
<clever>
or add it to the existing gist
<jluttine>
clever: well, that's quite complicated. i'm working on those nginx, nextcloud and calendar nix-files myself
<jluttine>
clever: a huge bunch of files
<clever>
ah
<CcxWrk>
armv7el iirc. I also have N900 which I'm interested in getting Nix on, which is similar HW and saner system (Maemo~=Debian)
<jluttine>
i grepped and there was no "calendar" string anywhere
<jluttine>
so i don't understand
<clever>
CcxWrk: ah, thats compatible with the rasberry pi 2 and 3, and also the qemu emulation i have, one min
<clever>
jluttine: can you gist the files involved in nextcloud and the contents of /nix/store/hl95ln7vif73kiz13wsf3ydq7nn97xfb-nginx.conf.drv and /nix/store/b3k0ivqdiasar8k618l4vbxdqzr7zqwn-nextcloud-12.0.2.drv
<clever>
CcxWrk: this build of qemu allows you to run armv7 binaries on an x86 machine, without any kernel/system emulation, just build qemu-user-arm, and run the register script as root
<clever>
CcxWrk: and the nix on line 12, is a patched copy of nix, that supports "build-extra-platforms = armv7l-linux" in /etc/nix/nix.conf, which will convince nix-daemon that the x86 machine can "just run" arm binaries
proteusguy has quit [(Remote host closed the connection)]
<clever>
CcxWrk: when the 2 are combined properly, the machine can just run any arm binary, including an arm compiler
mortum5 has joined #nixos
ison111 has quit [(Ping timeout: 248 seconds)]
<CcxWrk>
But then I will still be using gcc compiled for arm emulated via qemu, right? Unlike swapping it for cross-toolchain that can run natively. But I assume that would invalidate Nix's purity.
<jluttine>
i'm trying to create a modular web app system for nextcloud
<jluttine>
work in progress..
<clever>
CcxWrk: there is also a cross-compile framework in nixpkgs, but its got some kinks in it, and nix-env on the arm wont use the cross-compiled libraries, so it would have to rebuild it all again
<jluttine>
anyway, afk for many hours ->
<clever>
jluttine: reading the nextcloud .drv file, i can see calendar.tar.gz is in its $src
<clever>
jluttine: and that nextcloud derivation is the root for something in nginx
<joko>
Speaking of cross compilation, is it now possible to cross-build all your arm system on an amd64 host? I have a Wandboard which just needs NixOS :)
<clever>
jluttine: i can also see that you have that commented out on line 27-ish
<clever>
joko: i have done most of that before, it just had a few kinks with the kernel and xargs, they may have since been resolved
<clever>
jluttine: the next thing to check would be "nixos-rebuild build -vvvvvv" and go over every .nix file its reading
<joko>
clever: so I don't have to build anything at all on the arm side? That would be awesome!
orivej has joined #nixos
xd1le has quit [(Ping timeout: 246 seconds)]
<CcxWrk>
clever: I see. I have no clue how to use the snippet you linked me though. Or how to modify the build to use musl as base.
<clever>
CcxWrk: the musl stuff would come afterwards, and this part wouldnt have to change any
<clever>
CcxWrk: the parts i linked, purely make an x86 machine capable of running arm code, so you can use an x86 machine instead of an arm machine
<clever>
CcxWrk: to start with, are you going to use a nixos or other linux for the build host?
pie_ has joined #nixos
<CcxWrk>
I have Gentoo + Nix on the machine I want to build on. (and user qemu already installed via portage if that helps)
<clever>
CcxWrk: ah, thats half the work
<clever>
CcxWrk: git clone the nix-misc repo i linked previously, and run "nix-build -A nix" and let me know when that finishes
ris has joined #nixos
FRidh has quit [(Ping timeout: 240 seconds)]
catch22 has quit [(Remote host closed the connection)]
<clever>
CcxWrk: oh, and the qemu-user binary you have from portage, is it static or dynamic linking?
<clever>
CcxWrk: dynamic breaks ldd, which messes up the initrd generation for nixos
<clever>
though with android, that doesnt matter much
<CcxWrk>
kthnx, will try in a bit
<CcxWrk>
dynamic most probably
<clever>
CcxWrk: after nix is done building nix, you can do something like: ./result/bin/nix-build '<nixpkgs>' -A hello --argstr system armv7l-linux
<clever>
CcxWrk: which will run the native arm7 -> arm7 compiler to build hello world
pxc has joined #nixos
<clever>
CcxWrk: oh, and it needs build-extra-platforms = armv7l-linux in /etc/nix/nix.conf
mutagenf1rk has joined #nixos
<gleber_>
I am getting collisions warnings whenever I do nixos-rebuild on files /nix/store/*-virtualbox-5.1.26/ (with two different hashes). Any pointers how to debug and fix it?
wlhlm_ has joined #nixos
mutagenfork has quit [(Ping timeout: 248 seconds)]
pxc has quit [(Ping timeout: 252 seconds)]
wlhlm has quit [(Ping timeout: 252 seconds)]
<clever>
gleber_: what lines have you added to configuration.nix that reference virtualbox?
<clever>
gleber_: the service installs a modified copy of the vbox package, based on your hardening and headless options
<clever>
so it may install a copy without the xorg components
<gleber_>
clever: ah!
<clever>
and the 2nd one you added is the original with the defaults
<clever>
so they have different hashes
<gleber_>
clever: makes sense, thank you!
<clever>
yep
phreedom has quit [(Ping timeout: 252 seconds)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 240 seconds)]
FRidh has joined #nixos
keta_suki has joined #nixos
<adamt>
Did anybody manage to install Maple (from Maplesoft) on nixos?
<srhb>
adamt: That's a Java thing, isn't it? I think I may have had it working at one point.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] woffs opened pull request #30644: pulsemixer: init at 1.3.0-license (master...pulsemixer) https://git.io/vdbDL
NixOS_GitHub has left #nixos []
<srhb>
adamt: (Also hey, are you my coworker? :-P)
<adamt>
srhb: Yup^2
<srhb>
:)
<srhb>
I don't have a key anymore, is there a demo version I can try out?
ylwghst has joined #nixos
<joko>
Is it possible to use inherit on an array?
<adamt>
srhb, I doubt it. Seems like you have to fill out a form and apply for an evaluation license :P
<srhb>
Darn.
<srhb>
adamt: Where are you stuck? Perhaps I can help out anyway.
<joko>
I meant on a list, sth like [ (inherit machines;) ]
<CcxWrk>
clever: run "nix-build -A nix" in the cloned repo?
<clever>
CcxWrk: yeah
<CcxWrk>
Does it auto-parallelize somehow, or are some tweaks needed to get it running on all 8 cores?
<clever>
CcxWrk: it will obey the core config in your existing /etc/nix/nix.conf
<srhb>
joko: What is machines?
<srhb>
joko: It seems like you either want to append to a list or simply use [ machines ];
<clever>
CcxWrk: but you can also use "-j 8 -Q --option build-cores 8" to force it to use the cores
<adamt>
srhb: I'm not stuck per see, in the sense that i haven't bothered trying myself yet, thinking it might be futile to get Maple to run. :P
<srhb>
adamt: Actually, java applications tend to behave mostly as on other systems.
<srhb>
If they have external dependencies, they're usually no worse than any other nix derivation.
mortum5 has quit [(Remote host closed the connection)]
<CcxWrk>
clever: Finished.
<srhb>
adamt: You may have to use the usual fix for grey-screen java applications in tiling WMs though.
<clever>
CcxWrk: now add the extra platforms to nix.conf, and then try to build hello-world with the resulting nix
<clever>
CcxWrk: the -j flags above can also be used to speed that arm build up
<srhb>
adamt: At least I do in XMonad :)
vandenoever has joined #nixos
<CcxWrk>
clever: Does that pass makeopts? Or just builds more packages in parallel?
<clever>
CcxWrk: "-j 8" runs 8 packages in parallel, and "--option build-cores 8" passes "-j 8" to make, within each package
<clever>
CcxWrk: and both cause heavy interleaving of the output, making it rather unreadable, so -Q will silence all output
<adamt>
srhb, let me download it and see how i'm supposed to install it on normal distributions.
<srhb>
adamt: OK :) I'll be around for a few hours.
FRidh has quit [(Quit: Konversation terminated!)]
FRidh has joined #nixos
<joko>
srhb: you are totally correct, I don't need attributes... Let's see how it goes
<srhb>
adamt: Is this a sign that you're committing your personal laptop to nix? ^^
<srhb>
joko: Ah, good :)
<CcxWrk>
clever: I see. And they would be equivalent to build-max-jobs and build-cores in nix.conf respectively. Anything to pass -l along with -j to make?
<clever>
CcxWrk: i believe build-max-jobs is the default for the nix level -j
<clever>
CcxWrk: and --option is just a generic way to override anything in nix.conf
<adamt>
srhb: It's a sign of me investigating options. :P
<srhb>
:)
<CcxWrk>
clever: Finished the hello world. Though it seems like it just fetched stuff from binary channels.
<clever>
CcxWrk: did you also pass --argstr system ... ?
<CcxWrk>
Ah, not finished: error: a ‘armv7l-linux’ is required to build ‘/nix/store/i6p69aslp862nrd5vzxxy1hkj769fxql-bootstrap-tools.drv’, but I am a ‘x86_64-linux’
<CcxWrk>
▶ ./result/bin/nix-build '<nixpkgs>' -A hello --argstr system armv7l-linux
<clever>
CcxWrk: your missing the extra platforms in nix.conf
<clever>
"build-extra-platforms = armv7l-linux" in /etc/nix/nix.conf
<clever>
CcxWrk: that just silences the safety check that just failed, and tells nix to blindly try running any armv7l-linux binary it needs
<clever>
which would normally result in errors, but qemu-user makes it work
<CcxWrk>
It's there, along with build-max-jobs = 8. It's only those two lines as I just created the file little while ago.
<clever>
CcxWrk: are you using nix-daemon?
ma27 has quit [(Ping timeout: 248 seconds)]
<CcxWrk>
It's running, yeah. Need to restart it?
<clever>
yep
<clever>
also
<clever>
you must run the nix-daemon from the result symlink
thc202 has joined #nixos
<clever>
its the daemon that does that safety, so it has to run the patched version to allow bypassing it
<CcxWrk>
So if I just stop it for a while it should work?
catch22 has joined #nixos
<clever>
you can either
<clever>
a: stop nix-daemon temporarily, and use the patched nix-build as root
<clever>
b: stop nix-daemon, then run the patched nix-daemon from the nix-misc/result symlink as root
<CcxWrk>
unset NIX_REMOTE; got while setting up the build environment: executing ‘/nix/store/1zfrihkxqjqph4kd70syz14zbkmhcps5-busybox’: Exec format error
<clever>
CcxWrk: then binfmt-misc isnt configured to auto-run qemu-user
<clever>
CcxWrk: something like this will have to be ran, with the absolute path to your qemu-user-arm binary
mutagenf1rk has quit [(Ping timeout: 252 seconds)]
<CcxWrk>
echo escapes are non-portable, but surely there's ready script for this somewhere :] let me check
<fearlessKim[m]>
someone asked me on github for the size of a closure. Is "nix-store -q --size $(readlink -e $(which msmtp))" ok ?
<clever>
fearlessKim[m]: thats only the size of msmtp itself
<clever>
CcxWrk: you can either find the gentoo version of it, or just do "nix-build -A qemu-user-arm -o qemu-user && ./qemu-user/bin/register" to build it with nix and auto-register it
<clever>
avn: i dont think that will work, because the resulting binary is hard-coded to open /lib64/ld-linux-x86-64.so.2
<clever>
and libredirect wont work either, because its static!
<srhb>
clever: upx -d errors out in the same manner. --version has no output. Sneef.
<clever>
avn: is the file publicly downloadable?
<srhb>
But yes, it seems very likely that it's a packer-like thing.
<clever>
there is another util i know of that can help, but i have yet to get it working under nix
<MichaelRaskin>
There is FHS env builder in Nixpkgs
hellrazo1 has quit [(Quit: WeeChat 1.9.1)]
<srhb>
MichaelRaskin: Yes, and that works. :)
<MichaelRaskin>
Maybe it is simpler to declare «Maple is as bad as Steam»
<srhb>
It's just so messy...
<srhb>
Hehe, yes.
FRidh has quit [(Ping timeout: 248 seconds)]
<clever>
MichaelRaskin: there is still the difference between needing the FHS at build time, vs at runtime
<srhb>
I think it could absolutely be patched after running the installer from the FHSenv
<clever>
yeah
<MichaelRaskin>
Is it even possible to use FHSenv at build time? I thought root access was involved
<clever>
srhb: if you have a non-nixos machine, you could try running binwalk over the installer
<MichaelRaskin>
Well, I guess ptrace is an option, but I would exepect that to be slow.
<srhb>
I don't right now, but I could set up a vm.
<clever>
MichaelRaskin: i dont know how, but the FHSenv is able to mess with the root dir without uid 0
<srhb>
Isn't it just a chroot?
<MichaelRaskin>
Hm. Maybe use namespaces.
<srhb>
oh
<MichaelRaskin>
(Which we have on by default and which are horrible for security approximately once in three months)
<CcxWrk>
clever: So whenever this finishes, what should I do with it?
<clever>
CcxWrk: that will build the entire compiler toolchain and also confirm that the compiler is working
ma27 has joined #nixos
<srhb>
adamt: Ok, so, there's a fast way and a right way... Pick your poison ;-)
<clever>
CcxWrk: the next step, would be to grab the closure of hello with "nix-store -qR /nix/store/hash-hello", tar the whole thing up, then unpack it on the phone at /nix/ (optionaly with a chroot to get it in the right spot) and try to run hello-world
<clever>
CcxWrk: once its confirmed working, you can use nix to build anything in nixpkgs
<clever>
CcxWrk: and if you build an arm copy of nix with this, you can use nix-copy-closure to shuffle things between the 2 devices
<CcxWrk>
Great, thanks. How would I go about switching this over musl then? (once I confirm the basic glibc hello works)
<clever>
CcxWrk: something within nixpkgs would have to be changed, to replace libc with musl
erictapen has quit [(Remote host closed the connection)]
<srhb>
adamt: Probably quite slow. I'm still figuring out if I can even automate running the unpacking phase of the installer.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<adamt>
(sorry, was just afk while it was downloading, 10Mbps *sigh*)
<srhb>
:P
<srhb>
No problem.
erictapen has joined #nixos
<fearlessKim[m]>
clever: thanks, the nix-store calls don't seem too effective when the program is installed via nix-home. for instance nix-store -qd $(which msmtp) returns /nix/store/jknpxwzbmx6fjd1idiv1i8bsh4lbpcyf-home-manager-path.drv :s
<adamt>
I don't even have a readme, just an ELF binary.
<srhb>
adamt: The issue is that the installer appears to be some kind of packed container of some dynamically linked binaries. We'd normally want to patch those binaries to not point at /lib64 etc.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vdby2
<srhb>
adamt: I can't figure out how to unpack it manually, unfortunately, so we'll have to instead build a fake FHS chroot to allow the right paths to exist.
<NixOS_GitHub>
[nixpkgs] domenkozar closed pull request #30625: r-modules: Fix a number of popular R packages (master...r-fixes) https://git.io/vdbgD
NixOS_GitHub has left #nixos []
<clever>
srhb: all .env does is setup a shellHook, to run the namespacing wrapper when you enter nix-shell
<clever>
srhb: but you could potentialy run that wrapper at build time, within another derivation
<srhb>
clever: Right. :) I think we're just going for a quick runtime fix for understanding quickly. The installer also required manual intervention, unless we can pipe in the answer to a number of interactive questions.
roflukulus has left #nixos []
<adamt>
srhb, funny, it wanted to install into /opt/something, and claimed i lacked disk space, however, /opt just doesn't exist. Buggy installer :P
<srhb>
adamt: Huge surprise! :-)
<adamt>
srhb, should i run the installer with root privileges? Or, I suppose this is my actual question: What would be a suitable place to tell the installer to install to?
<srhb>
adamt: No, just somewhere in your homedir for now
<clever>
adamt: does it accept anything like --help now?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vdbyF
<NixOS_GitHub>
nixpkgs/master 2d8b952 Michael Weiss: gns3Packages.{server,gui}Preview: 2.1.0rc2 -> 2.1.0rc3
NixOS_GitHub has left #nixos []
<srhb>
adamt: We will still need to patch up the resulting libraries
ris has quit [()]
<adamt>
srhb, okay. Installer is running. Probably downloading updates now. This is messy, all updates will probably also need to be patched somehow
<fearlessKim[m]>
clever that worked (closure size)
<srhb>
adamt: Yep.
<srhb>
adamt: We have a utility called patchelf that will need to be liberally applied afterwards.
<adamt>
clever, yeah, it actually had a --help it seems
<clever>
adamt: that may have options to just unpack things to the current directory
<srhb>
Oh, and it has an unattendedmode as well.
<srhb>
That's very helpful for real packaging of this.
hellrazor has joined #nixos
<srhb>
yep, --mode unattended and --installdir /some/path
<adamt>
Would propably have to figure out what the option file can contain as well
<srhb>
Yes.
<srhb>
I think your best bet for now is to just manually patch up things and then you'll be better equipped to package it, if you choose to do so :)
<srhb>
It's not exactly an easy one :-P
<fearlessKim[m]>
I am tyring nix-env -iA msmtp but it is already installed . I get the error "nd ‘/nix/store/bkml8563x7kvz7xxk6ghh86x664miyhl-home-manager-path/bin/msmtp’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages" but I dunno what to use as PKGNAME ? "msmtp" is not accepted
<clever>
fearlessKim[m]: its simpler to remove it from home-manager first
<clever>
srhb: there is a windows util similar to strace, and i have discovered at least one application, that fails all license checks if that util has been ran even once, until you reboot to clear the state
<adamt>
srhb, it's done now anyways
<clever>
srhb: so attempting to debug anything on the system, breaks that software and forces you to reboot the entire machine
<adamt>
except it couldn't activate maple for some reason, but it can probably wait.
<srhb>
clever: I don't actually have the license, so the behaviour is expected.
nckx has joined #nixos
<srhb>
adamt: OK, so, there's some shell wrappers in bin that ultimately seem to launch cmaple in the bin.x86_64_LINUX directory
<adamt>
srhb, I think we have different versions of it. Mine haven't asked for license key yet.
iqubic has quit [(Remote host closed the connection)]
iqubic has joined #nixos
sigmundv has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Oida has quit [(Ping timeout: 260 seconds)]
Svarog has joined #nixos
ericsagnes has quit [(Ping timeout: 240 seconds)]
keta_suki has joined #nixos
<joko>
I typically use nix-env -qaP ".*pattern.*" to find packages, is it possible to make it case insensitive?
Oida has joined #nixos
<srhb>
joko: It is.
<srhb>
Er
<srhb>
I misread that as case sensitive :-)
<srhb>
No, you'll have to do something like nix-env -qaP | grep ...
sigmundv has quit [(Ping timeout: 240 seconds)]
<joko>
okidoki
<infinisil>
Oh boy, how about this: nix-env -qaP | fzf -i
<infinisil>
insanely cool, i might just use that from now on
<joko>
infinisil: awesome!
<hyper_ch>
infinisil: teting now clever's kexec and nixops
<infinisil>
hyper_ch: Nice :D
<hyper_ch>
well, preparing stick with debian to install on old notebook first
<joko>
hyper_ch: how you combine those two? Are you installing nixos over another distro and after a proper reboot you manage it via nixops?
<hyper_ch>
joko: installing debian
hellrazor has joined #nixos
<hyper_ch>
joko: then using clever's kexec to start/reboot into nixos
<hyper_ch>
joko: and then doing the install from there
ericsagnes has joined #nixos
<clever>
joko: the kexec trick gives you the full nixos installer, running from a ramdisk, so you are free to then format the drive and install nixos normally
<joko>
hyper_ch: and the nixops part?
<hyper_ch>
according to clever and infinisil, you can deploy nixos bascially on any machine
<clever>
i now have 3 variants of that ramdisk installer
<clever>
this just copies the same files to /boot/ and adds them to grub
<clever>
so you can now boot into the installer at any time
<joko>
Pretty neat!
<clever>
with #1, you can boot the nixos installer onto any remote machine that you have root on
<clever>
and if the bios obeys the MBR, you can easily install nixos to the drive
<clever>
but you only get 1 chance to do it right
<joko>
And is there any way to do an unattended installation afterwards? I'm working on that with some helper bash functions, but I was hoping to automate it a bit more
<clever>
joko: and its written as a nixos module, so you add it to the imports for the installer (methods 1-3 above), and it will already be "installed" when you boot the installer
zarel has joined #nixos
<dragon__>
for some reason "ld -lssl" tells me "cannot find -lssl" evne though I have openssl installed, same for lcrypto
<clever>
infinisil: i have also added zfs on lvm on luks to justdoit
<infinisil>
zfs on lvm? why?
<clever>
dragon__: ld will never find things you have installed, you must use nix-shell
<joko>
clever: so once it boots, you type justdoit?
<hyper_ch>
clever: what about encrypted zfs?
<clever>
infinisil: in this case, i wanted a single luks to protect both swap and zfs
<clever>
joko: yep
<dragon__>
oh
<hyper_ch>
and make it remotely rebootable
<dragon__>
I am trying to get gerbil scheme to work
<dragon__>
I have the nix package installed
<clever>
hyper_ch: 1: i havent tested zfs encryption on my end yet
pxc has quit [(Ping timeout: 258 seconds)]
<clever>
hyper_ch: 2: that wont encrypt swap, and i dont trust a zvol with swap
<hyper_ch>
clever: been using it for than 2 weeks now
<dragon__>
the "cannot find -lssl" fiirst came from trying to compile executables with gxc
<joko>
I am happily using zfs over luks on a couple of machines
<hyper_ch>
clever: it will encrypt swap.. you crate an encrypted dataset
<hyper_ch>
and in that dataset you create sub sets ... one could be swap I guess
<clever>
hyper_ch: thats swap on a zvol, which has had deadlocking issues in the past
<hyper_ch>
well, I don't use swap normally
<joko>
Are you still using swap, guys?
<clever>
hyper_ch: zfs needs to allocate ram to do IO, and allocating ram inside the swap thread is bad
<infinisil>
hyper_ch: You can't use a dataset for swap
<hyper_ch>
joko: not on 16gb ram notebooks
<hyper_ch>
infinisil: well, I don't use swap :)
<clever>
joko: mainly planning ahead for hibernation
<dragon__>
I tried to use nix-shell -p gerbil to make it work but it didn't.. I guess I'm not doing things correctly
<clever>
dragon__: nix-shell -p openssl stdenv
<CrazedProgrammer>
running zfs + lz4 compression on 8gb without swap, living on the edge :)
<dragon__>
!
<dragon__>
thank you
<hyper_ch>
you still could create a luks partition with random key for swawp and create encrypted zfs as well
<clever>
hyper_ch: random key doesnt play nicely with hibernation
<dragon__>
hm
<dragon__>
same error
<infinisil>
Is there some way to cache nix-env -qaP easily? I know to have it 100% correct it needs to evaluate it, but still, some way?
<clever>
hyper_ch: the machine has to be able to read the swap after a cold boot, to restore the contents of ram
<hyper_ch>
clever: I don't use hibernation either on my notebook
hellrazor has quit [(Quit: WeeChat 1.9.1)]
<clever>
dragon__: what about when you add --pure to nix-shell?
<clever>
infinisil: nox has a cache built into it, and i also just use tab-completion in nix-repl
Oida has quit [(Ping timeout: 248 seconds)]
<clever>
joko: the main issue right now with the kexec trick, is getting the network online
<dragon__>
trying pure, adding gcc and gambit to the deps
<clever>
joko: if the datacenter supports dhcp, thats easy, but with some, you have to configure a static ip
<clever>
joko: and you must know the name systemd will assign if you want to configure the static ip
<dragon__>
it works now !
<dragon__>
thanks a lot.
<hyper_ch>
but I'm sure clever has already figured how on how to do the static ip thing
<dragon__>
I got an idea of how things work better now also
<clever>
joko: DO is also special, in that the static ip is unique to the instance, and they try to edit your /etc/networking/interfaces file to fix the config for you
<dragon__>
thank you for that =)
<clever>
hyper_ch: one trick, i have configured the kexec image to reboot the machine every hour on the hour
<infinisil>
I just want the output of nix-env -qaP, nox gives me a lot of other stuff. I want to pipe the output
<clever>
hyper_ch: so if i do get the network config wrong and loose all control, it will reboot itself, restoring control to the original OS
<clever>
then i can make another guess and try again
<hyper_ch>
clever: that's clever :)
<hyper_ch>
or can't you just ssh into the machine and check?
<hyper_ch>
what network anme is and settings?
<clever>
the last machine i used it on, still called the card eth0
<clever>
it wasnt using the new naming style
<hyper_ch>
I still wonder why they changed that
<hyper_ch>
eth0 is such a good name
<gchristensen>
to be predictable!
<hyper_ch>
eth0 is predictable
<clever>
hyper_ch: what about when you have 2 network cards?
<gchristensen>
sometimes eth0 and eth1 would swap names
<clever>
hyper_ch: which driver loads first?
<gchristensen>
and then you'd be forwarding packets the wrong way and expose your network to the public by mistake
Oida has joined #nixos
<hyper_ch>
geez, old notebook with spinning disk is so slow
<clever>
in the old days, there was udev rules to bind a given name to a given mac, so it would be random on the first boot, and stick to that random layout
<clever>
it should still be at $NIX_CC/nix-support/dynamic-linker
<clever>
but make sure you eval that within the nix-shell
Oida has quit [(Ping timeout: 248 seconds)]
<hyper_ch>
clever: not sure how to actually get this running now... debian installed on old notebook... how to use kexec? donwload the repo to my working machine? or git clone to the old notebook?
<clever>
hyper_ch: its designed to be used without any nix on the target
<clever>
hyper_ch: did you read the session.md file yet?
<Yaniel>
if you are crazy enough you could even have multiple usb network adapters which can be plugged in in any order
<hyper_ch>
clever: I read the README.md
<clever>
hyper_ch: look at session.md
<hyper_ch>
ok :)
<dragon__>
even in nix-shell : cat: /nix-support/dynamic-linker: No such file or directory
<clever>
4: enp4s2f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
<clever>
infinisil: this is a pci device on bus 4, slot 2, function 1
Oida has quit [(Ping timeout: 240 seconds)]
<grahamc>
Same ;)
<infinisil>
Newly with DigitalOcean, they give you access to a disk that contains a json file with the network intefaces, ip address, gateway, and the mac address
<infinisil>
I'm thinking if this can be used for specifying interfaces manually in the nixos config
<MichaelRaskin>
Yaniel: by the time this idea was implemented, NIC fingerprinting for ensuring persistent names for every device was already working, though.
<clever>
infinisil: there is also a service you can run in nixos, that will query the same info over 169.something
dragon__ has quit [(Remote host closed the connection)]
<infinisil>
clever: This is for when nixos isn't yet on the machine
<clever>
infinisil: its just a small daemon written in go, that generates systemd config on the fly
<clever>
so it could be used any time systemd is available
dragon__ has joined #nixos
<nocent>
I find it a bit odd that on my first nixos install, my NIC had the interface name enp4s0, even though it was the only interface (besides lo). A few reboots later, it only then realized to rename the NIC to eth0.
<infinisil>
Ah, this could be included in the kexec thing
<fearlessKim[m]>
noob questio; a python package test requires <stdarg.h>; which from my research is clang specific ? I've included "clang" in my buildInputs but it then includes " /nix/store/rww78vdn2rkayrnqsjl8ib5iq2vfm3sw-gcc-6.4.0/include/c++/6.4.0/iostream" which is gcc :/ is that weird ?
sigmundv has joined #nixos
<hyper_ch>
clever: I didn't get auto-logged in :(
<clever>
hyper_ch: you need to add your ssh pubkey to configuration.nix
<hyper_ch>
ah to the configuration.nix
<hyper_ch>
not to the remotes authorized keys
<hyper_ch>
ok
<clever>
an example is already in place
<hyper_ch>
or one could just create a default root password?
<clever>
hyper_ch: you can also add it to /ssh_pubkey on the debian host, before you run the kexec script
<clever>
by default, nixos doesnt allow password auth for root
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<hyper_ch>
clever: anyway, good to test your working on hourly reboot :9
<joko>
I was always wondering how nixos-install is working afterwards
<joko>
e.g. if I copy my whole configuration on a new host, then it breaks out of space
<joko>
or how I would force some closures to get installed
<clever>
joko: previously (a few months ago), it was basically just a script to run nix-build under a chroot, after using rsync to get just nix inside /mnt/nix/store/
<clever>
joko: but recently, it got redone, and a bug was introduced, it now builds the entire system on the host rootfs (in the ramdisk), then copies it to the target
periklis has quit [(Remote host closed the connection)]
periklis has joined #nixos
Oida has quit [(Ping timeout: 252 seconds)]
Oida has joined #nixos
<Svarog>
sphalerite, the snippet tilpner posted the other day had something about overriding the rust compiler with a specific nightly snapshot - did that not work or are you after something else?
<sphalerite>
What I'm imagining ideally is having rust crates mapped to nix packages, but I'm guessing that's too optimistic :p
<Svarog>
ah
<Svarog>
hmm i thought i saw some tool called something like nixcrate
<sphalerite>
it's a bit inconvenient to get them from just a plain nix installation
<xelxebar>
Yeah, this is where we hit my newbieness. I did end up finding that path, but I'm not sure what to do with it.
Oida has quit [(Ping timeout: 240 seconds)]
<xelxebar>
A plain nix-instantiate on tools.nix doesn't work because we need the correct args
<sphalerite>
`nix-build '<nixpkgs/nixos>' -I nixos-config=configuration.nix -A config.system.build.toplevel` (make a configuration.nix containing `{...}: {}`) will get you a tiny little nixos build which should contain the tools
<sphalerite>
oh yeah, and it probably won't llike the empty configuration and you'll have to stick some dummy values in there
Oida has joined #nixos
<infinisil>
xelxebar: What do you need them for? Testing?
<xelxebar>
sphalerite: Thanks.
<xelxebar>
infinisil: I'm trying to install nixos into a btrfs subvolume and the live cd for some reason thinks my btrfs volume has problems (maybe because the btrfs tool is pretty old?)
<Svarog>
i think buildRustPackage is broken when a package has subrepositories that are not in the registry (or are in the registry but the package uses local modified versions not in the registry)
<xelxebar>
I just can't mount my drive from the live cd. But I've already got a nix store on my current machine and all I really need is nixos-install.
<xelxebar>
It'd be nice to have the nixos installer tools easily available as a package for bare nix stores
sigmundv has quit [(Ping timeout: 248 seconds)]
<sphalerite>
ivanivan: `shopt -s nullglob; for f in ~/.nix-profile/etc/bash_completion.d/* ; do . $f ; done ;`
<sphalerite>
you may also want to unset nullglob afterwards, especially since it's an interactive shell
leat has joined #nixos
Oida has joined #nixos
ylwghst has joined #nixos
jensens has quit [(Ping timeout: 252 seconds)]
<ivanivan>
sphalerite: i'm worried that the sourced completion files might rely on the nullglob setting (though I guess they should set it explicitly if so)
<sphalerite>
I doubt that
<sphalerite>
but what you can also do is…
<sphalerite>
`for f in ~/.nix-profile/etc/bash_completion.d/* ; do [[ -r $f ]] && . $f ; done`
<ivanivan>
sphalerite: i like that compromise. thanks!
<adisbladis>
ylwghst: You can use nix-prefetch-url to get that sha
<adisbladis>
ylwghst: There is also the `fetchFromGithub` method you might be interested in
<ylwghst>
thanks
Oida has quit [(Ping timeout: 240 seconds)]
<adisbladis>
ylwghst: If you want to use `fetchFromGithub` there is nix-prefetch-git
<xelxebar>
sphalerite: Are you hitting any specific problems building coreboot? As long as you have gcc, glibc etc, the toolchain should bootstrap the crosscompilers for you.
<ylwghst>
ok
<ylwghst>
will give it try later
ylwghst has quit [(Remote host closed the connection)]
<sphalerite>
xelxebar: no, I haven't started trying yet because I also don't really know what I'm doing in addition to being on nixos :p
<sphalerite>
adisbladis: nix-prefetch-git doesn't help for fetchFromGitHub, only for fetchgit
<maurer>
Ralith: Usually pretty similar to the nix-build invocation, just with -f to point to the .nix file
<maurer>
e.g.
<maurer>
nix-env -i -f default.nix
Oida has joined #nixos
<Ralith>
maurer: no, the result symlink, not the .nix
<maurer>
Assuming that nothing's changed, shouldn't it end up using the cached result?
<Ralith>
somewhat beside the point of the question
<Ralith>
I know there's a way to feed it a store symlink, but I can't recall what
<Dezgeg>
maybe just nix-env -i result (or if that doesn't work, nix-env -i $(readlink result))
<Ralith>
readlink did it
Oida has quit [(Ping timeout: 258 seconds)]
Oida has joined #nixos
dustmote has joined #nixos
<dustmote>
Is it ok to put /nix/store behind a symlink?
pxc has joined #nixos
<dustmote>
I'd like to have it on a separate partition from /
<dustmote>
But probably the same partition as /home
<dustmote>
.. so, symlinks
<maurer>
dustmote: I don't think symlinks work, but I've used a bind-mount for it successfully
<dustmote>
Oh, I'm not familiar with that, but it sounds like the right approach
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<dustmote>
So for my scheme I'd need a normal mount for the partition containing /nix/store and /home, plus two bind-mounts to wire the directories to the correct places in /, right?
leat has quit [(Read error: Connection reset by peer)]
Oida has joined #nixos
<srhb>
Can I bail out of the nix sandbox for the purpose of pushing things over the network? I want ocharles microci to push some artifacts.
Oida has quit [(Ping timeout: 255 seconds)]
mutagenfork has joined #nixos
<MichaelRaskin>
You do control Nix settings, right? So sandboxing is relaxed, not full-strict?
<srhb>
Yes.
<srhb>
Am I missing something obvious? :-P
<MichaelRaskin>
«If this option is set to relaxed, then fixed-output derivations and derivations that have the __noChroot attribute set to true do not run in sandboxes.»
<srhb>
Oooh
<srhb>
Nifty!
<srhb>
MichaelRaskin: Thanks, didn't know of that :)
<MichaelRaskin>
It will be rebuilt for every new name
<MichaelRaskin>
The hash does not depend on the name.
<infinisil>
My eyes! The impurity!
<MichaelRaskin>
It is pure.
<MichaelRaskin>
It is hash-guaranteed to be empty.
<infinisil>
Wait what does that do then
Oida has joined #nixos
<srhb>
It creates an empty out, so that's fine...
<MichaelRaskin>
I built a fixed-output empty-output derivation.
<srhb>
It's pure modulo fireTheMissiles
<MichaelRaskin>
That happens to do some network steps in the middle.
<srhb>
Who cares about the rest of the world anyway... :-)
<Isorkin>
Hi. How to enable custom kernel config?
<infinisil>
But then it's not pure, it can have side-effects
<MichaelRaskin>
Rest of the world? Who told you it exists?
<MichaelRaskin>
Nix-side it is pure…
<MichaelRaskin>
It even fails if network access fails.
<MichaelRaskin>
Which is, admittedly, impure
<michaelpj>
it'll fail if sandboxing is enabled, no?
<infinisil>
meh
<MichaelRaskin>
But convenient.
<MichaelRaskin>
Nope.
<infinisil>
why not?
<MichaelRaskin>
It has the same ontological status as fetchurl.
<MichaelRaskin>
The output hash of the empty file is known in advance, so it is fixed-output derivation.
<michaelpj>
it *should* fail if sandboxing is enabled :p
<Dezgeg>
don't you risk the command not getting run again, in case you already have an empty file in the store?
<MichaelRaskin>
michaelp: then fetchurl cannot work!
tempeh has quit [(Quit: WeeChat 1.9)]
<infinisil>
How does this sandbox network access prevention work again
<MichaelRaskin>
Dezgeg: it requires an empty file with the same name.
hoverbear has joined #nixos
<Dezgeg>
oh, it needs the name to match
dragon__ has quit [(Remote host closed the connection)]
<MichaelRaskin>
So you will just use the hash of the artifact to push as the name of the pseudo-build.
<ldlework>
MichaelRaskin I was making this argument yesterday
<ldlework>
It did not seem to move anyone.
<michaelpj>
MichaelRaskin: sure, I understand why the escape hatch is there, I'm just spitballing
<joko>
Anyone knows how to create a cache (secondary) http(s) server to hold my Hydra files?
dragon__ has joined #nixos
<MichaelRaskin>
michaelpj: network outcomes do not alter the store state, though.
<infinisil>
It's still hacky, even if it works ldlework
<hoverbear>
Does anyone have an example of using `nixpkgs.overlays`? I would like to add the `nixpkgs-mozilla` overlay
<ldlework>
infinisil yes but people were making purity arguments that I think were a farce (not that I don't think they were trying to help)
<infinisil>
oh it's totally impure
<michaelpj>
I do think Dezgeg's point (similar vein to what I was saying yesterday) is a good one - if you rely on the way effects are run by nix, you're going to have a bad time because it assumes it can have whatever evaluation model it likes
<MichaelRaskin>
ldlework: well, this trick is exactly the thing with pushes-done-list that you didn't like.
Oida has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin>
Just inside the store this time.
<ldlework>
MichaelRaskin I just mean the argument that the package, as far as nix is concerned, is NOT impure
<ldlework>
Since whatever is being accused of being impure, has no functional or casual relationship with the package
<MichaelRaskin>
Note that it is a _different_ build with fixed output
<ldlework>
So the purity argument become meaningless, without import.
<ldlework>
Of no consequence.
<MichaelRaskin>
Which means _another_ set of guarantees are enforced.
<infinisil>
ldlework: purity means that there are no side effects, and there obviously can be side effects here
<Dezgeg>
but who guarantees nix isn't going to be optimizing fixed-output lookups by ignoring the name field?
<ldlework>
As far as nix is concerned, there are none.
<MichaelRaskin>
You need to separate fixed-output side-effect build and the clean one, though.
<infinisil>
there is no "as far as nix is concerned" with the definition of purity
<ldlework>
You can say that, but since this impurity doesn't have any effects for the guarantees Nix provides, I argue you saying that actually is meaningless.
<ldlework>
Its more posture than substance.
<MichaelRaskin>
But for guarantees to work you still need to run a _separate_ build for pushing.
<ldlework>
How so?
Alling has joined #nixos
Oida has joined #nixos
<ldlework>
I can make a build that pings a server, then does nothing else. It will always build the same package.
<MichaelRaskin>
Because in my trick the network activity happens in a fixed-output build.
<MichaelRaskin>
Exactly.
<MichaelRaskin>
It cannot produce anything meaningful not known in advance.
<ldlework>
I can also make it build a binary and ping a server.
<MichaelRaskin>
Nope.
<ldlework>
It will be the same.
<ldlework>
Yes?
<MichaelRaskin>
Nope, because Nix cannot ensure the separation in the second case.
<ldlework>
Ah 👍 I see that argument that's fine.
<Alling>
I need the Python package bs4 (beautifulsoup4) available in mitmproxy. It is in buildInputs but not in propagatedBuildInputs for mitmproxy. How can I add it?
<infinisil>
oh i get it now
<ldlework>
But in practical senses, the single build is the same.
<MichaelRaskin>
No, in terms of mistake detection.
<ldlework>
That' fine, I agree with you.
<ldlework>
But it is possible to build a build that has no cryptographic consequence.
tgunb has joined #nixos
<ldlework>
Its "pure"
<infinisil>
so nix isn't actually fully pure
<ldlework>
The world supports the cases where someone writes some bash and the network operation inside doesn't effect the build, and for all technical senses of the word, the build is still pure.
<ldlework>
It is, you're just using a meaninless sense of the word.
<MichaelRaskin>
ldlework: well, not really meaningless.
<hoverbear>
So overlays go in `~/.config/nixpkgs/overlays` but what if I want them system wide for use in my `/etc/nixos/configuration.nix`?
<tgunb>
can someone point me to the part of the nix doc, that tells me, how persistent configuration files should be added to the system. ( i want to add another file in xorg.conf.d.)
<ldlework>
infinisil yes, and for the cryptographic output of Nix, it is pure
<ldlework>
Nix cannot know about the cryptographic state of external services.
schoppenhauer has quit [(Ping timeout: 240 seconds)]
<ldlework>
Builds remain pure.
<ldlework>
The wider internet does not.
<ldlework>
I'll say, packages remain pure.
<infinisil>
from wiki: "Evaluation of the result does not cause any semantically observable side effect or output, such as mutation of mutable objects or output to I/O devices (usually—see below)."
<ldlework>
Yes, and if you care about repeatbly built packages
<ldlework>
This is exactly the case
<infinisil>
yeah sure, but it's not strictly pure is what I'm saying
Oida has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
Nix is also not perfectly pure about bit-perfect reproducible builds, unfortunately.
<ldlework>
Sure then nothing is since everything affects my CPU cache
<hoverbear>
tgunb: I am also not sure.
<infinisil>
true
<ldlework>
who cares?
<MichaelRaskin>
It prevents us from having multiple nice things, actually.
<ldlework>
What the ability to ping a server?
<MichaelRaskin>
Lack of bit-perfect reproducibility.
<hyper_ch>
infinisil: already rebuilding with encrypted zfs?
<ldlework>
My who cares was a follow up to my own statement, not the bit perfect observation
<ldlework>
sorry
<infinisil>
hyper_ch: Nah
schoppenhauer has joined #nixos
Oida has joined #nixos
scribbler has joined #nixos
<infinisil>
Nix derivations build stuff, and that's their purpose, pushing stuff to a server is totally not what they're intended for
<ldlework>
Its a tool to do work.
<infinisil>
Nix isn't the solution for everything
<ldlework>
Its true, I should remember to ask you next time.
<MichaelRaskin>
infinisil: and Nix language is for defining packages, writing a complicated fixpoint-based modules system is definitely what it was intended for.
<michaelpj>
hoverbear: `nixpkgs.overlays` in configuration.nix. There's a section in the Nixpkgs manual about overlays that explains this
<srhb>
In CI talks, has anyone gotten a circleci 2.0 build up with persisted nix store?
<michaelpj>
hoverbear: okay, so you understand that the ones in your home directory and the ones in the nixos configuration are conceptually distinct? But if you want to use the same ones, just use symlinks or whatever
Oida has quit [(Ping timeout: 240 seconds)]
<hoverbear>
michaelpj: Yes, I understand that. I'd like to make the overlay available systemwide. According to "On a NixOS system the value of the nixpkgs.overlays option, if present, is passed to the system Nixpkgs directly as an argument." from the first link it reads like I should pass it an array of file paths like `nixpkgs.overlays = [./nixpkgs-mozilla/rust-overlay.nix]` or as a string. (New to nix, apologies for being a
<hoverbear>
bit daft about the syntax)
<hoverbear>
(This is assuming the overlay is at `/etc/nixos/nixpkgs-mozilla/rust-overlay.nix`
<LnL>
I think you might have to use (import /path/to/overlay.nix)
<Biappi>
i am trying to understand how to install a ruby program using nix on osx. i am completely unfamiliar with ruby, and i am told i need to do "gem install programname", is there a nix equivalent way of installing it?
<hoverbear>
LnL: Ohh I will try this thank you. :)
<tgunb>
hoverbear: that's unfortunate. but someone has to know that, right?
<tgunb>
another question: where can i see all valid values for services.xserver.layout?
<michaelpj>
tgunb: is `environment.etc` what you're looking for?
<michaelpj>
(`man configuration.nix`)
<ldlework>
infinisil so did you and rycee decide that the nixpkgs.overlay was not good for HM?
Oida has joined #nixos
<tgunb>
looks like it. thanks.
<infinisil>
ldlework: The PR is there, 101
<infinisil>
um, or 102
leat has quit [(Ping timeout: 260 seconds)]
<ldlework>
ah I looked right at that and didn't recognize it as the thing I was looking for
<infinisil>
understandable, there's no explicit overlays in there
<hoverbear>
LnL: Trying to import them results in "value is a function while a set was expected"
Mateon2 has left #nixos []
Oida has quit [(Ping timeout: 248 seconds)]
<MichaelRaskin>
An overlay is a function that gets the package set as a parameter.
<LnL>
hoverbear: hmm, that overlay is a file with self: super: ... right?
<michaelpj>
hoverbear: that's odd. To be clear, you're doing `nixpkgs.overlays = [ import ./nixpkgs-mozilla/rust-overlay.nix ];`?
<LnL>
you need to use parenthesis around the import
<LnL>
otherwise you get a list with 2 items
<hoverbear>
LnL, michaelpj: Ah, no I was putting them in `imports` at the top. Using that (with parents) seems to work!
<hoverbear>
Thank you
iqubic has joined #nixos
<LnL>
ah
<rycee>
ldlework: Yes, I think it is safe to say that HM will support nixpkgs.overlays before too long.
<ldlework>
noice
Oida has joined #nixos
abbradar has joined #nixos
<ldlework>
that'll be the last thing I'm looking for I think. I think infinisil figured out how to use the overlays and the extra commands to do everything I've been trying over the last couple of days.
sheyll has quit [(Ping timeout: 248 seconds)]
hotfuzz_ has quit [(Quit: WeeChat 1.9.1)]
hotfuzz has joined #nixos
<infinisil>
rycee: (i commented on the pr btw)
sheyll has joined #nixos
<abbradar>
Good day all! Whom can I ask for a custom Hydra jobset? Need to fix TensorFlow on Darwin but don't have a Mac and don't want to pollute master with "trying to fix" commits
<infinisil>
not entirely convinced on the thing i said regarding the combination of the default config/overlay with the home-manager one
<rycee>
infinisil: Yeah, I got notified about that. I'll probably not look at them in depth today but I appreciate your comments and will work on either tomorrow or Monday.
<infinisil>
Looking at it a bit better, I found out that the config is exported as pkgs.config (which i found out a few days ago), but overlays isn't
<iqubic>
rycee: Will HM ever be part of nixpkgs official? Like so I can add HM to my systemPackages?
<hoverbear>
Now I just need to puzzle out how to get the system to actually install Rust.... Definiting it in systemPackages doesn't work.
scribbler has quit [(Remote host closed the connection)]
<LnL>
abbradar: how much of a rebuild is it?
<abbradar>
LnL: two packages -- bazel_0_4 and tensorflow itself
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 2 new commits to master: https://git.io/vdNL5
<NixOS_GitHub>
nixpkgs/master 4c449e0 Daniel Kuehn: sudo: Add optional dependency to SSSD, enabled by setting withSssd to true
<NixOS_GitHub>
nixpkgs/master eafcfaf Daniel Kuehn: sssd: Add optional bindings for building sssd library that sudo can use to fetch sudoers rules from SSSD
NixOS_GitHub has left #nixos []
<infinisil>
iqubic: It could be any day, but the problem with it is that you'd need a PR to update anything home-manager, which is kinda annoying since it may update a lot
<rycee>
infinisil: Yeah, I'm thinking that will not happen internally since HM would then need to distinguish between when it runs on NixOS and when it runs on other systems. A NixOS user should be able to do it manually though by simply loading up the system config and putting, e.g., `nixpkgs.config = sysconfig.nixpkgs.config;` in their configuration
Oida has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor closed pull request #30445: sudo and sssd: Enable sssd support in sudo and building of sudo library in sssd (master...sssd-sudo-integration) https://git.io/vdMne
NixOS_GitHub has left #nixos []
<abbradar>
LnL: I don't have any experience with Darwin however so I expect N tries, where N > 1
<iqubic>
What does nixpkgs.config = sysconfig.nixpkgs.config do?
<infinisil>
rycee: Ah, you mean the nixos config and overlay attrs? I actually just mean the users ones
leat has joined #nixos
<abbradar>
(I want to make custom release.nix to only build those two)
Oida has joined #nixos
<rycee>
iqubic: But I'm not very fond of putting the whole of HM (both command and modules) as a single Nixpkgs package.
<iqubic>
rycee: I understand.
<LnL>
abbradar: I can make a jobset on my hydra if you send me a branch
<abbradar>
LnL: ok, I'll prepare it and ping you. thanks!
<iqubic>
So for now, will I have to installing via "git clone" and "nix-env"?
<rycee>
iqubic: Mainly because HM and its modules are moving quite fast (including the "stable" branch) so the package version in Nixpkgs would have to be updated very frequently…
<LnL>
abbradar: you don't need to mess with release.nix I already have some stuff for that
<ldlework>
Does it make sense to use a HM channel for the modules?
<infinisil>
just thought about that too ^^
<ldlework>
And just merge the tooling
<michaelpj>
the one thing that feels weird about HM in nixos is that the modules are different. e.g. you'll have two ways to enable redshift, which don't share any code
<rycee>
ldlework: Yes, a channel would be a possibility but it would require some surrounding infrastructure.
<rycee>
ldlework: Another alternative would be to simply put "home-manager=https://github...." in NIX_PATH. I guess channels are sort of on their way out anyway…
<infinisil>
michaelpj: Yeah, integration into nixpkgs would need to happen for this to get better
<ldlework>
ah
<iqubic>
michaelpj: What do you mean by "two ways to enable redshift?"
<ldlework>
that seems easy enough yeah
<ldlework>
Can an overlay point to a git repo?
<ldlework>
Or tarfile?
<rycee>
michaelpj: Yes, that is unfortunately the case at the moment. I'm having hopes that the situation will be improved if the NixUP work gets rolling again.
<michaelpj>
iqubic: the nixos redshift module and the HM redshift module
<rycee>
michaelpj: The main stumbling block right now is the difficulty of using the NixOS systemd module in HM.
<michaelpj>
it's not clear to me what stops this working now. Is it that the "user-services" bit of the nixos systemd module would need to be standalone?
Oida has quit [(Ping timeout: 246 seconds)]
<michaelpj>
ah
<infinisil>
i actually think these service modules should be directly at their package definitions
<michaelpj>
yeah, I don't really understand the full module system enough to understand why that is :D
<infinisil>
because it's the package that really should define it
<iqubic>
michaelpj: Oh, I see.
<ldlework>
NixUP looks dead
<michaelpj>
(redshift is on my mind recently since I just opened a PR improving the nixos one... which then won't benefit the HM one)
<infinisil>
hmm, i mean one could just import the nixpkgs module one
<infinisil>
michaelpj: Oh right, forgot about that
Oida has joined #nixos
<michaelpj>
you'd want to have a systemd-user module that just assumed an ambient systemd, not necessarily a nixos one
<michaelpj>
or was parameterized somehow
<sphalerite>
hoverbear: just refer to attributes inside it. If you've installed it correctly, you should for instance be able to do nix-shell -p rustChannels.nightly.rust
dbmikus has joined #nixos
<hoverbear>
sphalerite: Well I'm trying to put it into my `/etc/nixos/configuration.nix` file
<infinisil>
hoverbear: It should be pkgs.rustChannels.nightly.rust then
<sphalerite>
aah right
<hoverbear>
Ahhhhh
<sphalerite>
hoverbear: in that case you need to put the overlay in the nixpkgs.overlays option
<hoverbear>
sphalerite: It is =D
<sphalerite>
oh right
<hoverbear>
infinisil: In this case `pkgs` does not exist
<infinisil>
hoverbear: add pkgs to the argument list at the top
<Twey>
hoverbear: I'm usually on the other end of this around here, but that sounds like a terrible idea :þ
<Unode>
infinisil: I see
<hoverbear>
Twey: YEs.
<hoverbear>
Twey: I'm a Rust dev :)
<Unode>
also, is there any reason why services created by nixos end up as fifos or pipes in the store?
<infinisil>
I agree with Twey, I actually did this with firefox once
<iqubic>
Rust is weird as heck.
<hoverbear>
I am under the impression nixos will let me define a specific compiler version in an env anyways
<Twey>
hoverbear: Me too! But that means I've got a bunch of shell.nix'es lying around that call rustChannels.nightly.rust
<infinisil>
And it's horrible to always potentially have to download a new version on every rebuild
<infinisil>
well at max every hour
<Ralith>
Twey: stable != bleeding-edge
<hoverbear>
Twey: I'm sure I'll find a better way but right now I'm just starting with Nix and trying it because I need to zap my system before a trip to the US
<Twey>
Ralith: That's true
erictapen has quit [(Ping timeout: 240 seconds)]
<hoverbear>
So zapped it with nixos to try it on my trip
<Twey>
hoverbear: Okay :)
<Twey>
iqubic: You use Nix and think Rust is weird? :þ
<hoverbear>
atm I just want to be able to go `nvim thing.rs` and `cargo build`. Learn the "proper way" as I go
<Ralith>
hoverbear: fwiw the more idiomatic thing is to set up the rust overlay in your user environment, and then have your packages have a shell.nix which pulls in an appropriate version
hotfuzz has quit [(Quit: WeeChat 1.9.1)]
<Twey>
hoverbear: The Mozilla overlay is kind of bad for this because its packages are non-deterministic — they will always try to pull a new Rust from whatever channel you're using
<Twey>
hoverbear: So sometimes upstream updates Rust and your work breaks…
<Ralith>
no need for global config, let alone globally installed tools
<iqubic>
Twey: That is correct
<hoverbear>
Ralith: I gather there is some magic file `env.nix` or something that lets me create a dev shell per git repo or something?
<Twey>
I need to do something about that some day
<iqubic>
I also think Java is weird.
<iqubic>
Is rust OOP?
<hoverbear>
iqubic: No it's C like with Functional inspirations
<Twey>
iqubic: It's like Haskell — type classes
<Twey>
(in that respect)
<Twey>
(not in general)
<iqubic>
Twey: I see.
erictapen has joined #nixos
<iqubic>
I actually know a fair bit of haskell
<Ralith>
hoverbear: there's no magic
<hoverbear>
iqubic: It's lots of generics and structures with capabilities attached to them.
<Twey>
iqubic: With a magic Self argument though
<infinisil>
iqubic: Soo, you have such a strong opinion on rust without even knowing it?
<infinisil>
:/
<iqubic>
infinisil: Yeah.
Oida has quit [(Ping timeout: 248 seconds)]
<hoverbear>
Twey: Hardly magic. `fn foo(self)` can be called with `foo(1)` and it's fine.
<dieggsy>
is there a way to troubleshoot nix programs suddenly not respecting fontconfig?
<Ralith>
hoverbear: drop a shell.nix in your file, `nix-shell` uses that by default and drops you into a suitable env
<Ralith>
er
<Ralith>
in your project dir
<hoverbear>
Ralith: Okay I will try that but I want a quick shower first =D
<dieggsy>
I had specified the font "Iosevka Term" for various programs installed with nix-env, when all of a sudden they turned to courier yesterday...
<Twey>
hoverbear: It's better to see Nix as a programming language than as a package manager, in my experience. So you don't need to use magic — you just write a little script that sets up an environment with those things in it (and Nix/nixpkgs/nix-mozilla) provides tools to help you do that.
<Twey>
hoverbear: The chief difference between Rust traits and Haskell typeclasses is that Haskell doesn't have the special Self argument — instead of saying T: Foo<U, V> you say Foo<T, U, V>
<hoverbear>
Twey: I'm mostly here for the declarative configuration and the idea of having a file I can proviusion onto a machine and have it exactly what I want.
dragon__ has quit [(Ping timeout: 246 seconds)]
<Twey>
hoverbear: (though inside the compiler, that's not really special)
<hoverbear>
Twey: Ah ok. Yeah I guess it's a bit special
<Twey>
hoverbear: Those things are corrolaries :)
<hoverbear>
Twey: Right. :) I'm coming from Arch + Ansible provisioning which worked fine but was slow and not ~~really~ declarative
<Twey>
And wow, I got the bracketing wrong in that message. It's not often I make typos that I can't regex away. But you get the idea.
Oida has joined #nixos
<hoverbear>
But this system will exist for a grand total of 7 days then it gets flashed again so if I can have a config that is portable that's awesome
m0rphism has quit [(Quit: WeeChat 1.9.1)]
<infinisil>
nix is fast?
m0rphism has joined #nixos
<dieggsy>
welp, uninstalling and reinstalling seems to help, somehow.
dieggsy has quit [(Remote host closed the connection)]
scribbler has joined #nixos
Oida has quit [(Ping timeout: 260 seconds)]
Oida has joined #nixos
<Twey>
hoverbear: It's portable but IME there's usually some hardware-specific configuring to do
ylwghst has quit [(Remote host closed the connection)]
srhb has quit [(Quit: Quit)]
kiloreux has quit [(Ping timeout: 248 seconds)]
kiloreux__ has quit [(Ping timeout: 240 seconds)]
Mic92 has quit [(Quit: WeeChat 1.9.1)]
Oida has quit [(Ping timeout: 252 seconds)]
Mic92 has joined #nixos
<MichaelRaskin>
Well, if it is about the same hardware, just wiping the laptop after the border crossing — that should work
reinzelmann has joined #nixos
tgunb has quit [(Quit: Leaving.)]
<hyper_ch>
so for border crossing
<hyper_ch>
make backup with zfs
<hyper_ch>
install some kubuntu
ylwghst has joined #nixos
<hyper_ch>
cross border
Oida has joined #nixos
<hyper_ch>
restore zfs snapshot :)
<hyper_ch>
with gigabit it shouldn't take too long
ryantrinkle has joined #nixos
<sphalerite>
yay got libreboot running on my chromebook!
hotfuzz has joined #nixos
<infinisil>
hyper_ch: What do you have on your computer that's worth doing that lol
<hyper_ch>
infinisil: lots of sensitive client information
<infinisil>
Twey: And it's the most stable FS today with cool stuff
<iqubic>
Twey: That's not too good.
<Twey>
iqubic: Yeah, probably stick with dual-booting
<sphalerite>
iqubic: use darktable instead :p
<Twey>
iqubic: Or some kinds of VM would probably be okay
<iqubic>
nocent: How well will Lightroom work in a VM?
<iqubic>
sphalerite: LOL
<iqubic>
Does that work just as well?
<sphalerite>
I have no idea. I've never used lightroom
<Twey>
iqubic: VirtualBox at least does GPU passthrough, which would probably make it perform decently
<hoverbear>
sphalerite: If they want give Adobe money every month and run windows thats their choice
<Twey>
Or there's Xen, though that's a bit of a pain to set up
<hoverbear>
Twey: Passthrough is only avaialable on a few AMD cards iirc
<Twey>
DarkTable works well enough for my photographer ex, but I can't judge myself
<hyper_ch>
what is lightroom needed fore?
<Twey>
Give it a go I guess?
<hoverbear>
hyper_ch: Lighting tables
<hyper_ch>
what are lighting tables?
<sphalerite>
hyper_ch: it's for photo processing
<hyper_ch>
ah, for creating fake images :)
<iqubic>
hyper_ch: I'm taking a Digital Photography class at school, and my teacher expects that we process the photos we take.
<sphalerite>
advanced fancy artsy stuff
<nocent>
iqubic (IRC): The overhead is pretty minimal. You only need some ram to support both operatings systems, and make sure your mobo/GPU configuration supports vfio for GPU acceleration if that is needed
<ldlework>
what is the best thing for learning haskell, which will teach me FP, if I'm dumb?
<hoverbear>
It's basically photoshoop with less direct tools
<c74d>
How does one manually verify a file against a NixOS checksum?
<hoverbear>
ldlework: Haskell
<ldlework>
(read: multi-decade imperative pleb)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vdNYR
<NixOS_GitHub>
nixpkgs/master a022182 Michael Weiss: nvme-cli: 0.9 -> 1.4
NixOS_GitHub has left #nixos []
<hyper_ch>
shasum256 file ?
<hyper_ch>
sha256sum file
<ldlework>
hoverbear I mean, what resource is recommended.
<c74d>
ldlework: I liked Real World Haskell, but I get the impression that it's out of date by now
<aminechikhaoui>
ehm, shouldn't builds be sandboxed by default in nixos ?
<infinisil>
I'm kind of holding myself back from doing any haskell or in fact any other development because I've been wanting to use emacs for it for a while, and i can't seem to get enough motivation for getting into emacs
<hoverbear>
Okay now to figure out how to get nixos to provision my nvim configs....
<c74d>
hyper_ch: ah, sha256sum doesn't recognize NixOS hashes; it just complains "no properly formatted SHA256 checksum lines found"
<sphalerite>
infinisil: I've been doing Haskell with (neo)vim for a year and a half or so
<hoverbear>
neovim <3
<abbradar>
catern: yep, it will help at least partially, we plan to move to it eventually
<hyper_ch>
c74d: what are you doing?
<abbradar>
it didn't handle all APIs last time I checked and mesa support was still experimental
erictapen has quit [(Ping timeout: 240 seconds)]
<sphalerite>
I'd like to switch to emacs too though. One day.
<hyper_ch>
sphalerite: it's a good OS but has no decent editor...
Oida has quit [(Ping timeout: 255 seconds)]
<catern>
hyper_ch: evil-mode :)
<hoverbear>
hyper_ch: I heard you can run nvim in it
<infinisil>
Can neovim be used with the vim configurable stuff in nixpkgs?
<catern>
magit is a good way to get into Emacs I think :)
<infinisil>
catern: I have not, but it's a think I definitely have to check out when I get into emacs
Oida has joined #nixos
<c74d>
hyper_ch: The source for broadcom-bt-firmware-12.0.1.1012 won't download for me (I just get "Connection reset by peer" from download.windowsupdate.com), but another user gave me what may or may not be a copy of the file. Before I put it in my store, I want to verify that it matches the broadcom-bt-firmware source's hash.
<sphalerite>
also, does anyone happen to know stuff about chromium os, particularly its verified boot thingy? I'm having some trouble trying to boot my own thing and was wondering if my favourite community can help me more quickly than #chromium-os :p
<infinisil>
Have heard a lot about it, and am sick of using a CLI for git
<sphalerite>
Specifically, I'd like to boot a custom image on my C201 chromebook, but I'm having some trouble packing the kernel up right — it refuses to boot, just giving me an unfriendly beep. In http://sprunge.us/VfRD the output of futility show suggests that the image I'm getting is missing a kernel preamble. What am I doing wrong?
<catern>
abbradar: will it fix the issues of running Nix on a foreign distro and getting the right GL library?
<sphalerite>
infinisil: cli git is best git
<infinisil>
(I know i could use tig or so for having a ncurses interface, but still)
<hyper_ch>
c74d: you sure they used sha256?
<sphalerite>
oh boy oh boy nixcon in a week
<catern>
abbradar: (that is, if the foreign distro is using libglvnd)
<infinisil>
sphalerite: \o/
miriam59 has quit [(Ping timeout: 260 seconds)]
<hyper_ch>
oh dear....
<hyper_ch>
and it's even close to me I think
<c74d>
hyper_ch: it says `sha256` in the derivation
<abbradar>
catern: yeah, should do. well, only partially those drivers are usually not linked statically
<Twey>
hyper_ch, c74d: Aren't Nix hashes base32?
<abbradar>
so you can get distro's libstdc++ as your libstdc++
<infinisil>
Twey: The /nix/store/<hash>-name hashes
<infinisil>
are base32
<hyper_ch>
Twey: I don't know what kind of hash c74d has and what he tries to compare against
<abbradar>
and things go to hell
<sphalerite>
c74d: the hash in a store path will depend on the filename as well. It's complicated
<hyper_ch>
nixcon is only around 2h car drive away
miriam59 has joined #nixos
<catern>
abbradar: even if they were linked statically you would still have that issue, right?
<hyper_ch>
sphalerite: he's not trying to compare against a path file from what I see
<catern>
abbradar: if your application used one libstdc++, and the driver used another...
<catern>
luckily drivers are usually plain C right?
ylwghst has quit [(Quit: Lost terminal)]
<catern>
and glibc is backwards-compatible
<hyper_ch>
from what I gather he got sources for broadcom
<hyper_ch>
and wants to check them with the given checksum for that file
<Dezgeg>
well mesa for instance links to tons of libraries
<abbradar>
catern: shouldn't be a problem because APIs exposed are pure C and if the library is linked statically libstdc++ symbols are not exported IIRC
<catern>
ah, I see
<c74d>
I want to compare against the hash given in the .nix file: `sha256 = "1b1qjwxjk4y91l3iz157kms8601n0mmiik32cs6w9b1q4sl4pxx9";`
<abbradar>
catern: nope, I think at least Mesa's radeon uses C++
<abbradar>
catern: we have used to have several workarounds for that in Steam
<Dezgeg>
(based on what it actually claims to achieve, no idea what it currently can)
<abbradar>
catern: Steam Runtime has its own libstdc++ and when combined with Radeon FOSS drivers you get crash
<catern>
hmm... what is the workaround?
<c74d>
On the other hand, this computer has no Bluetooth hardware, so maybe I could just make it stop trying to install Bluetooth firmware
ylwghst has joined #nixos
<catern>
Dezgeg: well, I guess libglvnd + libcapsule would fix it, if used together
justanotheruser has quit [(Ping timeout: 260 seconds)]
<avn>
abbradar: glsl compiler use c++, not radeon backend (and all gallium backends use llvm libraries, which are c++)
<abbradar>
catern: in the old times it was replacing their libstdc++ with our own, some games broke but some worked
<abbradar>
avn: ah, thanks
<abbradar>
catern: nowadays I don't remember exactly what changed but their Runtime doesn't conflict anymore, we just always expose our own libstdc++
<catern>
didn't they stop shipping a runtime or something?
<Dezgeg>
I don't see what libglvnd would accomplish anymore if libcapsule were used, since we install separate openGL drivers to separate store paths anyway
ma27 has joined #nixos
<catern>
Dezgeg: it would get rid of the need for the NixOS-specific /run/gl/ thing
<catern>
(if I understand correctly)
<abbradar>
catern: no, they still have it (at least we do. it would be hilarious if actually they have it disabled by default now and we need it only because we ourselves export STEAM_RUNTIME=/some/path :D)
<catern>
I wonder if libglvnd might also incorporate functionality like libcapsule anyway, that seems pretty essential
<Dezgeg>
that would be ideal, yes
<nocent>
Is there anything holding back systemd to be updated to version 235 in nixpkgs? It is required for stuff like source based routing.
orivej has joined #nixos
<nocent>
I don't know how to add additional routing tables since systemd is outdated, and the rt_tables file is not in the usual /etc/iproute2/ directory
<hoverbear>
Too many levels of symbolic links is a fun error
<catern>
libglvnd is quite exciting then
<catern>
it's like nscd
<catern>
which is necessary on foreign distros to avoid NSS plugin headaches
<Dezgeg>
would be nice if you could actually configure nscd to do no caching and just as a pass-thru (without hacks iirc)
<catern>
last time I investigated it, I definitely remember seeing that you can do exactly that
<catern>
it might be a fairly recent feature or something
<c74d>
It seems that every time I build something with Nix after my nightly automatic GC run, Nix downloads `paxctl`, even though PaX is no longer supported — why?
<hoverbear>
So I'm not quite clear on this. There is both a systemwide (`/etc/nixos/*`) and a userwide configuration (`??`), as well as any environments I want to define in some `nix-shell blah.nix` invocation. Is there any best practice documents about what to put where?
<catern>
paxctl is in stdenv but not needed at runtime by anything?
<infinisil>
pactl?
<infinisil>
Oh there's also paxctl
<Dezgeg>
hmm, I seem to have just specified 'positive-time-to-live passwd 0', maybe that JustWorked correctly then
Neo-- has joined #nixos
<sphalerite>
catern: the nixos kernel used to have grsecurity and it was relevant to that I think
<catern>
right, I was answering hoverbear
<catern>
er
<catern>
answering c74d, sorry hoverbear my comment was unrelated to you
<sphalerite>
oops
<michaelpj>
hoverbear: I think some principle of minimum scope applies. If it has to be in the system config because it affects the whole host, put it there. If it has to be in your user config becasue you want to it to always be there, then put it there. Basically, keep things as local as possible.
srhb has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vdNON
<NixOS_GitHub>
nixpkgs/master 835201e Andrew Kelley: zig: init at 0.1.1
<NixOS_GitHub>
nixpkgs/master b591b5c Joachim F: Merge pull request #30598 from andrewrk/zig...
<sphalerite>
hoverbear: those are mine :) I install my stuff using nix-env -f graphical.nix -ir
<michaelpj>
hoverbear: so, full-on user management isn't really here yet (you can have a look at home-manager), but you can put things in your user nix profile imperatively with nix-env and friends
<michaelpj>
okay, my turn for a weird problem: I'm trying to use the breeze-plymouth theme, I've got `boot.plymouth = { enable = true; theme = "breeze"; themePackages = [pkgs.breeze-plymouth]; };`, but then I get "output ‘/nix/store/dy6km0sanbzj7sxsggplg8npihy5sshm-extra-utils’ is not allowed to refer to path ‘/nix/store/m5hmg2b9qnwgpsc2bj3z172wkfc0ca8i-plymouth-0.9.3’"
<hoverbear>
sphalerite: So you make a machine, import your system specific file to the `/etc/nixos/` and run a build, then import your user config with `nix-env -F graphical.nix -ir` executed after?
<sphalerite>
hoverbear: the user stuff in my dotfiles repo is completely independent of the system config
<hoverbear>
michaelpj: That looks vaguely like a permission issue
<hoverbear>
sphalerite: I'm speaking generally :)
<michaelpj>
now, looking at what happens, I can see that plymouth puts a bunch of stuff into `boot.initrd.extraUtilsCommands`, and that has `allowedReferences = ["out"]`, but that just makes me confused as to how this worked at all - surely that must always have been referencing plymouth?
<michaelpj>
(without the breeze theme it works, to be clear)
<sphalerite>
hoverbear: more or less
<hoverbear>
sphalerite: There isn't a combination way to do both system and all users in one go?
Neo-- has quit [(Ping timeout: 255 seconds)]
<sphalerite>
michaelpj: looks to me like a bug in the plymouth module. It copies plymouth into the initrd but not the theme
<sphalerite>
I think.
<sphalerite>
I might be reading it wrong though
<michaelpj>
ah I see
<michaelpj>
that would make sense
<sphalerite>
hoverbear: I think you can define user-specific packages in the system config, but I haven't looked into that really
<hoverbear>
sphalerite: Ohhh that would be spectacular
<michaelpj>
sphalerite: well, except that the reference it's complaining about is to plymouth, not to the theme. Also, `plymouth.nix:105` looks like it copies the theme in
<michaelpj>
that's the weird thing - it would make more sense if the error was about references to the new theme!
<sphalerite>
michaelpj: aah maybe the theme references plymouth
<michaelpj>
ah, good shout
<michaelpj>
it does indeed
<hoverbear>
Does it reference a different version?
<michaelpj>
no, same version, it's just something with how this `allowedReferences` thing works
<sphalerite>
seems like it would require patching the theme to refer to plymouth's library through a different path.
<sphalerite>
Sounds messy
<sphalerite>
it has a huge dependency closure in general
<michaelpj>
no, I think you were right originally - it leaves some references to the theme in there, and it's then the transitive reference that's the problem
<sphalerite>
so I think breeze-plymouth is, in its current state at least, completely unusable
<joko>
What would be the proper way of escaping {} in writeScriptBin?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rybern opened pull request #30663: bowtie2: init at 2.3.3.1 (master...add-bowtie2) https://git.io/vdN3X
NixOS_GitHub has left #nixos []
<joko>
I mean, I don't want them to be evaluated by nix, just passed to Bash
tempeh has quit [(Quit: WeeChat 1.9)]
<infinisil>
joko: {} itself shouldn't need escaping
<sphalerite>
joko: what infinisil says. If it's ${}, turn it into ''${}
<infinisil>
${} does need escaping, and you do it with ''${} if you used '' quotes, and \${} if you used " quotes for your string
<joko>
thank you, guys, it moved :D
jb55 has quit [(Ping timeout: 260 seconds)]
dustmote has joined #nixos
<dustmote>
Is there any disadvantage to installing everything (/boot too) inside of a luks primary partition on a series of logical volumes?
<sphalerite>
michaelpj: I think it could probably be fixed with some screwing around with patchelf
<sphalerite>
err no… the library doesn't even get copied in
<sphalerite>
It's breeze.plymouth that's causing the disagreements
<michaelpj>
sphalerite: I think I figured some of it out. Problem a) the copying of the themes was copying the symlinks to directories, not the directories recursively, leaving references in. Problem b) the definition file for breeze.plymouth has a reference to plymouth in it
<xelxebar>
How can I setuid a binary when I'm just running a nix store, not nixos?
<michaelpj>
yeah
<infinisil>
dustmote: I think other channels such as #linux would know better
<dustmote>
infinisil: ok ty
<xelxebar>
Apparently setting security.setuidPrograms = [...] in configuration.nix works, but I don't have that config. Is there something similar for .config/nixpkgs/config.nix?
<sphalerite>
michaelpj: AFAICT it only has a reference to breeze-plymouth in it
<sphalerite>
michaelpj: what's referring to plymouth is breeze-text.so
<michaelpj>
so, fixing problem a has allowed me to progress to it complaining about a reference to breeze-plymouth, which fits with that
<infinisil>
xelxebar: Well since it's a nixos module option, most likely not
<xelxebar>
:(
<michaelpj>
sphalerite: it seems pretty tricky to get rid of all the nix store references for this thing...
<infinisil>
xelxebar: Well you can't have the easy configuration of nixos but use another distro :/
<sphalerite>
michaelpj: tricky, but not impossible :D
<infinisil>
xelxebar: I have no idea about this, but there must be a way to do that on other distros
<sphalerite>
xelxebar: setuid is messy. I recommend sticking to software from your distro for anything that needs setuid
<michaelpj>
sphalerite: is there a way to patch a a nix store path back into a non-store reference?
<michaelpj>
I think that's what I'd need to do
<xelxebar>
infinisil: Thanks. I'll just stick with my distro's package for now.
<ldlework>
Anyone here use F# from Nix?
<sphalerite>
michaelpj: not really — what we'd want in this case is to change the nix store path we have into a *different* nix store path (that of the extra-utils derivation)
<michaelpj>
right, that's what I meant, it is still a store path
dustmote has quit [(Quit: bye)]
<sphalerite>
also, breeze-text won't work right since the shared library it needs doesn't get copied in
<hoverbear>
Hm, interesting. my KDE widget configuration windows have nothing in them. THey're just frames.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to release-17.09: https://git.io/vdNsu
<michaelpj>
sphalerite: for the breeze.plymouth issue, I could blindly substitute `*/share/plymouth` for `$out/share/plymouth`, or is there a more reliable way?
<marantz>
I'm trying to follow the install instructions for python3.6-ledger-autosync-0.2.3 but get an error saying error: beautifulsoup-3.2.1 not supported for interpreter python3.6m I believe if I try to install the python27 version of the package it doesn't have this trouble. Is this a bad package or something I haven't done? my system have very little software install on it, not even python
<NixOS_GitHub>
[nixpkgs] michaelpj opened pull request #30666: plasma5: use mkDefault for a few options that users might want to set (master...imp/plasma-mkdefault) https://git.io/vdNCi
<dustmote>
overriding filesystem."/".device for luks as the as nixos manual describes results in an error "the unique option ... is defined multiple times"
<dustmote>
Maybe the manual needs to be updated to include mkForce?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vdNWu
<infinisil>
dustmote: Can you link me to this section?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin closed pull request #30666: plasma5: use mkDefault for a few options that users might want to set (master...imp/plasma-mkdefault) https://git.io/vdNCi
NixOS_GitHub has left #nixos []
<infinisil>
Because I don't think the manual makes the example with overriding the autogenerated one, but rather an example to specify it manually
<dustmote>
prefixing my option value with "pkgs.lib.mkForce" worked; thanks!
<dustmote>
^infinisil
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to staging: https://git.io/vdNlJ
<NixOS_GitHub>
nixpkgs/staging 16e7374 Tuomas Tynkkynen: Merge remote-tracking branch 'upstream/master' into staging
NixOS_GitHub has left #nixos []
<infinisil>
dustmote: Nice :D. Usually you'd add lib to the argument list ( { lib, pkgs, ... }: { <config> }), then use lib.mkForce, but it doesn't really matter
Mic92 has quit [(Read error: Connection reset by peer)]
Mic92_ has joined #nixos
miriam59 has quit [(Ping timeout: 248 seconds)]
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
tgunb has joined #nixos
jb55 has joined #nixos
<tgunb>
does someone here use pidgin-with-plugins? i installed it and pidgin-otr, but otr doesnt appear in the plugin list
ryantrinkle has quit [(Ping timeout: 240 seconds)]
<dtzWill>
are we gathering/reporting nix-info output somewhere? (still need more reports?)
marantz has quit [(Quit: Leaving.)]
marantz has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
<MichaelRaskin>
I think we hope to gather it organically in the issues now.
<MichaelRaskin>
(maybe not yet, but there was a plan to gradually change the issue template towards promoting nix-info use)
<dtzWill>
oh, I somehow read that as "want to help? -> nix-info"
<dtzWill>
like we were reporting them to help ... nvm haha O:)
<MichaelRaskin>
I think you read it right — _before_ merging samples were gathered just to test various things
wlhlm_ has quit [(Quit: Leaving)]
<MichaelRaskin>
Now there is a hope that all the obvious cases have been tested and we should see how it behaves in the wild for people with actual Nix-related problems.
<disasm>
dtzWill: it merged! :)
<dtzWill>
\o/
thc202 has quit [(Ping timeout: 260 seconds)]
<tgunb>
i get this error: $ nix-shell -p nix-info --run nix-info;
<tgunb>
error: undefined variable ‘nix-info’ at (string):1:66
<tgunb>
(use ‘--show-trace’ to show detailed location information)
<MichaelRaskin>
What channel are you at?
<Ralith>
tgunb: as a general rule, in nix, separately installed packages can't see eachother
<MichaelRaskin>
Well, nix-info got merged into unstable only recently.
<tgunb>
k
<MichaelRaskin>
And did not get picked to stable.
<MichaelRaskin>
so, -f is required.
<disasm>
MichaelRaskin: you sure? I'm on stable and have it now
<Ralith>
yeah, I have it on 17.09
<disasm>
and I have proof: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-17.09.1756.c99239bca0", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<disasm>
:)
<MichaelRaskin>
Hm, dunno, I am never quite sure about stable, I don't believe in it.
<MichaelRaskin>
Maybe nix-channel --update would be enough.
<Ralith>
tgunb: were you able to get pidgin working?
<tgunb>
Ralith: im having trouble trying to apply what you wrote. i tried nix-env -E 'your expression', but that doesnt work.
<Ralith>
nix-env -E is weird as hell and I don't understand it
<tgunb>
am i supposed to pass the whole nix expression and replace your part?
dbmikus has joined #nixos
<Ralith>
your intuition was imo spot on, nix-env -E is just screwy
<tgunb>
or how can i tell nix-env to substitute just that part?
<Ralith>
I put all my stuff in my local packageOverrides
<Ralith>
I have no idea how to make nix-env -E work
<Ralith>
without cheating, anyway
miriam59 has joined #nixos
<tgunb>
k, how does your override look like?
<tgunb>
and where am i supposed to put it? (its getting late and im loosing motivation to read the doc)
mc_der has joined #nixos
<ldlework>
👏🏼 installing an F# environment with Nix was 👌
<disasm>
tgunb: are you on nixos or just nix?
<tgunb>
nixos
<mc_der>
Hi, Could someone point me to 'eli5' resources regarding sha256 and depsSha256? I am trying to build some small Rust package, yet I don't know what to do with the hash parts. The source is here, in case smn would like to look at it? (on Ubuntu With Nix I am) : https://gist.github.com/mehandes/7610e94e4c2a63b70e8e258558e4da25
miriam59 has quit [(Ping timeout: 248 seconds)]
<tgunb>
mc_der: i have no idea, but are you using nix-hash?
<disasm>
tgunb: it goes in nixpkgs.config = { }
<mc_der>
tgunh: I used nix-prefetch-url, but stil don't know what to do with the other hash value
<disasm>
mc_der: typically I just break the hash by changing one char in the hash, build, and it outputs what the hash should be, then update the hash.
<disasm>
hyper_ch: regarding the xtruder profiles... I use them with regular nixos as well :) they extend very well to nixops when you start deploying with nixops.
markus1189 has quit [(Ping timeout: 240 seconds)]
<ldlework>
disasm good :)
<disasm>
mc_der: cool, so just put 11cylqg8jb0zkikizmaasqbnzdzf66azh349740yw3p49xdmiwbs in as the hash for the just package
<mc_der>
tgunb: are you familiar with that error? https://gist.github.com/mehandes/8b3a23caa9eb7ebf1ab2d286ac707bde My searches showed only that it was the case with wrong ver of Rust (stable instead of nightly), but that shouldn't be the sace here (but not 100% sure)
<ldlework>
Oh I didn't even realize such sub-attributes was possible
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 7 new commits to staging: https://git.io/vdNRv
<NixOS_GitHub>
nixpkgs/staging cc048f0 Tuomas Tynkkynen: audit: 2.7.7 -> 2.8.1
<NixOS_GitHub>
nixpkgs/staging 89e5c3b Tuomas Tynkkynen: devicemapper: 2.02.173 -> 2.02.175
<NixOS_GitHub>
nixpkgs/staging 462fe50 Tuomas Tynkkynen: e2fsprogs: 1.43.4 -> 1.43.7
NixOS_GitHub has left #nixos []
<disasm>
mc_der: I know absolutely nothing about rust... but I have heard a bunch of people say it's best to use the mozilla overlay. Not sure if that solves the problem or not https://github.com/mozilla/nixpkgs-mozilla
<tgunb>
mc_der: no, sorry.
miriam59 has quit [(Ping timeout: 240 seconds)]
<ldlework>
Package ‘FSharp.AutoComplete-0.18.2’ in /nix/store/nixpkgs/pkgs/top-level/dotnet-packages.nix:537 is not supported on ‘x86_64-darwin’, refusing to evaluate. 😭
<mc_der>
disasm, tgunb: thanks. One last thing to check would be to use sandboxed build.
<disasm>
ldlework: looks like it's time to switch to nixos :)
<ldlework>
I can't for work
<disasm>
ldlework: I was half joking :)
<ldlework>
disasm isn't there some thing I can write that will override the platforms attribute to include darwin?
<ldlework>
to at least see if it would work
<tgunb>
disasm: does that look ok?
<disasm>
ldlework: you could try updating the platforms to with platforms; (linux ++ darwin);
<drp>
can anyone point me to the manual section or a blog post that deals with nix packages and man pages? I have got nix installed on ubuntu and was wondering how you would integrate nix packages more with the system, e.g. man pages for nix packages and icons for desktop apps in ubuntu menu
<disasm>
ldlework: so... I think if I read that correctly is home manager managing that file, which I heard infinisil talking about yesterday and didn't like
dbmikus has quit [(Ping timeout: 240 seconds)]
<disasm>
but you could always update that file manually
<ldlework>
oh okay so Nix is still utilizing that file
<disasm>
and home manager *should* respect it I would think since it just uses nix-env
<disasm>
ldlework: correct, that file works with plain nix-env :)
* ldlework
tries
<tgunb>
hmm, after adding a missing ; i get 'undefined variable pidgin-otr'
marantz has quit [(Quit: Leaving.)]
<tgunb>
idlework: can you tell me, how to create these messages?