schoppenhauer has quit [Ping timeout: 264 seconds]
schoppenhauer has joined #nixos
boomshroom has joined #nixos
<boomshroom>
Good evening!
<clever>
ping
<boomshroom>
I just used go2nix to generate a nix file for a Joy-Con driver and if I try to run nix build, it complains about not knowing the arguments. How can I tell nix build to pass nixpkgs as the argument?
<clever>
boomshroom: it has to be loaded with callPackage i'm guessing
<boomshroom>
Another issue I'm having is getting bluetooth to work.
<boomshroom>
clever: So I have to give a full expression from the command line?
<boomshroom>
Even when it by default tries to call default.nix?
<clever>
boomshroom: yeah, you still have to evaluate: with import <nixpkgs>{}; callPackage ./foo.nix {}
<clever>
either by putting that into a file or by using -E
justanotheruser has quit [Ping timeout: 256 seconds]
<boomshroom>
I also think I got the bluetooth to work. I'll just wait until I can build the driver before finding out.
<boomshroom>
Well go2nix did jack: `[]`
<kandinski>
I can't find where synergy server is logging. I can make it run fine when I launch it as my user and put the configuration in ~/.synergy.conf, but not when I run it as root from /etc/nixos/configuration.nix
<kandinski>
where is the stdout from synergys logged to?
<clever>
kandinski: the synergy service was broken when a security problem in xorg was fixed
<kandinski>
clever: ah thanks
drewofdoom has joined #nixos
justanotheruser has joined #nixos
<boomshroom>
Interresting. Go reported missing packages and yet nix considered it a success anyway. That smells like a bug.
Fare has quit [Ping timeout: 260 seconds]
<kandinski>
clever: it's probably above my pay grade, but if there's anything I can do to help fix synergy...
<boomshroom>
I'm trying to add a dependency from the golang.org/x repositories. How do I do that? Treating it like a git repository gives me "no Go files."
<clever>
kandinski: the issue has to do with xauth files, we need to find a fixed path that the tokens can be found in, and pass them to xauth
<kandinski>
clever: I'm still reading the manuals, but I'll keep it in mind as I read, thanks.
<{^_^}>
[nixpkgs] @f--t closed pull request #33262 → supercollider: added alsaLib as dependency, req. for MIDI on Linux → https://git.io/vbxCl
<boomshroom>
Claiming that it's hg fails as it's not an hg repo. Claiming it's git fails silently. Cloning it manually with git fails saying it's not a git repo. Using the googlesource url fails because it clones into the wrong directory.
<boomshroom>
If Monolish and Namco won't make Xenosaga HD for Switch, I'll just have to play Xenosaga Yarr!! on my PC. That said, I will still use the same Joy-Cons.
<semilattice>
so anyone know where I can find fetchurl with nixpkgs on darwin? I'm trying to add a package override but I can't take it as input, it's not in nixpkgs, it's not in stdenv and it's not in the namespace from anything else so I'm at a complete loss
<semilattice>
The darwin bit is pretty irrelevnat
<semilattice>
specifically this is in the config file for nixpkgs
semilattice has quit [Remote host closed the connection]
semilattice has joined #nixos
strobelight has quit [Ping timeout: 256 seconds]
<boomshroom>
Has anyone tried to use Nintendo Joy-Cons with NixOS?
<{^_^}>
→ 55a101e0 by @oxij: perlPackages.PodPerldoc: 3.25 -> 3.28
<{^_^}>
→ 11f43a2c by @oxij: perlPackages.MathVecStat: init at 0.08
<{^_^}>
→ 46cdadcb by @7c6f434c: Merge pull request #38112 from oxij/pkgs/perl-packages
John882 has joined #nixos
alaricsp has quit [Ping timeout: 256 seconds]
ottidmes has joined #nixos
<fearlessKim[m]>
can one search haskellPackages with nix search ?
asuryawanshi has quit [Ping timeout: 248 seconds]
__Sander__ has joined #nixos
sigmundv has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
nschoe has joined #nixos
<nschoe>
Hi everyone :)
<nschoe>
I'm having an error when running nix-env -u: "error: undefined variable ‘placeholder’ at /nix/store/syadmzcnmh57s5xdb54s6ryp3gj7p23m-unstable-18.09pre133932.ee28e35ba37/unstable/pkgs/development/libraries/pipewire/default.nix:37:46". Do you guys know abou this?
<nschoe>
The line in question is: "PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";"
<nschoe>
I guess this ${placeholder "out"} thing is not valid ; but my knowledge in .nix file is too sparse to correct it :/
<ikwildrpepper>
nschoe: builtins.placeholder perhaps. wonder if it is a nix 2.0 thing
<LnL>
yes, something that only works was added to nixpkgs
<ikwildrpepper>
LnL: any idea why we didn't revert?
<LnL>
should be fixed with the next update
<ikwildrpepper>
ah
<ikwildrpepper>
:)
<LnL>
:)
<nschoe>
LnL, I've just run nix-channel --update, though. Or are you talking about something else?
ma27 has joined #nixos
<LnL>
yeah, but I don't think the update that fixes it is out yet
<nschoe>
Okay.
<LnL>
you could upgrade to 2.0 ofcorse
<ikwildrpepper>
or use a checkout/clone of nixpkgs
<nschoe>
Yeah yeah I know, I just wanted to let yoy know about the problem, "just in case".
<ikwildrpepper>
nschoe: thnx :)
<LnL>
nix-env -iA still works since it's lazy
<nschoe>
LnL, when you say "version 2.0", what do you mean? nixos-version gives me 17.09 so it's not that. niv-env --version gives me 1.11.16, so is that nix-env you were talking about?
<nschoe>
LnL, yep I could install a couple of packages indeed. I just can't issue an upgrade of my alreayd-installed packages ;)
<LnL>
hmm, you're not running into this with the 17.09 channel right?
<nschoe>
LnL, by the way, this is something I have been wondering for a long time: is it a bad thing to have "17.09" and "unstable" channels like I do. Like "permanently enabled"?
<nschoe>
Is it common practise or... ?
<LnL>
you can add this to your configuration.nix to use nix 2.0 on 17.09
<LnL>
nix.package = pkgs.nixStable2;
<nschoe>
Because I thin that when I install something from nixos.software then when I run nix-env -u, it updates with the unstable.software version.
<h30[m]>
why does `nix-instantiate --eval '<nixpkgs>' -A haskellPackages.process` evaluate to null?
<LnL>
no that's fine, nixpkgs shouldn't depend on features from nix 2.0 until 18.03 is released and I think maybe even a bit longer
<joko>
Dezgeg[m]: thanks!
alex`` has joined #nixos
<nschoe>
LnL, okay but I mean in a more general manner: is it "The Right Way" to have both a stable "current" channel and the "unstable" at the same time?
<{^_^}>
[nixpkgs] @obadz pushed commit from @ryantm to master « knot-resolver: 2.1.1 -> 2.2.0 »: https://git.io/vxrid
kiloreux has joined #nixos
<sphalerite>
nschoe: because it may introduce breaking changes
<sphalerite>
nschoe: with releases you get the release notes listing all intentional breaking changes, and you can set aside time to read them and make any changes your config might need. With unstable they can be introduced at any time
<sphalerite>
nschoe: but a lot of people do opt to use unstable for everything. It does make sense for personal machines for instance
<kiloreux>
How can I make a nix expression use a local nix package as a dependency ?
<kiloreux>
It seems I only succeed at making the ones that already exist in nixpkgs
<srhb>
kiloreux: using callPackage, usually.
<srhb>
kiloreux: That is yourPackage = pkgs.callPackage ./path/to/your/package.nix {}
<nick_l>
Why does this make the second AWS instance check fail? boot.kernel.sysctl = { "net.ipv4.conf.eth0.arp_ignore" = 1; "net.ipv4.conf.eth0.arp_announce" = 2; }; networking.interfaces.eth0 = { ip4 = [ { address = "172.31.50.6"; prefixLength = 28; } ]; };
<kiloreux>
That's what I am currently doing. And I mention "yourPackage" as a dependency in another package. But it doesn't recognize it and complains that "yourPackage" doesn't exist.
<nick_l>
It is supposed to get the other IP via DHCP and be equivalent to running ip addr add 172.31.50.6/28 dev eth0.
lambdamu has joined #nixos
<srhb>
kiloreux: You'll have to pass it around yourself if you didn't use something like overlays to add it to the nixpkgs tree.
<kiloreux>
How can I pass it around myself ?
<srhb>
kiloreux: It's a little hard to talk about generally without knowing your project structure, but essentially you will call your different expression with it as an argument.
Fare has quit [Ping timeout: 256 seconds]
<srhb>
That is, foo = import ./otherExpression { inherit yourPackage; other arguments ...}
<kiloreux>
Thank you srhb . Guess I will just wait for it to be merged inside nix tree :'(
<srhb>
The alternative that I prefer is to initially modify pkgs to have all the packages you need, using overlays. That looks like ...
<kiloreux>
srhb, That's amazing. Probably going with the second option since it's more elegant. Thank you very much.
<srhb>
overlays are very handy :) You're welcome.
asuryawanshi has quit [Ping timeout: 276 seconds]
<srhb>
(Do note that the second one produces an entire pkgs, so nix-build project.nix -A dtrx for instance)
Fare has quit [Ping timeout: 248 seconds]
jrolfs has quit [Ping timeout: 256 seconds]
<sphalerite>
what's a good tool for using serial consoles? I've been using screen up to now but I'm using it inside tmux and it's a bit annoying to have separate scrollback buffers
<sphalerite>
I'd like to have tmux handle all of it
chrios_ has joined #nixos
<zybell_>
let screen all handle it ;-)
<sphalerite>
zybell_: screen doesn't have nice mouse scrolling
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
<Dezgeg>
I use picocom
<zybell_>
less has nice mouse scrolling in mate-terminal/gnome-terminal without extra config. So it is only a question of the right key bindings in your .screenrc.
dbe has joined #nixos
<sphalerite>
zybell_: tmux *already* has nice mouse scrolling.
<sphalerite>
and mouse-based pane selection and resizing and such
ekleog has quit [Quit: Let the fun begin]
<sphalerite>
just let me use tmux, ok?
ekleog has joined #nixos
ekleog has quit [Client Quit]
ekleog has joined #nixos
<Dezgeg>
picocom is great in that way that it doesn't attempt to do fancy things
<Dezgeg>
unlike minicom
<sphalerite>
I feel like I want something still less fancy
alaricsp has joined #nixos
<sphalerite>
socat stdio,icanon=0,echo=0 /dev/ttyS1,b9600 seems to be coming close to what I want
<Dezgeg>
how can picocom be too fancy? :D
<sphalerite>
it has a menu and stuff :p
<Dezgeg>
it does?
<sphalerite>
C-a h
<sphalerite>
err C-a C-h
wchresta has joined #nixos
ilyaigpetrov has joined #nixos
<Dezgeg>
I guess that problem is solved by not pressing that button combination
<sphalerite>
lol
<sphalerite>
well, looks like I'm using picocom. Thanks!
magnetop` has joined #nixos
mmercier has quit [Quit: mmercier]
<zybell_>
screen can open a device and pipe it through a command for example netcat. then you can use netcat in tmux to connect to that. screen can run detached in this case.
<mounty>
Can NixOS be installed from source? The installation guide seems to presume a binary distribution.
Bogdacutu has quit [Read error: Connection reset by peer]
Bogdacutu has joined #nixos
Bogdacutu has quit [Client Quit]
jtojnar has quit [Read error: Connection reset by peer]
<makefu>
mounty: you can disable the binary cache and nix will gladly build everything from source
jtojnar has joined #nixos
lambdamu has quit [Ping timeout: 260 seconds]
<mounty>
Thanks makefu; I can see in https://nixos.org/nixos/manual/ that you can do that with the option --option use-binary-caches false but can that be put in /etc/nixos/configuration.nix or elsewhere to make it the default?
<mounty>
I am a newbie to NixOS, coming from Gentoo; hence my preference to build from source.
MrCoffee has joined #nixos
<sphalerite>
mounty: what do you hope to achieve by building everything from source?
<LnL>
nix.binaryCaches
<LnL>
but nix is source based the reason we have binary caches is reproducability
jtojnar has quit [Remote host closed the connection]
<sphalerite>
mounty: if you built from a nix source tarball, you've already trusted the binary cache
nschoe has quit [Quit: Program. Terminated.]
<mounty>
sphalerite: I don't get that. If I build from source, what I am trusting? Oh, the compiler of course. But then you rebuild the compiler on the NixOS machine when you upgrade.
<sphalerite>
mounty: the nix source tarball is built on nixos systems which use binary caches :)
alaricsp has quit [Ping timeout: 264 seconds]
<sphalerite>
I don't see how burning some more energy ensures more trust. If you've actually vetted all the source code, sure. Or if you want to *verify* the builds from the binary cache, sure. Or if you want to check reproducibility of some derivations, sure. But tweaking this setting isn't going to give you any magical extra security
<sphalerite>
oh and the installer image comes from the binary cache too.
mmercier has joined #nixos
<sphalerite>
so unless you're building nix from source on gentoo and you trust gentoo, your trust isn't even rooted!
<sphalerite>
that is, building nixos from your source-built-on-gentoo nix
<mounty>
No, it's not complete trust because it's not rooted, as you say; but it's greater if you build the system from then go through several layers of self-bootstrapping with successive versions of the compiler.
<sphalerite>
it's not. It's just a magical time and energy-wasting button, not a magical security button.
<tilpner>
You would at the very least have to verify the nix expressions of all applications and libraries you use
<sphalerite>
nixpkgs's bootstrapping is also pretty shallow, none of that successive versions of the compiler stuff
<LnL>
the bootstrap tarballs are created like that, but that doesn't really have anything to do with substitutes
yann-kaelig has joined #nixos
<tilpner>
Which is feasible, but a whole lot of work (and has to be re-done on every update)
<sphalerite>
mounty: literally all you get by disabling binary caches is wasting time and energy. Thanks to how nix works, you *can* actually trace the full chain of what everythign was compiled with, down to that bootstrap tarball
<mounty>
Presumably I can force the bootstrapping by constraining the version of gcc? Then changing the constraint up one version at a time.
<sphalerite>
no, the bootstrapping always starts from the same root
<sphalerite>
well I suppose you could feed in an alternative bootstrap root tarball
<sphalerite>
anyway this is silly
* sphalerite
leaves
<mounty>
OK, I don't want to say "I'm not listening, la la la". I'll have a look further at what you're saying. I was hoping to get started tonight but I'll leave it for now.
<kiloreux>
How can I make a package recognized by pkgconfig ?
<LnL>
to clarify the only thing that uploads caches is hydra, using a set of trusted builders
<kiloreux>
I am getting "ERROR: aom >= 0.1.0 not found using pkg-config"
<LnL>
for most packages you can force a local build with --check and the output willl be exactly the same
<LnL>
the nixpkgs repository is more of a security concern than the infrastructure IMHO
joepie91_to_go_ has joined #nixos
asuryawanshi has joined #nixos
<{^_^}>
[nixpkgs] @timokau opened pull request #38119 → tachyon: Add support for jpeg, png, more platforms → https://git.io/vxrdU
psychic1 has joined #nixos
<makefu>
kiloreux: generally it is enough to put the lib it requires into the 'buildInputs' list
asuryawanshi has quit [Remote host closed the connection]
<psychic1>
Can anyone help me understand the merit of buildEnv? I've read multiple examples that use it to set a dev environment
<psychic1>
however, I've also seen examples that build dev environments that do not use buildEnv at all
<psychic1>
I've tried to look at buildenv.nix but I was unable to grasp it
asuryawanshi has joined #nixos
joepie91_to_go_ has quit [Changing host]
joepie91_to_go_ has joined #nixos
MP2E has quit [Remote host closed the connection]
jtojnar has quit [Ping timeout: 260 seconds]
reinzelmann has quit [Quit: Leaving]
<psychic1>
mkDerivation's build inputs already adds libraries to lib/ binaries to bin/ etc, so what does buildEnv has in addition to that?
<ottidmes>
psychic1: My understanding is that it is a higher-level version of what buildInputs does for a derivation, doing more checks
<psychic1>
A higher level of what buildInputs provides? Are those things not useful for a normal mkDerivation?
roberth has quit [Remote host closed the connection]
<psychic1>
I'll take a look at the link
<psychic1>
I see. Thanks for that point.
<srhb>
psychic1: In the end, buildEnv just symlinks things together.
<psychic1>
I've read nix manual, nixpkgs manual, all main blog posts, and I still feel like I don't know where to start with creating an environment for a non-trivial project
<srhb>
psychic1: The only real "check" I can think of is that having two inputs with eg. bin/foo both will be an error (because which one do you symlink in?)
<psychic1>
I'm not sure how to continue in order to improve my ability and understanding of nix.
<psychic1>
I see srhb
<srhb>
psychic1: In my experience, trying to find similar project definitions and cargo cult a lot. Or have someone walk you through the logic of setting up a simple-ish project.
<psychic1>
Also, perhaps buildInputs does not handle symlinking things such as man pages, while buildEnv does?
<{^_^}>
[nixpkgs] @Ma27 opened pull request #38121 → nodePackages: add create-{react,react-native}-app; regenerate package set → https://git.io/vxrFu
<psychic1>
I see people online understand so much and I'm not sure what is the path they took. Is there any natural progression after reading the manuals and blog posts? Or is it trying to code stuff from there?
<srhb>
psychic1: It was doing my own stuff from there, yes. Also asking a lot of questions in here :)
<srhb>
And looking at existing projects.
alex`` has quit [Ping timeout: 256 seconds]
<psychic1>
srhb Thanks! I guess I'll start walking that path without being afraid
<srhb>
Yeah, you'll probably not *destroy* anything and mistakes are great to learn from :P
<psychic1>
srhb: indeed
* joepie91_to_go_
looks at his totally destroyed nix store
<joepie91_to_go_>
to be fair, that's caused by faulty RAM
<joepie91_to_go_>
:P
strobelight_ has joined #nixos
strobelight is now known as Guest71457
<srhb>
joepie91_to_go_: Don't destroy your RAM! :P
strobelight_ is now known as strobelight
<joepie91_to_go_>
hey, it wasn't my fault :(
<ottidmes>
joepie91_to_go_: Have you replaced your RAM already? I am now wondering if you should do regular checks on my RAM
<joepie91_to_go_>
I actually wonder whether I can still claim warranty
<joepie91_to_go_>
ottidmes: well, *I* should probably not do regular checks on your RAM
<joepie91_to_go_>
:P
<joepie91_to_go_>
ottidmes: more seriously, if your RAM is faulty, you;ll probably notice
<joepie91_to_go_>
random segfaults, kernel oopses
<joepie91_to_go_>
though a quick memtest every now and then can't hurt
<ottidmes>
joepie91_to_go_: lol, was thinking, should I rephrase that, nah, he probably understand what I mean... :P
<joepie91_to_go_>
ottidmes: fwiw, the software that Lenovo ships with their thinkpads (Vantage) does actually recommend a quick 'live memtest' (ie. without shutting down the OS) every month or so
<ottidmes>
joepie91_to_go_: I only ever tested my RAM when I bought used RAM. Its scary to think about how many things could go wrong, so I try to keep the illusion that most of my hardware just works and is like a blackbox, alive
<joepie91_to_go_>
heh
<joepie91_to_go_>
the collective illusion, really
<joepie91_to_go_>
and then meltdown/spectre happen...
<joepie91_to_go_>
and suddenly half the world goes "wait, you mean that hardware ISN'T perfectly reliable?!"
<ottidmes>
and then the patches of those caused yet other problems
<ottidmes>
just like the whole facebook thing right now
<joepie91_to_go_>
yep, because as it turns out, everything is broken
<joepie91_to_go_>
lol
asuryawanshi has quit [Ping timeout: 260 seconds]
alaricsp has joined #nixos
<joepie91_to_go_>
ottidmes: wait until you find out about OpenGL implementation bugs in specific batches of specific GPU models
asuryawanshi has joined #nixos
jensens has quit [Ping timeout: 256 seconds]
<ottidmes>
joepie91_to_go_: My first experience of compiling a C++ program was finding out that it was leveraging a specific bug of a specific version of the C++ compiler used on that particular version of MacOS, while I was trying to build in on Linux... good times
<sphalerite>
ottidmes: and I'm guessing this was not even known by the author(s)?
Arcaelyx has joined #nixos
<ottidmes>
sphalerite: Unsure, it definitely was non-standard C++ code, so it seemed to be a conscious decision, but I never knew the author, so cannot be sure
jtojnar has joined #nixos
<ottidmes>
sphalerite: But I found the answer on stackoverflow.com, so apparantly other people were doing it as well
justan0theruser has quit [Ping timeout: 268 seconds]
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
joepie91_to_go_ has quit [Ping timeout: 268 seconds]
DwarfMaster has quit [Ping timeout: 255 seconds]
DwarfMaster has joined #nixos
tertle||eltret has quit [Quit: Connection closed for inactivity]
ryantrinkle has quit [Ping timeout: 260 seconds]
alexteves_ has joined #nixos
reinzelmann has joined #nixos
John882 has quit [Quit: John882]
reinzelmann has quit [Client Quit]
jasom has joined #nixos
<jasom>
I'm trying to access a kindle fire over USB/MTP. When I plug it in, I don't even get a dmesg event. This works on a different linux machine running Gentoo. Any suggestions?
chisui has quit [Ping timeout: 260 seconds]
freeman42x]NixOS has joined #nixos
<zybell_>
with the same cable?
<jasom>
zybell_: yes
<jasom>
only difference I can see in hardware is that the ports are all USB-3 PW on the machine it doesn't work nd the ports are all USB 2 on the machine it does work
<zybell_>
Do you get dmesg events if you plug a thumbdrive into that port?
<jasom>
yup
<jasom>
bah, I tried a third cable and it works now
<zybell_>
Is the cable usb2 or usb3?
<zybell_>
Never mind
ma271 has joined #nixos
ma27 has quit [Remote host closed the connection]
<nick_l>
I specified networking.localcommands, but they are not executed. Why not?
<nick_l>
networking.localCommands to be precise
erasmas has joined #nixos
<LnL>
what release?
<nick_l>
LnL: 17.09
<LnL>
I have some stuff in there and it works afaik
<nick_l>
LnL: is it unconditional?
lonokhov has quit [Quit: Lost terminal]
<LnL>
yeah, it does fail in certain circumstances because it's mutable stuff :/
<nick_l>
LnL: I can't really use anything which can fail.
<gchristensen>
nick_l: can you be more specific? anything can fail.
<nick_l>
gchristensen: I only want it to fail if the hardware fails.
<gchristensen>
LnL, ok I'm going to take my builder down now and get the testing started
<nick_l>
Should I just run a cronjob?
<vaibhavsagar>
how do I get the correct sha256 with fetchurl?
reinzelmann has joined #nixos
<vaibhavsagar>
it just tells me there's a 'store path mismatch' without telling me what the correct path is
<nick_l>
Looking at the documentation for that option, it's an interface which should never have existed.
<nick_l>
The defaults are to use DHCP and it doesn't specify when it can fail and as such also not when it can succeed.
<LnL>
!tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<LnL>
vaibhavsagar: ^
<vaibhavsagar>
LnL: that's the issue I'm having though, using builtins.fetchTarball doesn't give me the right hash to replace it with
<LnL>
gchristensen: shouldn't be a problem unless another mass-rebuild hits master, and I can just disable the queue-runner if neccecary
__Sander__ has quit [Quit: Konversation terminated!]
<LnL>
oh builtins.fetchTarball
freeman42x]NixOS has quit [Ping timeout: 260 seconds]
<LnL>
the next version of nix will show the expected hash in the error message
<LnL>
but you can use nix-prefetch-url --unpack --name source $url
<gchristensen>
however, please know you're being fairly crude and rude to unpaid contributors who work on making this all work. maybe if you don't have time to send contributions yourself, you would like to sponsor some work.
<nick_l>
gchristensen: I am not a business owner; please market your company somewhere else.
<gchristensen>
or, if you'd like design documentation, you'd like to sponsor the work. in any case, please avoid the rudeness and treat the community and efforts with respect. if you can't, we would rather you not use it.
<nick_l>
LnL: design documentation is different from interface documentation. Also, in this case this particular interface is not useful, because of the lack of guarantees.
<nick_l>
LnL: the RFC process could potentially produce design documentation at some point.
<nick_l>
LnL: the thesis describing NixOS is design documentation.
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @Ekleog to master « mdadm: allow sending mail when using opensmtpd »: https://git.io/vxrj9
<nick_l>
LnL: systemctl restart network-setup.service # it does not run after this
<{^_^}>
[nixpkgs] @bjornfor closed pull request #38067 → mdadm: allow sending mail when using opensmtpd → https://git.io/vxw9B
<gchristensen>
nick_l: all we can say is we're open to PRs improving what we have, and until someone sends that PR, this is what we have
coot has quit [Quit: coot]
yann-kaelig has quit []
<{^_^}>
[nixpkgs] @bjornfor pushed commit from @Ekleog to master « nixos/gogs: allow git operations over ssh »: https://git.io/vxoeV
<drewofdoom>
Hey folks, I have a question. I am looking at NixOS to create an appliance to sit in compliance-level networks and run vulnerability scans using OpenVAS. Unfortunately, it does not look like OpenVAS is included in nixpkgs yet. I suppose my best option is to write a package, yes?
<gchristensen>
yep! you'd need to at a minimum write a package for it, and if it has services that run, you might want to write a NixOS module for it as well
<gchristensen>
vaibhavsagar: do you mean nixorg/nix? or a different image?
<nick_l>
drewofdoom: have you written packages or modules before?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<vaibhavsagar>
gchristensen: I mean nixorg/nix, the community one
<vaibhavsagar>
I see that it has nothing but nix
<vaibhavsagar>
so I'm doing a nix-shell -p busybox and just using that :)
<vaibhavsagar>
but I would love to know if there's an easier way
<drewofdoom>
I have, but it's been an awful long time. Coming back to NixOS after a hiatus.
<gchristensen>
what do you need a user account for? you can in a RUN, do a nix-env -iA nixpkgs.busybox
<gchristensen>
LnL: I accidentally rm -rf 'd /nix/store while ofborg was running :')
<vaibhavsagar>
gchristensen: I'm trying to get IHaskell working on mybinder.org
<vaibhavsagar>
and they have this requirement that the Dockerfile needs to have a user called 'jovyan' and a UID of 1000
<gchristensen>
hehe well then I think you've probably found the solution
<vaibhavsagar>
okay, fair enough :)
<nick_l>
What do you mean by "all we can say"? Is it that you mean that your abilities do not go further? Or that you cannot spend the time on it? Or that you don't want to help me?
<nick_l>
(I will paste the answer to my question once I see an answer to that. )
<gchristensen>
what I mean is if your itch is unscratched it means it isn't an itch that other people have wanted to scratch yet, and nobody here works for you so you can't instruct anyone to scratch it for you.
psychic1 has quit [Ping timeout: 255 seconds]
<nick_l>
"nick_l: You can use nixops ssh-for-each -p 'systemctl restart network-local-commands.service' to do what you want" would be an example of what you could also have said.
<LnL>
gchristensen: it won't be very happy with that :p
<gchristensen>
well, the bad news is nobody is paid to offer support, either
<gchristensen>
LnL: :D
<gchristensen>
LnL: hopefully it didn't scuttle any builds with weird error messages...
<nick_l>
gchristensen: sure, but there is a difference between "I know the answer and I am not going to tell you, nananana" and "I don't know".
<gchristensen>
you didn't ask a question which would warrant that response, afaict
<gchristensen>
ryantm: oh cool, what is your motivation?
<gchristensen>
LnL: rm -rf of /nix/store takes so long on a builder :') I wish there was a faster way to tell the FS to just consider an entire tree deleted
<nick_l>
gchristensen: why don't you just delete the FS?
<LnL>
ryantm: have you gotten through the entire list yet?
<nick_l>
I am pretty sure that LVM + bindfs should be enough to solve that issue.
<gchristensen>
ryantm: maybe don't put in PRs until I can get your bot account approval rolled out
kiloreux has quit [Remote host closed the connection]
ryanartecona has joined #nixos
jtojnar has quit [Remote host closed the connection]
<ryantm>
gchristensen: There are a bunch of reasons: people want to filter the PRs, it's more clear it's an automated thing, a new branch namespace is nice for the bot too
<gchristensen>
cool
<Dezgeg>
I guess with device mapper thin provisioning one could create a separate filesystem for /nix/store that dynamically allocates space from the outer filesystem (and without reformatting the disks)
<gchristensen>
ok deployed, ryantm
jtojnar has joined #nixos
<Dezgeg>
then you could just re-mkfs in place of rm -rf
<gchristensen>
Dezgeg: darwin :(
tippenein has quit [Remote host closed the connection]
<Dezgeg>
ah, then I don't know. some zfs magic?
<ryantm>
gchristensen: Oh that was quick, thanks!
<gchristensen>
its fine, it doesn't take _that_ long, Dezgeg
<gchristensen>
and I don't do it so often
<Dezgeg>
ok
davidlt_ is now known as davidlt
jtojnar has quit [Remote host closed the connection]
<LnL>
gchristensen: with 10.12 we could create a separate fs container for nix and also make it case sensitive to get rid of the weird casing issues
<gchristensen>
oh my word
<gchristensen>
that sounds very very cool
<LnL>
it's similar to lvm/zfs volumes so you don't have to allocate the sizes upfront
<Dezgeg>
does apple force migrating to APFS on macOS?
<LnL>
they did for ssd devices
<LnL>
there's some kind of hidden flag I think but a default upgrade will migrate automatically
<clacke[m]>
is anybody using zfs for nix on macOS?
dbe has joined #nixos
<adisbladis[m]>
clacke: I can give it a go on my apple test machine later tonight
<clacke[m]>
I'm very satisfied with zfs for my nix/Ubuntu
<clacke[m]>
but as Apple stopped supporting ZFS on macOS years ago I dont know the state of any free alternatives
freeman42x]NixOS has joined #nixos
<adisbladis[m]>
clacke: OpenZFS works great on OSX in my experience
<clacke[m]>
adisbladis: oh that would be very kind
<clacke[m]>
ok great
<LnL>
they never supported it, but there's openzfs and that's still actively being worked on
<clacke[m]>
cool
<cransom>
gchristensen: also mv /nix/store /nix/store-delete; rm -rf /nix/store-delete & and carry on?
<gchristensen>
you'll actually need to get rid of all of /nix
<LnL>
sure, if you don't need any io for a while
<gchristensen>
(the installer will tell you how :) )
<vaibhavsagar>
silly Nix+Docker question: is there a way to make my host's /nix available to `docker build`?
<gchristensen>
I don't think so..?
<vaibhavsagar>
this would make my builds so much faster
<sphalerite>
vaibhavsagar: I suppose you could expose it using nix-serve or something
<vaibhavsagar>
sphalerite: that's a good idea
<sphalerite>
oh you mean mounted in directly?
<vaibhavsagar>
no, more like a cache
<gchristensen>
maybe you could do something with an indirect store or something
<Dezgeg>
maybe it can be bind-mounted to some other directory
<gchristensen>
yeah^
<sphalerite>
yeah using the local store as a cache should work just fine, as long as you can find some reliable way to address it
<vaibhavsagar>
sure
<sphalerite>
as for bind-mounts, I doubt it
<LnL>
if you do that those dependencies won't be part of the image
<vaibhavsagar>
I also want the build to work on a remote machine without Nix, so maybe it's worth the agony of watching it redownload and rebuild everything
<vaibhavsagar>
so frustrating though
<LnL>
there used to be NIX_OTHER_STORES but that was removed
<vaibhavsagar>
it's all good, I was asking in case there was a simple/obvious answer I was missing
<LnL>
not sure if there's a way to substitute from an actual store, file:// uses nars
<sphalerite>
vaibhavsagar: if you've got a server you can expose to the internet for this it will even work for other people :)
<vaibhavsagar>
that literally just occurred to me
<vaibhavsagar>
maybe I should copy-closure to my Hydra and serve it from there somehow
MichaelRaskin has joined #nixos
<sphalerite>
sign no. 1 that you're Thinking With Purity™
<vaibhavsagar>
:thinking_face:
<sphalerite>
Which is a good thing really, but can stop you from seeing solutions in horrible things like docker :D
<vaibhavsagar>
sphalerite: I am unfortunately wedded to Docker because mybinder.org uses it
<sphalerite>
I guessed as much. Well, not your specific reason for needing it, but would anyone who knows about nixos really *choose* docker? :D
<LnL>
ofcorse the dockerTools don't go through docker and just build a tar using your local store
<vaibhavsagar>
my reward for this suffering is that I can have Jupyter notebooks hosted for free in the cloud
<vaibhavsagar>
with my kernel of choice, i.e. IHaskell
digitus has joined #nixos
<nick_l>
sphalerite: there are plenty of reasons for that.
<vaibhavsagar>
nick_l: dockerTools covers many use cases without leaving Nix
<{^_^}>
→ 9669d804 by @pSub: Merge pull request #38117 from kiloreux/libaom
ma271 has joined #nixos
<monotux>
I'm trying to update the hugo (gohugo.io) version, but I don't really understand how to build go packages, anyone with a pointer on a suitable doc for me to read? I was hoping that it was a simple update of version and sha256 in the nixfile but it doesn't seem that easy :)
<MichaelRaskin>
gchristensen: why are you surprised?
<gchristensen>
well last I checked they weren't sharing anything publicly, and I'm glad they are now!
<MichaelRaskin>
gchristensen: multiple previous PRs from oxij has been explicitly described as attempts to mainline things already tested inside SLNOS
<gchristensen>
cool
<vcunat>
I assume most oxij's PRs are from SLNOS.
<MichaelRaskin>
I also assume that.
<MichaelRaskin>
But for some no assumption is needed
<vcunat>
The origin doesn't seem important.
<MichaelRaskin>
It shouldn't be important for a local decision on a specific piece of code, but it might be relevant for estimating the future
<{^_^}>
[nixpkgs] @pSub pushed to remove-dwb « dwb: remove package as its insecure and outdated »: https://git.io/vxo31
sanscoeur has joined #nixos
<monotux>
first PR for this project, this will probably not go well :D
<tobiasBora>
gchristensen: pong. I'll try it next week, this week-end I'll be pretty busy, but I keep it in my mind ;)
<gchristensen>
sure, thanks!
<{^_^}>
[nixpkgs] @pSub pushed commit from @hedning to release-18.03 « nix-bash-completions: 0.6.4 -> 0.6.5 »: https://git.io/vxosU
ma271 has joined #nixos
<sphalerite>
a friend of mine needs to use python and the gensim python package. gensim is currently failing to build on 17.09 and nixos-unstable. virtualenv doesn't work at all on nixos, it seems. Any quick and dirty solution to get him up and running?
coot has joined #nixos
<{^_^}>
[nixpkgs] @pSub opened pull request #38133 → dwb: remove package as its insecure and outdated → https://git.io/vxosq
jb55 has quit [Ping timeout: 248 seconds]
drakonis has quit [Ping timeout: 256 seconds]
<monotux>
sphalerite I just tried to build gensim, and it seems that the boto3 dependency (for smart-open) is the issue
<sphalerite>
monotux: yes, but I don't want to go down the rabbit hole of trying to fix python packages
<sphalerite>
just want it to work in as quick-n-dirty a way as possible
<sphalerite>
s/possible/necessary/
<sphalerite>
let me rephrase: as quickly as possible, and as dirtily as necessary to achieve the former
leat has quit [Ping timeout: 256 seconds]
<ryantm>
sphalerite: If you know a version of nixpkgs where it builds, you can clone the repo, checkout that version and install it.
<mbrgm>
shlevy: I found perlPackages.Socket6 to be broken by 306d5cdf03ad6375861a20b8885ef38699ca3c23... do you have a quick idea on how I could fix this, so I can create a PR?
<mbrgm>
otherwise, I can also open an issue if you want to
yorick has joined #nixos
alexteves_ has quit [Ping timeout: 255 seconds]
<yorick>
virtualbox 5.2.8 is segfaulting
leat has joined #nixos
<yorick>
[ 416.391045] VirtualBox[986]: segfault at 1 ip 00007fffe54abb26 sp 00007fffffff8188 error 4 in libQt5XcbQpa.so.5.10.0[7fffe5453000+124000]
<ThatPako>
how do I enable "flags" for a program I want to add to my config? I'm trying to get MPD and looking at the .nix for it made me wonder if all of those `xSupport` things are "automatic" or if I have to set them myself
<ottidmes>
ThatPako: See pkgs/top-level/all-packages.nix for examples of this, you specify them when calling: callPackage, this is often used to make a minimal and full version of to pin a certain version of multiple versions of a package are maintained
sanscoeur has quit [Read error: Connection reset by peer]
<ThatPako>
ryantm: btw, looks like those options are only used for changing stuff like the user mpd runs on. The options I was talking about aren't in the list :/
<mbrgm>
shlevy: gonna bisect on staging, then I'll let you know
<mbrgm>
ty
<mbrgm>
what is staging meant for? is there something about the connection between staging and master in the dev/contribution docs?
blahdodo has joined #nixos
alex`` has quit [Quit: WeeChat 2.1]
ixxie has joined #nixos
ryantrinkle has quit [Ping timeout: 264 seconds]
<srhb>
mbrgm: It's mostly used to batch together world rebuilds.
<srhb>
mbrgm: (That may or may not break the world)
<srhb>
So master is kept in a mostly buildable state without having to start all the way from libc and i[/
<srhb>
ThatPako: It looks like there's an mpd.extraConfig, did you see that?
<srhb>
ThatPako: That's a common idiom. The most used or sometimes just most simple options are abstracted out into nixos options, and the rest you can just throw into the generated configuration file with extraConfig.
<ThatPako>
srhb: that only adds to the config file though
<srhb>
Oh, sorry, perhaps I didn't read back far enough :-)
sanscoeur has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
sanscoeur has joined #nixos
<ThatPako>
the `opt`s I'm talking add support for things like flacc or soundcloud by adding optional dependencies
doyougnu has joined #nixos
<srhb>
ThatPako: Ah, so build options? Yeah, that rarely has to do with NixOS options
<nick_l>
In other news, I should probably write tooling which continuously checks every little assumption I make, because clearly there are many.
<srhb>
ThatPako: Our goal is to alter the arguments that mpd is called with (it's a function, after all) in the nixpkgs used by your NixOS
<srhb>
ThatPako: But first: As far as I can see, flacSupport is enabled by default. Are you sure this is the problem?
<nick_l>
It seems a pretty difficicult tradeoff to make. Writing tools for everything costs time, but debugging also costs time. For debugging you need to understand the whole system all at once, which can be overwhelming.
<ThatPako>
it's enabled by default? :thinking:
<srhb>
ThatPako: Line four of its definition: , flacSupport ? true, flac
<ThatPako>
that means it defaults to "enabled"? oof
<srhb>
Yes, it also has, in configureFlags: (mkFlag flacSupport "flac")
<nick_l>
ThatPako: yes, it's not exactly standard.
<ThatPako>
ohh, then the config options for stuff like aacSupport used in all-packages.nix allow you to disable a few thngs
<srhb>
That is, if flacSupport is true, it's configured with --flac
<nick_l>
ThatPako: you are talking about ternary expressions, right?
<srhb>
ThatPako: Yes, but that way of configuring is mostly unused at this point, and honestly quite confusing imo.
<ThatPako>
it sure is
zybell_ has quit [Ping timeout: 260 seconds]
<ThatPako>
looks like I can just install mpd then
<srhb>
ThatPako: Learning how to do regular overrides is worth more, and used much more commonly.
<srhb>
Okay. I guess we can do the overlays rundown some other time then :-)
<ThatPako>
do I add it to systemPackages though or do `services.mpd.enable = true`?
<srhb>
ThatPako: Adding it to systemPackages will just put it on path and such. services.mpd.enable = true will create systemd units and enable them and such
<ThatPako>
do I need both then?
<nick_l>
ThatPako: no
<srhb>
Usually enabling a module will put it on path automatically.
<ThatPako>
oh
<srhb>
If it's needed anyway :)
<srhb>
Some things need no human interaction and thus are not.
<nick_l>
ThatPako: it is really important to understand the difference between packages and modules.
<ThatPako>
I should really refactor my configuration. wew
ma271 has quit [Ping timeout: 260 seconds]
<srhb>
ThatPako: I basically only have non-daemon stuff in systemPackages
<srhb>
the daemons take care of themselves via the module system.
<ThatPako>
do I add gnupg to systemPackages?
doyougnu has quit [Quit: WeeChat 2.1]
<srhb>
If you want.
<srhb>
But that won't take care of user sessions with gpg-agent, so you might want to use the module instead
<nick_l>
I wonder how fast one can actually learn NixOS and all related tooling on a meaningful level.
<ThatPako>
and using the module automatically adds it to my path?
<nick_l>
ThatPako: not necessarily.
<srhb>
nick_l: I got a few colleagues able to write modules and packages in about a month.
<nick_l>
ThatPako: you basically have to know the module.
<srhb>
They had question of course, but were able to ask meaningful questions that are easily answered, most of the time.
<nick_l>
ThatPako: if the module has a line adding it to systemPackages, then yes.
<srhb>
ThatPako: It does not, so it will not be on PATH.
<nick_l>
srhb: what kind of output can they produce after that time?
<srhb>
nick_l: What do you mean? What kind of volume?
<nick_l>
srhb: mostly whether it is non-trivial.
<srhb>
Ah, definitely non-trivial. Much easier than packaging for, say, Debian or the likes.
<{^_^}>
[nixpkgs] @globin pushed commit from @ryantm to master « fmit: 1.1.13 -> 1.1.14 »: https://git.io/vxo06
<srhb>
If you're not using it as a library but an executable, it probably is fine.
<ThatPako>
my nix-info is a bit weird though
<{^_^}>
[nix] @grahamc opened pull request #2027 → Backport #2026: Expand the multi-user installer to support Linuxes with systemd → https://git.io/vxo0P
<jtojnar>
Is it possible to apply overlay just to a single package (and its dependencies)?
<srhb>
jtojnar: Not in any really sensible way, aside from using a separate nixpkgs for that package.
<ThatPako>
it claims that my user has a different channel (18.03pre) but my .nix-channels is empty
<srhb>
I can reproduce the GHC panic, but.. What on earth is going on there..
<{^_^}>
→ 4ba91f5b by @grahamc: Check for the existence of a profile target before seeing if it mentions Nix
<{^_^}>
→ 2921165a by @grahamc: Expand the multi-user installer to support Linuxes with systemd
<{^_^}>
→ f06f8102 by @grahamc: Use a looser comparison for the 'user note' check
<{^_^}>
[nix] @grahamc merged pull request #2027 → Backport #2026: Expand the multi-user installer to support Linuxes with systemd → https://git.io/vxo0P
<{^_^}>
[nix] @grahamc pushed 5 commits to 2.0-maintenance: https://git.io/vxo2W
<{^_^}>
→ fb6a41a2 by @grahamc: Expand the multi-user installer to support Linuxes with systemd
<{^_^}>
→ 1b493df8 by @grahamc: Check for the existence of a profile target before seeing if it mentions Nix
<{^_^}>
→ 985f0daf by @grahamc: Use a looser comparison for the 'user note' check
<ThatPako>
ryantm: my phone is in the list from lsbusb and I changed the vendor/product IDs but it still won't mount. do I have to actually reboot or should a rebuild be enough?
justanotheruser has joined #nixos
sigmundv has joined #nixos
nixos-user has quit [Quit: Page closed]
<zybell_>
can you mount it from shell? What cmd do you use?
<ThatPako>
nah, it won't show up anywhere I could use to figure out how to mount it
<ThatPako>
lsblk doesn't show it at least
<zybell_>
if it runs mtp no wonder, its a char dev.
<ThatPako>
oof
<ThatPako>
I guess it runs MTP, yea. It's android 7
<zybell_>
Then you need fuse
<makefu>
go-mtpfs is what i use, however it is not mounting automatically right now
<zybell_>
Can you find the dev? dmesg can help there.
<ThatPako>
so should I add it to my systemPackages?
<clever>
yeah, that would work
pie_ has joined #nixos
<ThatPako>
clever: is `nix` an alias on your system? trying to run `nix` on mine just tells me `command not found`
<clever>
ThatPako: nix 2.0 feature, you can get the same effect by just putting it in systemPackages
<ThatPako>
Oh, I see
<clever>
all it did was add mtpfs to $PATH
<zybell_>
that is only the encoded position on the bus, that doesnt help to automount. First we need some stable ref, preferably using the serialnumber.
<joepie91_to_go_>
clever: isn't that just the equivalent of `nix-shell -p mtpfs`?
<clever>
zybell_: modern phones never expose a block device,so you cant just mount them
<clever>
joepie91_to_go_: yep
<clever>
joepie91_to_go_: but nix-shell also tries to download a lot of dev-time things like gcc
<zybell_>
clever:scroll back I know.
<ThatPako>
oof, I think `mtpfs` is stuck on `Attempting to connect device`
<{^_^}>
→ fdd1625d by @jtojnar: meson: 0.44.0 → 0.45.1
<{^_^}>
→ 372b00df by @jtojnar: Merge pull request #37935 from jtojnar/meson-0.45
endformationage has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
jperras has quit [Ping timeout: 276 seconds]
pxc has joined #nixos
jrolfs has quit [Ping timeout: 256 seconds]
vcunat has quit [Quit: Leaving.]
doyougnu has joined #nixos
davidlt has quit [Ping timeout: 260 seconds]
<doyougnu>
Hey all quick question. I'm running xmonad, but I cannot simple perform a "xmonad --recompile" because I get errors that xmonad cannot find xmonad xmonad-contrib and xmonad-extra. So what is the proper way to recompile xmonad?
<doyougnu>
or I guess I should say, must I use nix-shell to recompile xmonad everytime?
<infinisil>
doyougnu: Have you set services.xserver.windowManager.xmonad.enableContribAndExtras to true?
ThatOtherGuy has quit [Ping timeout: 248 seconds]
<doyougnu>
no, I'm using xmonad ad-hoc, and then getting kde5 to use it as it's WM.
mr-ouss has joined #nixos
joepie91_to_go_ has quit [Ping timeout: 260 seconds]
i-am-the-slime has joined #nixos
<infinisil>
doyougnu: Then you should use xmonad-with-packages and pass in xmonad-{contrib,extras}
<infinisil>
I'm pretty sure
<doyougnu>
ok i'll give it a try
<i-am-the-slime>
How would I change tray icons when using xmonad
<i-am-the-slime>
(and trayer)
alexteves has quit [Ping timeout: 268 seconds]
<i-am-the-slime>
nm-applet is the worst
blankhart has quit [Ping timeout: 260 seconds]
Guest68390 has joined #nixos
<infinisil>
no idea, never used tray icons
<infinisil>
Maybe that's a gtk theme thing
Gohla has joined #nixos
ThatOtherGuy has joined #nixos
nuncanada has quit [Ping timeout: 240 seconds]
gmarmstrong has quit [Read error: Connection reset by peer]
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<{^_^}>
[nixpkgs] @globin merged pull request #36556 → user/group assertion to not exceed the 32/16 character limit → https://git.io/vAxTa
<{^_^}>
[nixpkgs] @globin pushed commit from @qknight to master « user/group assertion to not exceed the 32 character limit »: https://git.io/vxoP2
<sphalerite>
zybell_: it's *mounted* read-only so you can't even modify file permissions
<sphalerite>
root bypasses file permissions so changing them shouldn't be necessary, but even if it were necessary it wouldn't be possible :D
<symphorien>
Anyway putting the files in place is not enough, you have to update the sqlite db I think
<sphalerite>
^
jperras has joined #nixos
<zybell_>
that was what i meant with 'set write' / You can write every readonly-mounted filesystem if you open a /dev/loop on the file and mount that rw if that old bug still exists.
<zybell_>
file=device file
c74d has left #nixos [#nixos]
<MichaelRaskin>
I would estimate the dat aloss risk as quite high for that…
<sphalerite>
anyway, what you actually want is nix copy :p
<sphalerite>
and with that, good night!
<ryantm>
Is there a way to look at an in-progress `nix build` log?
<MichaelRaskin>
nix copy has been mentioned already
<zybell_>
You are the only writer. No data loss.
<MichaelRaskin>
ryantm: seems at least nontrivial…
<MichaelRaskin>
zybell_: a nix-build could be running in parallel
jperras has quit [Ping timeout: 256 seconds]
<MichaelRaskin>
Also, the filesystem itself is mounted read-write
<zybell_>
In the same sha dir?
<MichaelRaskin>
Erm, if you double-RW-mount an FS, I wouldn't count that just writing to different directories will save you
<MichaelRaskin>
Optimised search trees are a bit more fragile than that.
<zybell_>
mounted read-write root wins, mounted read-only double mount wins.
<{^_^}>
[nixpkgs] @jtojnar pushed commit from @ryantm to master « libvisio: 0.1.3 -> 0.1.6 »: https://git.io/vxo19
doyougnu has joined #nixos
gmarmstrong has quit [Quit: Quit]
pxc has quit [Ping timeout: 256 seconds]
<MichaelRaskin>
zybell_: the filesystem is mounted read-write
joepie91_to_go_ has joined #nixos
<MichaelRaskin>
Only the bind mount on top of it is read-only
pxc has joined #nixos
coot_ has quit [Quit: coot_]
knupfer has quit [Ping timeout: 255 seconds]
<doyougnu>
infinisil: still didn't work. Let me make sure I have the process right. I switch to xmonad-with-packages, then boot up a nix-shell with xmonad-{contrib,extras} and then recompile in that shell right?
<infinisil>
doyougnu: I think so, such a shell should have an xmonad with the packages you gave it
<zybell_>
Then the best way is to run a 'builder' that extracts the tar
<{^_^}>
[nixpkgs] @pbogdan opened pull request #38152 → gmtp: pass --datapath in the wrapper → https://git.io/vxoMW
<doyougnu>
hmm ok, it seems to have trouble finding xmonad at all in that shell. perhaps I'm invoking it wrong? I'm just doing nix-shell -p haskellPackages.xmonad-{contrib,extras} -p haskellPackages.xmonad
ThatPako has quit [Remote host closed the connection]
<infinisil>
doyougnu: That's not using xmonad-with-packages
endformationage has quit [Ping timeout: 260 seconds]
joepie91_to_go_ has quit [Ping timeout: 248 seconds]
endformationage has joined #nixos
semilattice has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 256 seconds]
<{^_^}>
[nixpkgs] @jwiegley pushed to master « Allow some packages to build on darwin as well »: https://git.io/vxoDp
digitus has quit [Remote host closed the connection]
pxc has quit [Ping timeout: 248 seconds]
<qzzque>
If I install `flow-bin` via node2nix, I get a "no such file or directory" error when I try to run the executable. This sort of makes sense since `flow-bin` is installing an ocaml executable. I see some mention of patchelf, but that sounds like a pain. Is there a good story for npm binaries? Or should I just use the nixos flow package here and hope there are similar options on future occasions?
semilattice has joined #nixos
raynold has joined #nixos
orivej has joined #nixos
pie__ has quit [Read error: Connection reset by peer]
John882 has quit [Quit: John882]
pie_ has joined #nixos
Crypt0x has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
endformationage has quit [Ping timeout: 240 seconds]
das_j has left #nixos ["WeeChat 2.1"]
endformationage has joined #nixos
sanscoeur has quit [Ping timeout: 256 seconds]
endformationage has quit [Ping timeout: 256 seconds]
<infinisil>
To integrate NixOps with domain registrars
<infinisil>
And add a proper DNS module, so you can do everything from nixops
jtojnar has quit [Remote host closed the connection]
<fnlkj>
dam, i don't even know what nixos is yet...cant rememebr when/how i got here.....but sounds..possibly interesting..
<infinisil>
Heh, it is very nice
jtojnar has joined #nixos
<fnlkj>
anyway, incase unaware, sites like github has plenty similar, but example github.com/Angristan has some easy few-click scripts to setup things like a local dns server (iirc w dnscrypt&dnssec), using dnscrypt-proxy & dnsmasq packages i think..
<fnlkj>
hmm...that's quite a short line and doesnt tell me much more, but.... got tempted to now because of you still=D lol..hmmm...bored anywaym, ..i may just try this thing now then infact!
<infinisil>
fnlkj: Well NixOS already has multiple DNS modules. So you can get dnsmasq running with just `services.dnsmasq.enable = true;`
<infinisil>
What I want is a module that lets you easily declare DNS records (A, AAAA, CNAME, etc.)
<infinisil>
Because currently I'm writing my DNS zone file pretty much manually and it's a pain
<infinisil>
NixOS could make that much easier
<fnlkj>
cool, but idd a, aaaa etc. i think should be an easy minor addition..without yet knowing what nixos is
pxc has joined #nixos
<joepie91_to_go_>
infinisil: 'registrar' and 'DNS provider' are two separate things, btw :P
<zybell_>
infinisil:djbdns has add-host ... and so on. And the textfile for conf is like passwd.
<infinisil>
fnlkj: You can of course create such records, but then you need to write them into a file manually, with a line like e.g. `foo IN CNAME example.com.` for foo.example.com, but NixOS could have an option to enable you something like `domains = [ "foo" "bar" "baz" ];` that would automatically put a CNAME for each
<joepie91_to_go_>
a bunch of providers offer both but they're not inherently tied
<{^_^}>
[nixpkgs] @aperiodic opened pull request #38157 → gflags: now builds on case-insensitive filesystems → https://git.io/vxoQz
<infinisil>
joepie91_to_go_: Yeah, my registrar allows me to use my own DNS server, so that's why I'm thinking of both
<fnlkj>
infinisil: thats the "normal" way innit... i mean without guy
<fnlkj>
gui
<fnlkj>
..good practice i mean, .. not a b ad thing =)
<fnlkj>
and, really, not That bad, much work or a notable inconvenience either heh
<infinisil>
fnlkj: Yes, but using nixos options for that has benefits
<fnlkj>
hmh.. yeah imma try get it up in..vmware, virtualbox?..
<fnlkj>
just put up win16 on a laptop (virtualization seem supported), but Docker whining hyper-v aint activated... not sure if minior lacking or wtf up with it......mh. or should i set off a dedicated box for it specifically?
<infinisil>
And having 50 links on the start page doesn't really help with that
<fnlkj>
hm:/ .. if kinda want some old fashioned .. hit-counter, .. flashy text n stuff..geocities, angelfire? ..frmo those days, and some almost funnily decorated page as such, with their icons... cuould be a nice change ha
<fnlkj>
on slow laptop..X tabs open already...i still am yet to see that same asyou're..hhhhhhhh