<gchristensen>
I feel like I should know the answer to this, how can I take a directory and turn it in to an ISO?
<samueldr>
<nixos/lib/make-iso9660-image.sh>
<gchristensen>
as yes 9660 of course
<samueldr>
not sure if actually relevant and easy to use
<samueldr>
since it seems to deal more with the xorriso standard
<samueldr>
(bootable iso)
<samueldr>
otherwise, cdrkit seems to have genisoimage
<samueldr>
>> To create a vanilla ISO9660 filesystem image in the file cd.iso, where the directory cd_dir will become the root directory of the CD, call:
<samueldr>
> % genisoimage -o cd.iso cd_dir
<{^_^}>
error: syntax error, unexpected $undefined, at (string):196:1
<samueldr>
seems easy enough
jasongrossman has joined #nixos-chat
jasongrossman has quit [Ping timeout: 252 seconds]
<gchristensen>
thank you, samueldr :D
jasongrossman has joined #nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 240 seconds]
lassulus_ is now known as lassulus
jackdk has joined #nixos-chat
Lisanna has quit [Ping timeout: 268 seconds]
snajpa has quit [Ping timeout: 246 seconds]
snajpa has joined #nixos-chat
adisbladis has joined #nixos-chat
sir_guy_carleton has quit [Quit: WeeChat 2.0]
jasongrossman has quit [Ping timeout: 244 seconds]
jackdk has quit [Disconnected by services]
jackdk has joined #nixos-chat
jackdk has quit [Ping timeout: 252 seconds]
__monty__ has joined #nixos-chat
sir_guy_carleton has joined #nixos-chat
Synthetica has joined #nixos-chat
<gchristensen>
clever: your idea for virtualizing the os seems really perfect
<clever>
what was the goal of that? ive got many ideas involving VM's lol
<gchristensen>
the hydra macs are really hard to administer, and it would be nice to make it not a huge pain
<clever>
ah
<gchristensen>
so my plan is to run nixos on the Apple hw with zfs + macos in qemu
<clever>
my idea is something like opendarwin/puredarwin/XNU with a custom init and nix-daemon + sshd
<clever>
and since its fully opensource, you can just run it on aws on x86 hardware
<gchristensen>
yeah that sounds cool, but ... big lift.
<clever>
just barely enough darwin to make it be able to run darwin binaries
<gchristensen>
and, we buildstuff which ues Frameworks
<clever>
you would need to either make those pure, or add a supported features flag
<gchristensen>
yeah
<gchristensen>
anyway, this is the route we're going to take for now, and the virtualization doesn't penalize the performance much
<clever>
gchristensen: dumped some more info in a PM
<gchristensen>
I just want to say, sometimes (often) I feel like I know almost nothing compared to people here, and I appreciate everyone's help filling in my gaps.
<clever>
ekleog: think of it like the 'this' pointer in c++
<clever>
ekleog: you can jam a common function onto many sets with // and then be able to refer to the final set it got ran on
<ekleog>
clever: oh maybe that's a good idea, indeed :) thanks
* ekleog
now wonders if there's an awful hack to propagate that information to other “member functions”
<ekleog>
> let s = rec { __functor = self: _: self; member = a: (__functor {}).variable; variable = 1; }; in (s // { variable = 2; }).member null
<{^_^}>
value is a function while a set was expected, at (string):196:54
<ekleog>
my hope was that by keeping a reference to the functor I could recover a reference to self from `method`, but it doesn't work because the `self` in reference is the first `self`, not the updated `self`
<ekleog>
so that trick really works only for __functor, I guess :'(
<gchristensen>
this sounds very evil
<LnL>
__functor is enough magic already, nix really doesn't need more language features like that if you ask me
<gchristensen>
+1 ixnay on the unctorfay__
<ekleog>
:3
<elvishjerricco>
ekleog: That is the rough design of `makeExtensible` however, which is why it always makes me feel the OOP heebie jeebies. `makeOverridable` is similar too, and only slightly better
Ericson2314 has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
<andi->
Why do I already fear something bad when I see things like the following in my terminal when compiling WebKitGtk (uaarh)? [1240/2838] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/dfg/DFGSpeculativeJIT64.cpp.o
jD91mZM2 has quit [Quit: WeeChat 2.2]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
jtojnar has joined #nixos-chat
<elvishjerricco>
> Speculative
<{^_^}>
undefined variable 'Speculative' at (string):196:1
* elvishjerricco
has a meltdown
<andi->
I was just thinking a year ago people where speculating why the intel CEO sold stock...
<andi->
and anything that impactful that might be in the pipeline will probably be releaed around the same time again since vendors usually need >=3 months and december (at least in europe) isn't very "productive" with all the holidays..
{^_^} has quit [Ping timeout: 252 seconds]
pie_ has joined #nixos-chat
<infinisil>
LnL: Have you heard of __overrides?
<infinisil>
gchristensen: Bot is gone
<infinisil>
(from all channels)
<LnL>
yes, forgot what it does tho
<infinisil>
nix-repl> rec { __overrides = { z = 2; }; y = z * 2; z = 0; }
<infinisil>
{ __overrides = { ... }; y = 4; z = 2; }
<infinisil>
It somehow allows recursive attribute set scopes to be overridden..
<samueldr>
oh neat, not knocking on you, I thought it was something you hosted at home
<joepie91>
"Our networking operations team is performing emergency core network update in our EWR1 facility, there should be no customer impact during this time."
<joepie91>
:) :) :)
<samueldr>
and that you had a couple nines at home
<gchristensen>
I try not to host anything that needs uptime at home: just 1 ofborg builder and a fileserver / Plex
<joepie91>
I feel like an AWS US East joke fits in here somewhere
<samueldr>
it's either a green tickmark or a blue tickmark 100% of the time
<samueldr>
perfect uptime
{^_^} has quit [Ping timeout: 240 seconds]
jasongrossman has joined #nixos-chat
<joepie91>
does it count when your status page is hosted on the same infrastructure, so you never get a "site is down" report?
<gchristensen>
definitely, it isn't down unless you say it is down
norfumpit has quit [Ping timeout: 244 seconds]
<andi->
depends on your definition of down.. I know an ISP that declares everything as planned work unless advertised differntly. Planned workd doesn't have to be announced...
<andi->
and doesn't count as downtime ;-)
<joepie91>
lol
<joepie91>
"yeah, we, uh, planned to do these fixes when the network stopped responding..."
<joepie91>
"planned work!"
__monty__ has quit [Quit: leaving]
<andi->
yeah..
<andi->
It's stupid. They have been told.. They think it is a great move to avoid fines and whatnot
jasongrossman has quit [Ping timeout: 260 seconds]