eacameron has quit [(Remote host closed the connection)]
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
peel has joined #nixos
lesce has quit [(Ping timeout: 260 seconds)]
magnicida has quit [(Quit: Leaving.)]
peel has quit [(Ping timeout: 260 seconds)]
sheenobu has joined #nixos
joehh has joined #nixos
eacameron has joined #nixos
silver_hook has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
koserge has joined #nixos
Rotaerk has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
sheenobu has quit [(Quit: My Mac has gone to sleep. ZZZzzz…)]
eacameron has quit [(Ping timeout: 246 seconds)]
sheenobu has joined #nixos
lambdael has joined #nixos
newhoggy has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
Wizek_ has quit [(Ping timeout: 268 seconds)]
sheenobu has quit [(Quit: My Mac has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
nslqqq has quit [(Read error: Connection reset by peer)]
sheenobu has joined #nixos
sheenobu has quit [(Client Quit)]
sheenobu has joined #nixos
nslqqq has joined #nixos
taktoa has quit [(Remote host closed the connection)]
cpennington has joined #nixos
nh2 has quit [(Quit: Leaving.)]
eacameron has quit [(Remote host closed the connection)]
lambdamu_ has joined #nixos
eacameron has joined #nixos
sheenobu has quit [(Quit: Textual IRC Client: www.textualapp.com)]
lambdamu has quit [(Ping timeout: 255 seconds)]
darlan has joined #nixos
<dhess`> how well is Docker support working in NixOS these days? Last I looked, it couldn't work with the new registry or something like that
<tilpner> I've not had any problems with Docker
<dhess`> I'd like to run a Mastodon instance and it seems like Docker's the best way to do that on NixOS for now
<tilpner> (Not NixOS related ones, at least)
<dhess`> tilpner: can you install Docker images using a derivation, so that's it's all declarative and whatnot?
<fresheyeball> dhess`: tilpner: Docker works well
<tilpner> There is some support for building Docker images with Nix, but some of that was broken last time I tried. I was only referring to using Docker without Nix, but on NixOS. The nixpkgs support for building Docker images seems dubious
<fresheyeball> it works well on nixos
<fresheyeball> and you can build docker images with nix
<fresheyeball> but you can't pull in base images right now
<fresheyeball> DockerTools.pullImage function needs to be fixed
<tilpner> Yeah, pulling is broken, which makes it useless for migrating existing Dockerfiles
<fresheyeball> but it doesn't get much use anyway
<dhess`> hmm, pulling existing images was the whole reason for using it, in my case.
<dhess`> I guess I could try to replicate how the Mastodon base image is built.
s33se_ has joined #nixos
<fresheyeball> dhess`: you can pull images with just normal docker
<fresheyeball> and use normal docker on nixos
<fresheyeball> but generally, you might consider writing the images you used to consider base images with nix
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
s33se has quit [(Ping timeout: 255 seconds)]
andyshinn has quit [(Quit: Connection closed for inactivity)]
<dhess`> fresheyeball: I'm using NixOps to deploy everything under the sun, would like to keep it that way, rather than mixing it with manual Docker stuff :)
<tilpner> It doesn't have to be manual, you could create services that build from Dockerfiles, etc.
<dhess`> tilpner: as in, the buildPhase of the derivation runs Docker commands, etc.?
<tilpner> Oh, I didn't think of that. Maybe that'll work too. I was talking of creating a systemd oneshot service that builds your images once, but you don't get any Nix goodies that way
<tilpner> Last time I talked about this, someone suggested using an alternative program to pull images and writing my own pullImage function, but then I didn't do that for some reason
<dhess`> I mean normally I wouldn't go near Docker. It's just that, in the case of Mastodon, which runs several different services and is a bear to package (see open Github issue), I figured Docker would be easier.
eacameron has quit [(Remote host closed the connection)]
<dhess`> but I also want to manage it all from NixOps. Anyway, I think I'll just keep kicking the can down the road until either Nix can pull Docker images or someone is masochistic enough to package Mastodon.
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
romildo has quit [(Quit: Leaving)]
radvendii has joined #nixos
justelex has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
eacameron has joined #nixos
justelex_ has quit [(Ping timeout: 240 seconds)]
lesce has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joelthompson opened pull request #27700: exhibitor: Fix bug with automatic instance management (master...exhibitor) https://git.io/v7nhf
NixOS_GitHub has left #nixos []
sary has quit [(Ping timeout: 276 seconds)]
lesce has quit [(Ping timeout: 240 seconds)]
sary has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacamero_ has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
darlan has quit [(Quit: Communi 3.5.0 - http://communi.github.com)]
eacamero_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #27701: virtualbox: 5.1.24 -> 5.1.26 (master...virtualbox_5_1_26) https://git.io/v7nhR
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #27701: virtualbox: 5.1.24 -> 5.1.26 (master...virtualbox_5_1_26) https://git.io/v7nhR
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
nh2 has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
nh2 has quit [(Quit: Leaving.)]
eacameron has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 255 seconds)]
eacameron has quit [(Remote host closed the connection)]
fikse has joined #nixos
wrl_ has quit [(Ping timeout: 248 seconds)]
wrl has joined #nixos
lambdael has quit [(Quit: WeeChat 1.7.1)]
indi_ has joined #nixos
eacameron has joined #nixos
jgertm has quit [(Ping timeout: 246 seconds)]
eacameron has quit [(Ping timeout: 276 seconds)]
peel has joined #nixos
ogkloo has quit [(Quit: WeeChat 1.4)]
Wharncliffe has quit [(Quit: Lost terminal)]
hamishmack has quit [(Ping timeout: 268 seconds)]
nslqqq has quit [(Ping timeout: 240 seconds)]
peel has quit [(Ping timeout: 240 seconds)]
hamishmack has joined #nixos
joehh has joined #nixos
sary has quit [(Ping timeout: 276 seconds)]
sary has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
nslqqq has joined #nixos
jgertm has joined #nixos
lesce has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #27702: bspwm: fix package (master...bspwm) https://git.io/v7cJF
NixOS_GitHub has left #nixos []
drakonis has quit [(Quit: Leaving)]
lesce has quit [(Ping timeout: 240 seconds)]
ison111 has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
catch22 has quit [(Quit: Leaving)]
eacameron has joined #nixos
justan0theruser has joined #nixos
riclima has joined #nixos
justanotheruser has quit [(Ping timeout: 246 seconds)]
inflames has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
akaWolf has joined #nixos
reinzelmann has joined #nixos
k2s has joined #nixos
peel has joined #nixos
k2s has quit [(Client Quit)]
peel has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #27687: factorio: 0.15.30 -> 0.15.31 (master...factorio-version) https://git.io/v7ZCp
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v7cTh
<NixOS_GitHub> nixpkgs/master 80a0c5c rnhmjoj: bspwm: fix package
<NixOS_GitHub> nixpkgs/master 439dfd9 Joachim F: Merge pull request #27702 from rnhmjoj/bspwm...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v7ckT
<NixOS_GitHub> nixpkgs/master fcf7b67 Johannes Frankenau: firejail: 0.9.44.10 -> 0.9.48
<NixOS_GitHub> nixpkgs/master c36a68e Joachim F: Merge pull request #27639 from jfrankenau/update-firejail...
NixOS_GitHub has left #nixos []
RayNbow`TU has joined #nixos
reinzelmann has joined #nixos
fikse has quit [(Ping timeout: 240 seconds)]
inflames has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
radvendii has quit [(Ping timeout: 246 seconds)]
lewo has joined #nixos
cpennington has quit [(Remote host closed the connection)]
fresheyeball has quit [(Quit: WeeChat 1.9)]
Mercuria1Alchemi has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 276 seconds)]
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
lesce has joined #nixos
DrWaste has joined #nixos
riclima has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
lesce has quit [(Ping timeout: 246 seconds)]
Mercuria1Alchemi has quit [(Remote host closed the connection)]
phinxy has joined #nixos
MercurialAlchemi has joined #nixos
koserge has quit [(Ping timeout: 276 seconds)]
koserge has joined #nixos
ebzzry has quit [(Ping timeout: 268 seconds)]
lesce has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27696: skype: remove deprecated (master...fix/one-skype-to-call-them-all) https://git.io/v7nWc
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v7cm0
<NixOS_GitHub> nixpkgs/master 01c8e4f Vincent Laporte: mplayer: adds dvdread support
NixOS_GitHub has left #nixos []
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 246 seconds)]
pie__ has joined #nixos
pie_ has quit [(Ping timeout: 276 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
koserge has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
<Mic92> dtzWill_: this could enable nixpkgs to enable scaleable CFI for most packages: http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html
Ivanych has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
indi_ has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 268 seconds)]
peel has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/v7c3r
<NixOS_GitHub> nixpkgs/master 0f94ac9 Vincent Laporte: coqPackages.autosubst: fix hash
NixOS_GitHub has left #nixos []
jgertm has quit [(Ping timeout: 276 seconds)]
dywedir has joined #nixos
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 276 seconds)]
civodul has joined #nixos
newhoggy_ has quit [(Ping timeout: 258 seconds)]
mudri has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
nschoe has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
ElGoreLoco has joined #nixos
<manveru> dhess`: you can always make a systemd service that runs the docker image via nixops
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v7cGM
<NixOS_GitHub> nixpkgs/master e10d765 Peter Hoeg: anydesk: init at 2.9.4
NixOS_GitHub has left #nixos []
<manveru> i mean, it wouldn't be perfect, but pretty pragmatic and still nicer to have the underlying OS be nixos :)
eacameron has quit [(Ping timeout: 268 seconds)]
spear2 has joined #nixos
<spear2> how do i enable some configurable options for a package? i want to have vim with python support
rigelk has joined #nixos
rigelk has quit [(Changing host)]
rigelk has joined #nixos
<manveru> spear2: use vim_configurable package
<manveru> it has python enabled already
<spear2> ty
cfricke has joined #nixos
nh2 has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
slyfox_ is now known as slyfox
Ivanych has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] binarin closed pull request #26763: dosbox: 0.74 -> svn (master...dosbox-svn) https://git.io/vQLKu
NixOS_GitHub has left #nixos []
ElGoreLoco has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] binarin opened pull request #27705: dosbox-unstable: init at 2017-07-02 (master...dosbox-unstable-init) https://git.io/v7cnY
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
<dhess`> manveru: thanks, I'll have a look at it.
xadi has quit [(Quit: Leaving.)]
thc202 has joined #nixos
Myrl-saki has joined #nixos
stubborn_d0nkey has joined #nixos
takle has joined #nixos
Wizek has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] binarin closed pull request #25080: fzf: Expose interactive shell scripts (master...fzf-shell-scripts-and-nix-env-installation) https://git.io/v9frT
NixOS_GitHub has left #nixos []
pietranera has joined #nixos
sary has quit [(Ping timeout: 276 seconds)]
ThatDocsLady has joined #nixos
Ivanych has joined #nixos
__Sander__ has joined #nixos
cfricke has quit [(Quit: WeeChat 1.9)]
simukis has joined #nixos
xadi has joined #nixos
spear2 has quit [(Quit: ChatZilla 0.9.93 [Firefox 46.0.1/20160521140538])]
<mbrock> dhess`: I used use a simple Nix function to generate systemd units for Docker services, like this: https://gist.github.com/mbrock/22cad954cb01dd872805db5cea6ea338
<mbrock> dhess`: it's just launching Docker in the regular way, so there's very little actual integration with Nix in terms of reproducibility and so on
newhoggy has joined #nixos
<mbrock> dhess`: but for just keeping some Docker services running, it's pretty handy
<mbrock> that file is made to be imported in this way:
<mbrock> systemd.services = (import /services.nix { inherit pkgs config; });
<dhess`> mbrock: thanks!
ElGoreLoco has joined #nixos
justelex has quit [(Ping timeout: 276 seconds)]
bennofs1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] wizzup opened pull request #27706: Cleanup pkgs/top-level/python-packages.nix (master...cleanup-pythonPackages) https://git.io/v7c8t
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs pushed 1 new commit to master: https://git.io/v7c8P
<NixOS_GitHub> nixpkgs/master dbefaea Benno Fünfstück: vim-yapf: fix evaluation...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #27707: calibre: 3.3.0 -> 3.5.0 (master...update-calibre) https://git.io/v7c8D
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] konimex opened pull request #27708: bubblewrap: init at 0.1.8 (master...bubblewrap) https://git.io/v7c8S
NixOS_GitHub has left #nixos []
magnicida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bennofs pushed 2 new commits to master: https://git.io/v7c4P
<NixOS_GitHub> nixpkgs/master 1d72b73 Alexey Lebedeff: dosbox-unstable: init at 2017-07-02...
<NixOS_GitHub> nixpkgs/master 727c546 Benno Fünfstück: Merge pull request #27705 from binarin/dosbox-unstable-init...
NixOS_GitHub has left #nixos []
koserge has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
ison111 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] binarin opened pull request #27709: fzf: add script for finding 'share' folder (master...fzf-share) https://git.io/v7cRt
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #27706: Cleanup pkgs/top-level/python-packages.nix (master...cleanup-pythonPackages) https://git.io/v7c8t
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v7cR5
<NixOS_GitHub> nixpkgs/master 805467b dywedir: rustracer: 2.0.6 -> 2.0.9
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
ebzzry has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #27692: aws-auth: init at unstable-2017-07-24 (r17.03 backport) (release-17.03...aws-auth-r17.03) https://git.io/v7ZMB
NixOS_GitHub has left #nixos []
seanparsons has quit [(Read error: Connection reset by peer)]
seanparsons has joined #nixos
lesce has quit [(Ping timeout: 276 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
slack1256 has joined #nixos
erictapen has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
cpennington has joined #nixos
ElGoreLoco has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #27710: rust-bindgen: 0.26.1 -> 0.29.0 (master...rust-bindgen) https://git.io/v7cuy
NixOS_GitHub has left #nixos []
dywedir has quit [(Remote host closed the connection)]
mudri has joined #nixos
lesce has joined #nixos
junaidali has quit [(Read error: Connection reset by peer)]
junaidali has joined #nixos
MrCoffee has joined #nixos
<gchristensen> NixOS In The Real World Alert: https://vimeo.com/album/4676161/video/223525975 "Purely Functional Configuration Management with Nix and NixOS by Joël Franusic"
<gchristensen> including "Why I don't think it is quite ready yet for mainstream us"
DrWaste has quit [(Quit: Run away!)]
<gchristensen> including "Why I don't think it is quite ready yet for mainstream use"*
<joepie91> I like the title
<joepie91> :p
nix-gsc-io`bot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/v7czh
<NixOS_GitHub> nixpkgs/master 6e5d2f8 aszlig: nixos/xserver: Properly validate XKB options...
NixOS_GitHub has left #nixos []
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/0213a1865c (from 32 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ocharles pushed 1 new commit to master: https://git.io/v7cgv
<NixOS_GitHub> nixpkgs/master 11e1330 Ollie Charles: ephemeralpg: init at 2.2
NixOS_GitHub has left #nixos []
<gchristensen> the os you'll be using in 5 yearS?
<gchristensen> I said I'm not sure why you'll wait 5 years :P
magnicida has quit [(Ping timeout: 240 seconds)]
<joepie91> gchristensen: honestly I think 5 years is not an unrealistic timeframe, all things considered
<gchristensen> the problem with 5 years is if next year you're still saying 5 years
<ikwildrpepper> gchristensen: we said 5 years 10 years ago
<ikwildrpepper> :p
<goibhniu> The OS I'll still be using in 5 years :D
<gchristensen> exactly
<ocharles> The OS I'll still be contributing to in 5 years ;)
<ikwildrpepper> ocharles: nice, will hold you to that
<ocharles> haha
<ocharles> I mean at my current rate I'm commiting once every 5 years, so it's not out of the question ;)
<gchristensen> the number "5" is just made up and without a goal and plan there is nothing to back it up with
* goibhniu skipped forward to the "what nix is missing slide": Widespread package support, more intuitive tooling, documentation, guides and tutorials
jtojnar has quit [(Quit: jtojnar)]
<gchristensen> calling all joepie91's calling all joepie91's
<joepie91> gchristensen: hmm? :P
<joepie91> also, just finished watching that, not a bad presentation for a 10 min slot
<gchristensen> yeah
iyzsong has joined #nixos
<joepie91> also, to expand a bit more on the 'not an unrealistic timeframe' thing; provided an active effort to improve the UX (mainly docs + tooling availability and intuitiveness), it's pretty realistic to expect mass adoption in 5 years
<gchristensen> yeah already do a lot of incredible work, if we all worked in the same direction who knows what we could do
newhoggy has quit [(Remote host closed the connection)]
<nixy> Onward to world domination
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/38f0eaa570 (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<joepie91> gchristensen: fwiw, this is something I'm working on; producing tooling to allow a more focused usability improvement effort; the exact shape of that tooling is not very strictly defined yet, but eg. the Nix parser I'm writing is a part of that
<gchristensen> cool :)
<joepie91> and I've already been doing a bunch of work in assessing interest in stuff like NixOS by The Average Developer, and what the roadblocks are, etc.
<joepie91> nothing coherent enough to write anything about yet
<joepie91> but enough to have an idea of what direction I should go on
<joepie91> in*
<gchristensen> I know the feeling :)
<joepie91> NixOS already has the solid technical foundations and the people to work with and coordinate them, so it's mostly just the usability-and-tooliing aspect that remains :)
<joepie91> in that sense it's in a much better position already than many projects
<gchristensen> well and docs
<joepie91> yeah, counting that under usability at the moment
<gchristensen> speaking of docs, kmicu, where are you?
<joepie91> there are points where the line between 'usability' and 'documentation' blurs, eg. for interactive documentation and debugger tooling, so it's often practical to just consider documentation as one aspect of usability
<joepie91> as opposed to an entirely separate concern with separate tooling
<joepie91> good example of something that recognizes documentation as being part of usability; the Rust compiler
<joepie91> which often tries to suggest the solution right in the compiler error
<gchristensen> surely
<joepie91> but yeah, honestly I think NixOS is on a very good track already
<joepie91> and a *lot* of the problems have already been figured out, which is unusual for a project that hasn't exactly reached critical mass yet
<joepie91> it's just the usability aspects that are still lacking, so that's what I primarily intend to invest effort into :P
lambdael has joined #nixos
<joepie91> I certainly think NixOS has a lot of potential, also as a thing for other projects to derive from
<seequ> TIL the default Xsessions file sets ~/.background-image as the background
<joepie91> with the right end user wrapper around the technology, it could become pretty significant
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AmineChikhaoui opened pull request #27712: pythonPackages.locustio: use flask 0.10.1 instead of 0.12 which broke tests. (release-17.03...fix-locustio) https://git.io/v7cVS
NixOS_GitHub has left #nixos []
lambdael has quit [(Quit: WeeChat 1.7.1)]
lambdael has joined #nixos
ThatDocsLady is now known as ThatDocsLady_nom
<mbrock> I've started thinking of NixOS as a operating system construction toolkit
lambdael has quit [(Client Quit)]
<mbrock> so maybe in 5 years there will still be a somewhat esoteric NixOS underbelly along with a few different distros based on it
lambdael has joined #nixos
<joepie91> mbrock: this is the approach I am taking with one of my longer-term projects :)
<mbrock> something along those lines seems like a possibly desirable state of affairs, because it would let those distros be opinionated in their various UX ideologies
<joepie91> building a distro on top of NixOS mechanisms, that is
<mbrock> joepie91: interesting! I have some such ideas too. It seems like a natural thought once you start sharing a NixOS configuration with other people
bennofs has joined #nixos
<joepie91> mbrock: well, I intend to take it a bit further, and also tackle some of the common UX issues in Linux; so NixOS is just one building block in the project
bennofs1 has quit [(Ping timeout: 255 seconds)]
<mbrock> 8) awesome
peel has quit [(Quit: WeeChat 1.9)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] AmineChikhaoui opened pull request #27713: pythonPackages.locustio: use flask 0.10.1 instead of 0.12 which broke tests. (master...master) https://git.io/v7cwC
NixOS_GitHub has left #nixos []
<joepie91> mbrock: I've been spending the past two years or so learning about everything from top to bottom; from high-level end user applications, to common libraries, to system internals (message buses like DBus, things like X11 and Wayland, etc.), to 'primitives' (layout and rendering algorithms, etc.), to kernels, to how the underlying hardware works
mjacob_ is now known as mjacob
<joepie91> there's undoubtedly a lot of learning and work left to do, but I'm starting to get a pretty good picture of how an entire system ties together
<joepie91> and where the problems are
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27712: pythonPackages.locustio: use flask 0.10.1 instead of 0.12 which broke tests. (release-17.03...fix-locustio) https://git.io/v7cVS
NixOS_GitHub has left #nixos []
<joepie91> it's not a very formal effort yet, but will be in the near-ish future
andymandias_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<joepie91> when I get around to building the tooling for working on it further :) mostly distributing research tasks at this point
<joepie91> already found a few people who are willing to investigate current workings of undocumented things and write informal documentation of them
<joepie91> mbrock: end goal is to produce an Actually Usable end user distro, something that can legitimately compete with Windows in terms of usability and integration, and something that's very reliable in operation; NixOS plays an important role in that last part
andymandias has joined #nixos
<mbrock> great goal!
<joepie91> but yeah, long-term project, no real timeline yet
justelex has joined #nixos
<joepie91> but in the process of getting there I'll probably be building a lot of tooling around NixOS
<joepie91> which is of course also useful outside of that project
<joepie91> and documentation etc.
<joepie91> in terms of documentation, I've made a very early start at https://gist.github.com/joepie91/67316a114a860d4ac6a9480a6e1d9c5c to compile useful resources for working with NixOS, tooling, docs, etc.
<joepie91> which I hope to eventually turn into something like https://gist.github.com/joepie91/95ed77b71790442b7e61 (which I maintain for JS / Node.js)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27713: pythonPackages.locustio: use flask 0.10.1 instead of 0.12 which broke tests. (master...master) https://git.io/v7cwC
NixOS_GitHub has left #nixos []
<mbrock> ah, nice
<joepie91> this all probably sounds a bit pie-in-the-sky, but they're all serious, achievable goals :P
<joepie91> just requires a lot of time and effort
<mbrock> I agree, I think such a thing should be considered achievable
<joepie91> and especially as I start involving other interested people in the long term, things will probably ramp up
<joepie91> there's only so much I can do as one person :P
<seequ> Can I make a derivation without src?
babic has joined #nixos
babic has quit [(Client Quit)]
<seequ> I just want to add a single file to sw/bin
<mbrock> my feeling since getting involved with Linux ages ago has been that there's so much effort sunk into coding user interfaces in C or C++ with UI paradigms that require lots of fiddling and still don't turn out very impressive, and then everything's kinda locked down into incomprehensible tarballs that distros usually discourage you from modifying
dbe has quit [(Ping timeout: 255 seconds)]
stubborn_d0nkey has quit [(Remote host closed the connection)]
stubborn_d0nkey has joined #nixos
<dtzWill_> Mic92: yes! And other compiler-based instrumentation as well! ^_^
newhoggy has joined #nixos
<gchristensen> joepie91: I'm going to push forward on one of the docblock-like PRs unless you come up with an alternative I can do by tomorrow
dtzWill_ is now known as dtzWill
joehh has joined #nixos
stubborn_d0nkey is now known as babic
babic has quit [(Remote host closed the connection)]
FRidh has joined #nixos
babic has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] layus opened pull request #27714: cups-filters: 0.15.0 -> 0.16.0 (master...cups-filters-1.16) https://git.io/v7cKI
NixOS_GitHub has left #nixos []
Jackneill has quit [(Quit: Leaving)]
cpennington has quit [(Read error: Connection reset by peer)]
<joepie91> deadlines :(
<spacefrogg> seequ: Look for the writeScript function!
<FRidh> gchristensen: is it difficult to extract docstrings from files with Nix code?
<FRidh> maybe I should say comments instead
dywedir has joined #nixos
MrCoffee has quit [(Quit: Lost terminal)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #27714: cups-filters: 0.15.0 -> 0.16.0 (master...cups-filters-1.16) https://git.io/v7cKI
NixOS_GitHub has left #nixos []
<gchristensen> FRidh: are what I'm thinking about
bennofs has quit [(Ping timeout: 246 seconds)]
<LnL> ^ should we add that to the 17.09 milestone?
<gchristensen> joepie91: I'm all about great docs, but the effort can't be held up just b/c it isn't perfect. we can start somewhere and replace it when something better comes around, it is possible :)
<Mic92> dtzWill: https://github.com/inspector-repl/inspector I had some fun with cling on a hackathon
<joepie91> gchristensen: yeah, sorry, one sec, I'm multitasking so I forgot to complete that response
<gchristensen> FRidh: in short, we're not extracting doc strings because nix doesn't really support it
<joepie91> :P
<joepie91> that was only my first sentence
junaidali has quit [(Read error: Connection reset by peer)]
<FRidh> gchristensen: the problem I see with your implementation is that you cannot have docs next to code since otherwise the docs end up in the same scope. The other implementation seems to solve that, though.
<joepie91> gchristensen: I'll try to get a preliminary implementation going of my 'side-file' documentation approach by tomorrow
junaidali has joined #nixos
<LnL> FRidh: why wouldn't that work with gchristensen's approach?
<FRidh> gchristensen: I meant more of a Sphinx Domains approach. http://www.sphinx-doc.org/en/stable/domains.html
<joepie91> gchristensen: probably not with source references yet though, since my Nix parser is not done yet
<gchristensen> FRidh: indeed! I really like moretea's option, much better than mine even :) there are even some ... fascinating ... things we can do with it, like add type checking :P
<pie__> quick question, what tool does searching nixpgs belong to?
<gchristensen> pie__: nix-env -qaP does it
<gchristensen> joepie91: ok
<LnL> nix-index was also recently added to nixpkgs I think
<pie__> thx
<dtzWill> Mic92: that's very cool! :D
<gchristensen> joepie91: but again, if you come up with something cool after this merges, this isn't permanent
<joepie91> gchristensen: sure, but like I said, once something is merged it gets harder to replace :)
* gchristensen shrugs
<FRidh> gchristensen: so extract comment blocks, and then parse the function docs with Sphinx. That would be a bit more work I think compared to the proposed implementations, and would bind you right away to a tool.
<joepie91> so I'd prefer to try and get at least the idea going by tomorrow
<gchristensen> hasn't stopped me before
<gchristensen> FRidh: I'm really novice at this, so pardon my probably not exactly correct wording, but (..typing..)
<joepie91> but first, time to get lunch :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.03: https://git.io/v7c6N
<NixOS_GitHub> nixpkgs/release-17.03 992ebf4 Robin Gloster: maintainers: backport ris to fix eval
NixOS_GitHub has left #nixos []
<gchristensen> FRidh: my understanding (and this is all second hand from someone who knows this better than me) is there isn't really a symbol table that we can attach docs to, much like the problems in documenting lisp. everything is locally scoped. we may largely know it as lib.concatStringsSep but it could just as easily be renamed to something else somewhere else and who knows
<gchristensen> which leads to things like defparameter http://www.lispworks.com/documentation/HyperSpec/Body/m_defpar.htm#defvar
<gchristensen> which is to say, docblocks are hard in a language like nix
<LnL> ^ exactly moretea's approach works around that by using __functor
<gchristensen> right
<gchristensen> and interestingly we could probably have a (defparameter x "docs") that is a __functor that returns x when called, or has a `.doc` output but thinking about that makes my brain melt a little
<LnL> but the performance impact of that is probably to large, so using the docs attribute as an alternative for lib functions seems like the best way to go
<gchristensen> I wonder if we could use moreteas' approach, but strip out the doc overhead on normal executions
<pie__> how do i autocomplete packages in nix-repl? :/
<gchristensen> pkgs = import <nixpkgs> {};
<gchristensen> pkgs.he<tab>llo
<LnL> I don't think so, unless nix provides a way to attach the docstring to a function
<pie__> oh i almost got that first line xD
<gchristensen> oh, no semicolons
<gchristensen> LnL: what do you mean?
<gchristensen> re defparameter, or stripping them out?
<LnL> native support for adding metadata / docstring to a function
<LnL> I think the main performance issue with __functor is the self: _ part
<pie__> is the only way to get packages from another channel with nix-shell -p to pass it via -I?
<pie__> its pretty annoying to have to type -I /var/nix/var/... every time
<gchristensen> LnL: I'm still not sure if you're referring to stripping out the docs on normal runs, or on defparameter :|
<LnL> something like defparameter or builtins.addFunctionDocs
<gchristensen> ah
<FRidh> pie__: I think you can use $ nix-shell '<mychannel>' -p kbd
<gchristensen> well that is the point of a functor right, its an attrset which can be called
<pie__> FRidh, oooh right....
<FRidh> test it, I don't use channels.
<gchristensen> so if docs are excluded when imported, run (lib.mapAttrs (fnName: fnFunctor: fnFunctor.interior_fn) lib) over it
<pie__> hm no it says undefined variable for the package name that only exists in that channel
<LnL> gchristensen: kind of, but if a function can have a pointer to a docstring you won't have any performance impact when calling it
<gchristensen> yeah but this requires language features
<LnL> exactly :)
<gchristensen> and if we can implement this first without language features, I think it has a better chance of being successful
<gchristensen> (later we can add language features)
<LnL> but now that I think of it, but your idea might work
<gchristensen> saying we want to do this neat thing but we can't possibly start until eelco releases 1.11.75 is IMO a hint of a bad idea
<LnL> as long as a fixpoint is used when referring to other lib functions
<LnL> right?
<gchristensen> great point
<gchristensen> and the fixed-point would be where the stripping happens, yeah?
<LnL> yeah otherwise functions within the same would sill use the __functor versions :)
<gchristensen> right
<pie__> any idea what this would be called in python26Packages? https://pypi.python.org/pypi/antlr4-python3-runtime/
* gchristensen is excited to have practical understanding of fixed-points enough to understand why this makes sense
<FRidh> pie__: python26?
<pie__> *36
<pie__> > This is the Python 3.4 runtime for ANTLR.
<pie__> > 3.4
<pie__> oh crap.
<pie__> hm well its not listed there either so maybe it should work with 36
<FRidh> pie__: there is no such package in `python-packages.nix` so I doubt we have it
<pie__> yeah, does it need to be added manually? i keep thinking its kind of automagical
<LnL> gchristensen: you still won't be able to inspect the documentation in nix-repl when using the functions from pkgs.lib
<LnL> but we could expose the documented versions somewhere
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] danbst opened pull request #27715: pg_repack: 1.3.4 -> 1.4.0.1 (master...patch-10) https://git.io/v7cPQ
NixOS_GitHub has left #nixos []
<FRidh> pie__: yep manual labour unfortunately...
<gchristensen> LnL: here is a silly idea
<gchristensen> LnL: import <nixpkgs> {} -> docs are enabled, but when nixos imports <nixpkgs> it does so with { docs = disabled; }
<FRidh> LnL: gchristensen: interesting idea of stripping the docstrings. So make it a `config` option which by default does not include docstrings?
erictapen has joined #nixos
<gchristensen> yeah
<LnL> hmm
<gchristensen> that way in nix-repl it'll have docs
<FRidh> changing the option would cause a mass-rebuild
[0__0] has quit [(Remote host closed the connection)]
<gchristensen> hmm not sure it would
<LnL> ho?
<FRidh> oh yes you're right
<FRidh> it wouldn't
<LnL> how?
<gchristensen> well it would return the same thing
<FRidh> indeed
<gchristensen> so the .drv's wouldn't change
<LnL> but I think using import <nixpkgs> {} is used in to many places so I think the condition should be reversed
newhoggy has quit [(Remote host closed the connection)]
luntain has joined #nixos
<gchristensen> very few actually, in nixpkgs
newhoggy has joined #nixos
<LnL> it's done in the release.nix files
<LnL> and it's very common outside of nixpkgs
<gchristensen> if we assume (this may not be valid) that the heaviest hit of enabling docs will be in NixOS's module system itself, and the majority of external users of importing <nixpkgs> aren't using lots of lib functions: we can fix release.nix / the rest of nixpkgs where appropriate, and most others won't mind
<LnL> maybe we should time how long it takes to evaluate all of nixpkgs if it's a big difference
<gchristensen> yeah definitely
<LnL> oh you're mostly worried about the modules
<gchristensen> yeah, AFAIK calling any particular package or 5 from nixpkgs won't call lib functions so many times
<LnL> I was worried about nixpkgs itself, if callPackage slows down it will be very noticable
<gchristensen> yeah, we'll have to test :)
<LnL> but I think there are only a few projects that use the nixos modules like nix-darwin and home-manager
newhoggy has quit [(Ping timeout: 260 seconds)]
<gchristensen> we will definitely have to test
<LnL> not even sure if there are any other projects
<gchristensen> it would be very nice if nix-repl would get docs without users having to think about it
<gchristensen> (I can imagine being a frustrated user, angry about how user-hostile it would be to specifically ask for docs, despite the technical challenges)
<pie__> why does the antlr runtime need network related packages? :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v7c1q
<NixOS_GitHub> nixpkgs/master 159be2e Muhammad Herdiansyah: bubblewrap: init at 0.1.8
<NixOS_GitHub> nixpkgs/master e01181a Frederik Rietdijk: Merge pull request #27708 from konimex/bubblewrap...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sshisk opened pull request #27716: Improvements for Prosody (master...prosody) https://git.io/v7c12
NixOS_GitHub has left #nixos []
radvendii has joined #nixos
<pie__> buildInputs = [ python36Packages.cookies python36Packages.six python36Packages.mock python36Packages.requests python36Packages.responses.overrideAttrs(oldAttrs: rec {doCheck = false;}) ];
<pie__> complains about: error: cannot coerce a function to a string, at /nix/store/7sprsjlv7wwl0qp1jh5z77kj276p3jqa-unstable-17.09pre111388.00512470ec/unstable/pkgs/development/interpreters/python/mk-python-derivation.nix:59:3
<LnL> try (python36Packages.responses.overrideAttrs oldAttrs: rec {doCheck = false;})
<gchristensen> it is because python36Packages.responses.overrideAttrs(oldAttrs: rec {doCheck = false;}) is not doing what you think
reinzelmann has quit [(Quit: Leaving)]
<pie__> naturally xD
<LnL> err probably (python36Packages.responses.overrideAttrs (oldAttrs: rec {doCheck = false;}))
<gchristensen> it is not calling overrideAttrs, it is adding 2 things to the list: [ python36Packages.responses.overrideAttrs ] ++ [ python36Packages.responses.overrideAttrs ]
<joepie91> gchristensen: I would say that 'side file' documentation solves a lot of these issues, when structured appropriately; there's no runtime overhead, no changes to the language are required, and parsers do not need to retain comments (which is important because, in an expression-oriented language like Nix, there's often no obvious or sensible point in the AST to attach comments to)
<pie__> gchristensen, whaaat
dannyg has joined #nixos
newhoggy has joined #nixos
<gchristensen> erm sorry I messed that up
<gchristensen> it is not calling overrideAttrs, it is adding 2 things to the list: [ python36Packages.responses.overrideAttrs ] ++ [ (oldAttrs: rec {doCheck = false;}) ]
<pie__> LnL, well that worked >.>
<LnL> ^ yep and the first one is a function and that can't be converted to a string :)
<gchristensen> and actuall y the second one is a function too :)
<pie__> well thats weird as f*** but ok :D
<LnL> yeah just noticed :p
<pie__> (only because i obviously dont understand how nix works)
<gchristensen> pie__: it is _very_ weird, but ... is what it is :P
<pie__> crap still fails on testing
<LnL> you'll get the same error with "${x: x}"
<pie__> that apparently did not disable tests or something...
mudri has quit [(Ping timeout: 276 seconds)]
<pie__> (ok just added the failure to that gist as well, forgot first time around)
<FRidh> pie__: why do you want to disable the tests for responses? The package seems to work on master.
<pie__> huh. i guess its broken on unstable? (see gist)
cpennington has joined #nixos
<pie__> to be fair i dont even know why antlr needs this
<FRidh> pie__: also, I don't think passing `doCheck = false;` is going to work because with Python we're actually doing an `doInstallCheck` instead.
justanotheruser has joined #nixos
<pie__> ok thats weird because ive done that before xD
<FRidh> its just that we've aliased one to another. But `overrideAttrs` doesn't see that.
<FRidh> ohh
<FRidh> interesting
<pie__> what the heck this doesnt even need any of these libraries, why is it asking for them.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #24145: stdenv: do not overwrite "$NIX_BUILD_TOP/env-vars" on each phase (master...stdenv-env-vars) https://git.io/vyNyG
NixOS_GitHub has left #nixos []
magnicida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/v7cDE
<NixOS_GitHub> nixpkgs/master 69c6737 Vladimír Čunát: knot-dns: maintenance 2.5.2 -> 2.5.3
<NixOS_GitHub> nixpkgs/master 62e4e33 Vladimír Čunát: knot-resolver: maintenance 1.3.1 -> 1.3.2
NixOS_GitHub has left #nixos []
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #27585: exfat-nofuse: 2017-01-03 -> 2017-06-19 (master...exfat_2017-06-19) https://git.io/v7I6P
NixOS_GitHub has left #nixos []
7JTABSZUX has joined #nixos
<7JTABSZUX> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v7cDz
<7JTABSZUX> nixpkgs/master ebf5df0 Tim Steinbach: exfat-nofuse: 2017-01-03 -> 2017-06-19
<7JTABSZUX> nixpkgs/master e59ecf8 Tim Steinbach: Merge pull request #27585 from NeQuissimus/exfat_2017-06-19...
7JTABSZUX has left #nixos []
<pie__> ok im really confused as to why it want to pull in all these dependencies
slack1256 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #25332: propagatedUserEnvPackages is obsolete name, these lines have no effect (master...no-effect-propagatedUserEnvPackages) https://git.io/v9C9A
NixOS_GitHub has left #nixos []
ThatDocsLady_nom is now known as ThatDocsLady
<pie__> ok i think the hash is cached or something and its trying to build a different package 0.o
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 2 new commits to master: https://git.io/v7cDi
<NixOS_GitHub> nix/master af4689f Eelco Dolstra: nix-prefetch-url: Fix regression in hash printing
<NixOS_GitHub> nix/master c7654bc Eelco Dolstra: nix-build: Fix regression causing all outputs to be built
NixOS_GitHub has left #nixos []
<pie__> what the heck?
<pie__> (i copied the code including the hash from another file)
<pie__> well changing the hash fixed that..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #26855: aerospike: init at 3.14.1.1 (master...aerospike-init-3.14.0.1) https://git.io/vQ3nK
NixOS_GitHub has left #nixos []
<pie__> why is this wrong (404)?: mirror://pypi/a/antlr4-python3-runtime-4.7.tar.gz for https://pypi.python.org/pypi/antlr4-python3-runtime/
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #25914: hadoop: 2.2.0 -> 2.7.3, 2.8.1; nixos/hdfs: init at 2.7.3, 2.8.1 (master...hadoop-2.7.3) https://git.io/vHv9z
NixOS_GitHub has left #nixos []
dywedir has quit [(Remote host closed the connection)]
<pie__> (i did find it weird that it wasnt complaining about the hash being differnt, but i thought it might later)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #25942: hbase: 0.98.24 -> 1.3.1 (master...hbase-1.3.1) https://git.io/vHUe4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #25015: anbox: init at 0.1.0 (WIP) (master...anbox) https://git.io/vSxET
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #26602: shells-environment: do not let sudo make perl disfunctional (master...issue-25613) https://git.io/vHNOA
NixOS_GitHub has left #nixos []
<FRidh> pie__: checkout fetchPypi
<pie__> thx
darlan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v7cy7
<NixOS_GitHub> nixpkgs/master d2f45ba Tuomas Tynkkynen: xfstests: Use keyutils
NixOS_GitHub has left #nixos []
<pie__> FRidh, ok but where xD
<FRidh> pie__: use git grep to find it ;)
<Mic92> dtzWill: do you know what package/option I need to use -DLLVM_ENABLE_LTO=thin when compiling llvm? I tried adding -DCMAKE_LINKER=$(which lld), but I get the error: lib/libLLVMSupport.a: error adding symbols: Archive has no index; run ranlib to add one
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/v7cSR
<NixOS_GitHub> nixpkgs/release-17.03 e50639c Vladimír Čunát: knot-resolver: 1.2.6 -> 1.3.2...
NixOS_GitHub has left #nixos []
<pie__> FRidh, oh you mean in nixpkgs
<pie__> here i am just assuming its documented xP
<joepie91> pie__: soon....
<joepie91> :P
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/v7cS6
<NixOS_GitHub> nixpkgs/master 20d2bfa Vladimír Čunát: knot-resolver: remove unused inputs
NixOS_GitHub has left #nixos []
<pie__> 'XD
<pie__> hail nixos
bakgjaiowejioaw has joined #nixos
<joepie91> I just can't get rid of the habit to interpret "imap" or "Imap" as "IMAP" (the email protocol), every time I read it
<bakgjaiowejioaw> hello! can anyone help me? I want to use haskell's criterion package with GHC821, but I'm getting build failures. I need to know how to override the nix expression at haskell.packages.ghc821.criterion. I believe overlays will do the job, but I'm not sure the syntax to override
slack1256 has joined #nixos
<pie__> joepie91, i think that might make me borderline <something bad>
goibhniu1 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
<joepie91> gchristensen: any objections against calling eg. a function passed into `map` a "callback"? it's a slightly abusive use of the term but I don't know a better way to describe a function called from within a function, that can be easily integrated into documentation
goibhniu1 is now known as goibhniu
<FRidh> joepie91: nested function?
<joepie91> FRidh: there's quite a few different things that could be called nested functions though :P
<seequ> Does nixos use precompiled binaries for nixpkgs by default?
<joepie91> especially given the one-argument functions that Nix uses
<FRidh> lambda's?
<joepie91> mmm.
<joepie91> also ambiguous :/
<FRidh> seequ: yes it tries to use binary substitutes when available. You can turn that off.
<seequ> What's the option for it?
<seequ> And can I force a full rebuild after turning it on?
<FRidh> seequ: the nix option is build-use-substitutes. I don't think there is a nixos option for it so you would have to pass it to nix.extraOptions. You could also just remove the binary caches...
<FRidh> nix.trustedBinaryCaches
<seequ> FRidh: That's [] by default, but nix.binaryCaches is [ "https://cache.nixos.org" ]
bakgjaiowejioaw has quit [(Quit: WeeChat 1.9)]
Rotaerk has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/v7cQ8
<NixOS_GitHub> nixpkgs/master f43c445 Tim Steinbach: linux: 4.12.3 -> 4.12.4
<NixOS_GitHub> nixpkgs/master 88c0f67 Tim Steinbach: linux: 4.9.39 -> 4.9.40
<NixOS_GitHub> nixpkgs/master 5a6b5b8 Tim Steinbach: linux: 4.4.78 -> 4.4.79
NixOS_GitHub has left #nixos []
slack1256 has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to release-17.03: https://git.io/v7cQg
<NixOS_GitHub> nixpkgs/release-17.03 a36d3a0 Tim Steinbach: linux: 4.12.3 -> 4.12.4...
<NixOS_GitHub> nixpkgs/release-17.03 314f279 Tim Steinbach: linux: 4.9.39 -> 4.9.40...
<NixOS_GitHub> nixpkgs/release-17.03 6b042fb Tim Steinbach: linux: 4.4.78 -> 4.4.79...
NixOS_GitHub has left #nixos []
radvendii has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
bennofs has quit [(Ping timeout: 246 seconds)]
<GlennS> Does anyone know about the install-grub.pl script? I think I may have found a bug, but possibly I am just out of my depth...
<GlennS> It is getting a "device name" from /proc/self/mountinfo, but actually I think that lists filesystem names, not devices (not quite clear on terminology).
<GlennS> It then feeds that into blkid.
<GlennS> So, my problem is that it blkid is looking for and failing to find /dev/root, when it should be looking for /dev/sda
<GlennS> Any thoughts?
<GlennS> worth reporting, or have I misunderstood something?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/v7c7t
<NixOS_GitHub> nixpkgs/staging b116fa5 Franz Pletz: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v7c7i
<NixOS_GitHub> nixpkgs/staging 00bf3a9 Frederik Rietdijk: Revert "kbd: 2.0.3 -> 2.0.4"...
NixOS_GitHub has left #nixos []
fikse has joined #nixos
nslqqq has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/v7cdf
<NixOS_GitHub> nixpkgs/master 07ab4d2 Tim Steinbach: scala: 2.12.2 -> 2.12.3
NixOS_GitHub has left #nixos []
ng0 has joined #nixos
grumble has quit [(Ping timeout: 624 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e50639cb5c (from 62 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
takle_ has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
takle_ has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
nslqqq has joined #nixos
radvendii has joined #nixos
bennofs1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 4 new commits to master: https://git.io/v7cbe
<NixOS_GitHub> nixpkgs/master 5b09152 Eelco Dolstra: gdb: Look for .build-id files in NIX_DEBUG_INFO_DIRS...
<NixOS_GitHub> nixpkgs/master 5c5b71d Eelco Dolstra: Add a setup hook to fill NIX_DEBUG_INFO_DIRS...
<NixOS_GitHub> nixpkgs/master 340bd1e Eelco Dolstra: elfutils: 0.168 -> 0.169
NixOS_GitHub has left #nixos []
radvendii has quit [(Client Quit)]
bennofs1 has quit [(Ping timeout: 246 seconds)]
chrishill has joined #nixos
<magnicida> does anyone have experience using NixOS for embedded Linux projects?
Infinisil has joined #nixos
<magnicida> seems like a very strong potential use-case
<magnicida> I am considering suggesting this to a client but would like to learn a bit more about other people's experience in that domain
<joepie91> magnicida: any particular reason you see it fitting that usecase well?
erasmas has joined #nixos
<clever> magnicida: i made a fork of nixos, that can compile down to a ~40mb squashfs and runs entirely from ram: https://github.com/cleverca22/not-os
<LnL> oh! you can put no-tos on 40mbs?
fikse has quit [(Ping timeout: 268 seconds)]
<clever> LnL: yeah, 40ms for the squashfs, plus some initrd and kernel space
<LnL> that's pretty impressive :)
<clever> depends a lot on what else you want it to run, thats just a bare sshd and runit
<clever> i'm also using a full glibc, so it could be made even smaller
<LnL> yeah that's probably a significant part of that
<clever> the only thing i'm compiling specially is coreutils (to remove systemd)
<clever> every other part is a stock build from the nix binary cache
<magnicida> joepie91: during product development you might want to explore with different configurations... being able to describe them as an expression and generate images from them that one can flash in the devices seems ideal. at the same time one might want to have reproducible environments for developers working on the product software that is loaded in the embedded thing... setting up ci systems, etc, all seem to me would become so mu
<magnicida> with nixos
<Infinisil> coreutils contains systemd :o
<clever> Infinisil: yep
<LnL> ^ same reaction :p
<CrazedProgrammer> hi guys, have any of you managed to get gtk+ themes working in qt5 applications? there was an issue that said qt5 applications use the gtk3 themes by default but that doesn't seem to be the case. the qt5.qtbase.gtk package referenced in the nixos manual doesnt seem to exist and the qtstylesplugin package doesn't seem to do anything: setting QT_QPA_PLATFORMNAME=gtk2 gives an error message with a list of qt plugins and gtk isn't in one
<CrazedProgrammer> of them
<joepie91> magnicida: ah, hm, I see what you mean
<CrazedProgrammer> i'm on unstable
<LnL> clever: what does it need that for?
<joepie91> Infinisil: systemd is ~everywhere~
<clever> LnL: double-checking
<avn> clever: coreutils depends on systemd?
<joepie91> magnicida: one immediate issue I can see is that on embedded systems you often want to aggressively deduplicate dependencies
<joepie91> magnicida: because of code sharing of libraries in RAM
<clever> ah, it was utillinux, not coreutils
mudri has joined #nixos
<joepie91> which is *possible* with Nix, don't get me wrong; but not necessarily what you get out of the box
<Infinisil> clever: Ah that makes more sense
<clever> Binary file /nix/store/aw58bcj28add9scpqizsfcjjzzd5l8z3-util-linux-2.29.2-bin/bin/lsblk matches
<clever> i think its the udev libraries mostly
<joepie91> magnicida: also, you would have to ensure that the entire system is built outside of the device itself; Nix is not very resource-efficient at the moment
<joepie91> on runtime
<LnL> yeah probably
<clever> not-os lacks udev entirely!
<clever> Binary file /nix/store/aw58bcj28add9scpqizsfcjjzzd5l8z3-util-linux-2.29.2-bin/bin/logger matches
<clever> and jouralctl compat
prooftechnique has joined #nixos
<joepie91> magnicida: in fact, I'm pretty sure that NixOps creates a swap file on 512MB DO instances by default because otherwise it doesn't have enough RAM to build the entire system
<clever> joepie91: my kexec trick doesnt even boot on a 512mb system, and i dont think it can get far enough to make its own swap
<joepie91> magnicida: these are all issues that can be overcome, but they are caveats to be aware of :)
<Infinisil> joepie91: Indeed
grumble has joined #nixos
<magnicida> interesting, admittedly the embedded systems I am thinking of are quite beefy, so even that might not be a problem
ertes has quit [(Ping timeout: 268 seconds)]
<joepie91> magnicida: what type of system?
<prooftechnique> Has anyone gotten nix working on macOS 10.13? I've been following copumpkin's work dealing with the changes in libsystem, but I haven't been able to quite get things working. It may just be that all of it is still on staging, so I'll just have to wait, but if anyone's got tips, I'm very much listening. :)
<clever> magnicida: another benefit of not-os, is that your entire system is ~3 files in /boot, so its very easy to version the entire machine and up/downgrade
<magnicida> an embedded linux system, but working on a beefy embedded system---with low-end intel stuff, on the range of the intel compute sticks
<clever> magnicida: i had originally designed it to run on a rack of ~8 servers, network booting from eachother
<magnicida> this would be a consumer product
<clever> but treating the entire thing more as firmware then software
<magnicida> things that are important are for example boot time
<magnicida> there might be some hybernation also involved to fake fast boot time
<clever> not-os boots pretty fast, a lot of useless junk has been removed
<joepie91> magnicida: that sounds like a set top box :)
fikse has joined #nixos
<joepie91> but yeah, if they're beefy systems you'll probably be fine
<magnicida> hahahha sadly I can't talk about the product, it is way cooler than a set-top box :p
<prooftechnique> Oh, perhaps nix-darwin would be a better place to ask. Duh
<clever> magnicida: it took 12 seconds for my not-os to boot under qemu
<magnicida> nice!
<magnicida> i will keep an eye on that
<LnL> prooftechnique: o/
<chrishill> Hi, I’m having problems finding the package `xkbset`. I have searched for it with `nix-env -qaP | grep xkbset`, but that gave no results. According to latest Nixpkgs, it is declared in `pkgs/top-level`. I have looked at https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/X11/xkbset/default.nix, and `platforms` is set to `linux`, so I think it should work on my NixOS 1̀6.04.
<Infinisil> prooftechnique: gchristensen knows quite a bit about nix + darwin, he's often here, maybe you can ask him
<gchristensen> uh oh
<gchristensen> I hardly know anything about nix on darwin, just how to install it :P
<Infinisil> gchristensen: Ahh
<Infinisil> Well from your nix multi-user thing I got that impression :P
<joepie91> chrishill: NixOS 16.04...?
<gchristensen> yeah exactly, I know really well how to install it :)
<joepie91> chrishill: also, it looks like that package has not made it into any release channels yet
<Infinisil> I don't think there's a lot of people using nix on mac generally
<gchristensen> I think you'd be surprised
<joepie91> chrishill: it's available in unstable nixpkgs
newhoggy has quit [(Remote host closed the connection)]
endformationage has joined #nixos
Eisfreak1 has joined #nixos
Eisfreak7 has quit [(Ping timeout: 260 seconds)]
<Infinisil> gchristensen: Huh, for people who can't switch to linux for some reason (workplace or so) I guess?
<gchristensen> or don't want to switch to linux yeah
<gchristensen> or just want a better homebrew for cli things
newhoggy has joined #nixos
<Infinisil> gchristensen: I just recently installed osx again on another disk (i still need it for xcode). I tried to use nix for most things, but it was just a hassle so i just used brwe
<Infinisil> brew
<magnicida> clever: really cool, I'll keep your project under the radar!
<gchristensen> Infinisil: what is most things?
<joepie91> chrishill: btw, if you meant NixOS 16.03; that's been unsupported for several months now, and you should really upgrade to 17.03 :)
<Infinisil> gchristensen: E.g. needed to install gpg, whose pinentry didn't work. I installed nerd-fonts, which obviously aren't linked to the correct locations (so font book can see them), zsh also had a problem, can't remember what it was though
<gchristensen> huh
<gchristensen> gross
<Infinisil> imo brew is just much better fit for osx in general, tested much better and used by lots. For building unix projects i'd still use nix, but for installing programs I'll favor brew
<seequ> Can I force a full rebuild of the entire system??
<dash> seequ: sure
<seequ> Accidental double question marks
newhoggy has quit [(Ping timeout: 260 seconds)]
<dash> seequ: what's your goal in doing so?
<Infinisil> seequ: Why though?
<FRidh> anyone knows how long it typically takes to build gfortran?
Myrl-saki has quit [(Ping timeout: 276 seconds)]
<LnL> it takes a while
<seequ> I'd like to be extra-sure my issues with X don't come from it being built for wrong hardware
<Infinisil> seequ: Yeah that's not what you're gonna achieve be a rebuild
<Infinisil> It's gonna be exactly the same, that's what nix ensures
<dash> seequ: rebuilding wouldn't help, because you'll get the same build results
<dash> seequ: if you can find a problem in the config that specifies the wrong X components, then fixing that will build whatever it needs
<LnL> FRidh: ~1h I think
<seequ> Sadly I have no clue what the problem is.
<Infinisil> seequ: What's not working?
<seequ> X just uses a lot of CPU when playing videos.
<Infinisil> seequ: Hmm, that's the same for me, I didn't think something would be wrong
<Infinisil> Oh, you mean the X process? Hmm, I'll check
<seequ> yup
<FRidh> LnL: ugh...I'm fixing some things on staging, but Hydra hasn't build it yet, unfortunately.
<Infinisil> seequ: Like how much? I just played a video with vlc and it's using like no cpu, I guess my problem was with firefox using lots
<seequ> Infinisil: 60% of one core when I play a 1080p video on a 1080p monitor
<Infinisil> seequ: What player did you use?
<seequ> firefox, youtube
<LnL> FRidh: yeah there was an issue with cyclic references between the outputs on darwin a while back, pretty annoying to fix
<seequ> plain unmodified nixos.firefox
<FRidh> LnL: so in stdenv?
<dash> seequ: try playing one a non-web browser and see if it does the same
<dash> er, one with
<gchristensen> someone recently shared a link to the nix pills condensed in to a single git repo, anyone remember what that was?
newhoggy has joined #nixos
<LnL> FRidh: I think it's faster to rebuild the stdenv on darwin (llvm+clang)
<gchristensen> thank you
<joepie91> gchristensen: you might have seen that through my compilation-of-resources gist :)
<joepie91> (I've listed it there)
<gchristensen> ahhh quite likely
<seequ> dash: I'll have to get one. I'll report back soon.
<Infinisil> seequ: Hmm, while playing a video firefox is using about 80% CPU and X about 15%. Also about 1920x1080
<Infinisil> from youtube
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<joepie91> gchristensen: so, I've made a first shot at encoding the strings.nix documentation in a format like that YAML-based format I showed you earlier: https://gist.github.com/joepie91/9f1e09a40bfd67583d7d7adb0de28b3c
<joepie91> not necessarily settled on the format yet
<joepie91> oops
<joepie91> made an error, fixed it, F5
<joepie91> :p
<chrishill> joepie91: thanks for the help. yep, I wrote wrong; I’m on 16.09
<joepie91> (included an incomplete bit)
<joepie91> chrishill: right, you'd still want to update then, 16.09 is unsupported too :)
<gchristensen> joepie91: to be honest, I very much don't like the yaml
<joepie91> chrishill: but even on 17.03 you'll need to grab it from unstable
<joepie91> since it's in no release channels at the moment
<joepie91> gchristensen: any particular reason?
<gchristensen> I find it very uncomfortable to write, and difficult to predict what it will be interpreted as
<Infinisil> joepie91: I have to agree with gchristensen, I don't know how that would stand long-term
<FRidh> When configuring Hydra, should one configure postgres first?
<gchristensen> but since it is yaml we can just use json and it'll work the same
newhoggy has quit [(Ping timeout: 255 seconds)]
<joepie91> gchristensen: I intentionally picked YAML over JSON because JSON really is *not* human-writable, and is missing a few important features (most importantly, references and sane multiline support)
<Infinisil> joepie91: If that yaml would be auto-generated from smth like docstrings or from a future typed nix, that would be nice
<FRidh> but then you can'tinclude comments in your comments ;)
<gchristensen> joepie91: but json is valid yaml
<joepie91> Infinisil: no, this would be the input format
<gchristensen> so we can just use json and add comments
<joepie91> Infinisil: I'm intentionally writing this to *not* be docstrings, or otherwise in the code files
<joepie91> and I want to avoid inventing a new DSL for it where not necessary
lesce has quit [(Ping timeout: 240 seconds)]
<seequ> ..heh, X is using 7% when there's enough action in urxvt
<Infinisil> joepie91: Had a discussion with gchristensen once where we thought about using something like a `doc` attribute in nix itself to make structural docs
<gchristensen> yeah this is what that is about :)
<Infinisil> Is nix a new DSL?
<joepie91> Infinisil: there are a few significant issues with in-code docs that have led me to try and build something that works with separate files; ie. anything that involves "modifying the Nix source files" is out of scope for what I'm trying to do
<joepie91> Infinisil: the intention is to eventually turn this into a more generic documentation mechanism, not specific to Nix
<joepie91> it's a project that I'd been working on prior to Nix
<joepie91> or well, prior to my involvement with Nix *
<Infinisil> joepie91: Yeah inline docs may not be the best admittedly
<joepie91> and when talking about syntactic ambiguity I'm not sure that Nix is the best alternative solution either :P
<gchristensen> I'm concerned that yaml ain't markup language and docs seem markup heavy
newhoggy has joined #nixos
<joepie91> gchristensen: I'm interpreting all free text fields as markdown with references (the $(foo) stuff)
<FRidh> joepie91: it seems really nice as a intermediate format but I think in general one wants to use a parser so as to write more compressed docstrings. I kind of like numpydoc https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt#id4
<joepie91> YAML just addresses the structure, not the markup
<gchristensen> what about using separate files with yaml front matter
<joepie91> FRidh: docstrings are in-code and therefore out of scope for this
lesce has joined #nixos
<joepie91> gchristensen: can you elaborate?
gustavderdrache has joined #nixos
<LnL> g
<seequ> Heh, building vlc failed
<gchristensen> well looking at https://gist.github.com/joepie91/9f1e09a40bfd67583d7d7adb0de28b3c it seems hard to write and read
<FRidh> hydra-init-pre-start[32523]: createuser: could not connect to database postgres: FATAL: role "root" does not exist
* LnL wants an irc client that ignores vim commands :p
<gchristensen> I guess I'm skeptical about yaml being an appropriate tool
<joepie91> gchristensen: mind that the YAML files are not meant for direct reading by humans; they're structured source files to generate readable documentation / autocomplete / etc. from
<Infinisil> LnL: ++
<Infinisil> seequ: Are you using debian?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #27717: sbt: 0.13.15 -> 0.13.16 (master...sbt_0_13_16) https://git.io/v7CvJ
NixOS_GitHub has left #nixos []
<seequ> Infinisil: nixos
<joepie91> gchristensen: I mean, I have my concerns about YAML as well, but I've not yet seen a more viable option that works given these constraints
<gchristensen> but they will be directly read by humans when making updates (most programming is reading not writing)
<joepie91> gchristensen: so to me this is a "least bad" kind of thing
<joepie91> yes, but there are different kinds of reading
cement has joined #nixos
<clever> FRidh: try a role of 'admin' instead
<joepie91> when modifying eg. the behaviour of a function, it's relatively easy to relate parts of the 'documentation items' to parts of the function
<joepie91> but it would be totally unreadable for *using* those functions; but that is out of scope
newhoggy has quit [(Ping timeout: 260 seconds)]
<joepie91> gchristensen: as for hard-to-write; it's non-trivial to accurately express structured documentation no matter what format you use
* seequ turns binarycache back on
<gchristensen> I think I'd rather write in docbook. this isn't a slant against your work, but if we wrote out a few function docs that documented everything you documented here, it'd be pretty much copy-paste-easy to add new function docs
<Infinisil> joepie91: I know you want this to be applicable outside of nix, but within nix your yaml file looks almost the same as a nix file, so why not use nix directly for its docs? Then one doesn't have to "learn" yaml
<Infinisil> s/within nix//
lesce has quit [(Ping timeout: 276 seconds)]
<joepie91> gchristensen: I don't feel that docbook is either easier or fulfilling the same usecases
<FRidh> clever: this is after I made a basic hydra config in configuration.nix and did a rebuild. Should I create the postgres user myslf?
<joepie91> Infinisil: how would you do that?
<clever> FRidh: i dont think its the postgress user, let me check my logs
Eisfreak1 has quit [(Ping timeout: 260 seconds)]
Eisfreak7 has joined #nixos
<clever> FRidh: sudo -u hydra -i -> hydra-create-user admin --password hunter2 --role admin
<gchristensen> joepie91: what is the usecase it isn't fulfilling?
<FRidh> agree here with joepie91. Having it in a data format like yaml is more flexible than directly in docbook.
<joepie91> gchristensen: keep in mind that these files are *not* meant to be generic documentation markup; they're meant to be structured definitions from which documentation can be *derived*; whether that is in the form of generated HTML, or autocomplete entries in an editor, or in a REPL, or whatever else
<clever> FRidh: what happens if you run these 2?
<joepie91> gchristensen: ie. data, not content
newhoggy has joined #nixos
<joepie91> gchristensen: docbook is primarily content-oriented
<gchristensen> in that case I'm not sure why it wouldn't be with the code (see the PRs from MoreTea and myself)
<gchristensen> since it isn't docs, but the thoughtstuff which docs are derived from
<FRidh> clever: FATAL: role "hydra" does not exist at
<gchristensen> and it literally is code
<joepie91> gchristensen: because integrating it into the code will 1) make deriving documentation more difficult since you need a full language parser for Nix, 2) either involve runtime overhead, or strange rewriting mechanisms, or parser complexity to retain comments, and 3) generally bloat code files with things that are not code and that make it more difficult to work with the code itself and infer structure from it
<clever> FRidh: ah, sounds like some of the hydra init stuff failed
<gchristensen> or data, I dunno :P
<clever> FRidh: maybe the initial db import
<seequ> dash: X uses about the same amount of CPU on vlc than on firefox
<joepie91> gchristensen: on top of that you have the issue that nearly every implementation of documentation generation that's based on in-code docs is totally incapable of representing the documentation in a structure that differs from that of the code
<joepie91> which is why nearly all generated documentation is totally unusable for end users
<clever> FRidh: what about deleting this file, and restarting the hydra-init service: https://github.com/NixOS/hydra/blob/master/hydra-module.nix#L269
<joepie91> unless you already know precisely what you're looking for
<gchristensen> I don't follow
<joepie91> in exchange for... what benefits?
<joepie91> my problem with in-code docs, in short, is that it sounds very clever and handy on paper, but that in practice it introduces more drawbacks than it introduces benefits
<FRidh> clever: that file doesn't exist. It fails at creating the user one step before creating the db
<FRidh> its a fresh hydra installation
<gchristensen> how does this data format (which can be easily represented in the code our PRs propose) make it possible to create different, usable documentation representations?
rumble has joined #nixos
<FRidh> and postgres
ebzzry has quit [(Ping timeout: 240 seconds)]
<clever> FRidh: ah, maybe postgress is broken then
newhoggy has quit [(Ping timeout: 240 seconds)]
digitus has joined #nixos
<joepie91> gchristensen: because this data format does not *need* to mirror the code's structure; that is only what I have so far because I'm not done yet
<gchristensen> but eventually it becomes data in a lang8uage
<gchristensen> in a system much like the in-code docs would
<gchristensen> and I don't understand how there is a difference
dannyg has quit [(Quit: dannyg)]
<joepie91> gchristensen: can you rephrase that? not sure what you mean
<joepie91> (aside; I have to get to work in 15 minutes)
<Infinisil> joepie91: Regarding what I meant by using nix directly, I wrote a part of that yaml file in nix: https://gist.github.com/510e0a082e0d701aa520f8b17397bfc9
<gchristensen> whether the data about functions is in a .yaml file or in a .json file or in nix next to the function itself eventually it is interpreted and represented as variables and datastructures in a programming language's interpreter, which is then used to emit documentation in other formats for people to consume. how does the data being in yaml make it possible to make usable documentation for end-users where having
<gchristensen> the data in nix, next to the function makes it impossible?
ison111 has joined #nixos
<joepie91> Infinisil: but now you need a full-blown Nix parser to be able to handle that data.
<gchristensen> we can take the in-nix code and export to json no problem
<gchristensen> which you can parse with your yaml parser
<Infinisil> joepie91: I don't know where the problem is
Eisfreak7 has quit [(Ping timeout: 260 seconds)]
<Infinisil> Having it in nix directly would make me incredibly confident i didn't make any formatting mistakes
<joepie91> gchristensen: you're looking at this in the wrong frame of reference; it being YAML has nothing to do with 'creating usable documentation'
Eisfreak7 has joined #nixos
<joepie91> you're conflating separate points
athan_ has quit [(Remote host closed the connection)]
<joepie91> the only reason I picked YAML as a format for the documentation files is because it is 1) widely supported, 2) relatively easy to learn and use, 3) has references and sane multiline string support
<gchristensen> so we can make usable documentation from in-code descriptions
<joepie91> this is completely separate from the concept of having the documentation in a separate file entirely
<joepie91> Infinisil: there is approximately zero tooling for interacting with Nix files outside of Nix itself; there is widespread tooling for interacting with YAML files.
<gchristensen> who cares, when we generate docs we have nix, we can export to whatever
<joepie91> there's no point writing structured documentation if almost nobody has either the tools or the knowledge to actually *build upon it*
<gchristensen> now you're conflating points :P
<Infinisil> joepie91: Yeah, but I mean for the nixpkgs project, it would make more sense to use nix instead of yaml
<joepie91> no, it wouldn't
<joepie91> tooling isn't built in Nix
<joepie91> editors aren't built in Nix
<gchristensen> editors and tooling aren't built in yaml
<joepie91> interoperability is an important property of data files and Nix files do not currently provide that
<Infinisil> joepie91: But nix is also exportable to anything
<Infinisil> And there's even tooling for that in nixpkgs
<joepie91> gchristensen: no, but they are built in languages that have parsers and serializers *for* YAML
goibhniu has quit [(Ping timeout: 255 seconds)]
<joepie91> but not for Nix
<gchristensen> so let's export to yaml
<joepie91> Infinisil: gchristensen: half the problem with Nix as it stands is that it is REALLY REALLY difficult to build any kind of tooling around it because there's basically one reference implementation, no spec, no easily usable stand-alone libraries, no bindings for other languages or runtimes, etc.
<joepie91> gchristensen: at which point you need an additional export step, for what gain?
<gchristensen> well we already export our docs
erictapen has joined #nixos
<Infinisil> ^^
<joepie91> gchristensen: I'm comparing to having documentation directly in YAML or an equivalent format.
<joepie91> that is directly usable by external tooling.
<joepie91> regardless of what it's written in or with.
<gchristensen> nix is a build tool, I ain't afraid of adding a build step when it makes things easier
<Infinisil> Everything in nixpkgs is built around nix already, why should we introduce another language?
Eisfreak7 has quit [(Quit: WeeChat 1.9)]
<joepie91> *you* may not be, but to other people trying to build tooling this is an issue.
<joepie91> Infinisil: that is false.
<joepie91> nixpkgs contains plenty of Bash, various other scripts
<gchristensen> if we need to export to yaml we can export to yaml, that is _not_ a big deal
aowiergjer has joined #nixos
<gchristensen> exporting to json is literally built in to the language
<joepie91> I don't feel that this discussion is going in a productive direction...
<gchristensen> I agree, I'm sorry :/
<gchristensen> we could do a video chat some day
<Infinisil> joepie91: Maybe open a github issue?
nschoe has quit [(Quit: Program. Terminated.)]
<joepie91> that's not likely to make things better, to be honest :P
<gchristensen> (soon, preferably - I'm in America/New_York)
<joepie91> Infinisil: well, that is what I was working on
<joepie91> a PoC
<joepie91> so that I have something to open an issue *about*
<Infinisil> PoC?
<joepie91> proof of concept
newhoggy has joined #nixos
<Infinisil> Ah
<FRidh> I agree here with joepie91. Nix being a functional declarative language is very useful, but in some cases when dealing with data the functional part is just annoying and its more convenient to use a format like yaml or json. Yes, its portable to export, but that requires the Nix tools since currently ther are no other tools capable of doing that.
<aowiergjer> Hi! I'm a new Nixos fan. Can't believe how I lived life without nix-shell before. I'm often creating a shell and then running the program the shell was created for. I'm wondering if Nix-shell can do that all in one go - something like `nix-shell -p git git status` to create a new shell with git and run a command in it?
<gchristensen> you bet aowiergjer!
gustavderdrache has left #nixos []
<gchristensen> nix-shell -p git --run "git status"
<aowiergjer> Fuck yeaaaah
<gchristensen> are we coworkers? that is an extremely common phrase at my job :P
<joepie91> which I discovered today
<joepie91> :p
<FRidh> I found the same when I was looking at lib.licenses at some point. To use that data outside of Nix I still needed Nix to actually get it.
<joepie91> ie. you can declare deps directly in a shellscript
<aowiergjer> Holy smokes! This shit is just a gift that keeps on giving (or a function that keeps returning?)
<joepie91> oh, it links to http://iam.travishartwell.net/2015/06/17/nix-shell-shebang/ as a more up-to-date version
<aowiergjer> Thanks a lot! Imma run over to my coworker and bore them to death with talk of my new fav OS
<Infinisil> FRidh: joepie91: So your main concern is that when somebody clones nixpkgs, they don't have a yaml that describes the lib, and he would need to actually have nix to generate that?
athan has joined #nixos
<joepie91> Infinisil: right; the interoperability concern is indeed that you can't interact with the documentation directly without going through Nix first
<FRidh> Infinisil: for certain parts that are plain structured data, yes, that's not good. But, to be clear, I'm not talking about docs here.
grumble is now known as grumble2
rumble is now known as grumble
<joepie91> (aside from whether Nix is really a good language for data like this in the first place, which is debatable)
<FRidh> not necessarily at least
<aowiergjer> BTW - it seems to me that the functionality of nix-shell would work well with chroot - basically sandboxing any application. Maybe you smart cookies already thought of this though...
<aowiergjer> $ nix-contain ?
<joepie91> aowiergjer: runtime sandboxing is pretty tricky, a chroot would not be enough for that depending on requirements
newhoggy has quit [(Ping timeout: 260 seconds)]
<joepie91> possible, though; NixOS does declarative containers for example
<Infinisil> joepie91: FRidh: But there's a really easy solution for that: Just add a comment "A yaml/json version of this document can be found <link to auto-generated file on nixos.org>"
<joepie91> Infinisil: Nix doesn't stop with nixpkgs, though. nor does that allow for checking out arbitrary revisions, and so on
<dash> aowiergjer: linux chroots/containers aren't a good security mechanism
<joepie91> Infinisil: sure, there are a lot of workarounds that one can think of to try and address every usecase you could conceive; but in the end you're going to miss usecases and the question is "what are you really gaining by this?"
<Infinisil> joepie91: It does allow for arbitrary revisions, just have the nixos homepage have all versions available and the link be to a fixed one
<joepie91> that would rapidly grow out of control.
<joepie91> (and involve additional moving parts to ensure that the exports always work etc etc)
<Infinisil> It's basically the same as all those readthedocs.io documentations are doing
<Infinisil> Having all versions available
<joepie91> versions and revisions are not the same thing
<joepie91> a revision roughly equates to a git commit
<Infinisil> Well I don't think every revision would need to be on the website
aowiergjer has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<Infinisil> Just every hydra build or something
<joepie91> and now we're already excluding potential usecases
<Infinisil> Every channel update
<joepie91> and adding a network requirement as an alternative to a Nix requirement
<joepie91> with still the same question: what are we gaining with these workarounds?
<joepie91> anyhow, I need to get to work
<gchristensen> I guess part of the problem is I don't see this as a workaround in any way
* joepie91 will be back later
<gchristensen> talk to you soon :)
<Infinisil> joepie91: The question is really: Is it worth adding another language to nixpkgs (yaml) for the few people that will wanna write tooling for nix + don't use nix + can't affort internet connection?
grumble2 has quit [(Quit: brb)]
<clever> Infinisil: there is a yaml2json program in the haskellPackages.yaml derivation
<Infinisil> clever: There's also a parseTOML in the nixpkgs-mozilla repo, it's always possible to do yaml/json -> yaml/json/nix conversion
<FRidh> gfortran...it finished!
<Infinisil> Oh and nix -> yaml/json mostly too
<FRidh> LnL: 50 minutes :)
newhoggy has joined #nixos
<joepie91> Infinisil: about to really be gone, but; you keep presenting 'adding another language' as if it's some sort of insurmountable additional cost, but I haven't seen any actual arguments as to why adding YAML would be a problem, other than "not sure how it's going to come out" - which is a problem that Nix has too in various places
<joepie91> I don't see a significant cost that Nix doesn't also have
<seequ> When it can be done with the same language, why have a second one?
<LnL> FRidh: close enough :)
<gchristensen> yaml is hard to write
<Infinisil> joepie91: Eh, we can talk later/or in a github issue, see ya!
* seequ totally didn't read any of this
<Infinisil> I don't wanna hold you back
fikse has quit [(Ping timeout: 240 seconds)]
<gchristensen> I retract my message in the interest of a future mconversation
<Infinisil> seequ: gchristensen: Agreeing with both of you
<hodapp> bah. what's everyone's favorite screen recorder that's easy to install on Nix?
<Infinisil> hodapp: I think ffmpeg can do that somehow
<clever> hodapp: obs-studio for full gfx, asciinema for text-mode recording
<hodapp> there's more "somehow" with ffmpeg than I usually want to deal with
* Infinisil votes for ffmpeg
<Infinisil> oh right, OBS
<clever> hodapp: obs-studio can do full compositing of many windows, webcams, other media sources, and scene transition stuff, and then either record or stream
<hodapp> clever: thanks, I'll check out obs-studio... though I kind of want to see asciinema too, just not for this
<hodapp> clever: voice recording too?
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> hodapp: OBS is basically the standard screen recording software today, it can do a lot and is free and open source too i believe. Every streamer is using it
<clever> hodapp: OBS can do audio
<hodapp> sounds good
<clever> hodapp: an example of the other: https://asciinema.org/a/2Iq7VXX8kJaX1YYaAOjr7fESI
<hodapp> I did a screen recording in December and I cannot remember what I even used
<hodapp> maybe I did it on my Macbook with Quicktime (which I can' do here because it's an '08 Macbook and can't do WebGL)
<hodapp> see, after this in December is when I switched everything to NixOS and shitcanned my Arch installation
<Infinisil> clever: What vim colorscheme are you using?
<clever> Infinisil: not sure, but i have the config in a gist
<clever> Infinisil: something in there is doing it, the .vimrc is empty
<Infinisil> clever: You seem to be using no colorscheme, I guess that's the default for vim-nix then
<clever> and also, asciinema isnt video, thats just raw text, with timestamps on every character
newhoggy has joined #nixos
<clever> so you can pause, and copy out of my terminal at any point
magnicida has quit [(Ping timeout: 255 seconds)]
<LnL> clever: I think you want to include filetype plugin indent on
<Infinisil> Lol, there's the TLD .ninja
<clever> LnL: line 22 has autoindent on
<Infinisil> Was just checking out the ninja build system, which I seem to hear about more and more
<Infinisil> Oh it's by google..
<hodapp> :( "failed to initialize video" when starting OBS
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/v7CIh
<NixOS_GitHub> nixpkgs/master 30fbeed Peter Simons: LTS Haskell 9.0...
<NixOS_GitHub> nixpkgs/master f442bbc Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master cb1742e Peter Simons: haskell: fix builds broken by LTS-9 update
NixOS_GitHub has left #nixos []
<clever> hodapp: ive got the same problem on my end, what GPU do you have?
newhoggy has quit [(Ping timeout: 260 seconds)]
<hodapp> Intel something
<clever> ah
<clever> i'm on ati
<clever> something critical is wrong in the opengl, but it runs fine under things like xephyr and xnest
<hodapp> and can't run it on my box with Nvidia because it has no microphone
<LnL> clever: :h filetype
<LnL> :)
<hodapp> clever: problem is I need to capture WebGL output
<hodapp> and I doubt that'll work there
<clever> hodapp: yeah, this creates a new x server with zero gl support, and runs obs inside that
<clever> hodapp: you can do cross-xserver capture in obs, but its monitor level, not window level
<clever> one of the advanced options, set it to capture from :0
<clever> and i think it needs more cpu, its basicaly doing 30 screenshots per sec
<clever> that might allow the webgl to keep working on the host x server
<hodapp> oh, my GPU doesn't do OpenGL 3.2, that must be why
<clever> the funny thing, is that OBS works "better" with zero opengl support
<clever> so partial opengl support breaks it
riclima has joined #nixos
<hodapp> dang
<clever> the above gist removes all opengl from it
<hodapp> wonder if I could use a separate webcam just for audio or something...
<clever> then cross-xserver capture can get your screen recorded
<hodapp> idk if this one even has a mic
<clever> check the levels in pavucontrol
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
__Sander__ has quit [(Quit: Konversation terminated!)]
newhoggy has joined #nixos
civodul has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #27719: java: fix dtrace detection (master...pr/java-fix) https://git.io/v7CL9
NixOS_GitHub has left #nixos []
stanibanani has joined #nixos
<hodapp> hm, I don't think I even have PulseAudio running
riclima has quit [(Ping timeout: 260 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/992ebf4457 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
<hodapp> alsamixer can see the audio from this webcam, but not sure how to make obs see it
<clever> in the OBS settings, you can configure secondary capture sources
<clever> so you could add 3 or 4 different audio captures
<clever> then in the main window, you can control the mix of all of them
newhoggy has quit [(Ping timeout: 260 seconds)]
<hodapp> I'm trying everything under 'Sources' and it's not showing a single device
<clever> checking this end...
<clever> dang, obs now relies on propagated userenv packages
<clever> so it breaks under a nix-shell
<clever> hodapp: under settings->audio, i see 3 mic input options
<clever> and it is listing pulseaudio names for devices
<Infinisil> clever: Oh that's not very good
<hodapp> yeah, I checked that, it's showing nothing under any of them
<clever> hodapp: try turning pulseaudio on in configuration.nix
<clever> then check pavucontrol
<Infinisil> hardware.pulseaudio.enable = true;
newhoggy has joined #nixos
<hodapp> this is the sort of thing that I really wish could be in the manual, or that at least I could find near the top of the search results
newhoggy has quit [(Ping timeout: 240 seconds)]
rigelk has quit [(Ping timeout: 240 seconds)]
<Infinisil> Hmm.. I'm trying to install nixos onto another disk with grub enabled, but I'm getting an error
<Infinisil> Failed to get blkid info for /boot on /dev/sde1
<Infinisil> sde1 is formatted as a vfat 200MB efi system partition
nix-gsc-io`bot has joined #nixos
<Infinisil> And the rest is sde2 which is used by a zfs pool
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6b042fb329 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
mudri has quit [(Ping timeout: 240 seconds)]
<Infinisil> I've tried using a different disk, but I'm getting the same error
<Infinisil> Here is my config and script to generate this: https://gist.github.com/f43ae5c17ba2b21e52c39bdd205c1bbd
<hodapp> blurgh. now it shows the device, and I can see the levels jump when I make noise near the microphone, but the recordings have no sound in them
<hodapp> and I added Mic/Aux as the source
<Infinisil> It fails at running the command blkid -o export /dev/sde1
<hodapp> oh, nevermind, mplayer just can't play audio anymore now that I started pulseaudio
<hodapp> ugggggh
<hodapp> what other movie players are out there that aren't going to install 1,375 dependencies and try to manage all my media?
<lassulus> mpv?
pietranera has quit [(Quit: Leaving.)]
<hodapp> grrrr, still no audio after installing PulseAudio
noam__ has quit [(Read error: Connection reset by peer)]
noam has joined #nixos
<lassulus> maybe the device is locked? is there a real device in pavucontrol?
Jackneill has joined #nixos
<hodapp> not sure how I'd tell
newhoggy has joined #nixos
<lassulus> under output devices there either is something like dummy-device (which means the real device is somehow locked) or something like 'built-in audio analog stereo'
<lassulus> also, the device could be muted
newhoggy has quit [(Ping timeout: 240 seconds)]
<hodapp> gah, how do I even restart pulseaudio? I don't see it running via systemd or anything
koserge has quit [(Ping timeout: 240 seconds)]
<gchristensen> its a user daemon usually
<gchristensen> user service*
<Infinisil> hodapp: systemctl --user
<hodapp> oh, there we go, cmus had locked the audio device
newhoggy has joined #nixos
rigelk has joined #nixos
rigelk has quit [(Changing host)]
rigelk has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gnidorah opened pull request #27720: qdirstat: init at 1.4 (master...qdirstat) https://git.io/v7Cst
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #27721: nnn: 1.2 -> 1.3 (master...update-nnn) https://git.io/v7Css
NixOS_GitHub has left #nixos []
newhoggy has quit [(Ping timeout: 240 seconds)]
fikse has joined #nixos
luntain has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
mudri has joined #nixos
cement has quit [(Ping timeout: 260 seconds)]
cement has joined #nixos
newhoggy has joined #nixos
WilliButz has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/e50639cb5c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 19 new commits to staging: https://git.io/v7Cnt
<NixOS_GitHub> nixpkgs/staging b5f436c adisbladis: pythonPackages.zconfig: Add missing build-time only dependencies
<NixOS_GitHub> nixpkgs/staging 1d6aa65 adisbladis: pythonPackages.btrees: Add missing build-time only dependencies
<NixOS_GitHub> nixpkgs/staging 2e34c6d adisbladis: pythonPackages.zc_lockfile: 1.0.2 -> 1.2.1
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27106: faker: 0.0.4 -> 0.7.17 (and related changes) (master...faker) https://git.io/vQzOz
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #27556: Use more Vulnix dependencies from pythonPackages (master...pythonpackages_vulnix) https://git.io/v7kqT
NixOS_GitHub has left #nixos []
sdf45fgf has joined #nixos
<sdf45fgf> hi all
<sdf45fgf> i've just installed nixos, kde5... i can't change desktop setting because it doesn't work? :(
<sdf45fgf> everything else works except this plasma bug...
newhoggy has quit [(Ping timeout: 276 seconds)]
jonte has joined #nixos
joehh has quit [(Ping timeout: 240 seconds)]
cocreature has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/v7Cc8
<NixOS_GitHub> nixpkgs/staging 55357de Frederik Rietdijk: Merge remote-tracking branch 'upstream/master' into HEAD
NixOS_GitHub has left #nixos []
<srhb> sdf45fgf: Can you elaborate? You're not giving kde people very much to go on. :)
newhoggy has joined #nixos
* srhb personally knows nothing about it
newhoggy has quit [(Ping timeout: 240 seconds)]
Ivanych has quit [(Ping timeout: 240 seconds)]
<sdf45fgf> srhb, well, i've just installed nixos with kde, i log in to kde desktop, then i click right button of the mouse on the desktop
<sdf45fgf> srhb, then "Configure desktop"
<sdf45fgf> srhb, and an empty window comes up
<sdf45fgf> :(
<sdf45fgf> it's just a sad bug, i think someone must have already seen it...
<ToxicFrog> sdf45fgf: I saw that but going through System Settings worked
jgertm has joined #nixos
<sdf45fgf> ToxicFrog, hehe how to change desktop throught system settings? i tried that but i couldn't find a way :D
<pie__> how do i get the thing to pass nix-shell -p from a thing in nix-repl?
<sdf45fgf> a related question is, how to get up and running with nixos in the quickest way possible? does someone knows a wonderful tutorial that explains how to use it quickly?
<Infinisil> okay, the error i was getting before was just a stupid mistake by me.. I'm having another problem now though
tokudan has joined #nixos
<srhb> pie__: The thing is the -p argument, without nixpkgs.
<pie__> huh.
<srhb> pie__: (The thing is also called the attribute)
<pie__> then why isnt it working. *scratches head*
<srhb> pie__: Please explain what you're trying :)
<pie__> $ nix-shell -I unstable=/nix/var/nix/profiles/per-user/paprika/channels/unstable -p antlr4_7
<pie__> error: undefined variable ‘antlr4_7’ at (string):1:66
newhoggy has joined #nixos
<pie__> oh for f***s sake xD nix-shell only operates on what it thinks is nixpkgs >_>
<srhb> pie__: Well, -p does, yes.
<pie__> so that should be nixpkgs=
<srhb> pie__: Right.
jonte has quit [(Ping timeout: 260 seconds)]
<pie__> for some reason this results in a "broken" environment https://gist.github.com/22459/6e58789abc68b88edfc209684a208ba7
<pie__> the antlr executable doesnt show up in PATH
<pie__> i mean i cant tab complete it
<Mic92> dtzWill: lol, I just made a typo on google and then I found this project: https://github.com/SRI-CSL/gllvm
sdf45fgf has quit [(Quit: Leaving)]
<pie__> minimal broken example: with import <unstable> {}; stdenv.mkDerivation { name = "ccenv-antl"; paths = [ antlr4_7 ];}
<joepie91> I have found a nonzero amount of interesting projects through typos
newhoggy has quit [(Ping timeout: 240 seconds)]
<FRidh> hmm, the haskell-updates jobset has 8 times more shares than the staging jobset. That doesn't seem right.
newhoggy has joined #nixos
<Infinisil> Mic92: "written in go" ugh, I'm already sick of it
<pie__> srhb, any ideas?
newhoggy has quit [(Ping timeout: 260 seconds)]
<pie__> /nix/store/pmaymghqfdyabd3arnz4b6x9d1qnq4dw-antlr-4.7/bin/antlr does exist though
<srhb> pie__: Maybe buildEnv?
<pie__> srhb, well actually it seems to mess up shell tab completion somehow, im getting directories listed as well
<pie__> whereas normally it only tab completes executbales
<srhb> Uh..
<srhb> Isn't this just because you're in the nix-shell instead of your regular shell?
taktoa has joined #nixos
<taktoa> poor hydra-san https://i.imgur.com/obbix4J.png
<pie__> ok nvm it looks like it does that in my normal shell too 0.o
<pie__> hail hydra
<taktoa> lol
newhoggy has joined #nixos
<pie__> no its correct in my normal shell
<pie__> (i was getting the other new shell in the broken env so thats why it was doing it there too)
<taktoa> I'm guessing that crazy number of queued builds is because GHC 8.2.1 just released
<pie__> lol oh god
Judson has joined #nixos
<pie__> ghc is one third of nixpkgs?
<srhb> pie__: Hackage is.
<pie__> wow
<srhb> pie__: Why are you using paths instead of buildInputs, by the way?
<pie__> srhb, because i have no idea what im doing
<srhb> pie__: Well, me neither, I just pretend to be knowledgable because that seemed to work. :-P
<Judson> I'm trying to get some progress on getting a PR merged, and not sure at this point how to proceed.
* srhb is a cargo culting expert
<Mic92> Infinisil: what if I don't care about your opinion?
<Judson> Last work was done 3 weeks ago, and review seems to have stalled.
<pie__> srhb, something something nix tutorials....
<pie__> i mean how does anyone in here know what theyre doin
<srhb> Judson: I think any such discussion is more or less tied to the specifics of the PR.
<pie__> is code churn just too high for noob friendlier documentation?
<pie__> or am i just studying wrong (or not at all)?XD
<Infinisil> Mic92: Haha, sorry if you like go, I'm just not a fan of it
<srhb> pie__: Writing documentation is boring -- probably the main problem. :)
<pie__> ok but how do the people that know what theyre doing, know what theyre doing
<srhb> pie__: Trian and error and memory.
<srhb> Trial*
<pie__> yeah buildinputs seems to fix
<Judson> srhb, atm the problem is that discussion kind of ended. No followup on the PR itself, no replies on ML...
<pie__> alternatively, they dont xD
<srhb> Judson: I don't have any generic advice that are agnostic to the PR except calling for attention here and elsewhere.
<Judson> Okay, allow me to call attention to https://github.com/NixOS/nixpkgs/pull/25980
newhoggy has quit [(Ping timeout: 240 seconds)]
<srhb> Judson: Looks like you might benefit from asking cstrahan if he'll have time to work it through with you in the near future?
<babic> LnL: are you LnL7 on github?
<LnL> yep
<babic> Awesome. I'm having trouble with your golang project example, I'm getting package github.com/lnl7/foo: cannot find package "github.com/lnl7/foo" when running nix-build default.nix
<Judson> srhb, the problem is that what cstrahan is asking for is mostly a direct contradiction from the direction I was taking from zimbatm
<LnL> babic: that repo doesn't exist, where did you find that?
<srhb> Judson: Guess you need to put those two in the same discussion then. :)
newhoggy has joined #nixos
<LnL> oh right, that
<Judson> srhb, I think I could get a hold of zimbatm, but not sure about cstrahan
<srhb> Judson: And you might also want to explain why those two approaches are in contradiction.
<srhb> Judson: I mean, it's up to you, but I think it's obvious that you'll have to either mediate yourself or get someone else to do it, to resolve everything between everyone. :)
<srhb> May the rubyist contributor win. ;-)
<Judson> Is that how the governance works? I'm ultimately unclear on how the decision to merge gets made.
<Judson> Or rubyest even ;)
<srhb> Ultimately I don't think there's a clear policy. You convince people to become in agreement and there's no need for governance.
<srhb> Rubyest, yes :-)
newhoggy has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 4 new commits to release-17.03: https://git.io/v7CRP
<NixOS_GitHub> nixpkgs/release-17.03 0d61f5f Eelco Dolstra: Revert "diffoscope: wrap executable and include tools in PATH"...
<NixOS_GitHub> nixpkgs/release-17.03 5db121d Eelco Dolstra: diffoscope: Move all required tools into pythonPath...
<NixOS_GitHub> nixpkgs/release-17.03 4f92d20 Eelco Dolstra: nix: 1.11.11 -> 1.11.12...
NixOS_GitHub has left #nixos []
<LnL> babic: hmm weird, it failed the first time but not the second
<Judson> I'm good with a mediation, but I don't know how to get ahold of the interested parties.
<Judson> As far as I can tell, cstrahan was a drive by - hasn't been back in a couple weeks.
<srhb> Judson: Ping everyone you think is relevant in the PR for now and explain 1) why you can't cater to both opinions 2) why you think x is the better choice 3) that parties voicing their opinion need to make themselves available in order for the PR to progress 4) that if they can't, you'll need recommendations for others who can assist in bringing it to fruition etc.
<srhb> I mean, it's all just communication. Not easy, but 17 days of silence is unnecessary. :)
<babic> LnL: I tried it and it passed. I deleted the dir and unpacked again then tried multiple times again and now it's failing every time. Very weird
<LnL> yeah that's not supposed to happen, let me see why
newhoggy has joined #nixos
<cstrahan> Oh, hey Judson.
<Judson> Hey :)
<cstrahan> Sorry. I've been working 14+ hour days for a while now, and I'm also chronically ill, so it's difficult to be as engaged as I'd like, nor as consistently
<Judson> I hear you. My end of this has mostly been the few hours on weekends I can scrape together.
newhoggy has quit [(Ping timeout: 240 seconds)]
<cstrahan> I hope I didn't put you off on that PR. Feel free be beat me over the head on IRC or GH if it feels like you're being ignored. I'm sort of in "put out the fires in the towns where the townspeople are screaming the loudest", if that metaphor makes any sense.
<Judson> It does indeed.
<Judson> And I sympathize: I tend to also feel like "hey, reach out!" and at the same time I hate to pester.
<srhb> Is anyone here using Ceph and feel like upversioning it and making NixOS modules for it with me?
<srhb> I'd like to bounce ideas off someone especially.
digitus has quit [(Quit: digitus)]
jgertm has quit [(Ping timeout: 255 seconds)]
newhoggy has joined #nixos
<srhb> Currently I have a functioning build of the Luminous RC where I've ripped out basically every option and made the simplest possible build. My rationale is that it will probably bitrot less, and whoever takes over (with me) can help add options and document the reason for them as we add them, hopefully preventing a ball of broken from happening again.
<srhb> (And by basically I actually mean *every* option)
<hodapp> can someone try installing pitivi and see if it runs for them?
<srhb> hodapp: Sure, from where?
<hodapp> not working for me on 17.03
<hodapp> "Could not import 'gi'. Make sure you have pygobject available."
Ivanych has joined #nixos
<Judson> So, cstrahan, did you see my reply to your comment?
<hodapp> srhb: it's just in nixpkgs
<srhb> hodapp: I meant which channel, but I'll try 17.03 and nixos-unstable then :)
<cstrahan> Judson: I have a meeting in 20, will probably be about an hour long. Can we chat when I get back? (You quite possibly also left some feedback on the PR that I just lost track of, so I'll also take a look there)
<hodapp> srhb: oh, 17.03
<srhb> hodapp: broken in both17.03 and nixos-unstable
erictapen has quit [(Ping timeout: 255 seconds)]
<hodapp> damn
<cstrahan> Oh, lol - IRC comms race condition. Nope, haven't seen it - will look in about an hour
newhoggy_ has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<Judson> cstrahan, cool cool. Worst case I'll be at lunch until ~90 minutes
erictapen has joined #nixos
babic has quit [(Ping timeout: 260 seconds)]
newhoggy_ has quit [(Ping timeout: 240 seconds)]
<hodapp> srhb: ah, dang
<hodapp> wellllll... guess I need another video editor then :|
newhoggy has joined #nixos
<et4te> how does one raise the output limit size in Hydra?
<Infinisil> hodapp: The one time i needed to edit a video on nixos i used shotcut and it seemed to work
magnicida has joined #nixos
rtjure has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<LnL> babic: in case you read the logs, I fixed the example :)
takle has quit [(Remote host closed the connection)]
<hodapp> Infinisil: I'll try shotcut if openshot doesn't work
<hodapp> editing video is just something I do basically never
<Infinisil> Same
takle has joined #nixos
<Infinisil> I wish there was a good cli lol
newhoggy has joined #nixos
<Infinisil> Does anybody know how I can update the nixos-install script from my nixpkgs tree?
<Infinisil> I changed nixos/modules/system/boot/loader/grub/install-grub.pl and did a rebuild with -I path/to/nixpkgs
Ivanych has quit [(Ping timeout: 276 seconds)]
<Infinisil> but it aint replacing nixos-install, which has still the same store path
<Infinisil> Oh wait
<Infinisil> ah no, doesn't work
magnicida has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
ison111 has quit [(Ping timeout: 255 seconds)]
dbmikus has joined #nixos
dbmikus has quit [(Client Quit)]
dbmikus has joined #nixos
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v7Cat
<NixOS_GitHub> nixpkgs/master 5b99d53 Tuomas Tynkkynen: kernel: Build Tegra X1 USB support as a module
NixOS_GitHub has left #nixos []
<hodapp> meh, I feel like CLI video editing is a thing that just wouldn't work well for me
<hodapp> and I use the CLI for nearly everything
newhoggy has quit [(Ping timeout: 260 seconds)]
rtjure has joined #nixos
rtjure has quit [(Excess Flood)]
rtjure has joined #nixos
rtjure has quit [(Excess Flood)]
rtjure has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/v7CVv
<NixOS_GitHub> nixpkgs/master d460fd0 Michael Weiss: nodePackages.dhcp: init at 0.2.9
NixOS_GitHub has left #nixos []
rtjure has quit [(Excess Flood)]
rtjure has joined #nixos
MP2E has joined #nixos
rtjure has quit [(Excess Flood)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #27725: freetype: 2.7.1 -> 2.8 (master...freetype-2.8) https://git.io/v7CVu
NixOS_GitHub has left #nixos []
rtjure has joined #nixos
<Infinisil> Do I really need to create 2 partitions for booting ...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #26814: freetype: add option to disable subpixel hinting (master...freetype-option-to-disable-subpixel-rendering) https://git.io/vQYjU
NixOS_GitHub has left #nixos []
<Dezgeg> not if you can do without EFI and fancy stuff like crypto/raid
wrl has quit [(Read error: Connection reset by peer)]
revtintin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] srhb opened pull request #27726: frei0r: 1.4 -> 1.6.1 (master...freior-1.6.1) https://git.io/v7CVQ
NixOS_GitHub has left #nixos []
rtjure has quit [(Excess Flood)]
takle has quit [(Remote host closed the connection)]
wrl has joined #nixos
<Infinisil> bios wants a partition and efi wants one. I don't really want bios actually, but the installer script uses it anyways. Making a GPT partition legacy bios bootable isn't detected by the installer script. And since i don't know how to modify the installer script I'm pretty much powerless
<dtzWill> Mic92: haha yeah they just recently made a go version, haven't played with it yet
<srhb> Infinisil: Sorry, why do you need two?
lewo has quit [(Ping timeout: 276 seconds)]
<sphalerite> Infinisil: is having another partition really that bad?
<dtzWill> Mic92: WLLVM, it's predecessor is already in our tree
<Infinisil> srhb: One for efi, and another one for bios
rtjure has joined #nixos
<Infinisil> sphalerite: It's not actually needed, one should work
<Infinisil> for both
rtjure_ has joined #nixos
<srhb> Infinisil: And you ened the BIOS one because of some bug?
<srhb> need*
cement has quit [(Ping timeout: 255 seconds)]
* srhb only has the one
<Infinisil> srhb: Nah, because it installs it anyways and there's no option to turn it off
newhoggy has joined #nixos
<Infinisil> Well i can't turn it off at least
<dtzWill> really glad they did it, it was on my TODO to rewrite in a native lang that could be built w/o deps, so... \o/
<dtzWill> lol @ finding it with a typo though :D
<srhb> Infinisil: The installer does partitioning these days? O_o
rtjure has quit [(Excess Flood)]
<srhb> Brave new world.
rtjure has joined #nixos
<Infinisil> srhb: No of course
<Infinisil> it just doesn't work if it's not correct
rtjure_ has quit [(Excess Flood)]
rtjure has quit [(K-Lined)]
<Dezgeg> what is specifically "doesn't work"?
riclima has joined #nixos
<Infinisil> warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
riclima has left #nixos []
<Dezgeg> so you don't have EFI enabled
<Infinisil> Even though it does (the ESP with the LegacyBIOSBootable bit set)
<Dezgeg> I mean the grub efi option
<Infinisil> Dezgeg: I do
<Infinisil> I went through all the scripts, it installs BIOS first, then EFI
<Infinisil> setting enableEFI stuff just adds the second part
<Dezgeg> um, no, where is it doing that?
newhoggy has quit [(Ping timeout: 240 seconds)]
<srhb> I suppose grub might be doing something different from systemd-boot, or whatever its name is these days.
<Infinisil> Dezgeg: nixos/modules/system/boot/loader/grub/install-grub.pl line 556 is the bios installation, before efi, which is a few lines below
<srhb> I wasn't aware though
<Infinisil> And I can't find a way to have efiTarget set to "only" which would do an EFI only install
cement has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth reopened pull request #26814: freetype: add option to disable subpixel hinting (master...freetype-option-to-disable-subpixel-rendering) https://git.io/vQYjU
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth closed pull request #26814: freetype: add option to disable subpixel hinting (master...freetype-option-to-disable-subpixel-rendering) https://git.io/vQYjU
NixOS_GitHub has left #nixos []
<Dezgeg> boot.loader.grub.device = "nodev" I think
hellrazo1 has quit [(Quit: WeeChat 1.9)]
nix-gsc-io`bot has joined #nixos
<Infinisil> Dezgeg: Oh is that needed?
hellrazor has joined #nixos
<Infinisil> I'll try
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/38ca6fae1b (from 69 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<Dezgeg> but wow, that's crazy if it can actually do both at the same time..
lewo has joined #nixos
hellrazor has quit [(Client Quit)]
ison111 has joined #nixos
newhoggy has joined #nixos
<Infinisil> Dezgeg: That worked!
<Infinisil> BIOS boot takes up almost no space so i think that's why it's done this way
<Infinisil> Dezgeg: I always looked over this `if cfg.devices == ["nodev"]` part, don't know why
<Infinisil> I'm gonna reboot into this to see if it works
<Infinisil> bbl
newhoggy has quit [(Ping timeout: 240 seconds)]
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
oida_ has joined #nixos
MP2E has quit [(Read error: Connection reset by peer)]
Infinisil has quit [(Quit: leaving)]
oida has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
andymandias has quit [(Ping timeout: 240 seconds)]
MP2E has joined #nixos
newhoggy has joined #nixos
andymandias has joined #nixos
ottidmes has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
Infinisil has joined #nixos
<qknight> can i use python+pip in a nix-shell shebang?
newhoggy has joined #nixos
<qknight> https://lastlog.de/blog/posts/data-mining.html#collect_data-environment.nix <- like this but with two pip modules
<LnL> nix-shell -i python -p python -p pythonPackages.pyyaml works
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/v7C6e
<NixOS_GitHub> nixpkgs/master 168fbde Joel Thompson: exhibitor: Fix bug with automatic instance management...
<NixOS_GitHub> nixpkgs/master 8d8eae1 Daniel Peebles: Merge pull request #27700 from joelthompson/exhibitor...
NixOS_GitHub has left #nixos []
<qknight> LnL: but it is not yet in python packages IIRC
<qknight> xmlrpclib-to is what i need
<LnL> then you would either have to use an overlay or -I nixpkgs=...
newhoggy has quit [(Ping timeout: 240 seconds)]
<nh2> taktoa: Yea right? I always found the entire feature-detection-on-every-compile nonsense. Why not just ask the system you've built so far what it supports?
<taktoa> yeah, it doesn't make much sense lol
Ivanych has joined #nixos
lambdael has quit [(Quit: WeeChat 1.7.1)]
<clever> nh2: i think i saw an issue on nixpkgs about overriding the autoconf cache via stdenv
<clever> nh2: so it would skip most of it
erictapen has quit [(Ping timeout: 240 seconds)]
<nh2> clever: interesting
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
newhoggy has joined #nixos
koserge has joined #nixos
takle has joined #nixos
<Infinisil> TIL about wipefs, it's very useful
<clever> Infinisil: that might be of use in my kexec stuff, i'm currently just dd'ing over the first 10k blocks: https://github.com/cleverca22/nix-tests/blob/master/kexec/justdoit.nix#L39
<Infinisil> clever: Indeed, you just need a wipefs -a
newhoggy has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
<Infinisil> I previously ran into errors because zfs writes a lot to there
<Infinisil> bbl
<clever> i also ran into an lvm issue once on ubuntu
<clever> pre-existing LV's had been activated by nixos, and refused to unlock the disk
<Infinisil> Well actually i'll stay here
<clever> line 37 solved that
<Infinisil> clever: Ah nice
<Infinisil> What's the use of lvm?
phinxy has quit [(Read error: Connection reset by peer)]
<Infinisil> Eh ill just read up on it
<clever> mostly, it does the same thing as zfs and zvol's, so i dont use it much
<Infinisil> Ah, so I won't use it, thx
<clever> but if i want swap on the same block device as zfs, i use lvm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #27727: flex: fix 404 (master...patch-5) https://git.io/v7CPR
NixOS_GitHub has left #nixos []
<clever> and thats only when i want to mix zfs and swap on the same luks device
takle has joined #nixos
<clever> otherwise, i can just use partitions
<Infinisil> clever: Isn't that what zvols also do?
<clever> swap on a zvol has reportedly had major problems for years
<clever> zfs needs to allocate a lot of memory
ng0 has quit [(Quit: Alexa, when is the end of world?)]
<clever> and allocating memory during swap is bad
<Infinisil> And lvm doesn't but has worse performance I assume?
<clever> lvm is much simpler
<clever> lvm just maps ranges of blocks to ranges of blocks, with a static mapping
<Infinisil> Ah, so you don't run lvm under zfs
<clever> and it can allow fragmenting, striping, or jbod
<clever> on my laptop, i use LVM to split 1 luks volume into 2 block devices
newhoggy has joined #nixos
<clever> then zfs eats one, and swap eats the other
<Infinisil> I think I should do the same actually
<Infinisil> Hmm, is it really worth encrypting swap though
<clever> but if your not using luks, zfs and swap just get normal partitions directly on the drive
<clever> in theory, passwords you type go into ram, and potentialy go into swap
<clever> then persist, in plaintext, for ages
simukis has quit [(Remote host closed the connection)]
earldouglas has joined #nixos
<clever> there is an option to use a random encryption key on the swap, and to not save the key
<Infinisil> Oh right
<clever> so at shutdown, its imposible to recover the swap
<clever> but i think that breaks hibernation
<clever> so i opted to encrypt my zfs and swap with a single luks device, so one passphrase unlocks everything
<Infinisil> clever: Do you have a setup script ready for that by any chance?
<clever> not for luks + lvm + zfs
<clever> but it was fairly simple, and i just helped somebody thru it lastnight
<Infinisil> clever: Alright, I think I'll manage
<clever> just luksFormat a device, open it, then create lvm nodes and zfs as normal
<Infinisil> Is lvm needed?
<clever> only if you want swap on the same luks device
<Infinisil> Ah
<clever> you could potentialy do randomly encrypted swap, or swap on a 2nd luks
<qknight> LnL: i got it working, it is quite cool
<clever> or just no swap
<Infinisil> clever: When I'm running a VM I'm somitems running out of RAM, so I think I should definitely have swap
<qknight> LnL: thanks!
<clever> Infinisil: when you run cryptsetup open, you give it a name for the device, and it will appear at /dev/mapper/${name}
newhoggy has quit [(Ping timeout: 268 seconds)]
<clever> Infinisil: then you can run pvcreate and vgcreate on that, followed by 2 lvcreate's, which makes a /dev/${vgname}/{swap,root} pair of nodes
<Infinisil> clever: Alright, I'll ask you if i get stuck, but I think I should manage
<clever> Infinisil: then make a zfs pool on /dev/${vgname}/root and swap on /dev/${vgname}/swap
<c74d> "2017-07-28 20:22:18 <clever> but i think that breaks hibernation" — Does ZFS itself support hibernation nowadays?
<clever> c74d: good question, i havent gotten it to work yet on that machine
<c74d> I disabled hibernation long ago to be safe and have rarely checked back
<clever> Infinisil: many years ago, i used LVM to join 4 pata drives up into a "giant" 500gig array, with ext3 on top
<c74d> I think the relevant issue ticket is <https://github.com/zfsonlinux/zfs/issues/260>
<clever> Infinisil: and because i was constantly resizing things, the LV inside it was in over 200 fragments
<clever> c74d: ah, so it will probably break
<Infinisil> clever: Sounds like fun
<clever> Infinisil: one day, one of the hdd's in the array failed, and i had no redundancy setup
<clever> Infinisil: lost the main 500gig volume, and the /var/db/dpkg directory
<clever> the system still "worked", but apt was hosed beyond repair
<Infinisil> Currently I fear having something like this happen to me. While I backed up the most important stuff, there's still lots of things without redundancy
<clever> my desktop is on an SSD mirror
<clever> and my NAS is a raidz1 over 4 drives i think
<clever> maybe 3
<Infinisil> Nice
<clever> the laptop is the only one without reduncancy, but i could always zfs send it to the NAS
<Infinisil> While I could make some raid config with 4 different disks cobbled together, I might just buy a big array instead
fikse has quit [(Ping timeout: 240 seconds)]
<clever> the raidz1 stuff in zfs can only use the size of the smallest disk in the array
<clever> so its best to match them all in size
<Infinisil> clever: Yeah
newhoggy has joined #nixos
<clever> this guide even includes using an mdadm raid for /boot
<Infinisil> clever: But this makes only sense when you have all of those disks connected on boot, right?
stanibanani has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 246 seconds)]
<clever> i think that one uses a mirror
<clever> so grub can survive even with a loss of all but 1
<clever> so a loss of /boot due to other disks dying will never happen
<clever> and the weakest link in the chain will always be your choice of zfs redundancy
FRidh has quit [(Quit: Konversation terminated!)]
fikse has joined #nixos
revtintin has quit [(Ping timeout: 260 seconds)]
tokudan has quit [(Quit: Leaving)]
newhoggy has joined #nixos
<avn> clever: is another options -- using grub mirror
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] konimex opened pull request #27728: ostree: 2016.11 -> 2017.9 (master...ostree) https://git.io/v7CyY
NixOS_GitHub has left #nixos []
<Infinisil> avn: grub mirror?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v7Cyo
<NixOS_GitHub> nixpkgs/master 21d23fa Johannes Frankenau: nnn: 1.2 -> 1.3
NixOS_GitHub has left #nixos []
cpennington has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<schoppenhauer> I did nix-shell -p "emacsWithPackages (pkgs: [emacsPackages.tuaregMode])" … how can I load tuareg-mode in this shell?
<Infinisil> schoppenhauer: Don't you have to do that in emacs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v7CyN
<NixOS_GitHub> nixpkgs/master a5e1860 Sarah Brofeldt: frei0r: 1.4 -> 1.6.1
NixOS_GitHub has left #nixos []
<schoppenhauer> Infinisil: yes, but how?
<schoppenhauer> Infinisil: M-x tuareg does not work
newhoggy has joined #nixos
<Infinisil> schoppenhauer: No idea
<Infinisil> Maybe ask #emacs, there's generally a lot of people there
<schoppenhauer> Infinisil: this is a nixos-problem.
<schoppenhauer> so I ask here.
fikse has quit [(Ping timeout: 246 seconds)]
<Infinisil> schoppenhauer: Ah
<schoppenhauer> somehow, it gets more and more complicated to get things work with nixos.
<Infinisil> schoppenhauer: Wait, how do you run emacs in that shell?
<schoppenhauer> i can remember two years ago, I would have just to start the mentioned shell command, and get an emacs with tuareg-mode
<schoppenhauer> Infinisil: by the emacs-command?
<Infinisil> Command not available
<Infinisil> Oh no
<Infinisil> sorry
<Infinisil> I did `which emacs`, but of course which wasn't there
<clever> Infinisil: there is also "type emacs"
<clever> type is part of bash, so its more likely to work
<schoppenhauer> emacs is /nix/store/jhc4f4x63bdb3c690rnzqp3a2r3k6nzl-emacs-with-packages-25.1/bin/emacs
<schoppenhauer> however … in /nix/store/jhc4f4x63bdb3c690rnzqp3a2r3k6nzl-emacs-with-packages-25.1/bin/emacs, I can nowhere find tuareg
<clever> that should just be a bash script, what is inside it?
<schoppenhauer> clever: bash script?
<clever> yeah
newhoggy has quit [(Ping timeout: 260 seconds)]
fikse has joined #nixos
<schoppenhauer> clever: https://pastebin.com/0jVjZ6cr
silver_hook has quit [(Ping timeout: 240 seconds)]
<clever> ls /nix/store/mk20xpab15j3if0srq4xn3r296gz2k4b-emacs-packages-deps/share/emacs/site-lisp
<avn> Infinisil: in nixos you can install more than one grub for your system
<clever> what about in this directory?
<clever> avn: boot.loader.grub.devices takes an array of drives to put stage 1.5 into, but that still relies on the /boot partition surviving
<schoppenhauer> clever: there is tuareg.el in it
<clever> avn: and because of how nixos works, all of the /boot variants must update together, or bad things happen
<avn> Infinisil: loader.grub.mirroredBoot = [ { devices = [ "nodev" ]; path = "/boot/sda"; efiSysMountPoint = "/boot/sda/efi"; } ]
<clever> schoppenhauer: then that emacs should be working
<avn> and my /boot is zfs dataset ;)
<clever> ive heard that grub has trouble if there are too many directories in the path of files on zfs
newhoggy has joined #nixos
<clever> so grub cant navigate the mess that is /nix/store/
<schoppenhauer> clever: well … it doesn't
<clever> but if /boot is its own dataset, nix will copy things over, and it might work
<schoppenhauer> clever: as I said, I cannot load tuareg.
<clever> schoppenhauer: what if you run strace over emacs as you try to load it?
<schoppenhauer> clever: "try to load"?
<clever> tuareg
<Infinisil> avn: Oh that's nice, I might try that too
<dash> schoppenhauer: you will have to do M-x load-library
<dash> schoppenhauer: the nix expr just makes it available, it doesn't write emacs config to actually load it
newhoggy has quit [(Ping timeout: 240 seconds)]
<schoppenhauer> dash: ok. thx
<Infinisil> avn: clever: Does /boot (without the efi part) within zfs within an lvm group within luks within a GPT partition work?
<clever> Infinisil: heh, i think thats asking a bit too much of grub
<schoppenhauer> dash: that worked
<clever> Infinisil: while it does have luks, lvm, and zfs support, i'm not sure if grub is capable of using all 3 at once from stage 1.5
<schoppenhauer> dash: do you know a way to make a .emacs work for multiple shells? currently, I always start by giving other init files instead
<Infinisil> clever: Hmm, fair enough
<clever> Infinisil: and also, encrypting /boot means you have to enter 2 passwords to even boot the machine, and a 3rd to login
<Infinisil> clever: Right, encryption isn't needed for boot anyways
<dash> schoppenhauer: not sure what you mean by "work for multiple shells"
<clever> stage 1.5 has to ask for a password to even find /boot, then linux has to ask for a password to open /
<dash> schoppenhauer: why would you start emacs more than once
<avn> Infinisil: it worked with lvm over gpt, and works with plain zfs over gpt
newhoggy has joined #nixos
<Infinisil> I could however make an unencrypted zfs pool (on a different GPT partition) for /boot only, so I can have all the benefits of it
<clever> Infinisil: ive also heard that zfs doesnt correctly handle journal playback of any filesystem
<clever> grub*
<clever> i just go for a simple ext4 for /boot
freusque has quit [(Quit: WeeChat 1.9)]
<Infinisil> A bit ago i thought about using vfat for all of /boot because I didn't know that only /boot/efi needs vfat
<Infinisil> Eh whatever, I'll use a separate zfs pool for /boot
<Infinisil> Or try at least
newhoggy has quit [(Ping timeout: 260 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cb1742e76d (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
endformationage has quit [(Quit: WeeChat 1.7)]
newhoggy has joined #nixos
<srhb> Infinisil: Yes, all of my /boot is VFAT
<srhb> It does feel dirty, but I've decided that I'm probably being irrational and tend to ignore it :-P
<Infinisil> srhb: I mean it doesn't matter anyways after booting
MP2E has quit [(Read error: Connection reset by peer)]
<Infinisil> I should probably optimize my zfs options for /boot then, surely there's some things i can enable/disable
MP2E has joined #nixos
<Infinisil> atime=off
newhoggy has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
<tilpner> I need to remove an element from a set before it's evaluated (that would lead to infinite recursion). removeAttrs doesn't seem to do that, is there another way?
<tilpner> (Or maybe I'm using it wrong)
Ivanych has quit [(Ping timeout: 260 seconds)]
<Infinisil> tilpner: I don't know how that could work, because infinite recursion doesn't occur without the attribute being accessed: if you remove it you'll get a 'attribute doesn't exist' error
<Infinisil> Because everything is lazy
newhoggy has quit [(Ping timeout: 260 seconds)]
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
mkoenig_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
mkoenig has joined #nixos
mkoenig has quit [(Client Quit)]
mkoenig has joined #nixos
mkoenig has quit [(Client Quit)]
mkoenig has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<sphalerite> ^
justelex has quit [(Ping timeout: 240 seconds)]
hiratara has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/v7CFO
<NixOS_GitHub> nixpkgs/openssl-1.1 8eff28c Robin Gloster: kdelibs4: add patch to build with openssl 1.1
NixOS_GitHub has left #nixos []
hiratara has joined #nixos
magnicida has joined #nixos
<cstrahan> Judson: Hey, sorry! Got carried away in work things. Looking at the PR again...
dibblego[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/v7CFK
<NixOS_GitHub> nixpkgs/master 0273233 Tim Steinbach: ammonite: 1.0.0 -> 1.0.1
<NixOS_GitHub> nixpkgs/master a918521 Tim Steinbach: linux-copperhead: 4.12.3.a -> 4.12.4.a
NixOS_GitHub has left #nixos []
justelex has joined #nixos
newhoggy has quit [(Ping timeout: 268 seconds)]
<tilpner> Infinisil - Yes, I made the wrong conclusion, it's not being evaluated by removeAttrs, but later. I'm trying to remove an item from "paths" of a buildEnv. Any idea? I can't use .override on the result (but I'm not sure how override is implemented, so that might be expected)
<cstrahan> zimbatm: Hey, do you happen to be around?
dhess` has quit [(Ping timeout: 246 seconds)]
slack1256 has joined #nixos
<Infinisil> tilpner: Does overrideAttrs works?
<Infinisil> work*
<tilpner> Infinisil - buildEnv doesn't directly produce a derivation, it goes through runCommand, so overrideAttrs is useless (might also explain why override isn't there?)
newhoggy has joined #nixos
Judson has quit [(Ping timeout: 258 seconds)]
freusque has joined #nixos
thmzlt has joined #nixos
<Infinisil> tilpner: No idea then, why can't you modify the buildEnv paths directly?
newhoggy has quit [(Ping timeout: 260 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/38ca6fae1b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
thmzlt has left #nixos []
<tilpner> Infinisil - I put "desktopEnv" into my systemPackages. desktopEnv includes android-studio, but I want to android-studio to have access to everything in desktopEnv. I could break up this cyclic dependency, but I felt like it might be possible to make it work like this
<tilpner> Context: I have multiple environments (via buildEnv) in my overlays, one of which includes Android Studio. AS uses a FHS-Env to get Android tools running, but that includes just the packages it needs for itself, not everything I need to run my project
<tilpner> Now I could manually modify the AS expression to add tools I want, or I could try to have AS depend on my whole system (which is kind of ugly, but I don't know a better way) so that I have all my tools available (and don't have to change the AS expression in the future either)
earldouglas has quit [(Quit: leaving)]
<Infinisil> tilpner: Yeah I don't think that's gonna work
<Infinisil> That's clearly infinite recursion
<Infinisil> At least i think that's not gonna work, and i don't know how it could
<tilpner> But it doesn't have to be infinite recursion. If I could remove AS from desktopEnv, it would break the cycle. AS doesn't need to have itself available
newhoggy has joined #nixos
<tilpner> If you have another idea, I'll happily try that. This all feels very wrong
<Infinisil> tilpner: Hmm, maybe it's possible to have AS only in it's nix-shell installed, then you could have the system/user-profile as a dependency and it won't be recursive
<Infinisil> Or wait
<Infinisil> how about an overlay
<Infinisil> I'm 99% sure this works with overlays
newhoggy has quit [(Ping timeout: 276 seconds)]
rigelk has quit [(Quit: leaving)]
Judson has joined #nixos
<tilpner> This would actually be very easy, by maintaining an importable list of packages outside of a buildEnv, then importing it in both places (systemPackages and AS), because that would allow me to filter the list before it gets passed away, but that's very pretty either (I might try that though)
Judson is now known as Guest49352
<Infinisil> tilpner: Yeah sure that works, but then you don't have packages installed with e.g. nix-env available in AS by default
<Infinisil> doing it with an overlay would do that
<tilpner> Oh, I don't use nix-env
<Infinisil> Haha
MP2E has quit [(Quit: headed home, be back in a bit)]
newhoggy has joined #nixos
<tilpner> I'm not sure what you mean. How would I do this with an overlay without nix-shell (I do want AS installed permanently)?
<Infinisil> Misunderstood then. Yeah I had the thing you said in my mind from the beginning
erictapen has joined #nixos
<Infinisil> tilpner: An overlay takes an old package set and generates a new one from that. You could have your new AS package in the new set be dependent on all installed packages from the old one, then it won't be recursive
<tilpner> Hm. This AS version is already in an overlay, that would be an easy fix
<Infinisil> Eh not sure actually
<Infinisil> just use a list which you can reuse and it'll work
newhoggy has quit [(Ping timeout: 260 seconds)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
aristid has quit [(Ping timeout: 255 seconds)]
hiratara has joined #nixos
taktoa has quit [(Remote host closed the connection)]
MrCoffee has joined #nixos
kiloreux has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 2 new commits to openssl-1.1: https://git.io/v7Cx9
<NixOS_GitHub> nixpkgs/openssl-1.1 3bf4e30 Robin Gloster: eiskaltdcpp: 2.2.9 -> 2.2.10, add upstream openssl patches
<NixOS_GitHub> nixpkgs/openssl-1.1 39d8f8b Robin Gloster: kdeFrameworks.kdelibs4support: add patch for openssl 1.1
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
dbmikus has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v7Cpt
<NixOS_GitHub> nixpkgs/master 43f23e4 hectorj: nomad: 0.5.6 -> 0.6.0
NixOS_GitHub has left #nixos []
magnicida has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 276 seconds)]
ottidmes has quit [(Quit: WeeChat 1.7.1)]
fikse has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
eacameron has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<gchristensen> LnL: I just realized a drastically simpler way of filtering out docs than a fixed point
<LnL> hm?
<gchristensen> LnL: https://github.com/moretea/nixpkgs/blob/a801c0bd1a796a21c0399d823f8a6bfb9d63009e/lib/default.nix#L4 replace fndoc with fndoc = x: x; if docs are disabled
<gchristensen> (or rather a stub similar to that, which skips the functor)
<Guest49352> Hey, cstrahan - me too! :)
<LnL> right
newhoggy has joined #nixos
eacameron has joined #nixos
Guest49352 is now known as judson
<judson> Hey, cstrahan - me too! :)
kiloreux has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to openssl-1.1: https://git.io/v7Cj0
<NixOS_GitHub> nixpkgs/openssl-1.1 79f77a0 Robin Gloster: Merge remote-tracking branch 'upstream/master' into openssl-1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 79427f2 Robin Gloster: pcsclite: 1.8.21 -> 1.8.22
<NixOS_GitHub> nixpkgs/openssl-1.1 ab12e82 Robin Gloster: opensc: 0.15.0 -> 0.17.0
NixOS_GitHub has left #nixos []
<cstrahan> judson: "me too", with respect to what exactly? :P
magnetophon has quit [(Ping timeout: 255 seconds)]
<gchristensen> LnL: though it looks like the lib functions could benefit from a fixed point, it already sort of is -- each imports default, default imports each
<judson> Caught up in work things
<cstrahan> Oh, lol. My sense of context has shifted around a lot in the last couple hours. Should have connected those dots :)
<cstrahan> Did you see the novel I wrote on your PR?
newhoggy has quit [(Ping timeout: 240 seconds)]
markus1189 has joined #nixos
<cstrahan> @judson Everything above the fold mostly amounts to profuse apology. Ultimately, I'm for merging your PR now, subject to the bits I describe towards the bottom.
eacameron has quit [(Ping timeout: 240 seconds)]
<LnL> gchristensen: yeah maybe, not sure if it really matters there
markus1199 has quit [(Ping timeout: 240 seconds)]
<LnL> I could do some testing during the weekend if you want
<gchristensen> yeah but the way it is now, my replacement of the fndoc doesn't work b/c everything imports default.nix and none of them pass args in, so the strategy is a non-starter
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to openssl-1.1: https://git.io/v7Cjx
<NixOS_GitHub> nixpkgs/openssl-1.1 a8dd453 Robin Gloster: tinc_pre: fix merge
NixOS_GitHub has left #nixos []
<gchristensen> I'm going to do some playing :)
<gchristensen> back in 30
freusque has quit [(Quit: WeeChat 1.9)]
newhoggy has quit [(Ping timeout: 240 seconds)]
<Infinisil> Damn, nix-env -i installs every single package..
joehh has joined #nixos
newhoggy has joined #nixos
<judson> cstrahan, 100% on your comments
<judson> Ruby and Nix I think is incredibly promising, which is why I wanted to do all this in the first place.
<judson> nix-shell (can be) so much better that rvm/bundler/virtualenv/nodenv etc etc
<slack1256> where are v4l user setting stored usually?
newhoggy has quit [(Ping timeout: 240 seconds)]
<cstrahan> judson: I can't count the number of times I updated openssl via homebrew and broke every Ruby installed due to e.g. ABI compat issues (yay! cryptic segfaults). and that's just openssl. similar sentiments towards the song and dance to get all the native C & C++ libs installed in the first place.
<judson> Completely agreed.
joehh has quit [(Ping timeout: 260 seconds)]
<judson> So I'd love for Nix to have solid support for all these things, and start presenting it at dev meetups/conferences.
<judson> There's this awesome shining bridge from nix-shell to nix-ops...
<cstrahan> :P
erasmas has quit [(Quit: leaving)]
rtjure has joined #nixos
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
justelex has quit [(Read error: No route to host)]
<cstrahan> judson - It's my hope to soon work on a "Docker for Mac" sort of thing for Nix/NixOS, so you seamlessly get a VM you can spin up NixOS containers in. I feel like that's a big edge that Docker has on us -- the ubiquity of the tool chain. That should hopefully reduce the barrier to nix-ops entry quite a bit for macOS users (which is the case for 99% of my coworkers. I'm the lone goofball running NixOS, albeit on a MBP).
justelex has joined #nixos
<cstrahan> judson: So, regarding your PR: good for me to merge now?
<LnL> cstrahan: you should talk to puffnfresh, he's been working on something like that
<cstrahan> LnL: thanks for the tip!
newhoggy has joined #nixos
<judson> cstrahan, yes, please. I look forward to the next iteration.
<puffnfresh> cstrahan: yeah let's do that
<judson> re Nix and containers, I wish I knew of a trustworthy comparison between systemd-nspawn and e.g. LXD
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #27729: PULL_REQUEST_TEMPLATE.md: mereley -> merely (master...patch-6) https://git.io/v7Wvs
NixOS_GitHub has left #nixos []
<cstrahan> LnL: I've been watching your nix-darwin project form the sidelines -- I figured leveraging it would be great way to orchestrate VM management and related stuff
<cstrahan> puffnfresh: Nice! I had HyperKit in my sights as well.
<puffnfresh> cstrahan: I've got HyperKit as a remote builder with a initrd provided by Nix caches
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/v7Wvc
<NixOS_GitHub> nixpkgs/master 72239c3 Yegor Timoshenko: PULL_REQUEST_TEMPLATE.md: mereley -> merely
<NixOS_GitHub> nixpkgs/master e8d8633 Graham Christensen: Merge pull request #27729 from yegortimoshenko/patch-6...
NixOS_GitHub has left #nixos []
<puffnfresh> I need to make the UI for the remote builder work better, it's a bit dodgy
<gchristensen> puffnfresh: for your stuff? or nix's stuff?
<puffnfresh> but once I get that, it'll be really easy to instantiate linux-x86_64 derivations on darwin
<puffnfresh> gchristensen: for my stuff
<puffnfresh> e.g. creating a disk, making sure network resolves, etc.
<cstrahan> puffnfresh: Sweet! I've had the idea in the back of my head; looks like you've done most of the work to get there :P
newhoggy has quit [(Ping timeout: 240 seconds)]
<puffnfresh> cstrahan: wanna try it out for me?
<LnL> did you figure out the dhcp issues?
<cstrahan> puffnfresh: Yeah, definitely.
<LnL> that's where I got stuck last time
<puffnfresh> nix-build -A nix-hyperkit-builder && nix-shell -p vmTools.qemu --run 'qemu-img create nix-hyperkit-builder.raw 5G'
<puffnfresh> result/bin/nix-hyperkit-builder -s 5,virtio-blk,nix-hyperkit-builder.raw -m 2048
<cstrahan> puffnfresh: Have you given any thought to stuff like VPNKit, Slirp, v9fs, etc?
<puffnfresh> LnL: nah, I'm not sure what the problem is there
Jackneill has quit [(Remote host closed the connection)]
<puffnfresh> cstrahan: yes, I tried v9 but there's no good server for it on Darwin
<cstrahan> judson: Your call: do you want to preserve your commit history, or squash it down?
<puffnfresh> I found a 2014 fork of some code and had it run, but it didn't support certain 9P things, so I had to rewrite things
<puffnfresh> then I found out that symlinks did really weird things
<cstrahan> puffnfresh: The Docker guys must have some sort of solution, right? I think all of there volume mounting stuff goes through 9P.
<LnL> well, rip nix then :/
<puffnfresh> so 9P is not a great path, though it works in limited ways
<cstrahan> their* volume...
<puffnfresh> cstrahan: yeah, I thought that too, I tried to use their Go code
newhoggy has joined #nixos
<puffnfresh> but they don't use 9P any more, pretty sure
<puffnfresh> cstrahan: I think VPNKit is the way to go, I couldn't package it though
<puffnfresh> combination of Go and OCaml :((((
<puffnfresh> so I packaged the binaries, that works alright
<puffnfresh> that'd probably be the solution for LnL's problems
<puffnfresh> using VPNKit in my remote builder is a TODO for me
<LnL> yeah probably, I'm not sure where the dhcp lases are supposed to come from right now
<cstrahan> puffnfresh: I'm pretty swamped, so I can't promise any timely contribution, but I'll see what I can do. I think this could be some high-impact stuff.
newhoggy has quit [(Ping timeout: 240 seconds)]
<cstrahan> puffnfresh: ah-ha, thanks for pointing osxfs out! I'm behind the times, apparently. To my credit, there has been some relatively recent work on 9P related stuff, e.g. https://github.com/moby/datakit/blob/master/src/datakit-server-9p/fs9p.ml
<cstrahan> but maybe that's because datakit runs in their VM? gotta lot to sort out...
<puffnfresh> I looked at DataKit but couldn't get it to work
<puffnfresh> can't remember the problem
<puffnfresh> but would love to use that if I could
<cstrahan> I suspect this will greatly improve the lives of Ryan Trinkle and the rest of the reflex-frp people
justelex has quit [(Ping timeout: 260 seconds)]
mudri has quit [(Ping timeout: 260 seconds)]
newhoggy has joined #nixos
justelex has joined #nixos
Myrl-saki has joined #nixos
<puffnfresh> I was trying to make a substituter
<puffnfresh> instead of a remote builder
<puffnfresh> but I couldn't share a writable store, things got corrupted
<puffnfresh> I tried to use overlayfs but couldn't get that to work
<puffnfresh> so I switched to making a remote builder
newhoggy has quit [(Ping timeout: 260 seconds)]