filterfish has quit [(Remote host closed the connection)]
danharaj has joined #nixos
<sphalerite>
How can I add a derivation to my user environment? i.e. I've built something using nix-build, got the result symlink; is it possible to add that to my profile?
<LnL>
you can just install nix store paths
<LnL>
os nix-env -i $(readlink result)
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v11rC
<NixOS_GitHub>
nixpkgs/master 7d134fc Leonardo Taglialegne: Fix typo in configuration-hackage2nix.yaml (#21129)
<sphalerite>
actually nix-env -i ./result works too :)
buttbutter has quit [(Remote host closed the connection)]
tormen has joined #nixos
ryanartecona has joined #nixos
wkennington has quit [(Read error: Connection reset by peer)]
<tormen>
quit
tormen has left #nixos []
MagBo has quit [(Ping timeout: 252 seconds)]
voidrays has quit [(Ping timeout: 250 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
voidrays has joined #nixos
MagBo has joined #nixos
seanz has quit [(Quit: Leaving.)]
Gohla has joined #nixos
<sphalerite>
No! I refuse! :p
ryanartecona has quit [(Quit: ryanartecona)]
MagBo has quit [(Ping timeout: 252 seconds)]
voidrays has quit [(Ping timeout: 258 seconds)]
markus1189 has joined #nixos
voidrays has joined #nixos
MagBo has joined #nixos
markus1199 has quit [(Ping timeout: 264 seconds)]
ebzzry has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
voidrays has quit [(Ping timeout: 245 seconds)]
PragCyph1 has quit [(Ping timeout: 264 seconds)]
ebzzry has joined #nixos
MagBo has quit [(Ping timeout: 250 seconds)]
AllanEspinosa has quit [(Quit: leaving)]
binarin_ has quit [(Read error: Connection reset by peer)]
Shou has quit [(Ping timeout: 240 seconds)]
voidrays has joined #nixos
MagBo has joined #nixos
<Ralith>
sphalerite: I've always just invoked nix-env on the expression that I built
<Ralith>
it never rebuilds because the computed hash is the same
flo[m] has quit [(Quit: Client limit exceeded: 5000)]
mexisme2 has joined #nixos
filterfish has joined #nixos
AllanEspinosa has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
mexisme has quit [(Ping timeout: 250 seconds)]
acowley_away is now known as acowley
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 245 seconds)]
lverns has joined #nixos
sigmundv_ has joined #nixos
nh2_ has quit [(Ping timeout: 250 seconds)]
eacamero_ has quit [(Remote host closed the connection)]
nh2_ has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
sigmundv_ has quit [(Ping timeout: 260 seconds)]
nh2_ has quit [(Ping timeout: 258 seconds)]
Rotaerk has joined #nixos
thc202 has quit [(Ping timeout: 256 seconds)]
[0x4A6F] has quit [(Ping timeout: 246 seconds)]
eacameron has joined #nixos
[0x4A6F] has joined #nixos
eacameron has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<himmAllRight>
how can I setup a gpg key? I'm trying to setup pass
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
eacameron has joined #nixos
sdothum has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
PragCyphr has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
RchrdB has quit [(Ping timeout: 260 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
mizu_no_oto has joined #nixos
Rotaerk has quit [(Read error: Connection reset by peer)]
Rotaerk has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v11ys
<NixOS_GitHub>
nixpkgs/master 96be6a1 Joachim Fasting: torbrowser: support H.264 playback...
<NixOS_GitHub>
nixpkgs/master 2221130 Joachim Fasting: torbrowser: support pulseaudio playback
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub>
[nixpkgs] jerith666 opened pull request #21137: use symlink to ensure cupsd.conf PATH always points to a valid store path (master...cupsd-path) https://git.io/v11SP
mizu_no_oto has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
acowley is now known as acowley_away
zraexy has joined #nixos
eacameron has joined #nixos
[0x4A6F] has quit [(Ping timeout: 258 seconds)]
[0x4A6F] has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v119q
<NixOS_GitHub>
nixpkgs/master b55cef7 Joachim Fasting: torbrowser: prefer local builds...
<NixOS_GitHub>
nixpkgs/release-16.09 8851080 Joachim Fasting: torbrowser: 6.0.7 -> 6.0.8...
filterfish has quit [(Remote host closed the connection)]
derjohn_mobi has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
derjohn_mob has quit [(Ping timeout: 256 seconds)]
mizu_no_oto has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
jekor has quit [(Ping timeout: 260 seconds)]
zraexy has quit [(Ping timeout: 256 seconds)]
mcloud923 has quit [(Ping timeout: 250 seconds)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
mcloud923 has joined #nixos
zraexy has joined #nixos
anelson_ has quit [(Ping timeout: 240 seconds)]
PragCyph1 has joined #nixos
anelson_ has joined #nixos
PragCyphr has quit [(Ping timeout: 258 seconds)]
wedens1 has quit [(Quit: WeeChat 1.6)]
viric_ has joined #nixos
filterfish has joined #nixos
viric has quit [(Ping timeout: 246 seconds)]
filterfish has quit [(Read error: Connection reset by peer)]
fpletz has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
wedens has joined #nixos
filterfish has joined #nixos
hexagoxel has joined #nixos
mguentner2 has quit [(Quit: WeeChat 1.6)]
mguentner has joined #nixos
zraexy has quit [(Ping timeout: 245 seconds)]
catern has quit [(Ping timeout: 250 seconds)]
fpletz has joined #nixos
catern has joined #nixos
slack1256 has joined #nixos
danharaj has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ncl28 has quit [(Ping timeout: 250 seconds)]
mguentner2 has joined #nixos
uralbash has joined #nixos
stepcut has quit [(Remote host closed the connection)]
lverns has quit [(Ping timeout: 258 seconds)]
ncl28 has joined #nixos
mguentner has quit [(Ping timeout: 240 seconds)]
amarsman has quit [(Ping timeout: 256 seconds)]
eacameron has joined #nixos
evck has quit [(Ping timeout: 246 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
mexisme2 has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
systemfault has quit [(Quit: Bye!)]
justanotheruser has quit [(Ping timeout: 268 seconds)]
<angerman>
so nix-shell by default picks up `default.nix` or `shell.nix` I feel it's `default.nix` however examples I saw seem to imply it's picking up shell.nix by default. Am I missing something?
<Rotaerk>
angerman, nix-shell uses shell.nix, nix-build uses default.nix, as I understand it
<Rotaerk>
I defined my shell.nix in terms of my default.nix though
<angerman>
Rotaerk hmm... somethings fishy on my end then :)
<Rotaerk>
I forget who it was that showed me that; I'm pretty new to this, myself
systemfault has joined #nixos
estewei has joined #nixos
<angerman>
yea, I've seen the import + env stuff (it's probably even in the nix or nixpkgs manual). I'm just a bit confused why it seems to pickup default.nix for me.
<AtnNn>
angerman: "nix-shell defaults to shell.nix if it exists, and default.nix otherwise"
<angerman>
AtnNn gotta inspect why my nix-shell.nix is not nix-shell.nix then... the fun :)
<angerman>
and now I'm getting Service Unavailable for some cache.nixos.org. If only today was friday.
jacob_ has joined #nixos
jacob_ is now known as Guest9872
k2s has joined #nixos
cantstanya has quit [(Ping timeout: 260 seconds)]
amarsman has joined #nixos
Mercuria1Alchemi has joined #nixos
pi3r has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
roconnor has quit [(Ping timeout: 260 seconds)]
avalent has joined #nixos
cantstanya has joined #nixos
<eacameron>
Ugg...why would php-fpm be segfaulting?
<simpson>
eacameron: Amen. That's poetry, right there.
jgertm_ has joined #nixos
Itkovian has joined #nixos
<eacameron>
simpson: Hahaha...but I'm a poet and I didn't know it.
rly has joined #nixos
deepwater has quit [(Remote host closed the connection)]
<eacameron>
simpson: I'm afraid what you mean by that...
<reinzelmann>
Morning! fprintd-enroll gives me "list_devices failed: Unit fprintd.service not found." Does someone know what to do?
systemfault has quit [(Quit: Bye!)]
k2s has quit [(Ping timeout: 250 seconds)]
MichaelRaskin has quit [(Quit: MichaelRaskin)]
<simpson>
eacameron: Oh, just that php-fpm segfaulting is beautifully inevitable.
<eacameron>
simpson: I'm new to this...are you serious?
<garbas>
dash: i claim no responsability for any lost weekend ;)
pi3r has quit [(Ping timeout: 256 seconds)]
<eacameron>
simpson: Can I just serve the PHP site without PHP-FPM and get at least get it to work?
<simpson>
eacameron: Sorry, I'm just eternally disappointed in PHP.
<simpson>
eacameron: php-fpm works fine, but it's notoriously crashy even on non-NixOS.
<eacameron>
simpson: No need to convince me. I'm a Haskeller who has to deploy someone else's site for the time being :/
<eacameron>
simpson: Sigh...I just have no way of debugging it...I can't find anything
deepwater has joined #nixos
Itkovian has quit [(Read error: Connection reset by peer)]
rly has quit [(Ping timeout: 265 seconds)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
edvorg has joined #nixos
fritschy has joined #nixos
ckauhaus has joined #nixos
fractal has quit [(Ping timeout: 260 seconds)]
ToxicFrog has quit [(Ping timeout: 245 seconds)]
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
thc202 has joined #nixos
jgertm_ has joined #nixos
dgn has joined #nixos
ambro718 has quit [(Ping timeout: 264 seconds)]
ToxicFrog has joined #nixos
filterfish_ has joined #nixos
filterfish has quit [(Remote host closed the connection)]
FRidh has joined #nixos
<Cypi>
Why doesn't something like "nix-shell '<nixpkgs>' -A somepackage -p somepackage" work? The intent is to have a shell with both the depencies of the package and the package itself available
<Cypi>
dependencies*
moet has quit [(Ping timeout: 265 seconds)]
goibhniu has joined #nixos
<Cypi>
(What I get is: "error: attribute 'somepackage' in selection path 'somepackage' not found")
<clever>
Cypi: -p just makes it run -E 'with import <nixpkgs> {}; runCommand "foo" { buildInputs = [ somepackage ]; } ""'
<clever>
Cypi: and you cant mix -E and -A
<FRidh>
angerman: what's the problem you encounter? I don't have darwin here but ipython is working fine on nixos
<angerman>
FRidh turned out python35 was the only python version that actually produced a working result. 36 failed with some pytest nonsense, python34 with some broken package.
<FRidh>
angerman: Ok I see. PR's with fixes are welcome :)
<angerman>
FRidh :-)
<FRidh>
We should just build all python packages on Hydra again so its easier to spot when something is broken
<Cypi>
Hmm, I see clever, thanks. So somepackage should actually be available in the shell that is created.
<clever>
Cypi: you gave it conflicting options, so i'm not sure what its going to do
<Cypi>
No shell is created when I give it both -A and -p, so nothing
<clever>
Cypi: normaly id say to put foo into the buildInputs with an override
<clever>
except, that will put it inside itself, and now it has a infinite cycle
<angerman>
FRidh not sure if this was some darwin only issue though.
<Cypi>
So that means that with -p, the package is available but not its dependencies, and with -A, only the dependencies are available, right? How do I get both?
<clever>
maybe run one nix-shell inside the other nix-shell?
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v1MtO
<NixOS_GitHub>
nixpkgs/master e065861 Vladimír Čunát: buildGoPackage: reduce the default meta.platforms...
ThatDocsLady has joined #nixos
c0bw3b has joined #nixos
<FRidh>
angerman: ah so you have an instance of jupyter with different kernels. We should make a function for that so you can just easily pass in kernels with packages.
<berce>
The update of u-boot was needed because the compiled ones available for the cubox didn't use common distro boot scripts and the version in nixpkgs was known not to work for cubox
<rly>
What's the meaning of the psu suffix? oraclejdk8psu
<Dezgeg>
u-boot is 2016.11 already on master it seems
<LnL>
sphalerite: note that this won't detect everything, the haskell packages set is hidden from nix-env -qa for example
<berce>
I found others having trouble to get the hdmi working, because of some hdmi-core setting of IPU-1 that had to be IPU-0 for imx6dl.
<sphalerite>
rly: power supply unit, obviously :p (I really don't know)
<berce>
Dezgeg, that must be after I started working on it.
<angerman>
cabal2nix generates an expression that doesn have stdenv in it's argument set, however it useses stdenv.lib.licenses.bsd3, how does that work? Where does stdenv come from?
<Dezgeg>
I guess one way of checking whether it's a display problem is to check the sd card to see if it managed to make modifications to the root fs after the first boot
ebzzry has joined #nixos
<sphalerite>
LnL: right, as are broken and unfree packages unless allowX is set
<berce>
What modification should I look for?
eacameron has joined #nixos
<Dezgeg>
if it created /etc for example
<LnL>
sphalerite: ah indeed, you could solve that part by passing it a config like matthewbauer mentioned
<sphalerite>
yeah
<berce>
/etc is there, with no timestamp (1 jan 1970)
<Dezgeg>
ok, then it booted successfully I think (IIRC stock installer images have only /nix and /nix-path-registration)
<berce>
Thanks for confirming my assumption
<berce>
Then I 'only' need to get the hdmi working :-)
<berce>
it's about usr/src/sys/gnu/dts/arm/imx6qdl.dtsi
<berce>
soc {interrupt-parent = <&gpc> ... was changed from <&intc> and broke hdmi
<Dezgeg>
I don't know if freebsd even uses the same .dts files as Linux
eacameron has quit [(Ping timeout: 250 seconds)]
<berce>
How can I compile dts files?
<berce>
Are they kernel version related?
<clever>
they shouldnt be, but some kernel driver guys are naughty
<Dezgeg>
in theory they shouldn't be but in practice it helps to keep them in sync
<clever>
berce: pkgs.dtc contains the utils to convert between text<->blob
iyzsong has joined #nixos
johann__ has quit [(Quit: Leaving.)]
<berce>
clever: thanks
<berce>
does that mean I can decompile the existing dts, make changes and recompile?
<clever>
yep
<clever>
the idea behind DT, is that you could have 1 kernel that works on many boards, and the DT tells it what hardware is available
<clever>
in theory, i could make a kernel that has both the rpi gpu stuff, and the Cubox stuff compiled in, and the DT tells it which one to fire up, and what address the hardware is at
<clever>
but that only works if both sets of drivers are in the same fork of linux
<sphalerite>
I seem to have lost the gist that patches an executable to use the right interpreter... Could someone link me to that again please?
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
ixxie has joined #nixos
<sphalerite>
can I use a specific output of another derivation as a build input? The manual mentions that it will use dev if that exists or the first output otherwise, but can I choose?
<clever>
sphalerite: buildInputs = [ foo.bin ];
<sphalerite>
ah right, thanks
frnwtr has joined #nixos
<angerman>
what's the difference between import and callPackage?
<clever>
angerman: import just returns the top level expression in the given file
<clever>
angerman: callPackage will import it, inspect what arguments its asking for, then call it with those arguments from pkgs.
<angerman>
clever and all the custom callPackage functions will use pkgs + what ever extra scope they were given?
<clever>
angerman: yeah
<clever>
and it also takes an attribute set of further overrides
<angerman>
so import ... { arg1, arg2, arg3 }; ist the same as callPackage ... {}; given that arg1, arg2 and arg3 are in scope.
<clever>
so callPackage ./foo.nix { bar = 42; } will always set bar to 42
<clever>
yeah
<clever>
callPackage will also detect if it even needs arguments
<clever>
so you could have a bare file that doesnt start with { something }:
<clever>
and it will return the contents, rather then error out
<angerman>
so it's essentially: callPackage ... args; is import ... (magic // args);
* angerman
is thinking about writing some introductory stuff on nix, wrt what he leared over the last two or so weeks.
<clever>
angerman: callPackage will also accept a lambda directly
<clever>
angerman: so you can do pkgs.callPackage { stdenv, hello }: stdenv.mkDerivation { name = "foo"; buildInputs = [ hello ]; } {};
s1lvester has joined #nixos
<angerman>
feels like callPackage is the sledgehammer.
<clever>
callPackage is also responsible for adding .override to things
<clever>
and the arguments its supplying are what .override affects
<ixxie>
angerman: if you write something, I have been planning to make some visual aids for newcomers to Nix
<clever>
it will internaly hold onto a reference to the un-called version of the lamba (immutable evaluation ftw!) and you can call it again with different args
<angerman>
visual aids? you mean infographics? ;p
<ixxie>
angerman: I asked on the mailing list for diagrams and people linked a bunch
<angerman>
or binoculars?
<ixxie>
yeah xD
<ixxie>
haha
<angerman>
I don't know. But to be honest, I find nix language to be alien.
<ixxie>
me too
<clever>
ixxie: i'm also working on a GUI for nixos-install, how does this look as a start? http://imgur.com/a/AQVfx
<angerman>
Getting used to it though. And I did have experience with prolog, ocaml, haskell, and a variety of other langauges.
<ixxie>
angerman: did you check out nix pills?
<angerman>
blue or red?
<angerman>
erm, no.
<ixxie>
I found it to be one of the best resources for the basics
<angerman>
I've just hit google a few times. Tbh. the best (most enlightening doc) was the nix manual (doh!).
<ixxie>
this is the first, but the series proceeds to cover the basics of the language, packaging, etc.
<ixxie>
oh yeah, the tour is also cool
<angerman>
ixxie haha, yea that one I probably missed. I've come too accustomed to set googles time filter to (within last year).
<ixxie>
what is missing for me is really an overview of the whole Nix ecosystem
<angerman>
goibhniu thanks, will give it a try.
<kmicu>
angerman: from the different point of view ‘callPackage’ is a helper for Nixpkgs set, ‘import’ is a Nix, the expression language, prime op.
<kmicu>
(Not everyone use Nixpkgs/NixOS :)
<angerman>
kmicu, say what :D
<ixxie>
clever: the over interface looks great, window systems are intuitive; the tricky part is that now you make partitions looks like folders, which to me is a bit unintuitive. Have you considered a tabular layout?
<NixOS_GitHub>
[nixpkgs] abbradar closed pull request #21137: use symlink to ensure cupsd.conf PATH always points to a valid store path (master...cupsd-path) https://git.io/v11SP
tumm_ is now known as tumm
<ixxie>
I see clever, but notice how in the ubuntu installed it also arranges the partitions in a table
johann__ has joined #nixos
<ixxie>
it helps provide an overview of the details of each partition
<NixOS_GitHub>
[nixpkgs] guyonvarch opened pull request #21141: ffcast: init at 2.5.0 (master...init/ffcast) https://git.io/v1M4r
<clever>
ixxie: would that layout work better>
<ixxie>
clever: I think so! I was just gonna say, in gparted they use a similar one, it has the advantage of both allowing for nesting while having a table layout to organize the information
<ixxie>
best of both worlds!
<clever>
yep
<clever>
you can also click js code in that page, to see how simple its implemented
<clever>
ixxie: i dont think ive seen any other framework with docs this detailed
<arianvp2>
but I get an error about "undefined variable security"
<arianvp2>
if I try to use it
<ixxie>
cleve: one thing you should keep an eye on is the choice of icons for various types of drive sections, to distinguish between physical drives, partitions, LVs, etc.
<ixxie>
clever* :P
<clever>
ixxie: yeah, i'll need to get better icons, i havent opened an image editor once while creating this
<ixxie>
but that should be easy enough :)
<kmicu>
Hi arianvp2 what’s your NixOS version? You can check by executing ‘nixos-version’.
<clever>
all of this is the defaults for TreeFolder and TreeFile
<angerman>
great, the hackage-packages.nix has the same circular dependencies (clock -> tasty -> clock -> ...) however that somehow works... I'm confused.
<arianvp2>
16.03 but I just updated to 16.09. let me reboot for a sec
<ixxie>
clever: if you need some new icons I can make them for you as well, but there are many existing sets out there which could be usable
<LnL>
angerman: fixpoints
<clever>
ixxie: yeah, i can just google it some, i also know some people elsewhere that do graphics work
<arianvp2>
hmm
<arianvp2>
update doesnt seem to work
<arianvp2>
so I added the 16.09 channel
<arianvp2>
and I did rebuild-switch upgrade
<arianvp2>
but it still reports 16.03?
<kmicu>
arianvp2: check with ‘sudo nix-channel --list’ if you have changed the nixos version for the system and not for your user.
<arianvp2>
haha thanks that was it
<ixxie>
clever: well, offer stands if you need me ^^ we have recently been developing a new icon style for our own schtick (you can see examples on fluxcraft.net)
<clever>
ixxie: QX also has a fairly complex theming framework, oh, and it seems one of my websites died in the power outage
<arianvp2>
nixos until now is great
<arianvp2>
got it running on vultr and provisioning it with nixops
<ixxie>
clever: so you can use this qooxdoo to supplement QX for interface details
<arianvp2>
seriously nice tool
<arianvp2>
such a relief if you come from ansible puppet or chef
<arianvp2>
I actually have faith in my configuration and am not scared to rerun it :P
<clever>
ixxie: and now comes the double-edged sword of nixos, i want to edit /etc/hosts, but i was putting off a nixos-rebuild to update, now i get all the updates!!
<arianvp2>
the progress bar of nixos-rebuild switch is totally useless though
<ixxie>
clever: one moment (I am at the library, the wifi blocks the IRC ports so I am on the mobile hotspot >.<
<clever>
ixxie: ah, kk
<arianvp2>
okay
<arianvp2>
I still get "undefined variable security"
<arianvp2>
=(
<ixxie>
clever: it just takes a whole to load xD
<ixxie>
I am also installing R at the moment xD
<clever>
arianvp2: can you pastebin you configuration.nix?
<LnL>
arianvp2: sounds like an issue with your configuration
<arianvp2>
yes one sec
<clever>
ixxie: that image is a game i played before, that used QX for its entire ui
<kmicu>
arianvp2: Is that ‘security’ in the top level of configuration.nix?
<avn>
clever: I case of ad-hoc fixing /etc/hosts, I do cat `/etc/hosts >/tmp/etc_hosts && ln -sf /tmp/etc_hosts /etc/hosts`
<ixxie>
clever: what is /etc/hosts ?
<clever>
avn: yep, ive done that before
<gchristensen>
niksnut: did you see my ping re: hydra? these failures are making it very difficult to update things
<clever>
ixxie: my router doesnt support handling port forwards from inside the lan, so i need to use /etc/hosts to re-route the internal websites to the LAN ip's
Shados has joined #nixos
<ixxie>
clever: image isn't loading
<arianvp2>
I split up my config with import
<clever>
ixxie: might have been broken by the recent power outage, need to get everything setup to run on bootup still
<clever>
ixxie: let me debug it on this end
<kmicu>
arianvp2: you can also execute ‘nixos-option 'security.acme'’ to check if the option is recognized in your NixOS version.
jazzencat has joined #nixos
<clever>
ixxie: oh, *doh*
<clever>
ixxie: i forgot to update my dns after the ip changed
<ixxie>
heh
<jazzencat>
Turns out I had to use dd to zero my HD to get the system working again. Something got really borked along the way.
<kmicu>
arianvp2: Do you see the same problem if you define security.acme.* directly in configuration.nix and not in imported files?
<jazzencat>
So, it should work if I just run an MBR-based install.
<arianvp2>
alright website is up
<jazzencat>
Seems gdisk also has a way of getting rid of GPT.
<clever>
jazzencat: it will also work with a GPT based install if you create the bios boot partition
<arianvp2>
however the letsencrypt stuff doesnt seem to have worked
<arianvp2>
=(
<jazzencat>
Cool. I'll keep that in mind, but the GPT and getting the right UID for the boot partition is more hassle for me at the moment, so I'll keep it simple until I know what I'm doing.
<ixxie>
clever: image received, over.
<ixxie>
clever: so thats all QX? impressive :)
<jazzencat>
Otherwise I introduce far too much PEBKAC into the mix :)
<arianvp2>
does nixos have default firewall rules?
<arianvp2>
because i cant access my server from the remote network
<clever>
ixxie: yeah
<clever>
ixxie: in that game, they compiled all of the UI logic and QX into a single JS file, then minified it, resulting in a solid 6mb of JS
<clever>
ixxie: they they broke it up into a series of <script>s("1024 bytes");</script>'s in a single html file, that gets loaded in an iframe
<clever>
ixxie: so they could theme the progress bar as that whole beast loads
<jazzencat>
If I am going with a multi-boot scenario, I want Windows first, then the Linuxes? Also, does it matter what order I do them in, say Gobo Linux and then NixOS...
<clever>
jazzencat: id say nixos should be last
<clever>
jazzencat: and windows first
<clever>
jazzencat: nixos needs to have full control of the bootloader to work right, and i dont trust windows to not break things during install :P
<ixxie>
clever: I know almost nothing of javascript but that kinda sounds like they are pushing it to its limits xD
<jazzencat>
Okay, Windows is already in place. Gobo Linux then NixOS.
<clever>
ixxie: the partition editor ive written currently compiles down to 866kb of JS
<jazzencat>
I'll leave the Windows 7 Recovery partition in place, that way I can fix things if they go pear-shaped.
<arianvp2>
anybody tried the letsencrypt stuff
<arianvp2>
I think something is wrong with the directory settings
<lassulus>
hmm, strange, I don't remember do create the directories by myself
<arianvp2>
the docs says you dont have to either
<jazzencat>
If I want to make a portable install of NixOS are there any special procedures not listed in the manual?
<clever>
jazzencat: i would change boot.loeader.grub.device to "nodev"; after installing, or it may try to mess with the MBR on the wrong hdd during an upgrade
<arianvp2>
weird right?
<clever>
jazzencat: other then that, its pretty much the same as normal, just use a usb hdd
nh2_ has joined #nixos
<jazzencat>
Cool.
anelson has joined #nixos
<jazzencat>
Carrying a small USB drive is preferrable to hauling around my laptop all the time :)
anelson_ has quit [(Ping timeout: 250 seconds)]
<jazzencat>
I need to get a lighter laptop.
ckauhaus has joined #nixos
sdothum has joined #nixos
pi3r has joined #nixos
<ixxie>
jazzencat: I had a heavy laptop for years, this summer I got myself a Dell XPS 13 developer edition and I <3 it
<ixxie>
NixOS mostly works well on it, although there is this weird screen flicker issue that I have yet to resolve
<gchristensen>
LnL: I guess we'll find out after the mass rebuild :P
<LnL>
gchristensen: and there are some other packages that do the same thing
Shou has joined #nixos
buttbutter has joined #nixos
<LnL>
you could test by making a jasperFoo attribute with those changes, then you can compare the output without having to rebuild the world first
<gchristensen>
great idea
<LnL>
I did something similar when I was messing the cmake itself, since that's part of the darwin stdenv
<buttbutter>
Hey. I have one of those stupid ThinkPads with the trackpoint buttons integrated into the touchpad. I want to disable the touchpad's mouse input (but maintain functionality of the buttons). I tried just setting synaptics.maxSpeed = "0.0" and also synaptics.enable = false but neither worked.
<gchristensen>
mmmm these mass rebuilds go much faster with 48 cores.
<clever>
angerman: this job is setup to follow nixos-unstable-small, and it depends on the nixpkgs expression
alx741 has quit [(Quit: alx741)]
<clever>
angerman: so every time nixos-unstable-small changes, this has a new eval and a new build
<angerman>
clever great! So here's my reasoning, if I had a channel loosely based on nixpkgs-unstable, I would need to either fix the revision, or try to track every valid unstable revsion and rebuilt whats needed.
<clever>
angerman: yeah
mudri has joined #nixos
<angerman>
which could end up being a no op, if only orthogonal expressions in nixpkgs changed, or a hefty if something fundamental changed.
leothrix has quit [(Ping timeout: 268 seconds)]
<clever>
angerman: i would generaly try to get my code into nixpkgs, so hydra is building it for me, and is always going to be matched to the nixpkgs revisions
<clever>
but for private things, id just eat the compile time, its not that bad
<angerman>
clever well, for a subsential set of packages it would add extra overhead to hydra, no?
<clever>
angerman: depends a lot on how long it takes to compile and how many users will be using it
<clever>
angerman: hmmm, and if you setup your own hydra, that always follows nixos-unstable, and builds foo against it at every change, you can set it to keep the last 20 builds
berce has quit [(Ping timeout: 268 seconds)]
<clever>
angerman: and then as long as the users are within 20 changes of the latest nixos-unstable, it will be in that cache
<clever>
assuming foo hasnt been changed since
<angerman>
I'd probably go for a time based frame, and not a fixed number of revisions, but yes.
eacameron has quit [(Remote host closed the connection)]
<clever>
and why do i have it set to 0? that job has no point if its 0, lol
<clever>
and it looks like pango changed in master, so now my hydra is busy rebuilding things
<clever>
wine and gstreamer are up next
<hodapp>
huh... I just had the startling realization that it's probably quite easy to copy my NixOS configuration from my laptop over to my desktop once I get the laptop working well
<arianvp2>
:D
<hodapp>
though I'll probably want to make sure factor out hardware-related stuff to a separate configuration file
<dtzWill>
:D
<hodapp>
I don't think there's much there except maybe LUKS setup
Shou has joined #nixos
ryantrinkle has quit [(Ping timeout: 245 seconds)]
<kahiru>
hey, I tried installing nix on archlinux using "curl https://nixos.org/nix/install | sh" and it fails while trying to run nix-channel --update with "unable to check ‘https://nixos.org/channels/nixpkgs-unstable’". I tried switching to http instead of https as recommended somewhere as a workaround, but it didn't help. any ideas?
berce has joined #nixos
buttbutter has quit [(Ping timeout: 268 seconds)]
iyzsong has quit [(Quit: night.)]
Shou has quit [(Ping timeout: 256 seconds)]
<clever>
gchristensen: and i now have partition create working
hotfuzz has quit [(Read error: Connection reset by peer)]
hotfuzz has joined #nixos
<domenkozar>
gchristensen: status report about 16.09?
<gchristensen>
domenkozar: I tried reproducing many of the failures on hydra, and none of them will fail locally
<gchristensen>
domenkozar: I'm suspicious that the hydra slaves are in general over-loaded, and the ones capable of running tests are perhaps even more so
<clever>
gchristensen: i ran into a very weird bug with qemu's virtfs and 9p stuff a few months back, some of the nix store directories got cross-linked at some point
<clever>
gchristensen: so the directory contained files from a totally different directory
<clever>
gchristensen: but the cross-link was constant between restarts of qemu
<gchristensen>
domenkozar: at this point I'm having a hard time trusting hydra's failures, and don't know where to begin in helping. I would restart failed jobs in to oblivion if allowed, in order to brute-force my way to a success if necessary, but that is no good long-term, and also I don't have permissions to do so.
<clever>
gchristensen: can you see how the probelm i ran into would just break everything that runs into it?
<clever>
it needs root to activate the configuration
viric has quit [(Ping timeout: 250 seconds)]
<arianvp>
yeh but it's good practice to disable root login after deploy
<arianvp>
but then I cant deploy anymore :P
viric has joined #nixos
<clever>
you can set it so root login wont accept a password, only an ssh public key pair
mexisme has quit [(Ping timeout: 258 seconds)]
<clever>
arianvp: services.openssh.passwordAuthentication = false; and it will never accept another password
ebzzry has quit [(Ping timeout: 245 seconds)]
<clever>
so the only way in is by brute-forcing a keypair thats probably 2048 bits long
<Mic92>
I guess they opt out for root, because sudo without password comes with its own set of problems
<clever>
i think the reason most distro's disable root login, is because its easyer to guess the login is 'root' then to figure out if its arianvp, clever, Mic92 or something else
<clever>
and turning root login off, just forces the attackers to have to guess 2 variables at once
<gchristensen>
it is good practice to disable root. I wish nixops didn't require root.
<clever>
gchristensen: as long as passwords are off, i cant see any real harm in root being enabled
<Mic92>
clever: well just look at the ssh prompt, and use ubuntu instead.
<arianvp>
hmm yeh disabling password should be sufficient
<clever>
Mic92: ubuntu kind of defeats the whole point :P
<arianvp>
woop nixops deploy is running
<gchristensen>
well you're supposed to delete the ubunt usuer
<clever>
gchristensen: id rather just not have an ubuntu user, and the directions say to disable root instead
Rotaerk has quit [(Read error: Connection reset by peer)]
<sphalerite>
I need to patch a proprietary executable to find libstdc++.so.6. I figure I need to use patchelf to set the rpath, but where do I get the path to libstdc++.so.6 in a nix expression? It seems to live in /nix/store/djd2r4cnbcx4vfbj1qalg85vjbcslwxv-gcc-5.4.0-lib/lib/ but nixpkgs.gcc doesn't seem to have a lib attribute, nor does ${gcc}/lib exist.
<arianvp>
does nixops use the channel of your local machine?
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v1M9v
<NixOS_GitHub>
nixpkgs/master ebd85b6 Jörg Thalheim: ferm: reload rules on updates instead of restart
<clever>
sphalerite: pkgs.gcc is a bash script that wraps gcc
<clever>
sphalerite: usualy, you just want --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)"
<gchristensen>
arianvp: yeah
<sphalerite>
Right... So where does the actual gcc live? I've only been able to find wrappers using nox
<sphalerite>
aah ok
<arianvp>
oops :D
<arianvp>
aaand im running unstable now
<gchristensen>
heh
<clever>
sphalerite: there is also gcc.cc.lib
<clever>
sphalerite: which lets you access the gcc behind the bash script
<clever>
arianvp: and this is how you beta test unstable for your server!
<sphalerite>
aah right. I'll try with the rpath approach just to see if it works right, then move to the dynamic linker thing if that's the preferred solution.
<Mic92>
arianvp: I also run my server on unstable,
<Mic92>
kinda works
Mercuria1Alchemi has quit [(Ping timeout: 250 seconds)]
<clever>
sphalerite: the dynamic linker is what reads the rpath and obeys it
<clever>
sphalerite: so it cant find the linker in rpath
<sphalerite>
oh
<sphalerite>
I did --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 for the linker. Is that practically the same thing?
<NixOS_GitHub>
[nixpkgs] Mic92 opened pull request #21147: man-pages: fix conflict with shadow-utils (master...man-pages) https://git.io/v1M9r
<clever>
sphalerite: the interpreter field in an ELF file is almost identical to the #! in a shell script, you can even run the dynamic linker on an unpatched ELF file
<sphalerite>
Or are there differences?
<clever>
sphalerite: that will work on 64bit, but break on 32bit
<sphalerite>
right
<clever>
$NIX_CC/nix-support/dynamic-linker is a file that has the correct path in it
<clever>
so it just works on all arches
<sphalerite>
that's neat
<sphalerite>
But I guess with a precompiled thing it doesn't really matter anyway as it's compiled for a specific arch. But yeah it's a nicer approach
<clever>
yeah, you would need to have 2 download urls, to grab the 32 or 64bit build
<clever>
the nixos skype package avoids that, by going 32bit only
<sphalerite>
does skype even make 64-bit builds?
<clever>
it might have been an upstream choice, lol
<sphalerite>
yeah I seem to recall running skype on debian and ubuntu requiring 32-bit libraries as well
ckauhaus has quit [(Ping timeout: 250 seconds)]
<sphalerite>
♥ proprietary software...
<clever>
nixos at least makes it trivial to get the 32bit libs installed
<sphalerite>
Actually the game that I'm trying to get running is only partly proprietary, I could actually compile the binaries myself (the game data is proprietary though)
<sphalerite>
well so do debian and ubuntu now
<clever>
ah
<clever>
it would be neat to make a proper nixos package that compiles the game
<clever>
if you can point it at the data files in $HOME
<sphalerite>
yeah, that's what I'll probably do later
<clever>
in the past, i have made a usb stick, that had both x86-64, and armv6l on it
<clever>
debian wouldnt like that :P
<clever>
it booted on both platforms, and shared a large chunk of the configuration.nix
<sphalerite>
that's nice
<sphalerite>
I'm looking at getting a router that's not as useless and insecure as the ISP-supplied one. Would you recommend getting one that runs nixos and running nixos on it?
<clever>
my router is a proper server with 3gig of ECC ram, dual-processor, and a couple gigabit ports
<clever>
and it runs nixos
<clever>
the only downside, the power went out yesterday, and it sucks enough power to kill a UPS in ~8mins
<sphalerite>
heh
<clever>
"proper" router hardware would last far longer
<sphalerite>
what about more "normal" routers? Are there any that would run nixos?
<clever>
the the junk my ISP supplied doesnt allow wifi and wired to connect
<clever>
so ssh and nfs are useless
<clever>
let me check my bookmarks, i had something interestign saved
<sphalerite>
My ISP-supplied router actually has SSH on it
<sphalerite>
however.... "Unable to negotiate with 192.168.1.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1"
mudri` has joined #nixos
<clever>
you may need to enable an older insecure key algo in the ssh client
<clever>
ssh -vvvv can give a lot more details
<c0bw3b>
spharelite: you can get a Shuttle DS57U : fanless, low power consumption and 2 gigabit ports
<c0bw3b>
*sphalerite sry
<gchristensen>
fpletz: btw that server costs about $6,500
<sphalerite>
of course what would be ideal is something that has free wifi drivers and firmware
<clever>
sphalerite: this also has room for 1 sata drive, so you could make it into a 2tb NAS at a later date, it appears to also be able to run from SD
<sphalerite>
but that severely limits the options
<clever>
sphalerite: the R1 appears to have b/g/n wifi
<sphalerite>
yeah but it's rtl8192 which requires firmware blobs
stepcut has joined #nixos
<clever>
ah
<clever>
sphalerite: due to various things causing problems, ive been getting wifi thru an old d-link router for years
digitus has joined #nixos
<jazzencat>
Will 200MB be enough for a boot partition?
<clever>
sphalerite: all i did was turn off the DHCP server and give it a static ip thats out of the main dhcp range
<clever>
jazzencat: should be plenty
ckauhaus has quit [(Quit: Leaving.)]
<sphalerite>
jazzencat: If it's exclusive to nixos. I have issues with my 200MB boot partition, but it's shared between debian, mac os (bleurgh) and nixos so it's probably fine for you
<jazzencat>
Yeah, this is going to be NixOS exclusive.
JonReed has joined #nixos
<clever>
i have one system running with a 64mb boot partition
<jazzencat>
Hm, learn something new: don't use gdisk on MBR system, it adds a GPT and I don't know what the correct offset for my drive is ^,^
<clever>
i just use GPT on everything now
<jazzencat>
I have 8GB of RAM, should I bother with 2x RAM for SWAP if I want the system to be able to suspend to disk/hibernate.
<jazzencat>
Hehe. Yeah, but remember how much trouble it was giving me the other day? I don't want to go through that again, just yet.
<clever>
jazzencat: id say you only need ~9gig of swap for hibernate, assuming very little actualy goes into swap when running
nliadm has left #nixos ["Leaving"]
cpennington has joined #nixos
<jazzencat>
Okay. I plan on using Enlightenment for my DE with e16 as the WM backup if I need it.
<clever>
sphalerite: ugh, newegg.com has the items i want, for $160 total, but refuses to ship to canada
<clever>
sphalerite: newegg.ca has the headset for over $200, and doesnt have the banana pi
<clever>
sphalerite: and to make it extra crazy, the banana pi is shipping from isreal, lol
<sphalerite>
Get them to ship to a friend in the US and find an excuse to visit the friend? :p
<clever>
sphalerite: the last time i did that (with an amazon kindle) it refused to even install a free app, until i gave it an american credit card
<sphalerite>
That's what you get for buying a kindle ;p
<clever>
but it was on sale!
<jazzencat>
Do I need to tell GRUB to install to /dev/sda1 or just /dev/sda in configuration.nix?
<clever>
jazzencat: it has to be /dev/sda
<JonReed>
Hi, if I'm getting "Exec format error" when trying to `modprobe wl`, does this mean that it wasn't compiled right somehow?
<jazzencat>
I want connman for network, is that networking.connman.enable = true?
<clever>
JonReed: probably, how did you add it to your system?
<Mic92>
it sees to me that restartTriggers is actually a no op.
* jazzencat
types nixos-install and crosses fingers that the configuration.nix is properly set up.
<jazzencat>
I have a wired connection so if something goes wrong it should be fixable.
<JonReed>
clever: Thanks. I would take me forever to figure out what was wrong. It still does not show wlan when I run `ip link`, but it least I can `modprobe wl` now. I'll try to figure out what is wrong now on my own.
<jazzencat>
The install process finished without error.
<clever>
jazzencat: and what about the output from "ls /mnt/boot ; umount /mnt/boot ; ls /mnt/boot"
proteusguy has joined #nixos
JonReed has joined #nixos
<jazzencat>
ls /mnt/boot: background.png, grub, kernels, lost+found
<jazzencat>
umount /mnt/boot && ls /mnt/boot is blank.
<clever>
that sounds normal
<clever>
are you sure the bios is configured to boot from the hdd?
<JonReed>
clever: Thanks again. wlan is now showing. As you said, udev was loading `wl` by itself already. I had to only blacklist bcma that it was also loading, and everything started working.
<digitalmentat>
is there a tool for converting a Nix expression to JSON on the CLI? I'm having trouble figuring out how I'd do that with nix-shell easily without needing to write a bunch of Nix code
<Mic92>
digitalmentat: toJSON the builtin?
rly has quit [(Ping timeout: 264 seconds)]
<digitalmentat>
yes but how would I feed a nix expression into it from stdin? the builtins are all within the context of Nix expressions...maybe I could push it in via `--argstr`?
<clever>
digitalmentat: simplest thing would be to make a shell.nix containing your entire expression
<clever>
and then just run nix-shell without any arguments
<digitalmentat>
yeah, we wanted to pipe the output from cabal2nix to stdin
<digitalmentat>
convert to JSON, do a few things, then convert back to a nix expr
<digitalmentat>
not a critical thing, just a curiosity / desire
<Shell>
digitalmentat: nix-instantiate --eval -E ${cabal2nix etc etc} would work, I think?
<Mic92>
digitalmentat: makefu showed me some tool at some point
<Shell>
oh, wait, you want the actual AST, not the evaluation of it. hmm. >.>
<clever>
jazzencat: yep, grub is correctly installed, it should be booting
<clever>
jazzencat: do you see any options in the bios like secure boot or CSM?
<digitalmentat>
Shell, yeah no eval
<Shell>
not sure there's a tool which comes with nix to get the AST out of a Nix program.
<clever>
not currently, a few people are working on that
<jazzencat>
Checking now
<digitalmentat>
`hnix` can parse Nix and pretty print it from a Haskell-based AST
<digitalmentat>
just wanted something that already existed :-p
<jazzencat>
I don't see any options like secure boot or CSM
<clever>
jazzencat: out of ideas, everything says it should be booting
digitalmentat has quit [(Quit: Leaving)]
<jazzencat>
I'm not missing any partitions that should be there or goofed something else?
<jazzencat>
I wonder if installing connman broke something?
codeape has joined #nixos
<clever>
jazzencat: no way connman broke this, and grub is in the MBR, so it should have at least said GRUB on startup, even if the partitions are goofed
mudri` is now known as mudri
jgertm_ has quit [(Ping timeout: 245 seconds)]
ryanartecona has joined #nixos
<jazzencat>
And I didn't screw up the off-set or the GUID or GPT snuck in again and I didn't clue in?
teknico has left #nixos []
codeape has quit [(Client Quit)]
<clever>
jazzencat: pastebin the output of "blkid /dev/sd*"
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<clever>
jazzencat: wth?, 90% of the options are missing! lol
<clever>
i can see why you cant find anything
<Baughn>
Is there a library function for unioning sets?
<clever>
it doesnt even have the option to turn pxe off!
<Baughn>
(A list of sets)
<clever>
Baughn: // or lib.recursiveUpdate
<clever>
Baughn: and fold
<Baughn>
Fold would do it, sure.
<Baughn>
recursiveUpdate looks right, thanks.
<Baughn>
...or not
<Baughn>
Guess I can fold it.
<clever>
i believe that takes 2 attrsets
<Baughn>
Oh, catAttrs is what I want.
<clever>
the // operator is a shalow merge, while recursiveUpdate is a deep merge
<Baughn>
...nope
<Baughn>
Hm, I should be finding the usual set-theory functions somewhere in here.
<sphalerite>
ugh, the free-software game engine I want to build depends on fmod...
<sphalerite>
Can anyone build fmod? It won't work for me, says the download hash is wrong
<avn>
fmod is closed source
<jazzencat>
FFS... Now I feel like a complete idiot.
<avn>
but idk, if we allow unfree libraries, or not
<jazzencat>
I forgot to set /dev/sda1 to be bootable >,<'
<sphalerite>
avn: I know it is, pain in the neck
<jazzencat>
That's like the equivalent of not checking the freaking powercord... :S
tvon has quit [(Quit: Peace out, y'all!)]
<sphalerite>
Tried opening hte link in my browser. "You are not allowed to access this file!"
FRidh has quit [(Ping timeout: 248 seconds)]
ixxie has joined #nixos
<jazzencat>
Ok, I have SDDM enabled, but I don't have a field to enter my username in, so what other options do I need to add to my configuration.nix?
<clever>
sphalerite: the licensing on fmod has radicaly changed since i last looked at it
Seichi has quit [(Quit: Konversation terminated!)]
<sphalerite>
turns out the project I'm trying to build has grown an option to throw out fmod for exactly that reason recently though :)
<clever>
sphalerite: although, it has been over 9 years since i last looked into fmod...
<sphalerite>
I think that means there won't be any sound, but it's a start
<jazzencat>
Okay, I need to prevent the system from booting to the display manager to fix this.
<clever>
jazzencat: while at the login prompt, hit ctrl+alt=f1
codeape has joined #nixos
<clever>
oops, ctrl+alt+f1
Itkovian has joined #nixos
<clever>
jazzencat: that will drop you in a text console
<jazzencat>
Oh, got it, thanks.
<jazzencat>
Now, I need to fix what's wrong with sddm.
<NixOS_GitHub>
[nixpkgs] guyonvarch opened pull request #21153: xrectsel: init at 0.3.2 (master...init/xrectsel) https://git.io/v1DmA
proteusguy has joined #nixos
dgn has quit [(Ping timeout: 248 seconds)]
goibhniu has quit [(Ping timeout: 248 seconds)]
ryantrinkle has joined #nixos
bennofs has joined #nixos
<jazzencat>
Which display manager is the best idea to use in NixOS?
<clever>
jazzencat: ive had no problems with slim
<kmicu>
Each one is different and has different trade offs.
Itkovian_ has joined #nixos
Itkovian has quit [(Ping timeout: 260 seconds)]
<kmicu>
(Almost all of them are maintained so they are all useful for NixOS users.)
kampfschlaefer has joined #nixos
derjohn_mobi has quit [(Ping timeout: 248 seconds)]
<sphalerite>
Also, is the first result when googling "open source alternative fmod" a project called Barony (which is what I'm trying to build) for everyone? Or is google being creepy again?
codeape has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ambro718 has joined #nixos
danharaj has joined #nixos
<gchristensen>
domenkozar: any news?
<jazzencat>
When I create a user, what groups should I add the user to?
Itkovian_ has quit [(Ping timeout: 268 seconds)]
<domenkozar>
gchristensen: usually we have to restart them
<domenkozar>
gchristensen: link me the evaluation that's most promising and let's see
<LnL>
does anybody know how owns mac6?
<LnL>
it's out of disk space
<kmicu>
jazzencat: it’s perfectly ok to start with no extra groups.
<NixOS_GitHub>
[nixpkgs] schneefux opened pull request #21155: pythonPackages.websockets: init at 3.2 (master...pkg.websockets) https://git.io/v1DGy
jazzencat has joined #nixos
<jazzencat>
Okay, wired connection works. Wireless not yet.
<jazzencat>
Enlightenment and NixOS's default display manager work as well.
andymandias has joined #nixos
<domenkozar>
gchristensen: that looks like it's broken for a long time
<gchristensen>
domenkozar: the kernels have been timing out on build for half a week (I've been trying to get this resolved that long), and before that was a race condition (which has been patched)
<eacameron>
Does anyone know how to configure PHP to use xdebug?
seanz has joined #nixos
<jazzencat>
Okay. connmanctl scan wifi throws me an Error saying that /net/connman/technology/wifi: Not supported.
<domenkozar>
gchristensen: hmm and it works locally?
proteusguy has quit [(Ping timeout: 258 seconds)]
<jazzencat>
systemctl status connman shows it as active.
<gchristensen>
domenkozar: yep, always has
proteusguy has joined #nixos
<domenkozar>
jezz
<gchristensen>
domenkozar: I agree :/
<gchristensen>
domenkozar: back in 15
<NixOS_GitHub>
[nixpkgs] schneefux opened pull request #21156: pythonPackages.parsedatetime: disable tests to fix the build (master...pkg.parsedatetime) https://git.io/v1DcW
<domenkozar>
niksnut: nixpkgs channel hasn't updated in 5 days
<kmicu>
jazzencat: NixOS’ LiveCD sets ‘hardware.enableAllFirmware’ to true so for now, you could set it too and report back if the problem persists.
<jazzencat>
Okay, I'll try that.
<jazzencat>
That is in hardware-configuration.nix, yes?
<kmicu>
You can add it in configuration.nix.
<jazzencat>
Okay.
<clever>
jazzencat: there is no difference between the 2 files, but nixos-generate-config will overwrite hardware-configuration.nix without asking
<kmicu>
(Unless you have ‘imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]’ in generated hardware-configuration.nix, b/c that line already enables all binary blobs.)
<jazzencat>
Still does it after a nixos-rebuild switch. Maybe I need to restart?
<kmicu>
Yeah, with firmware issues a restart is a good idea.
<jazzencat>
Yeah, that line is present in hardware-configuration.nix
ixxie has quit [(Ping timeout: 252 seconds)]
Myrl-saki has quit [(Ping timeout: 252 seconds)]
<kmicu>
Maybe you have a physical button somewhere that you need to push to enable WiFi card and this is why it’s currently down.
<jazzencat>
I'm guessing the overwriting of hardware-configuration is when I take an existing configuration.nix file and use it to clone my system to a new computer it needs to do that to make sure the hardware works properly.
<jazzencat>
kmicu, I have and I made sure it was enabled.
<jazzencat>
Restarting system.
jazzencat has quit [(Quit: Leaving)]
jazzencat has joined #nixos
<jazzencat>
Nope, issue still persists.
<clever>
jazzencat: anything related in dmesg?
<gchristensen>
domenkozar: note I also opened a github issue about this
<jazzencat>
Any options to pass dmesg to filter for wifi-related items?
<clever>
jazzencat: i would try doing "ip link set wlp3s0 up" and then check the last ~15 lines of dmesg
<jazzencat>
IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready.
<clever>
jazzencat: what about "iwlist scan"
<jazzencat>
That worked.
<clever>
then the drivers arent the issue
<jazzencat>
So, something in how I have connman set up is the issue.
<jazzencat>
Maybe I'm missing some options in configuration.nix?
<clever>
i havent done anything with connman, i just run raw wpa_supplicant
<kmicu>
What’s the output of ‘connmanctl scan wifi’?
<jazzencat>
I went with connman because I wanted to run Enlightenment and they use EConnMan as the integration for it and I've had major issues trying to get wifi working in Enlightenment with other tools.
evck has joined #nixos
<kmicu>
I’m using connman. There is no issue with it *if* wifi card is up.
<jazzencat>
connmanctl scan wifi outputs Not supported.
<kmicu>
‘sudo connmanctl enable wifi’?
<jazzencat>
Says it's already enabled.
<kmicu>
What’s the output of ‘ip link’ once again?
bennofs has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub>
[nixpkgs] ikervagyok opened pull request #21157: packagekit: add 'enableNixBackend' as an option (master...gnome) https://git.io/v1D8Q
<domenkozar>
gchristensen: we'll need to wait on eelco
<jazzencat>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
<clever>
kmicu: thats because its not connected to anything
<gchristensen>
domenkozar: I think your pinging him will have more weight than mine :)
<kmicu>
jazzencat: Do you have /etc/wpa_supplicant.conf file?
<jazzencat>
iwlist scan shows the expected wifi access points.
<clever>
kmicu: it says NO-CARRIER and UP in the <> section, so the interface is online, but it isnt getting a link
<jazzencat>
Nope, no wpa_supplicant.conf
<jazzencat>
Does connman need wpa_supplicant.conf? I thought they were separate things. The manual says I can't have networkmanager and wireless (wpa_supplicant) active at the same time in configuration.nix
<kmicu>
jazzencat: what’s the output of ‘sudo systemctl status wpa_supplicant’?
bennofs has joined #nixos
<kmicu>
(connman needs wpa_supplicant and there is/was a bug with missing /etc/wpa_supplicant.conf resulting in no wifi.)
bennofs has quit [(Client Quit)]
bennofs has joined #nixos
<jazzencat>
It's inactive.
<jazzencat>
That's probably my issue there.
<kmicu>
You could ‘sudo touch /etc/wpa_supplicant.conf’ and ‘sudo systemctl restart wpa_supplicant’.
<jazzencat>
Failed with an exit-code status 255/n/a
ixxie has joined #nixos
amarsman has quit [(Quit: amarsman)]
<jazzencat>
There, now it's running.
<kmicu>
If wpa_supplicant runs then connman should work flawlessly now. :)
<jazzencat>
And my wifi shows up. ^,^
<kmicu>
ヽ(*^▽^)/
anelson has quit [(Ping timeout: 258 seconds)]
c0bw3b has joined #nixos
anelson has joined #nixos
Myrl-saki has joined #nixos
<ixxie>
hurrah!
alx741 has joined #nixos
<jazzencat>
Well, it doesn't like my wifi connection or the passphrase I entered.
<kmicu>
(Nixpkgs also has GUIs for connman if you do not like dancing in terminal.)
mexisme has joined #nixos
<jazzencat>
I have tried EConnMan already, and the terminal, but in both cases connman aborts the attempt to connect to my wifi access point
<ixxie>
does anybody have a nice example of a nixos configuration for java / scala development?
<ixxie>
I am getting to the point where the right packages are there, but I am wondering how paths are configured and all sortsa other details
<jazzencat>
I'm going to head off for a bit. I'll be back on later. I'll take the computer with me and test out some other wifi access points
<jazzencat>
Hm, I'm going to have to update my Enlightenment DE.
<jazzencat>
Any other channels I should add for nix?
fuzzy_id has quit [(Ping timeout: 258 seconds)]
<clever>
Dezgeg: are any of your ARM boards allwinner based?
Itkovian has joined #nixos
<ixxie>
actually any example of how to configure nixos for developing anything would be great
jazzencat has quit [(Quit: Leaving)]
<sphalerite>
ixxie: I don't think nixos really has much support for java packaging, e.g. I just searched for junit and nothing came up, so I guess it would be fairly similar to working on any other distro
<sphalerite>
Most of the usual tools are packaged at least.
<sphalerite>
Eclipse being a notable exception
<sphalerite>
or it is packaged, but ancient
<sphalerite>
I think?
<mudri>
Does anyone have an example ~/.nixpkgs/config.nix with a user environment package? I'm trying to recreate what I did before I lost the file.
<Mic92>
I want to upstream it in one way or the other.
<Mic92>
Would be a good fit for nixops for instance.
<clever>
Mic92: yah
<clever>
Mic92: one thing i noticed when gchristensen was testing it, one of the environments he was on had a kexec kernel, but no kexec in $PATH, so including a copy from nixpkgs would help there
<Mic92>
clever: maybe a static build
<clever>
Mic92: and i wasnt sure what systemd would do with "systemctl kexec", i thought that would load a new kernel from the units
reinzelmann has joined #nixos
<clever>
Mic92: and a minor thing missing from your version, ssh wont start on bootup, so you have no way to get into the system
<Mic92>
clever: it is just a wrapper around kexec
<Mic92>
clever: it does
<clever>
the config example on line 10-13 will start ssh, but its not in the defaults
<Mic92>
clever: I enabled socket activation as a hack
<Mic92>
so on systemd-based systems, both version should be closely the same
seanz has quit [(Quit: Leaving.)]
<clever>
Mic92: the "proper" way to do it, is to have the init system (systemd or the older sysinit stuff) to a full shutdown, and then "kexec -e" rather then reboot/halt/poweroff
<xwvvvvwx>
yes I set my themes as described in that arch wiki page
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Mic92>
clever: nice, but it would be cool, if you split gui part and partitioning part - so would have an option to pass generated configuration to an installer.
<clever>
Mic92: i do plan to have it serialize all of this config, so it can be ran in a more automated fasion
anelson has quit [(Ping timeout: 245 seconds)]
<kmicu>
What theme did you install? It works here ‘GTK_THEME=Adwaita pavucontrol’ (and the same with Numix).
anelson has joined #nixos
<clever>
Mic92: one idea is that on startup, it will query an http url thats programed into it, like http://example.com/online?id=foo, which will then either dump a config file back, or pass the IP on for a user to control
<Mic92>
ixxie: then you can use lxappearence for instance
rahul has joined #nixos
<Mic92>
ixxie: if you find some time, it would be great if this find its way into documentation
filterfish has quit [(Ping timeout: 248 seconds)]
rahul is now known as vrthra
vrthra is now known as rahul
rahul has quit [(Client Quit)]
<ixxie>
Mic92, not GTK_THEME ?
<Mic92>
ixxie: probably, but without the other environment variable, you can not even use gui tools to set the theme.
<Mic92>
at least outside of gnome
ryanartecona has quit [(Quit: ryanartecona)]
<Mic92>
ixxie: but it looks like GTK_THEME=Adwaita:light in the same set should do what you want.
filterfish has joined #nixos
<ixxie>
I like Numix so I did GTK_THEME="Numix Dark"
<ixxie>
lets see if that works xD
ixxie has quit [(Remote host closed the connection)]
<Mic92>
#lastwords
ixxie has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
<ixxie>
meeeh
<Mic92>
ixxie: it would have been faster, if you have used in your current shell: export GTK_THEME="Numix Dark" GTK_DATA_PREFIX="/run/current-system/sw"
<AtnNn>
is it possible to tell nix to fetch in parallel but compile one at a time? Or is `maxJobs' always fixed?
<Mic92>
I am also not sure about the space
<ixxie>
Mic92 I am trying to configure everything declaratively
Itkovian has joined #nixos
<Mic92>
AtnNn: there is "binary-caches-parallel-connections = <number>", which you can put into nix.extraOptions
<Mic92>
ixxie: your theme is in /run/current-system/sw ?
<ixxie>
D'oh >.<
<ixxie>
I actually have no idea where my theme is
<AtnNn>
Mic92: is there a similar setting for fetchurl?
<ixxie>
Mic92: you mean the gnome theme?
berce has joined #nixos
<Mic92>
AtnNn: this is only global afaik in nix.conf
<AtnNn>
thanks
<Mic92>
ixxie: yes your theme should be in systemPackages if GTK_DATA_PREFIX=/run/current-system/sw
<kmicu>
ixxie: how did you install Numix theme?
<ixxie>
I didn't xP
<kmicu>
And that’s the problem. :)
<ixxie>
I guess I naively thought I was doing so by setting that variable
<Mic92>
maybe if once we have module for that
<kmicu>
Nope, and this is why string based variables are a bad idea.
<Mic92>
*a module
kuznero has joined #nixos
<kuznero>
Hi All!
ixxie has quit [(Remote host closed the connection)]
<kmicu>
( ^_^)/ kuznero
<kuznero>
I have problems compiling simple haskell script (with `#!/usr/bin/env stack`) that depends on http-conduit and as a result on zlib. NixOs is complaining that it cannot find zlib headers. I already tried `nix-shell -p zlib` and then ran script in that shell, but that still does not work. Can anybody help with this?
<kuznero>
It is saying that it is trying to configure `zlib-0.6.1.2` which I probably don't have
<kuznero>
despite the fact of running in `nix-shell -p zlib`
<kuznero>
And this is the header of the script: `-- stack --install-ghc --resolver lts-7.13 runghc --package http-conduit --nix`
<Mic92>
oh I meant actually kuznero
<kmicu>
kuznero: “Alternatively, you can achieve the same effect by hand. First of all, run …” also does not work?
<kuznero>
Mic92: I see that this is a nix package, right? (I am rather new in NixOs and up until now have created rather trivial things: https://github.com/kuznero/dotfiles under nixos folder)
slack1256 has joined #nixos
<kuznero>
kmicu: No, I haven't tried that... It kind of defeats that idea of such scripts to be simple :)
<ixxie>
okay kmicu, now I installed the numix-gtk-theme package in systemPackages and declared it in GTK_THEME="Numix" (I also tried ="numix-gtk-theme")
<ixxie>
no luck
<Mic92>
kuznero: this is an environment, you can put into your project and load with nix-shell
<Mic92>
kuznero: I use direnv to automate the latter one.
redmq has joined #nixos
<Mic92>
clever: this is the same image as before?
<kmicu>
ixxie: could you execute ‘GTK_DATA_PREFIX=/run/current-system/sw GTK_THEME=Numix pavucontrol’ directly in your shell?
<clever>
Mic92: ive added mode nodes to the tree, and it can now automaticaly add things
<clever>
Mic92: and it can handle types
<kuznero>
Mic92: I've created default.nix with zlib as you suggested, how do I load it into environment with nix-shell?
Shou has quit [(Ping timeout: 265 seconds)]
<Mic92>
kuznero: by running nix-shell in the same directory
<kuznero>
Ah
<kuznero>
:)
<ixxie>
what is this pavucontrol kmicu? I didn't put that in the config anyway
<kuznero>
Mic92: Same, unfortunately
<kmicu>
ixxie: it can be any GTK2/3 app.
<Mic92>
kuznero: at least `env | grep zlib` should get some hits.
<kuznero>
Mic92: I will try older resolver (last I tried latest 7.13, now I will try something like 5.13)
<Mic92>
I don't know too much things about haskell linking, this is how I get things working in C projects.
<ixxie>
kmicu: chromium launches
lverns has joined #nixos
<Mic92>
kuznero: does ghc/cabal support pkg-config? maybe adding this as dependency helps
<ixxie>
but the theme doesnt seem to change and I get an error ([5154:5179:1214/225743:ERROR:nss_util.cc(809)] After loading Root Certs, loaded==false: NSS error code: -8018
<Mic92>
but just a wild guess
<Mic92>
ixxie: this is unrelated.
<kuznero>
Mic92: I read somewhere that yes, it is possible to declare the dependency directly in the cabal file and then with cabal2nix create nix package or environment that then will work. But that is a bit strange. One other things I was considering is statically linking everything in my haskell projects, including glibc. Is it difficult in NixOs?
<Baughn>
kuznero: Statically linking glibc is normally a very bad idea. It's not *as* bad an idea in NixOS, but it's still not that useful -- you won't get a portable executable that way.
<Baughn>
kuznero: Specifically, it's statically linking it that makes the executable non-portable...
<Baughn>
kuznero: Also, I'll admit that I've lost touch with Haskell over the last few years. Did the record field problem ever get a good solution?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Baughn>
Is there any way I can garbage-collect only those paths which weren't fetched with fetchurl?
<Baughn>
Or, more generally, fetched?
<Baughn>
..hm. GC only non-fixed derivations? I suppose that's most likely to work.
slack1256 has quit [(Remote host closed the connection)]
<berce>
How can I get the manuals in epub format?
Itkovian has joined #nixos
<Mic92>
clever: would you find relative partition size useful? something like: bios_grub: 1024k, boot: 300M, root: 100%
* Baughn
figures something out with nix-store --gc --print-dead.
Shou has joined #nixos
<kuznero>
Baughn: the idea behind linking it all into one executable is to not to worry about which base docker image to use to host the application, really. Please let me know if I am totally wrong here...
<clever>
Mic92: sfdisk has similar, if you omit the size, it just fills the area up
<clever>
Mic92: i can implement that in my automated stuff
bennofs has quit [(Ping timeout: 245 seconds)]
<Baughn>
kuznero: You may be making things harder on you than necessary. Nix generally works better if you go all-in, which in this case would mean rebuilding the *whole image* every time you make a change.
<simpson>
kuznero: Fun fact: You can have Nix directly build your Docker images.
<simpson>
Ah, Baughn beat me to it.
* Baughn
just reduced the build time for his minecraft server-pack builder from 2 minutes to 5 seconds by fixing the dependency tree. :3
<Baughn>
(Also it's way more readable now.)
<Mic92>
Baughn: there should be also a mode, which bind mount packages from /nix/store/ into docker like this here https://github.com/Mic92/nix2aci
anelson has quit [(Remote host closed the connection)]
<Baughn>
That's potentially useful. I'm not using docker myself, but I may soon. Thanks!
<Baughn>
I think you meant to ping kuznero, though. :P
<Mic92>
would speed up package build dramatically, because almost no i/o is done
anelson has joined #nixos
<Baughn>
http://sprunge.us/IQWe <- On the off chance that anyone wants to critique my Nix. Would love to learn.
Sonarpulse-Work has joined #nixos
<berce>
berce
<berce>
That was an accident, sorry (ctrl-f is not find in irssi)
<Mic92>
Mic92
pi3r has joined #nixos
<Mic92>
this was intentional
<kuznero>
Baughn: I didn't know nixos can build docker images... interesting. But maybe you're right about not building statically. The only thing is that it is going to be reliably running only on the OS that it was built on.
<Baughn>
kuznero: If you use the Nix-based image builder I linked, then you'll get a Docker image that'll run anywhere.
<kuznero>
Baughn: that I can understand, but application itself will not be portable. But maybe with docker we will just stop worrying about such things.
<Baughn>
kuznero: If you only actually *want* to run it on the machine it's built on, then you can use NixOS' native container functionality for a massive reduction in space usage.
sboo has joined #nixos
<kuznero>
Mic92: Baughn: with default.nix it still is unable to find zlib :(
<Baughn>
This also goes if you're fine with rebuilding it on every machine it runs on. Nix build scripts are pretty portable.
<Mic92>
kuznero: I just saw `ghcEnv = ghc.withPackages (p: haskellBuildInputs);` in haskell-modules/generic-builder.nix
<gchristensen>
domenkozar: have you heard anything from eelco?
<Mic92>
kuznero: I think you probably want a ghc.withPackages in your default.nix
<Mic92>
and this withPackages get zlib as argument
<Mic92>
this how haskell packages in nixos build their stuff appearently
<kmicu>
kuznero: iiurc it’s ‘stack’ issue, not ghcWithPackages related. Did you try that ‘stack –extra-lib-dirs=/nix/store/HASH-zlib-1.2.8/lib …’ ?
latk has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bennofs has joined #nixos
codeape has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<kmicu>
gchristensen: what’s up with those ‘Note: this build is no longer available.’ on http://hydra.nixos.org/build/44788904 (I wanted to find manual in epub for berce).
codeape has joined #nixos
* kmicu
‘loves’ those Perl leakages ‘Hydra::Model::DB::BuildProducts=HASH(0xa6d59c0)’ as Links. ( ͡~ ͜ʖ ͡°)
<gchristensen>
kmicu: I don't know ... I'm surprised it doesn't provide a link anyway which could be `nix-store --realize`'d
<Mic92>
I am eager to see the perl jam presentation this year on 33c3
<Mic92>
if there is any.
<kuznero>
kmicu: that sounds right, how can I find where is zlib installed in my system?
ryanartecona has joined #nixos
<berce>
kmicu: I 'll learn most if you help me build it
<savanni>
Oh, I work with that problem frequently.
<savanni>
I can help out, too.
<clever>
Mic92: what about just nix-build '<nixpkgs>' -A zlib --no-out-link ?
<kmicu>
berce: the problem is that building PDF/EPUB manuals is not simple and they are set up as jobs for CI system and not as standalone packages. :/
<kmicu>
(In comparison to Guix(SD)’s manuals, Nix situation is tragic.)
<berce>
So should I go and learn to use Guix(SD)?
<gchristensen>
is there a handy way to do nix-build, but not actually build stuff, just output all the store paths of what would be built?
<gchristensen>
clever: ideally it would output just a new-line separated list of store paths, also my input is with `-A foo -A bar ...` is there an easy way to do that?
<gchristensen>
clever: I'm passing about a zillion attributes in :/
<clever>
gchristensen: use map inside a nix expression
reinzelmann has quit [(Quit: Leaving)]
<gchristensen>
hrmm
<NixOS_GitHub>
[nixpkgs] jwiegley pushed 1 new commit to master: https://git.io/v1D5C
<NixOS_GitHub>
nixpkgs/master 838a3b4 John Wiegley: coq_8_6: 8.6rc1 -> 8.6
<kmicu>
berce: it works in the same way so it’s a good start. In the meantime you could file an issue about difficulties with EPUB manual and poor user experience :)
<Mic92>
clever: I am still new to the game
<LnL>
clever: it would be nice if we could get raw output out of nix-instantiate --eval
<LnL>
I've wanted that a bunch of times now
<berce>
kmicu: thank you for trying
codeape has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
pi3r has quit [(Ping timeout: 258 seconds)]
<LnL>
berce: kmicu: builds are removed pretty quickly from hydra, but they are still available in the cache
wangoe has joined #nixos
hiratara has quit [(Ping timeout: 240 seconds)]
<kmicu>
Pretty quickly, like from the last one :P?
<berce>
About poor user experience: after 3 months in nixos, I 'm a very happy user
<LnL>
since they are in the cache it doesn't matter
<LnL>
you can just nix-env -i /nix/store/<sha>-hello
filterfish has quit [(Read error: Connection reset by peer)]
<kmicu>
It matters a lot. *Where* are links for manuals?
filterfish has joined #nixos
cpennington has quit [(Remote host closed the connection)]
<Mic92>
berce: same, but I was already pretty comfortable with Linux, I could imagine how hard it is for other people.
<clever>
kier: sudo likes to wipe the env, and nixos-rebuild requires a nixos-config entry in the path, you left it out, and it didnt fail, so sudo must have blocked things
<Mic92>
clever: what happens if you assign something to system.build.kexec_tarball ?
<clever>
Mic92: the entire system.build section lacks a type, so the module framework just lets you go wild and do whatever you want
<gchristensen>
hell, I don't think _I_ know how to build the manual ...
<berce>
LnL: kmicu: thank you, it's there now
<clever>
Mic92: its mainly used for internal nixos things, and you then reference it from elsewhere
<clever>
Mic92: in my case, i reference it directly via nix-build with -A config.system.build.kexec_tarball
<Mic92>
clever: ok, makes sense
<berce>
gchristensen: epub is more e-reader friendly, and since I found a reference that it should exist ... why not use it?
<gchristensen>
berce: I'm glad you got the document you need, I'm hoping to make it better for the next person
<gchristensen>
and to keep kmicu happy, I prefer it when kmicu is happy.
<berce>
LnL: how can I find that /nix/store address? I 'd like nix and nixops manuals too :-)
kuznero has quit [(Quit: Leaving)]
<LnL>
berce: details or build steps of the build
<evck>
hmm, which package is good old `make` hiding in?
<LnL>
evck: gnumake
<kmicu>
gchristensen: in the past we could at least grab PDF/EPUB manuals from http://nixos.org/releases/ but today there is no links at all. (And many links are broken.) 🤷
ryantrinkle has left #nixos []
<evck>
LnL: thanks, should have been able to figure that one out...
<gchristensen>
kmicu: I wonder if part of the issues is channels being backed up for a week
<LnL>
gchristensen: kmicu: hydra also used to have the package/closure thing with instructions on how to install that
<mudri>
I just came across a Haskell project I wanted to build requesting lts-3.21 from Stack, but nixpkgs only has up to lts-3.20 then lts-4.0. Why would it be missing?
derjohn_mobi has joined #nixos
codeape has quit [(Client Quit)]
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
<Havvy>
mudri: Perhaps nobody has updated it yet?
filterfish has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 3 new commits to master: https://git.io/v1DhT
<NixOS_GitHub>
nixpkgs/master b139b17 Tim Steinbach: subversion: 1.9.4 -> 1.9.5
<NixOS_GitHub>
nixpkgs/master 1edf951 Tim Steinbach: subversion: 1.8.16 -> 1.8.17
<NixOS_GitHub>
nixpkgs/master 2d249e2 Graham Christensen: Merge pull request #21146 from NeQuissimus/subversion...
<LnL>
gchristensen: nixpkgs manual is pretty simple nix-build '<nixpkgs/doc>'
ok2 has quit [(Ping timeout: 252 seconds)]
<mudri>
Havvy: I'm not familiar with Stackage, but I'm under the impression that lts-3.21 is really old. It's at lts-7 or something now.
<mudri>
Maybe lts-3.21 predates the Nix-Stack stuff, and noöne bothered adding it.
kier has joined #nixos
berce has quit [(Quit: leaving)]
systemfault has joined #nixos
redmq has joined #nixos
pi3r has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/v1yeB
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
anelson has quit [(Ping timeout: 245 seconds)]
anelson has joined #nixos
c0bw3b has left #nixos []
k2s has quit [(Ping timeout: 250 seconds)]
mexisme has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
kampfschlaefer has quit [(Ping timeout: 250 seconds)]
<gchristensen>
how has the market not caught up with apple's build quality ... 2 out of the 3 reviews shown by default on lenovo's on website says it is built poorly.
sdothum has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/v1yTn