gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
erasmas has quit [Quit: leaving]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #34789: Revert "squashfuse: init at 0.1.101" (master...squashfuse) https://git.io/vALGI
NixOS_GitHub has left #nixos [#nixos]
<Profpatsch> sphalerite: Why is there two of you? :)
fragamus has joined #nixos
<Profpatsch> Normally I just grep for stuff and look at a few examples.
<Profpatsch> So if I want to package a GTK or Qt thingy, I look at well-known GTK or Qt apps.
<Profpatsch> (That are somewhere at the same level of complexity, I won’t look at chromium for example.
<sphalerite> Profpatsch: matrix and weechat
<Profpatsch> Ah. :)
<Profpatsch> Often people use [m] for matrix.
<sphalerite> Profpatsch: the grep approach is what led genesis to write squashfuse as they did.
<sphalerite> Yes, [m] is the default
<Profpatsch> sphalerite: Of course, which is totally fine.
<grahamc> I like to use my GitHub identify for matrix.
<Profpatsch> Only the reaction to improvements is not so fine tbqh
<sphalerite> Profpatsch: there are too many bad examples in nixpkgs for it to be a good approach imho
<genesis> grep find, what is it
<Profpatsch> I feel like I’m having a dejà vu …
<genesis> SANS DECONNER
<Profpatsch> sphalerite: Then we should definitely improve nixpkgs, yes.
<sphalerite> Agreed. That's a lot to cover though. Failing that, a list of good examples is good to have
<sphalerite_> a list of good examples like we have at https://nixos.org/nixpkgs/manual/#chap-quick-start
<Profpatsch> I recommend putting that list into the Wiki.
<Profpatsch> https://wiki.nixos
<Profpatsch> Ah, the other way around of course
<genesis> i recommand commenting bad stuff in the nix instead
<Profpatsch> https://nixos.wiki
<genesis> rule 1: always write stuff the nearest to what it concerns.
<genesis> (Kanban)
ryanartecona has joined #nixos
spear2 has quit [Read error: Connection reset by peer]
<genesis> wiki or tor secret site is the same, people look what it's oki for others derivations, not the differents manual , pills, wiki , readme, and so, i eat a lot of nix stuff this days, but i can't have read all, and coding convention is not always write, it's why people tend to follow others instead of documentation that could be outdated
<sphalerite_> Is there a way of viewing hydra information (currently most interested in seeing which jobs failed in the most recent nixpkgs eval at https://nixos.org/nixpkgs/manual/#chap-quick-start ) without javascript?
<sphalerite_> err, wrong link. https://hydra.nixos.org/eval/1432291
* sphalerite_ is not very good at pasting
<genesis> always a link behind :D
<genesis> if i were Profpatsch , i could advise you about middle button
<genesis> you know on a mouse
<genesis> the little plastic things you use generally in the right hand
<gchristensen> (genesis: this isn't very funny)
{^_^} has quit [Remote host closed the connection]
<genesis> yes it's not ...
{^_^} has joined #nixos
{^_^} has quit [Changing host]
{^_^} has joined #nixos
<genesis> sense of humour is a relative thing, i like to be sarcastic.
<genesis> when people say " Normally I just grep for stuff and look at a few examples."
<{^_^}> hi samueldr
<samueldr> hi {^_^}, loks like you got notice powers back!
<samueldr> looks*
<Profpatsch> grep is a bit too slow for nixpkgs, you need ag or ripgrep to have any fun, true.
<samueldr> !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.
* gchristensen restrains from plugging his search tool
<samueldr> (I was checking just in case something broke)
<gchristensen> nice
<Profpatsch> gchristensen: What’s your search tool?
<sphalerite_> search.nix.gsc.io
<gchristensen> I think I'll probably take the ircbot out of the ofborg repo, it doesn't really belong there.
<sphalerite_> iirc
<gchristensen> indeed
ryanartecona has quit [Quit: ryanartecona]
<gchristensen> its my secret weapo
<sphalerite_> so many things don't work without javascript :(
ryanartecona has joined #nixos
<gchristensen> sphalerite_: hound's editor integration works without JS
<samueldr> sometimes it's a necessary evil :(
<Profpatsch> function finddef { ag "$1.=" ~/nixpkgs }
<Profpatsch> :)
<Profpatsch> Works every time!
fragamus has quit [Ping timeout: 265 seconds]
azertyieio has joined #nixos
<gchristensen> yeah, but hound searches all of NixOS
<sphalerite_> gchristensen: ooooh
<sphalerite_> samueldr: it's not that I don't want to a javascript-capable browser on my chromebook, I just don't have one yet.
<sphalerite_> >_>
<samueldr> yeah, I gathered
uptime has joined #nixos
digitus has quit [Quit: digitus]
<genesis> i didn't notice mpd x265 and so
ZaraChimera has left #nixos ["Leaving"]
<genesis> my mistakes.
ma273 has quit [Ping timeout: 252 seconds]
vidbina has quit [Ping timeout: 256 seconds]
<genesis> anyway, with find -iname "*.nix" you don't have to read cc code first ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #34793: trivial: fetchurl more securely (master...pkg/fetchurl-securely) https://git.io/vALuM
NixOS_GitHub has left #nixos [#nixos]
silver_ has joined #nixos
<genesis> thanks. very sad stuff gchristensen :/
ryanartecona has quit [Quit: ryanartecona]
<gchristensen> what is?
silver has quit [Ping timeout: 240 seconds]
<genesis> using mkflag !
<gchristensen> eh
genesis has left #nixos ["Leaving"]
genesis has joined #nixos
<genesis> https://github.com/NixOS/nixpkgs/pull/34663 when same people tell you to find grep ^^
<genesis> and not using what you found
dan_b has quit [Ping timeout: 248 seconds]
<genesis> i don't understand the null thing
<genesis> if i want no flag by default, but setting the flag in nix configuration, so what should i do ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34793: trivial: fetchurl more securely (master...pkg/fetchurl-securely) https://git.io/vALuM
NixOS_GitHub has left #nixos [#nixos]
<Profpatsch> genesis: Normally we use xyzSupport flags.
<Profpatsch> somefeatureSupport ? false
<Profpatsch> And then an assert to check that the corresponding package is not null.
<genesis> a bit verbose, so i should follow groonga way to do
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master a5524e4 Kevin Liu: looking-glass-client: restrict to x86_64-linux...
<NixOS_GitHub> nixpkgs/master 053453c Jörg Thalheim: Merge pull request #34782 from Pneumaticat/patch-1...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALzV
NixOS_GitHub has left #nixos [#nixos]
<genesis> but anyway, 2 developers has 3 differents view of doing thing
<simpson> Eelco's ultimately got the last word on this.
<gchristensen> Nixpkgs contributors are pretty good about settling on a consistent approach, and indeed Eelco does
<simpson> FWIW I think that the original suggestion, of using `null`, is extremely consistent with nixpkgs.
<simpson> Here's one of my PRs along these lines: https://github.com/NixOS/nixpkgs/pull/21429
<Profpatsch> genesis: That’s why I proposed rendering the supported flags for compression backends from a list.
<genesis> lz4Support ? false, lz4 <- why is it depend on lz4 if the flag lz4Support is not known
<Profpatsch> genesis: It doesn’t
<Profpatsch> Because nix is lazy.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALzQ
<NixOS_GitHub> nixpkgs/master 9d5cce6 Symphorien Gibol: vimPlugins.targets-vim: init at 2017-12-03
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 2bffc88 Jörg Thalheim: Merge pull request #34631 from symphorien/targets-vim...
<Profpatsch> nix-repl> f = { fooSupport ? false, hello }: "${(lib.optionalString fooSupport hello)}"
<Profpatsch> f {}
<Profpatsch> ""
<simpson> Profpatsch: It still sounds overengineered TBH. Even if something replaced one of those system libraries, it'd hopefully still be API-compatible. Using the names as the interface sounds fine.
<Profpatsch> The hello package will not be built if fooSupport is false
<Profpatsch> nix-repl> f { fooSupport = true; }
<Profpatsch> "/nix/store/zjz2xn7mzz5kpzwgz3dz7mpwyfywfvpq-foo"
<Profpatsch> ^ -foo" should be "-hello", because I used a slightly different example in my repl.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ajs124 opened pull request #34794: move texstudio from qt4 to qt5 (master...update/texmaker_and_studio) https://git.io/vALzp
NixOS_GitHub has left #nixos [#nixos]
<sphalerite_> I still think the best approach is to just not have any special customisation code in the expression
<sphalerite_> just take some sensible set of defaults, and someone who has more specific requirements can get what they want using overrideAtts
<dhess> I am not defending genesis here, but I recently had a PR rejected, in part, because it did *not* null out an argument when its corresponding "xSupport" flag is false. https://github.com/NixOS/nixpkgs/pull/33886#discussion_r161968072
<dhess> so this is something that Nix maintainers should get consistent about.
<Profpatsch> dhess: What exactly does marking them null gain you?
<dhess> I happen to agree with Profpatsch that it's unnecessary because of laziness
<dhess> Profpatsch: don't ask me, I wrote it like you did!
<genesis> i don't like lz4sSupport , because it's not straightforward, why not lz4Enable ... such things tends to become a nightmare of code ruling
<dhess> Profpatsch: in other words, I agree with you completely on this. My point was, even amongst Nix maintainers, there is disagreement on this.
<genesis> dhess : Profpatsch propose at first a set of compressionAlgorithmFlags ...
<samueldr> unless I'm mistaken, the flag is named this way as it is "to add support for X in package"
<dhess> genesis: dude, from one long-time FOSS contributor to another, you need to drop it. Patches get rejected by maintainers all the time, for all kinds of reasons. You need to have a thick skin about it. You should know this by now.
<genesis> people needs some rules to be able to do easily the with/without flags
day|flip has joined #nixos
<gchristensen> genesis: please listen to dhess
<dhess> in the time you've been complaining about it, you could have fixed the PR as requested and had it accepted again.
<dhess> Don't let your pride get in the way of being useful.
<gchristensen> anyone have a google pixel 2 (XL or not)?
<day|flip> i'm trying to install a package from cabal. but can't get pass this failed build. i have openssl install. but it still giving me issue. https://hastebin.com/osukaxanox.sql
<genesis> dhess ; that doesn't resolve the case for all using mkflag/mkwith/mkenable, btw it would be better to have standard expressoin
<genesis> a noob like me have no idea how to set it in the nix expr
<dhess> genesis: It would be better to have a *convention*. And these conventions should probably be documented. Perhaps you could open an issue requesting documentation to that effect.
<dhess> because as you have pointed out, nixpkgs itself is inconsistent on this issue.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34773: eschalot: init at 2018-01-19 (master...eschalot) https://git.io/vAIdz
NixOS_GitHub has left #nixos [#nixos]
<genesis> dhess : oki but are we agree we need expr that provides such mecanism more than "convention"
<simpson> dhess: We're talking in the dev channel right now about possible ways to go from a *convention* to a *signature*, or to otherwise unify nixpkgs' stance on this.
<dhess> simpson: cool, that would be helpful
<dhess> genesis: I think a convention would be fine but if the devs want to provide a function or other infrastructure to codify it, that would be even better.
<genesis> i fear the convention without feature will resume to not do that :)
<dhess> genesis: Nix is a programming language. Even if you provide the feature, you can still do it your own way, just ever so differently ;)
<genesis> and since it's how people tend to do it, since it's the evident way of doing it, it's hard to prevent fure people doing it that way
<genesis> s/fure/future
<dhess> anyway look, not much point on continuing on this track. We agree that Nixpkgs is inconsistent on this matter and it should be made obvious to contributors what is the preferred way. How that is done is up to the devs, and it sounds like they are working on it. So that is good!
<genesis> yes, i still don't get why it's bad, but i have to stop discusting about that :)
<dhess> yes, that would also be good :)
<dhess> anyway, maybe you can just keep an eye out for the new expression/mechanism and re-submit your PR when it is ready
<dhess> and then everyone is happy again.
oida has quit [Ping timeout: 265 seconds]
<day|flip> i have two issue. one I can't install HsOpenSSL from cabal-install. and 2) it seem that nix is not reading the extra config I added to /etc/X11/xorg.conf.d/20-intel.conf
noffle has left #nixos ["WeeChat 1.9-dev"]
Lisanna has quit [Quit: Lisanna]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34778: nixos: export packages of the current configuration (master...os/allow-pkgs) https://git.io/vALeo
NixOS_GitHub has left #nixos [#nixos]
oida has joined #nixos
catch22 has quit [Remote host closed the connection]
<sphalerite_> oops, I accidentally included some WIP iPXE stuff there too
<sphalerite_> but you get the idea. Much less code, can still be overridden not to use the libs by doing something like squashfuse.override { zstd = null; }
<sphalerite_> and no options to argue about the names for :p
<genesis> but you don't provide the path
<genesis> the option -with needs
<genesis> and why i use mkwith.
<genesis> like Profpatsch , you don't answer the problem, but you have the right code rule;
<sphalerite_> Compression support ....... : ZLIB XZ LZO LZ4 ZSTD
Arcaelyx has joined #nixos
<genesis> because this package is lazy too, it won't disable if it finds the compressor
stephenjudkins has quit [Remote host closed the connection]
<genesis> it's not what i want because i want to be able to disable a compressor, even if it exists, even if on nix it can't find it anyway
<simpson> sphalerite_: Does the { zstd = null; } work?
<sphalerite_> simpson: yep.
<genesis> that's an exercice for me doing my first derivation
<simpson> genesis: Fact of life: You *will* have to occasionally do overrides when working with nixpkgs. If a package inside nixpkgs always wants the override, we can do that. If you always want the override, you can do that.
spear2 has joined #nixos
<genesis> that is that's work because the configure script is not fixed, but when i'll have fixed to be not lazy, i've to redo the stuff
<sphalerite_> genesis: nix-build -E 'with import <nixpkgs> {}; squashfuse.override {zstd = null;}' disables zstd
<sphalerite_> with my version
<genesis> oki that's why nix is superior
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #34795: nixos: labels part 2 (master...os/nixosLabel-pt2) https://git.io/vALak
NixOS_GitHub has left #nixos [#nixos]
<genesis> because it'll not provide other stuff in this phase, i've to take that in account.
07IACG3ZG has joined #nixos
<07IACG3ZG> [nixpkgs] grahamc pushed 8 new commits to master: https://git.io/vALat
07IACG3ZG has left #nixos [#nixos]
<07IACG3ZG> nixpkgs/master ee32204 Jan Malakhovski: lib: implement `compare`, `splitByAndCompare`, and `compareLists`
<07IACG3ZG> nixpkgs/master 6608060 Jan Malakhovski: nixos, lib: implement relatedPackages option...
<07IACG3ZG> nixpkgs/master a7d75ab Jan Malakhovski: nixos/doc: push all the `enable*' and `package*` options to the top of their option group...
7GHAB2454 has joined #nixos
<7GHAB2454> [nixpkgs] grahamc closed pull request #33007: Revert "Revert "nixos: doc: implement related packages in the manual"" (master...revert-33006-revert-32424-nixos/related-packages) https://git.io/vbHhH
7GHAB2454 has left #nixos [#nixos]
<dhess> genesis: yes! Nix makes doing your own thing so much easier than anything else I've encountered.
07IACG3ZL has joined #nixos
<07IACG3ZL> nixpkgs/master ac073fe Jan Malakhovski: linuxPackages: point linux_hardened to the hardened default linux, not hardened linux_latest
<07IACG3ZL> [nixpkgs] grahamc pushed 4 new commits to master: https://git.io/vALaq
<07IACG3ZL> nixpkgs/master 3a2ee6e Jan Malakhovski: linuxPackages: introduce `hardenedLinuxPackagesFor` and cleanup some expressions using it
07IACG3ZL has left #nixos [#nixos]
<07IACG3ZL> nixpkgs/master a522778 Jan Malakhovski: linuxPackages: add more predefined kernels with Xen Dom0
7GHAB2457 has joined #nixos
<7GHAB2457> [nixpkgs] grahamc closed pull request #29440: linuxPackages: various changes (master...pkg/linuxPackages) https://git.io/v55cr
7GHAB2457 has left #nixos [#nixos]
<dhess> especially now with overlays. It's dead simple, once you understand the basics of Nix expressions.
<dhess> (modules are a bit harder. It would be nice if there were module overlays ;)
<genesis> i donno, thanks for the help sphalerite
<genesis> and sphalerite_
<genesis> and the others we don't know
<sphalerite_> ^^
<sphalerite_> right now I should REALLY sleep
<Profpatsch> Seems like the least-hassle solution.
<simpson> Yeah, sleep's easy.
<Profpatsch> Depends on make picking stuff up correctly, which I didn’t assume.
<simpson> Damn, now *I* want sleep.
<sphalerite_> let's have a sleep party
<genesis> more easy that what i've to do; do this conditional in the configure.ac with pkgconfig to fill the Requires field in pc.in :)
<simpson> genesis: Yes, pkg-config is very much your friend here.
<genesis> it's on my todo list, it's why also i don't answer, i'm on that stuff and i've my change in mind
<simpson> Nice. I highly approve of writing code.
<simpson> ...And I'm sad that English doesn't have a word like {i'ecai} for non-sarcastic high approval.
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<genesis> and now i'm a lier with revert commit.
<genesis> s/lier/liar
<genesis> point on a 404.
iqubic has joined #nixos
<iqubic> Why can't I mount a USB that is plugged into my computer?
<samueldr> there could be many reasons
<samueldr> does it show up in the output of `lsblk` once plugged-in?
<sphalerite_> iqubic: how are you trying to mount it?
<iqubic> "mount /dev/sdb /mnt/usb" fails telling me "invalid argument."
<iqubic> sphalerite_: I used the mount command as root.
<sphalerite_> iqubic: it's probably partitioned. Try sdb1 rather than sdb
<sphalerite_> or other partitions, see lsblk as samueldr said
<samueldr> while unusual, generally the whole block device isn't used
<samueldr> and yeah
<iqubic> samueldr: lsblk shows me that sdb is the only partition on this USB drive
<sphalerite_> journalctl -n might also tell you some things about why it failed to mount
<sphalerite_> It may be that it doesn't have a filesystem on it at all.
<sphalerite_> blkid /dev/sdb may also tell you if there's anything to be found on it.
<samueldr> when using a graphical environment, I generally mount using `gnome-disks`, allows me select the device, and it handles most of the magic
<iqubic> if I try to mount /dev/sda1 to /mnt/usb/ I am told "no such file or directory"
<clever> iqubic: run ls on both paths, which one doesnt exist?
<iqubic> I know that /mnt/usb exist, because I just created it.
<sphalerite_> iqubic: probably /dev/sda1 doesn't exist though :)
<iqubic> yeah, that's right.
<genesis> best UI is gparted
nuncanada2 has quit [Ping timeout: 240 seconds]
xcmw has joined #nixos
<iqubic> Running blkid on the drive in question only gives me a UUID.
<iqubic> Nothing else.
<genesis> so it's alive
<iqubic> I think so.
<iqubic> yeah.
<genesis> run gparted
<iqubic> Let me first install that.
<genesis> select the drive, it's easy
<genesis> we'll know if you have proper setup on that stuff
<iqubic> How do I select the drive, is that a gparted thing?
<genesis> right
<genesis> top right you have a menu
<iqubic> I see that.
spietz has quit [Ping timeout: 268 seconds]
<genesis> if you don't see it, Gparted -> refresh devices (something like that)
<iqubic> gparted shows that /dev/sdb is a 1.88 GiB ext4 formated device.
<genesis> not sdb1 ?
<iqubic> No.
<iqubic> /dev/sdb1 doesn't exist for me
<iqubic> I don't have a /dev/sdb1
<genesis> mount /dev/sdb /your/path
<iqubic> I tried that already.
<genesis> hum
<genesis> device -> create a partition table
<iqubic> It gave me "invalid argument" as I said before.
<genesis> yes oki , recreate a partition table with gparted
<iqubic> How do I do that?
<samueldr> don't create a partition table if you have data you need on there!
<iqubic> I do have data I need on this drive.
<samueldr> iqubic: to help us a bit, how did you initially format the device, do you remember?
<iqubic> I have no idea.
<iqubic> I'm fairly certain I ran mkfs.ext4 on it at one point.
silver_ has quit [Read error: Connection reset by peer]
<iqubic> That is what I seem to recall most clearly.
<samueldr> okay, probably something like mkfs.ext4 /dev/sdb
<iqubic> Yeah, that's what I did.
<genesis> device -> create partition table
<samueldr> which would make sense with what you're told us
<samueldr> genesis: iqubic will lose the data
<genesis> he have no data
<genesis> ha
<samueldr> or at least, easy access to existing data
<iqubic> genesis: I feel like that would erase the data I'm trying to access.
<genesis> oki i'm too tired
<samueldr> [20:56:16] <iqubic> I do have data I need on this drive.
<samueldr> n/p
<genesis> i misread my bad
<genesis> too tired to help on such topic it seems
<samueldr> iqubic: to recap, lsblk does show /dev/sdb only, right?
<iqubic> Yes.
<genesis> he had format sdb instead of sdb1
<iqubic> That's right.
<samueldr> and in the size column, the size does match with the expected value for the device
<iqubic> Yes.
<samueldr> good, then this is the right block device (/dev/sdb)
<iqubic> gparted and lsblk both tell me the same correct size of the drive.
<Rusty1_> do they show it as ext4?
<samueldr> [20:53:49] <iqubic> gparted shows that /dev/sdb is a 1.88 GiB ext4 formated device.
<gchristensen> hrmm sonarpulse isn't online. what is he doing, friday night things? :)
<iqubic> Rusty1_: yes. Both show ext4
<iqubic> samueldr: Yes, that's the right info.
<genesis> iqubic right click on the partition in gparted and try to mpount from it
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> iqubic: what does `findmnt /mnt/usb` return?
<iqubic> I can't. That option is greyed out.
<genesis> oki
<iqubic> samueldr: It returns nothing.
<samueldr> good, it would have returned something if, for any reason, you had something else still mounted there
<iqubic> /mnt/usb is a directory that I jsut created for the purpose of mounting my usb drive.
<dhess> domenkozar: around?
<gchristensen> dhess: 3am over there :)
<dhess> yeah I figured :(
<samueldr> iqubic: `sudo mount -t ext4 /dev/sdb /mnt/usb`, probably will show the same error
<dhess> maybe he likes to spend late late Friday nights idling in #nixos
<pikajude> who doesn't
<dhess> :D
<samueldr> then pastebin the end of `dmesg` somewhere, maybe the kernel gives us an explanation for the invalid argument
ZaraChimera has joined #nixos
alex`` has joined #nixos
<iqubic> samueldr: using the -t flag seems to have worked for me.
<iqubic> Not sure why.
<samueldr> is the expected data there?
<samueldr> I don't know either why it would work better when specifying
<genesis> should be automatic but without partition table, it can't rely on it , that makes sens
<samueldr> probably something to do with the use of the whole block device instead of a partition
<iqubic> Yes. The correct data is present.
<genesis> i would recommend to save it and do a table and format the sdb1 in gparted ...
day|flip has quit [Quit: leaving]
<iqubic> Is there a reason that gparted shows my whole zfs tank as one single partition?
xcmw has joined #nixos
<iqubic> Is that normal?
<samueldr> gparted AFAIK doesn't handle zfs internals
<genesis> i donno zfs stuff
<iqubic> samueldr: Thank you for that.
<duncan^> Does gparted even support ZFS? ZFS is basically a software RAID solution, so gparted would probably need special support for it.
<samueldr> you're welcome, you were in a tough bind there
<duncan^> It's not just any old filesystem.
<samueldr> from the feature page on their website, it seems gparted knows enough to show "it's zfs" and that's it
<duncan^> Luckily, ZFS is really easy to manage with its native tools.
d4g has joined #nixos
<dhess> anyone around who manages Hydra builds?
<gchristensen> what does that question mean?
<dhess> Let me be slightly more specific: anyone around who is knowledgeable about how Hydra evaluates expressions?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #34797: OpenCL things (master...pkgs/opencl-things) https://git.io/vALVr
NixOS_GitHub has left #nixos [#nixos]
mbrgm has quit [Ping timeout: 260 seconds]
marusich has joined #nixos
<dhess> I have a release.nix that works fine with nix-build interactively, but when built on Hydra, it complains that one of the jobs is empty. I know the expression that is causing problems and I'm trying to figure out why
<gchristensen> I'm somewhat familiar
d4g_ has quit [Ping timeout: 264 seconds]
<dhess> that is in an overlay, I'm trying to build my own NixOps, which has its weird little release.nix file
alex`` has quit [Ping timeout: 256 seconds]
<dhess> that is based on what IOHK does here, though not in an overlay: https://github.com/input-output-hk/iohk-ops/blob/7aa3a88dbbb68ea1bb9770cb2d26a831c52a623e/default.nix#L19
<gchristensen> Hydra prohibits import from derivation, where "myNixOps = super.fetchFromGitHub" is producing a derivation and import "${myNixOps}/release.nix" { is trying to import it
<dhess> yeah that is what I was afraid of
<dhess> it's weird because IOHK has a job that evaluates their nixops expression.
ZaraChimera has quit [Remote host closed the connection]
<dhess> that's why I was looking for domenkozar
<gchristensen> you could pass in the network via a hydra input and then <mynixopsnetwork>
<clever> nixops is being passed in via the hydra inputs
mbrgm has joined #nixos
<dhess> ahh so just as gchristensen said :)
<dhess> hi clever :)
<dhess> I am tempted just to re-jig NixOps to build as an overlay also
<clever> but its a different rev then what the nix refers to
ZaraChimera has joined #nixos
<dhess> yeah, I want mine to be built by the Hydra. But I think I could make it work that way anyway.
<dhess> it's a PITA though
<clever> dhess: let me grab one other handy thing
<clever> dhess: this does a hydra eval, without installing hydra
<dhess> oh hehehehe that is a really nice trick!
<clever> so you can start spraying builtins.trace and lib.traceShowVal all over your code
<dhess> That won't build on macOS though, right?
<clever> it may
<dhess> I assume Hydra has platforms.linux
<dhess> ok. Well good tool to have anyway
<clever> error: Package ‘hydra-2017-09-14’ in /nix/store/1ja644zdbff4n0zxpa7p3w40vqj8lxh7-nixpkgs-18.03pre118668.0e4be9e5f0/nixpkgs/pkgs/build-support/release/nix-build.nix:151 is not supported on ‘x86_64-darwin’, refusing to evaluate.
<dhess> "Jobset contains a job with a empty name" is the bane of my existence
Arcaelyx_ has joined #nixos
i-am-the-slime has quit [Ping timeout: 240 seconds]
Arcaelyx has quit [Ping timeout: 252 seconds]
<dhess> ok thanks clever & gchristensen
<dhess> Will Hydra follow/checkout .gitmodules?
thc202 has quit [Ping timeout: 260 seconds]
<clever> dhess: all it does is run nix-prefetch-git as the hydra user, no sandboxing involved
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #34798: aspellDicts: add more dictionaries and some documentation (master...pkgs/aspell-dicts) https://git.io/vALwk
NixOS_GitHub has left #nixos [#nixos]
<dhess> "FIXME: Don't use nix-prefetch-git" :) So maybe not for much longer
<clever> dhess: if you hit blame, that has been there for 3 years
<dhess> I think the Hydra override is probably a better way to go. I think it will "just work" with what I've got in my original version, actually
<dhess> clever: hehehe
coot has quit [Quit: coot]
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] oxij opened pull request #34799: mailpile: 0.4.1 -> 1.0.0rc1 (master...pkgs/mailpile10rc) https://git.io/vALwa
NixOS_GitHub has left #nixos [#nixos]
<Profpatsch> MoreTea: lewo Okay, I finally set up the wiki page for the container workgroup: https://nixos.wiki/wiki/Workgroup:Container
<Profpatsch> I’m also in #nixos-wiki
<Profpatsch> Feel free to add your names, describe what you have already done to create containers, link your projects etc.
<Profpatsch> Next step is to author a nice list of tooling that might be interesting to work with containers.
Supersonic has quit [Ping timeout: 264 seconds]
<Profpatsch> And of course get as much links to interesting material and examples in there as possible.
<Profpatsch> There were even more people interested in that topic, but I don’t remember their names or nicks.
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ZaraChimera has quit [Quit: Leaving]
spietz has joined #nixos
oida has quit [Ping timeout: 260 seconds]
coot has quit [Quit: coot]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1857: configure.ac: check if lzma has MT support, fix deb build/etc. (master...fix/check-for-lzma-mt) https://git.io/vALre
NixOS_GitHub has left #nixos [#nixos]
<dtz> fixitfixitfixitfixitfixit
<dtz> :)
hakujin has joined #nixos
rardiol[m] has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
spietz has quit [Ping timeout: 265 seconds]
iyzsong has joined #nixos
spietz has joined #nixos
pkill9 has quit [Ping timeout: 240 seconds]
zopsi has joined #nixos
spietz has quit [Ping timeout: 248 seconds]
nuncanada2 has joined #nixos
leroux` has joined #nixos
iqubic has left #nixos ["ERC (IRC client for Emacs 25.3.1)"]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srid> why can't I install certain fonts like dejavu-fonts? Did something change?
<srid> > error: undefined variable ‘dejavu-fonts’
<Shados> Is there a derivation attribute that exposes the propagatedBuildInputs of said derivation's own buildInputs? i.e. that exposes the build inputs propagated to it?
<samueldr> ah!
schoppenhauer has quit [Ping timeout: 276 seconds]
<samueldr> attribute vs. derivation's name
<samueldr> erm, or rather "Package name" vs. "Attribute name"
<samueldr> what is inside the derivation is the package name
schoppenhauer has joined #nixos
<samueldr> what you have to use in the configuration.nix file is the attribute name, which is, in this case, dejavu_fonts https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix#L13747
<samueldr> another location where you can get the attribute names, srid, is in the web interface https://nixos.org/nixos/packages.html#dejavu
<samueldr> also available in e.g.: `nix-env -qaP | grep -i dejavu` (there may be better ways to use nix-env)
<srid> But it is inconsistent with the usual way of installing fonts (`fonts.fonts = with pkgs; [ google-fonts ...]`)
<samueldr> yes it is
<samueldr> but that's how the attribute was named in all-packages :(
<srid> hmm
<samueldr> some packages will use the dashes in their attribute name, which is valid in identifiers in nix
chrios has quit [Ping timeout: 264 seconds]
chrios_ has joined #nixos
Albori has joined #nixos
BlessJah has quit [Ping timeout: 276 seconds]
taktoa has joined #nixos
ZaraChimera has joined #nixos
BlessJah has joined #nixos
endformationage has quit [Ping timeout: 276 seconds]
dj_goku has joined #nixos
endformationage has joined #nixos
nuncanada2 has quit [Ping timeout: 268 seconds]
Ubercow has quit [Quit: Ubercow]
Ubercow has joined #nixos
iqubic has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #34800: linphone: 3.10.2 -> 3.12.0 (master...linphone-3_12_0) https://git.io/vAL60
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] clacke opened pull request #34801: racket-minimal: init at 6.12.0 (same as racket) (master...racket-minimal) https://git.io/vAL6P
NixOS_GitHub has left #nixos [#nixos]
oida has joined #nixos
<mkaito> is there a way to read an environment variable?
oida has quit [Ping timeout: 276 seconds]
marusich has quit [Ping timeout: 265 seconds]
marusich has joined #nixos
Rusty1_ has quit [Quit: Konversation terminated!]
Guanin has quit [Ping timeout: 255 seconds]
Guanin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vALiM
<NixOS_GitHub> nixpkgs/master 7d78180 adisbladis: firefox-beta-bin: 59.0b7 -> 59.0b8
<NixOS_GitHub> nixpkgs/master 58cf763 adisbladis: firefox-devedition-bin: 59.0b7 -> 59.0b8
NixOS_GitHub has left #nixos [#nixos]
endformationage has quit [Quit: WeeChat 1.9.1]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34767: firefox-bin: 58.0.1 -> 58.0.2 (release-17.09...release-17.09) https://git.io/vAIPj
NixOS_GitHub has left #nixos [#nixos]
chrios_ has quit [Remote host closed the connection]
chrios has joined #nixos
leroux` has quit [Ping timeout: 276 seconds]
simukis has joined #nixos
kochev has joined #nixos
<TimePath> mkaito: `builtins.getEnv var`
ilyaigpetrov has joined #nixos
griff_ has joined #nixos
griff_ has quit [Client Quit]
orivej has quit [Ping timeout: 268 seconds]
hakujin has joined #nixos
kochev has quit [Ping timeout: 260 seconds]
hakujin has quit [Ping timeout: 260 seconds]
hyper_ch has left #nixos ["Konversation terminated!"]
ZaraChimera has quit [Remote host closed the connection]
ZaraChimera has joined #nixos
hyper_ch has joined #nixos
Arcaelyx_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spear2 has quit [Remote host closed the connection]
rogue_koder has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #34802: afl: fix build, by switch to gcc as compiler (master...afl) https://git.io/vALX6
NixOS_GitHub has left #nixos [#nixos]
Arcaelyx has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #33084: libvirt: Avoid patchShebangs in the darwin build (master...libvirt-darwin) https://git.io/vb56w
NixOS_GitHub has left #nixos [#nixos]
<lewo> mkaito: yes but only if you know the sha of the output path (fetchurl reads http_proxy environment variables)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master bf53dc6 markuskowa: nixos/rdma-core: add module for soft RoCE and test (#34607)
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAL1X
<lewo> mkaito: grep impureEnvVars in https://nixos.org/nix/manual/#sec-advanced-attributes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34753: Multiple users with hashedPassword is broken in mosquitto (master...master) https://git.io/vAkqU
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat deleted revert-33006-revert-32424-nixos/related-packages at 3d89342: https://git.io/vALMY
NixOS_GitHub has left #nixos [#nixos]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vALMn
<NixOS_GitHub> nixpkgs/master 603952d Frederik Rietdijk: Merge pull request #34790 from dotlambda/pyhomematic...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6da71d9 Robert Schütz: python3Packages.pyhomematic: 0.1.38 -> 0.1.39
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34728: Add pam option to enable Google Authenticator (master...master) https://git.io/vAUzx
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vALMX
<NixOS_GitHub> nixpkgs/master 2f0e332 dywedir: bcachefs-tools: 2017-08-28 -> 2018-02-08
<NixOS_GitHub> nixpkgs/master bad837f dywedir: linux_testing_bcachefs: 4.11.2017.08.23 -> 4.15.2018.02.09
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 3b8bb02 Jörg Thalheim: Merge pull request #34792 from dywedir/bcachefs...
FRidh has joined #nixos
chrios has quit [Ping timeout: 248 seconds]
chrios_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mt-caret opened pull request #34803: nixos/lxd: partial fix for lxd breakage (master...lxd-partial-fix) https://git.io/vALM5
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master d3f76d7 Andrew Dunham: Fix build failures with DBD-SQLite...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALMd
<NixOS_GitHub> nixpkgs/master 2c5c928 Jörg Thalheim: Merge pull request #34688 from andrew-d/adunham/dbd-sqlite...
alex`` has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] noqqe opened pull request #34804: Multiple users with hashedPassword is broken in mosquitto (release-17.03...release-17.03) https://git.io/vALMF
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 05889c5 Renato Alves: RAxML: init at 8.2.11 (SSE3 & MPI)...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALDJ
<NixOS_GitHub> nixpkgs/master 80b096b Jörg Thalheim: Merge pull request #34531 from unode/raxml...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34761: papis: init at 0.5.2 + dependencies (master...papis) https://git.io/vAIsh
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALDT
<NixOS_GitHub> nixpkgs/master 65ea5f8 Renato Alves: samtools_0_1_19: init at 0.1.19...
<NixOS_GitHub> nixpkgs/master 08d1400 Jörg Thalheim: Merge pull request #34530 from unode/samtools-old...
NixOS_GitHub has left #nixos [#nixos]
amfl_ has joined #nixos
delta_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to gcc-7: https://git.io/vALDt
<NixOS_GitHub> nixpkgs/gcc-7 5699a12 Vladimír Čunát: Revert "libjack2: fix build with gcc-7 via upstream patch"...
NixOS_GitHub has left #nixos [#nixos]
amfl has quit [Ping timeout: 248 seconds]
<delta_> does anyone know how to increase the disksize of the vm's created by `nixos-rebuild build-vm`? I always end up copying and tweaking the generated script; there must be a better way...
<delta_> s/vm's/vms/g
schoppenhauer has quit [Ping timeout: 252 seconds]
ZaraChimera has quit [Quit: Leaving]
<clever> delta_: its just a normal nixos option you set in the configuration.nix
schoppenhauer has joined #nixos
<delta_> clever: yeah, I found qemu-vm.nix, but `man configuration.nix` doesn't list `virtualisation.diskSize`, and including it in my configuration.nix gives me an error saying it doesn't exist. Am I supposed to configure that somewhere else?
<clever> delta_: its only valid in configuration.nix when using build-vm
<clever> and it wont be in the auto-generated docs due to how build-vm works
<delta_> clever: ah, ok. I tried putting it the guest configuration.nix (the one you point to with NIXOS_CONFIG) and I get the same error as https://github.com/NixOS/nixpkgs/issues/16076.
<delta_> clever: Am I missing something else?
<clever> it will error, then build normally
<clever> thats normal, side-effects of how build-vm works
<sphalerite_> does nixos's sshd not allow X forwarding by default?
<delta_> clever: OH. Thanks! That seems like a really counter-intuitive thing to do, is that documented anywhere?
<LnL> I have it enabled explicitly so I don’t think so
<sphalerite_> thanks LnL
arjen-jonathan has joined #nixos
<clever> delta_: i dont think its documented anywhere
MP2E has quit [Remote host closed the connection]
<dhess> whoot! nixops deployments working from macOS!
<delta_> clever: Thanks!
ssmike has joined #nixos
ssmike has quit [Client Quit]
<adisbladis> dhess: Cool! How did you accomplish that?
<dhess> adisbladis: first had to get remote builds working. That was thanks to nix-darwin.
<dhess> adisbladis: then, the only real trick is to make sure you set 'nixpkgs.system = "x86_64-linux"' or whatever in every system config
<dhess> you don't typically need that when you deploy from NixOS.
<dhess> and that was it!
<dhess> adisbladis: I think container deployments are still broken, because there is some code in there that overrides nixpkgs.system or something like that. There's an issue on the tracker about that, I think it's being addressed.
i-am-the-slime has joined #nixos
<clever> dhess: that option defaults to the same arch as the nix binary that is being used to eval the expressions
<dhess> clever: yeah, unfortunately it took people a loooong time to figure out that was why macOS deployments weren't working
<dhess> because the same configs would work fine in NixOS
<clever> dhess: i would expect the error to be obvious
<dhess> clever: it was not!
<clever> dhess: what error did you get?
<dhess> it was that "An x86_64-linux is required to build ... and I am an x86_64-darwin"
<clever> dhess: that implies that you havent setup build slaves
<dhess> yeah but I believe it's the same error in this case as well
knupfer has joined #nixos
<dhess> there are plenty of issues on the NixOps tracker by this if you're really curious.
spietz has joined #nixos
azertyieio has quit [Ping timeout: 268 seconds]
<dhess> /by/about/
ma273 has joined #nixos
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vALyQ
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 b1cbce8 Florian Baumann: Multiple users with hashedPassword is broken in mosquitto...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34804: Multiple users with hashedPassword is broken in mosquitto (release-17.03...release-17.03) https://git.io/vALMF
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee opened pull request #34805: lib: make use of visible variable in doRename (master...fix/dorename) https://git.io/vALyd
NixOS_GitHub has left #nixos [#nixos]
leat has quit [Ping timeout: 240 seconds]
ssmike has joined #nixos
gamambel has joined #nixos
niklob has joined #nixos
kiloreux has joined #nixos
leat has joined #nixos
ssmike has quit [Quit: ssmike]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #33427: go-symbols: init at 2017-02-06 (master...init-go-symbols) https://git.io/vNfcm
NixOS_GitHub has left #nixos [#nixos]
freeman42x[NixOS has joined #nixos
spietz has quit [Ping timeout: 265 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34655: zookeeper.service: option for package and add to environment (master...zookeeper-package-option) https://git.io/vAeUE
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34524: nixos/physlock: add allowAnyUser option (master...physlock-allowAnyUser) https://git.io/vNNGY
NixOS_GitHub has left #nixos [#nixos]
<dhess> clever: how has your experience been with BuildKite?
<clever> dhess: it works well so far, and the queue times are far shorter then travis
hamishmack has quit [Quit: hamishmack]
<dhess> clever: it runs builds on your own hosts, right? As in, they do not provide build servers, just orchestration.
<clever> dhess: yeah
<dhess> clever: you guys also run a Hydra, right?
<clever> dhess: yep
<dhess> do you just use BuildKite for non-Nix stuff then?
<clever> dhess: yeah, mostly for impure things like stack2nix, or dealing with secrets
<dhess> right. One more q -- does the BuildKite user run as a non-privileged user?
<clever> dhess: it doesnt really care what user its ran as
<dhess> but it doesn't need root or sudo
vcunat has joined #nixos
<clever> yeah, it can be ran without root and without sudo
<dhess> cool, thanks
07IACG6X9 has joined #nixos
<07IACG6X9> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAL93
<07IACG6X9> nixpkgs/master 1307ffd Jörg Thalheim: Merge pull request #34566 from dotlambda/qmediathekview...
<07IACG6X9> nixpkgs/master 896ea4b Robert Schütz: qmediathekview: init at 2017-04-16
07IACG6X9 has left #nixos [#nixos]
7GHAB270Q has joined #nixos
<7GHAB270Q> [nixpkgs] Mic92 closed pull request #34566: qmediathekview: init at 2017-04-16 (master...qmediathekview) https://git.io/vNxE9
7GHAB270Q has left #nixos [#nixos]
nico202 has joined #nixos
<nico202> Hi, is there an helper to create a default.nix to dev on a package based on the expresion in nixpkgs? Right now I'm going to nixpkgs, finding the default.nix of the program I want to work, clone the repository, copy the default inside, replacing src with ./.; and adding the small changes needed. Something a computer can do better than me
rauno has quit [Remote host closed the connection]
<clever> nico202: nix-build -E 'with import <nixpkgs> {}; hello.overrideDerivation (drv: { src = ./.; })'
<clever> nico202: that will build the hello-world package, but fetch the source from .
ZaraChimera has joined #nixos
<ZaraChimera> j #gobolinux
<nico202> clever: yeah, the next step I'd like would be to create the nix file so that changing dependencies and so on is easier and is saved to a file instead of on the bash history XD
<clever> nico202: you can just put the string inside the 'single quotes' into a default.nix and nix-build will use it
<clever> nico202: there is no real difference between putting it all in a file, and using -E
hamishmack has joined #nixos
<nico202> clever: ok that was stupidly easy. Thanks a lot
<clever> yep
knupfer has quit [Ping timeout: 265 seconds]
<nico202> I don't know why but I wanted a file with all dependencies and phases written down, while the override was enough
dbe_ has joined #nixos
ZaraChimera has quit [Remote host closed the connection]
ZaraChimera has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 256ba86 Vladimír Čunát: libtasn1: 4.12 -> 4.13 (security)...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vAL9A
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 b81861f Vladimír Čunát: libtasn1: 4.12 -> 4.13 (security)...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vAL9j
chisui has joined #nixos
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master da6b85b Richard Marko: nixops-dns: init at 1.0
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALHE
<NixOS_GitHub> nixpkgs/master df0fe7a Jörg Thalheim: Merge pull request #34510 from sorki/nixops-dns...
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34807: python: housekeeping (staging...python) https://git.io/vALHz
NixOS_GitHub has left #nixos [#nixos]
delta_ has quit [Remote host closed the connection]
nico202 has quit [Ping timeout: 264 seconds]
<kiloreux> I have been trying to build my own channel of binaries on ubuntu so long now but didn't succeed.
<kiloreux> Any ideas or good docs on how to do it ?
<kiloreux> Having a channel and binary caches running on an ubuntu server
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 6 new commits to staging: https://git.io/vALH1
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/staging 585a5c1 Robert Schütz: python3Packages.multidict: clean up dependencies
<NixOS_GitHub> nixpkgs/staging 43795b2 Robert Schütz: python3Packages.aiohttp: clean up dependencies
<NixOS_GitHub> nixpkgs/staging 56224e2 Robert Schütz: pythonPackages.chardet: clean up
<MichaelRaskin> Do you want a channel or a binary cache?
<kiloreux> Both if possible.
<kiloreux> But a binary cache is my priority
tanonym has joined #nixos
<MichaelRaskin> Do you want to serve everything that is in store, or do you want to create a static cache?
raynold has quit [Quit: Connection closed for inactivity]
<kiloreux> A static cache (like something on S3) would be better.
<kiloreux> But I want to learn how to do both if possible.
<MichaelRaskin> To serve the store you just need to install and run nix-serve
<MichaelRaskin> I guess with --port
ZaraChimera has left #nixos ["Leaving"]
<MichaelRaskin> For a static cache… Are you OK with installing nixUnstable?
<kiloreux> Yeah totally OK
<kiloreux> But How would I have the binaries on S3 ?
<typetetris> is there some guideline for commit messages if i wanted to do a pull request for nixpkgs?
<MichaelRaskin> typetetris: packageAttributeName: init at X.X.X / X.X.X -> X.X.Y
<tanonym> nix-env -qa enlightenment throws a less: invalid option -- 'R' error.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to gcc-7: https://git.io/vALQI
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/gcc-7 0a941e0 Vladimír Čunát: treewide: avoid fatal warnings from gcc7
<MichaelRaskin> kiloreux: nix copy --help
<MichaelRaskin> The idea is that a binary channel is just a directory with files, and how you serve it is your choice.
<typetetris> MichaelRaskin: What about packages, whose nix expression is reused in different package sets? Like python36.<something> and python27.<something> ?
<kiloreux> MichaelRaskin, my problem is also making local nix accept that binary cache and use it.
<kiloreux> Mostly i create new packages on binary caches and mention them but upon configuring my local nix. It doesn't use it really
freeman42x[NixOS has quit [Ping timeout: 252 seconds]
<MichaelRaskin> typetetris: sometimes you list with comma as separator, sometimes you write pythonPackages… Read CONTRIBUTING.md and user your judgement. Also, if you don't guess you just force-push with new messages and ping the committer who has complained.
<typetetris> ok
<MichaelRaskin> kiloreux: wherever you keep your binary cache, you need to add its URL to Nix configuration.
<kiloreux> I will try that.
nico202 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jluttine opened pull request #34808: pythonPackages.txtorcon: fix tests (master...fix-txtorcon) https://git.io/vALQW
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> And nix copy handles both the package dump and metadata, of course.
thc202 has joined #nixos
aarvar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] typetetris opened pull request #34809: bumped pythonPackages.msgpack, pythonPackages.neovim and created pythonPackages.msgpack-transitional (master...master) https://git.io/vALQi
NixOS_GitHub has left #nixos [#nixos]
gamambel has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALQS
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master f7ce8c6 Jörg Thalheim: Merge pull request #34522 from magnetophon/infamousPlugins...
<NixOS_GitHub> nixpkgs/master 2e8d620 Bart Brouns: infamousPlugins: init at 0.2.03
spietz has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34518: openssh: Document default Kerberos support (staging...document-default-kerberos-in-openssh) https://git.io/vNbAG
NixOS_GitHub has left #nixos [#nixos]
kochev has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34523: librarian-puppet-go: init at 0.3.9 (master...init/librarian-puppet-go-0.3.9) https://git.io/vNNIH
NixOS_GitHub has left #nixos [#nixos]
spietz has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34808: pythonPackages.txtorcon: fix tests (master...fix-txtorcon) https://git.io/vALQW
NixOS_GitHub has left #nixos [#nixos]
spietz has joined #nixos
<trikl[m]> I'm trying to use the font xits-math with latex. After installing xits-math, the font files are linked in `.nix-profile/share/fonts/opentype` but `fc-cache -f -v` does not find them. Strangely enough, it finds other fonts in the same dir. Any ideas?
arjen-jonathan has quit [Ping timeout: 248 seconds]
akl has quit []
akl has joined #nixos
terrorjack has quit []
<trikl[m]> Sorry, I stand corrected, it does find them
<trikl[m]> But the cache wasn't rebuild after installing xits-math
terrorjack has joined #nixos
ThatDocsLady has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34546: Add presentation app Spice Up (master...add-spice-up) https://git.io/vNA6X
NixOS_GitHub has left #nixos [#nixos]
arjen-jonathan has joined #nixos
Ross has quit [Quit: ZNC - http://znc.in]
nico202 has quit [Ping timeout: 264 seconds]
Neo-- has joined #nixos
arjen-jonathan has quit [Ping timeout: 268 seconds]
tanonym has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAL79
<NixOS_GitHub> nixpkgs/master a4354c9 Jörg Thalheim: Merge pull request #34515 from vbgl/ocaml-tyxml-4.2.0...
<NixOS_GitHub> nixpkgs/master 6944860 Vincent Laporte: ocamlPackages.tyxml: 4.0.1 -> 4.2.0
NixOS_GitHub has left #nixos [#nixos]
indika has quit []
indika has joined #nixos
<infinisil> MichaelRaskin: since you seem to be in a PR closing phase, this PR of mine is ready for merging: https://github.com/NixOS/nixpkgs/pull/34520
<infinisil> I meant Mic92 sorry
tertleeltret has quit []
tertleeltret has joined #nixos
<Mic92> infinisil: that one, was already in my queue
<infinisil> Mic92: Nice thanks :D
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34520: tasknc: update (0.8 -> 2017-05-15), fix, cleanup and man pages (master...fix/tasknc) https://git.io/vNbjO
NixOS_GitHub has left #nixos [#nixos]
ma273 has quit [Quit: WeeChat 2.0]
coot has joined #nixos
freeman42x[NixOS has joined #nixos
mgdelacroix has quit []
mgdelacroix has joined #nixos
nico202 has joined #nixos
kochev has quit [Ping timeout: 276 seconds]
ottidmes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34384: modules/nvidia-optimus: fix module blacklisting (master...nvidia-optimus) https://git.io/vNyHK
NixOS_GitHub has left #nixos [#nixos]
<infinisil> I feel like someone should close all these super-old PR's floating around
<MichaelRaskin> I would start with a lesser measure.
<MichaelRaskin> Four months with no updates and the author has commit access.
<MichaelRaskin> (Doesn't matter if access obtained before or after the latest update)
<infinisil> MichaelRaskin: why commit access?
<gchristensen> because they're not fusssed to merge it themselves
<infinisil> ah
<MichaelRaskin> Or think that it requires some agreement and we all know that Nixpkgs fail to reach agreement.
<genesis> does it could be some issue using a nix version different as user vs non-nixos OS one ?
<genesis> s/could it be/
<LnL> you mean the client version not matching the daemon?
<genesis> yes
<LnL> that should be fine
<genesis> oki thanks.
<MichaelRaskin> Running a newer client than the daemon does make sense in many cases, and if the difference is small enough, that should be fine.
<LnL> I think there's a small bug with output streaming if you use some combination of 1.x and 2.x but ti should be fine for the most part
<MichaelRaskin> (I think I haven't ever heard of hidden failures of Nix socket protocol mismatch — if it doesn't complain, it works)
<genesis> i don't do critics things , just want to know
<kiloreux> Would a nix store work correctly if mounted as read only ?
<kiloreux> Or is there some requirements?
<MichaelRaskin> kiloreux: for what operations?
nico202 has quit [Ping timeout: 256 seconds]
<MichaelRaskin> Running stuff from Nix store without any modification works fine even if you just tar the /nix/store without metadata and unpack it and mount that read-only
<kiloreux> I'm trying to have my binaries used by many docker containers. So I am thinking about read only volume for /nix directory
ma27 has joined #nixos
<kiloreux> That I mount into containers and they use the binaries
<MichaelRaskin> Yes, that's fine
Mateon3 has joined #nixos
<kiloreux> So one volume can used by many containers fine ?
orivej has joined #nixos
<MichaelRaskin> It won't care anyway
Mateon1 has quit [Ping timeout: 256 seconds]
Mateon3 is now known as Mateon1
<MichaelRaskin> You have multiple read-only bind-mounts, for the volume it is just a lot of reads.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34327: node-packages.json-diff: init at 0.5.2 (master...node-json-diff) https://git.io/vNMBW
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> Nix doesn't do any magic outside build-time.
<MichaelRaskin> (I did send tarballs of parts of /nix/store to Ubuntu machines because it was easier than upgrading, that worked fine)
mojjo has joined #nixos
<kiloreux> I see. Thank you. Many reads is one my concerns also, but I prefer it over packing binaries into docker at build time.
<kiloreux> Making the container huge problem
<LnL> the image part of docker containers is a terrible idea IMHO
<mojjo> is there a way to specify function-types as module options?
<MichaelRaskin> Well, obviously your physical machine should support all the storage, RAM and CPU load of the software you run, containers or not
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALdw
<NixOS_GitHub> nixpkgs/master 1fbe208 joncojonathan: keepass: from 2.37 to 2.38...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e43aded Jörg Thalheim: Merge pull request #34360 from joncojonathan/update-keepass238...
<kiloreux> Well mostly speaking about a big production system and pipeline to run those.
<MichaelRaskin> But if you expect that the load would be fine without containers, mounting Nix store into containers read-only won't make the situation worse. Or better.
<infinisil> mojjo: I've been wanting to do something like this, would be really useful. don't think there's an easy way for now
<MichaelRaskin> I would actually hope that mounting Nix store into containers is better than creating huge images: unless there is some pretty paranoid side-channel mitigation, reading glibc from the storage would be cached once and the cache would be used by everything
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34285: duktape: init at 2.2.0 (master...duktape) https://git.io/vNXnd
NixOS_GitHub has left #nixos [#nixos]
pkill9 has joined #nixos
<kiloreux> That's something I didn't I know about caching. So the read operations are cached ?
<infinisil> mojjo: and? this is just the normal nixos module system, nothing for ordinary functions
<LnL> MichaelRaskin: exactly, I think the default implementation for the image layers actually also uses bind mounts
juhe has joined #nixos
<infinisil> mojjo: you'll need some plumbing in nixpkgs/lib to do that
<mojjo> infinisil: of course, it just checks if a thing is a function and not the actual function type
<infinisil> mojjo: ahh, i understand what you mean now
<kiloreux> I wonder what I can do to improve the caches and reduce the reads !
<infinisil> mojjo: and the answer is no, you cannot, nix can't know the types of functions
<mojjo> infinisil: yeah, I can imagine..
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34260: Add vim plugins (master...add_vim_plugins) https://git.io/vNiyz
NixOS_GitHub has left #nixos [#nixos]
lexwhatever has joined #nixos
tgunb has joined #nixos
<MichaelRaskin> kiloreux: maybe nix-store --optimise could have the same side effect
<lexwhatever> just want to share with you, I guess this could be interesting for python devops https://www.youtube.com/watch?v=yAGWU0QC64I
<MichaelRaskin> (it makes sure that identical files from different packages are hardlinks to the same inode, so the caching knows it is the same data to cache once)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALFs
<NixOS_GitHub> nixpkgs/master 3df98ef gnidorah: vkquake: init at 0.97.3
<NixOS_GitHub> nixpkgs/master 946c6e6 Jörg Thalheim: Merge pull request #34255 from gnidorah/vkquake...
NixOS_GitHub has left #nixos [#nixos]
Ridout has quit [Ping timeout: 268 seconds]
betaboon has joined #nixos
<kiloreux> I suppose that should be done at build time ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34810: home-assistant: remove dependencies which should be loaded via autoExtraComponents (master...home-assistant) https://git.io/vALF0
NixOS_GitHub has left #nixos [#nixos]
<kiloreux> MichaelRaskin, Or after mounting the volume ?
<MichaelRaskin> It is a separate operation that can be done whenever
<MichaelRaskin> I guess there are some details that nix-store --optimise reads a lot and so messes up the caches while it runs…
<kiloreux> So running it at the start should save some time i suppose
<betaboon> hello #nixos, i have a question regarding nixops and deploying to an already existing nixos-machine. nixops is using the root user, right? so do i have to permit RootLogin for ssh?
<MichaelRaskin> Of course its effects persist even if you do build afterwise — the new stuff won't be deduplicated, but the old one stays.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 3 new commits to master: https://git.io/vALFr
<NixOS_GitHub> nixpkgs/master ed5064c Linus Heckemann: otter-browser: init at 0.9.94
<NixOS_GitHub> nixpkgs/master 49d4e6c Linus Heckemann: otter-browser: use qt5.callPackage, fix licence
<NixOS_GitHub> nixpkgs/master 3f2b626 Jörg Thalheim: Merge pull request #34275 from lheckemann/otter...
NixOS_GitHub has left #nixos [#nixos]
nico202 has joined #nixos
<juhe> Hi, I've trouble getting wxpython working, after running python interactive shell and issuing "import wx" I get an error message import error no module named wx even though wxpython is installed and its wx.pth available in /run/current-system/sw/lib/python2.7/site-packages/ directory. Any idea/pointer how to get wxpython working?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vALF6
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9f24e68 Frederik Rietdijk: Merge pull request #34810 from dotlambda/home-assistant...
<NixOS_GitHub> nixpkgs/master 6fb6616 Robert Schütz: home-assistant: remove dependencies which should be loaded via autoExtraComponents
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 508bf1b pe@pijul.org: defaultCrateOverrides: add thrussh-libsodium
<NixOS_GitHub> nixpkgs/master 113591c pe@pijul.org: defaultCrateOverrides: add pq-sys...
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALFP
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34124: hunspell: 1.6.1 -> 1.6.2 (master...hunspell) https://git.io/vN2rr
NixOS_GitHub has left #nixos [#nixos]
<pmeunier> Mic92: thanks for the merge!
<infinisil> I just had the idea to go through all github repositories by descending star count and package the first one for nixpkgs that isn't already packaged
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34228: Carnix: adding new crate overrides (master...rust-libsodium) https://git.io/vNKLu
NixOS_GitHub has left #nixos [#nixos]
<infinisil> https://github.com/search?q=stars:%3E1&s=stars&type=Repositories
etu has quit [Read error: Connection reset by peer]
<infinisil> 300000 stars for some webdev coding camp damn
vcunat has quit [Ping timeout: 240 seconds]
etu has joined #nixos
<infinisil> Oh and oh-my-zsh is very high up with 65000 stars, I guess that explains everybody using it
<lexwhatever> juhe I'm not aware how to implement solution for your problem in Nix lang. But use virtual envs, just on bare NixOS, so far they work for me. If python app requires FHS you may look at https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F. Docker should work too.
<lexwhatever> juhe you may firstly try nix-env -iA nixos.python27Packages.wxPython
<hyper_ch> stars?
<hyper_ch> I have a total of 8 stars
<infinisil> hyper_ch: 15 for me, take that
<juhe> lexwhatever: thanks, will check that page out, I've workarounded it for the time being by checking what strace says and found out it tries to read stuff from ~/.local/lib, so I used "ln -s /run/current-system/sw/lib/python2.7 ~/.local/lib/" and it seems working.
<hyper_ch> infinisil: I don't like too much publicity :) I prefer to stay in the background
<infinisil> hyper_ch: a true hackerman
<lexwhatever> infisil I like how FISH works out of the box, with batteries included https://www.youtube.com/watch?v=0NOAUogSSMo . so far, fish works for me fine. not as main but as additional sub shell. man bases argument autosuggestion is killer feature. I also tried Xonsh, but Xonsh don't play well with pypy, venv and have immature bugs.
nico202 has quit [Ping timeout: 260 seconds]
<FRidh> do *not* nix-env python libraries
<infinisil> lexwhatever: the video doesn't demonstrate more than default behaviour, i know that zsh can be customized a lot
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALbE
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 35d3699 Jörg Thalheim: Merge pull request #34249 from mbode/terraform-landscape_0_1_17...
<NixOS_GitHub> nixpkgs/master 9b85e31 Maximilian Bode: terraform-landscape: init at 0.1.17
<lexwhatever> sounds like you made dirty hack juhe, I beleive nix-env -iA nixos.python27Packages.wxPython should bring wx to your user scope. also if nix-env will solve this, you may code\automate\log\document that as nix expression in ~/.config/nixpkgs/config.nix or overlay
<infinisil> lexwhatever: i for example have things like "press Ctrl-G to interactively list all recently/frequently used files and open the one selected in vim"
<lexwhatever> infinisil the this that selling FISH to me: zsh CAN be customized (and user will spent time on that), but FISH already works out of the box with same degree of features, no need to jerk configs
michaelpj_ has joined #nixos
<infinisil> lexwhatever: features != customization
<infinisil> but i assume fish can be customized well too
<lexwhatever> i for example doesn't have to press CTRL-G, as fish autosuggest me all used shit when I began type
<infinisil> it doesn't matter in the end anyways though :P
<lexwhatever> oh, that what you mean... O.O, true , you right, it's better show once then tell
<infinisil> i mean i'm using stuff like fzf and fasd for that demo
<juhe> lexwhatever: Having nixos.python27Packages.wxPython in environment.systemPackages doesn't make sense if it doesn't work as I expected. I like the nix-env solution more, though question remains why FRidh doesn't like it...
<mojjo> is it possible to define a recursive type with nix's type for module options?
<infinisil> hyper_ch: finally something useful to do with all my wet strings
<hyper_ch> infinisil: :)
<infinisil> mojjo: probably, what are you thinking of?
niklob has quit [Ping timeout: 248 seconds]
yann-kaelig has joined #nixos
<mojjo> let t = types.attrsOf (types.either types.string t)
ThatDocsLady has quit [Ping timeout: 276 seconds]
<mojjo> { foo = ""; bar = { x = "" }; }
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vALNe
<NixOS_GitHub> nixpkgs/master 713a69d Daniel Schaefer: nixos/acpid: pass event parameters to handler (#34190)...
NixOS_GitHub has left #nixos [#nixos]
<FRidh> juhe: installing python modules directly is not supported. See the Nixpkgs manual.
<infinisil> mojjo: yeah that should work
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b8f6510 adisbladis: wordgrinder: Fix darwin build
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vALNk
<infinisil> mojjo: type = let t = types.attrsOf (types.either types.string t); in t;
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #33512: wordgrinder: Fix darwin build (master...wordgrinder-darwin) https://git.io/vNT8J
NixOS_GitHub has left #nixos [#nixos]
ma27 has quit [Ping timeout: 240 seconds]
<juhe> FRidh: Thank you, reading the manual now...
<mojjo> infinisil: yeah, it works... no idea why it failed before. nice
acarrico has quit [Ping timeout: 268 seconds]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34207: busybox: bump copybuf, disable utmp/wtmp when not supported (musl) (staging...fix/busybox-misc) https://git.io/vNryf
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34059: mattermost: 4.4.1 -> 4.6.0 (master...mattermost) https://git.io/vNu9v
NixOS_GitHub has left #nixos [#nixos]
<infinisil> !m Mic92
<[0__0]> You're doing good work, Mic92!
justanotheruser has quit [Quit: WeeChat 1.9.1]
<TimePath> !m [0__0]
<[0__0]> You're doing good work, [0__0]!
vcunat has joined #nixos
mojjo has quit [Ping timeout: 268 seconds]
oida has joined #nixos
griff_ has joined #nixos
oida has quit [Ping timeout: 276 seconds]
<typetetris> puh hopefully my pr is acceptable now :)
betaboon has quit [Quit: WeeChat 1.9.1]
vidbina has joined #nixos
<toppler> Hey. I'm trying to install project-m36, but the dependencies are broken. There's a stack.yaml file in the git repo. Do I just need stackage2nix at this point?
vidbina has quit [Ping timeout: 268 seconds]
<typetetris> Is there some program like stylish-haskell or gofmt for `.nix` files?
Rusty1_ has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
<sphalerite_> genesis: that's for derivations, not expressions
<sphalerite_> typetetris: I think hnix might have something for it
<genesis> my bad
vcunat has quit [Ping timeout: 240 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vALxZ
<NixOS_GitHub> nixpkgs/master ec6e7c6 Markus Kowalewski: octopus: init at 7.2
<NixOS_GitHub> nixpkgs/master a0a3f67 Jörg Thalheim: Merge pull request #34094 from markuskowa/octopus-pr...
NixOS_GitHub has left #nixos [#nixos]
rogue_koder has joined #nixos
<sphalerite_> typetetris: yep the hnix executable in nix-shell -p haskellPackages.hnix pretty-prints expressions
vcunat has joined #nixos
ma27 has joined #nixos
<sphalerite_> lexwhatever: re your advice to juhe, as FRidh also said…
<sphalerite_> !library
<{^_^}> Don't install libraries through nix-env or systemPackages. See https://nixos.wiki/wiki/FAQ/Libraries for details.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34811: pythonPackages.testtools: clean up dependencies (staging...testtools) https://git.io/vALxK
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/staging 3c97239 Robert Schütz: pythonPackages.testtools: clean up dependencies
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to staging: https://git.io/vALx9
<NixOS_GitHub> nixpkgs/staging 03a35ac Frederik Rietdijk: Merge pull request #34811 from dotlambda/testtools...
NixOS_GitHub has left #nixos [#nixos]
<lexwhatever> thank you for pointing me my mistake. this wiki article explains clearly the idea. Sorry, juhe, I was wrong, you may want to look at https://nixos.wiki/wiki/FAQ/I_installed_a_library_but_my_compiler_is_not_finding_it._Why%3F and https://nixos.org/nixpkgs/manual/#python .
<sphalerite_> lexwhatever: that FAQ link goes to exaclty the same thing as the one the bot just kindly posted on my behalf :p
<samueldr> ouch, my pr https://github.com/NixOS/nixpkgs/pull/33686 is now on page 6! soon on 7!
zzamboni has joined #nixos
nuncanada2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 5 new commits to master: https://git.io/vALpU
<NixOS_GitHub> nixpkgs/master b020aef Eric Wolf: pythonPackages.msgpack: init at 0.5.4
<NixOS_GitHub> nixpkgs/master 4193774 Eric Wolf: pythonPackages.msgpack-python: 0.4.7 -> 0.5.4...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e285906 Eric Wolf: pythonPackages.msgpack: renamed to msgpack-python
kelleyNif has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ThomasMader opened pull request #34812: Dlang update (master...dlang-update) https://git.io/vALpZ
NixOS_GitHub has left #nixos [#nixos]
<FRidh> samueldr: nice PR!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34015: python-telegram-bot: init at 9.0.0 (master...pytgbot) https://git.io/vN0RN
NixOS_GitHub has left #nixos [#nixos]
<samueldr> I really want it to get in 18.03, so I need comments to improve it as I'm sure some parts are not optimal
<samueldr> thanks for the milestone addition
zzamboni has quit [Quit: Leaving.]
<LnL> anybody familiar with bpf?
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #34813: infamousPlugins: 0.2.03 -> 0.2.04 (master...infamousPlugins) https://git.io/vALp6
NixOS_GitHub has left #nixos [#nixos]
zzamboni has quit [Client Quit]
niklob has joined #nixos
vcunat has quit [Ping timeout: 240 seconds]
FRidh has quit [Remote host closed the connection]
vcunat has joined #nixos
chreekat[m] has left #nixos ["User left"]
guido_ has joined #nixos
zzamboni has joined #nixos
<guido_> could someone help me with replacing the ipfs module?
<guido_> I'm following ch 31.6 from the manual but it seems I don't get the unstable version of the package installed.
tgunb has quit [Ping timeout: 240 seconds]
<guido_> ipfs --version -> 0.4.10 while I expect 0.4.13 from the unstable channel.
<guido_> any hints would be appreciated :-)
smichel17 has joined #nixos
kelleyNif has quit [Quit: Leaving.]
<tilpner> Did you update your unstable channel? What does "nix-shell -p nix-info --run nix-info" say?
vidbina has joined #nixos
<LnL> guido_: did you also set the package?
michaelpj_ has quit [Ping timeout: 268 seconds]
<LnL> hmm there's no option for that so you'd need to use an overlay
<guido_> tilpner: ystem: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-unstable-18.03pre127302.e860b651d6e, nixos-17.09.2987.59890bb1351", nixpkgs: /nix/\
<guido_> var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<juhe> lexwhatever: no worries
<guido_> LnL: setting the package? I did set services.ipfs.enable = true; is that what you mean?
<guido_> and why would it work with Postgres in the manual, but not with ipfs?
<tilpner> You have two channels, you didn't replace the old one. That's probably where it gets the old ipfs from
<LnL> no, I'm talking about services.ipfs.package or nixpkgs.overlays
<tilpner> Do you want to switch to unstable, or just use ipfs from it?
<LnL> guido_: the example would only update the services.postgresl.* options not the postgres version
<guido_> I want to keep running stable for everything but run ipfs from unstable, as that has some important fixes.
<LnL> did the configuration/module change or just the package?
<guido_> I have: disabledModules = [ "services/network-filesystems/ipfs.nix" ]; and in imports: <nixos-unstable/nixos/modules/services/network-filesystems/ipfs.nix>
<guido_> that's what should work for postgres
<LnL> I think you want something like this https://gist.github.com/LnL7/e645b9075933417e7fd8f93207787581
pie_ has joined #nixos
<LnL> so: nixpkgs.overlays = [ (self: super: {ipfs = unstable.ipfs; }) ]];
<guido_> I'll give it a try, Thanks.
<LnL> you probably don't need to replace the module itself
<guido_> so, take out the replaceModule, then.
<LnL> unless there was an incompatible configuration change in the new version or something like that
<guido_> I'll try the overlay, brb.
mkoenig_2 has quit [Ping timeout: 248 seconds]
mkoenig_1 has quit [Ping timeout: 240 seconds]
mkoenig has quit [Ping timeout: 240 seconds]
mkoenig__ has quit [Ping timeout: 276 seconds]
mkoenig has joined #nixos
mkoenig__ has joined #nixos
mkoenig_ has quit [Ping timeout: 276 seconds]
schoppenhauer has quit [Ping timeout: 276 seconds]
<guido_> LnL: your overlay rules work. You rule, thanks!
<genesis> $ nix-env -I nixpkgs=/home/genesis/devel/nixpkgs/ -f '<nixpkgs>' -iA qmc2
<genesis> replacing old ‘qmc2-0.192’
<genesis> installing ‘qmc2-0.192’
schoppenhauer has joined #nixos
mkoenig__ has quit [Ping timeout: 256 seconds]
<genesis> i have all my files in /nix/store/jxli96vmaxgjydznwidwvw9yc9vw26ik-qmc2-0.192/nix/store/jxli96vmaxgjydznwidwvw9yc9vw26ik-qmc2-0.192 , but no files in my profiles
mkoenig has quit [Ping timeout: 260 seconds]
<genesis> i wonder what happens.
mkoenig has joined #nixos
mkoenig_ has joined #nixos
mkoenig__ has joined #nixos
<sphalerite_> genesis: the path seems to be doubled..?
mkoenig_1 has joined #nixos
mkoenig_2 has joined #nixos
obadz has joined #nixos
<genesis> hum
<genesis> thanks.
obadz has quit [Client Quit]
<sphalerite_> @nix {"action":"msg","level":0,"msg":"\u001b[31;1merror:\u001b[0m called without required arguments\nTry 'build-remote --help' for more information."}
obadz has joined #nixos
<genesis> so i've it in ~/.nix-profile/nix/store/jxli96vmaxgjydznwidwvw9yc9vw26ik-qmc2-0.192/ made a mistake in the makeflags.
<sphalerite_> Anybody seen this error while trying to build nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vAtea
<NixOS_GitHub> nixpkgs/master 5c0e310 Jörg Thalheim: Merge pull request #34813 from magnetophon/infamousPlugins...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master a507c4a Bart Brouns: infamousPlugins: 0.2.03 -> 0.2.04
juhe has left #nixos [#nixos]
<LnL> sphalerite_: do you have build machines enabled?
<sphalerite_> LnL: I did, just disabled them but am still getting the same hting
<sphalerite_> weird, it only seemed to occur from that shell. I started a new one and it's fine
<LnL> the hook is supposed to get the build verbosity as an argument IIRC
<samueldr> diff the output of `env` maybe?
<sphalerite_> too late, I closed the broken one like an idiot…
<samueldr> next time :)
<sphalerite_> but I have a suspicion
<sphalerite_> can this occur as a result of using nixUnstable with a 1.11.x daemon?
jmiven has quit [Quit: co'o]
jmiven has joined #nixos
<LnL> possibly, I don't know how the 1.11 hook works
freeman42x[NixOS has quit [Ping timeout: 276 seconds]
ma27 has quit [Ping timeout: 276 seconds]
ma27 has joined #nixos
<lexwhatever> I would like to point to the problem in https://nixos.org/nixpkgs/manual/#python , there is not enough documentation for buildPythonPackage . as tried to point src = ./myfile.py . nix-build compains src is not an archive. I archived myfile.py and made change src = my1pythonfile.tar.gz , now error : unpacker appears to have produced no directories
<lexwhatever> any help ? want to make simple nix package from 1 local file
<lexwhatever> with import <nixpkgs> {};
<lexwhatever> with pkgs.python35Packages;
<lexwhatever> buildPythonPackage rec {
<lexwhatever> name = "mypackage";
<lexwhatever> src = ./abube.py ;
<lexwhatever> propagatedBuildInputs = [ ];
<lexwhatever> }
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #34021: boomerang: switch to new active fork, cleanup, maintain (master...update/boomerang-20180118) https://git.io/vN075
NixOS_GitHub has left #nixos [#nixos]
<sphalerite> lexwhatever: buildPythonPackage is intended to work on tarballs packaged the standard (if you can call it that...) Python way, with a setup.py that does the installation
humanoyd has joined #nixos
etu has quit [Ping timeout: 248 seconds]
ericsagnes has quit [Ping timeout: 255 seconds]
ericsagnes has joined #nixos
<lexwhatever> k, will try to write unnecessary setup.py, around my simplesinglefilescriptwithnodependencies.py . and then nix-expression package around it :) seems like a somewhat amount of work to distribute simple single script without dependencies
chreekat has quit [Remote host closed the connection]
<lexwhatever> vs alternative when target_user could just "git clone" it
chreekat has joined #nixos
<lexwhatever> and it just works! (TM)
ericsagnes has quit [Ping timeout: 248 seconds]
<lexwhatever> despite my script is not even intended to be uploaded to pypi\repos
<symphorien> lexwhatever: you can try mkDerivation { name = ..., installPhase = 'cp ${./file} $out'; buildInputs = [python] #for patchShebangs }
<lexwhatever> does it will be fine to use stdenv.mkDerivation with builder.sh: cp myfile.py $out ? or any other fine alternatives to avoid writing setup.py?
<lexwhatever> oh :D
<lexwhatever> :3
endformationage has joined #nixos
freeman42x[NixOS has joined #nixos
zzamboni has quit [Quit: Leaving.]
i-am-the-slime has quit [Ping timeout: 256 seconds]
<sphalerite> lexwhatever: yeah I wasn't saying that's necessarily what you should do, just that that's what buildPythonPackage is for
ericsagnes has joined #nixos
<sphalerite> lexwhatever: what symphorien suggested should work unless you have some dependencies that aren't part of python
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 1 new commit to master: https://git.io/vAtJt
<NixOS_GitHub> nixpkgs/master 29fcbdd adisbladis: kde-applications: 17.12.1 -> 17.12.2
NixOS_GitHub has left #nixos [#nixos]
zzamboni has joined #nixos
<sphalerite> in which case I'd suggest doing the same thing, but with `(python.withPackages (ps: with ps; [foo bar baz]))` instead of python, where foo, bar, and baz are the packages for the dependencies of your script
chreekat has quit [Ping timeout: 255 seconds]
chreekat has joined #nixos
<infinisil> lexwhatever: you may want to try buildPythonPackage and setting `format = "other";` which disables setuptools specific stuff, but still does the cpython stuff wrapping
<infinisil> lexwhatever: See nixpkgs/pkgs/development/interpreters/python/{build-python-package,mk-python-derivation}.nix
vcunat1 has joined #nixos
vcunat has quit [Ping timeout: 256 seconds]
etu has joined #nixos
pddalm has joined #nixos
<Aleksejs> Hi, can anyone tell me if I can somehow install this https://www.mesa3d.org/relnotes/17.4.0.html on NixOS and be able to rollback if it breaks my system?
<simpson> You can bump your Mesa version in your local nixpkgs and see what happens.
vidbina has quit [Ping timeout: 240 seconds]
chreekat has quit [Quit: quitting]
<simpson> However, are you sure you want a development version?
periklis has joined #nixos
i-am-the-slime has joined #nixos
<Aleksejs> simpson: I've read that mesa 17.4 fixes one bug in Civ6 and I want to try if it works
<simpson> Aleksejs: Makes sense. Bump the version and nixos-rebuild to victory.
arjen-jonathan has joined #nixos
pSub has quit [Remote host closed the connection]
<infinisil> Aleksejs: Civ6?
pSub has joined #nixos
pSub has quit [Changing host]
pSub has joined #nixos
<Aleksejs> civilization 6
<simpson> infinisil: Civilization 6, a popular turn-based strategy game.
<infinisil> Ah, where can i find it in nixpkgs?
<simpson> Get Steam and then pay $60 USD, I'm afraid.
<infinisil> oh steam i see
<infinisil> Doesn't steam deliver all the libs itself? If so it might not be possible to update to mesa17.4 for it
<infinisil> if i understand that correctly
<simpson> No, steam doesn't come with DRI drivers or GL.
oida has joined #nixos
<infinisil> Ahh I see
<simpson> Or at least I haven't seen that happening. It's certainly *possible* on Linux to ship your own graphics drivers, more or less, but the only folks I know of who do that on a big scale are Google.
kiloreux_ has joined #nixos
<infinisil> simpson: would you have to ship a driver for every GPU with the program then?
ThatDocsLady has joined #nixos
<infinisil> more or less?
pddalm has left #nixos ["Auf Wiedersehen"]
<simpson> You could pick and choose. You could start a probe program, say glxinfo, and use its output to consider whether you want to load your own driver into your context.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #34814: teamspeak_client: 3.1.7 -> 3.1.8 (master...teamspeak_3_1_8) https://git.io/vAtUM
NixOS_GitHub has left #nixos [#nixos]
iqubic has quit [Remote host closed the connection]
kelleyNif has joined #nixos
kiloreux has quit [Ping timeout: 248 seconds]
kelleyNif has quit [Client Quit]
<infinisil> simpson: isn't the opengl driver a common problem for nix packages on other distros? Could this be solved somehow by wrapping programs with a driver from nix itself?
vcunat1 has quit [Quit: Leaving.]
vcunat has joined #nixos
<genesis> it is definitly ;)
<genesis> very hard to handle since it gl init is different between software.
<simpson> infinisil: Kind of. The precise ABI between the OS and the driver is very unstable on Linux, so it's risky to do that.
spear2 has joined #nixos
<simpson> ...Okay, I shouldn't say that. It's *considered* unstable and can break, but it changes very rarely. It's changed enough that 20yr-old drivers don't work, that 10yr-old drivers don't work, and probably that 5yr-old drivers only work on 5yr-old GPUs.
<infinisil> Hmm
orivej has joined #nixos
zzamboni has quit [Quit: Leaving.]
zzamboni has joined #nixos
<Aleksejs> I think they renamed 17.4 to 18.0
<Aleksejs> at least I can't see 17.4 here ftp://ftp.freedesktop.org/pub/mesa/
<simpson> Well, as the docs say, 17.4.0 is a development release.
coot has quit [Quit: coot]
<simpson> Mesa's major version number indicates its GL support, so Mesa 18 supports a different (newer, "better") GL version, GL 4.6 or whatever.
i-am-the-slime has quit [Quit: Konversation terminated!]
<simpson> Anyway, for *testing* purposes, feel free to use that 18.0.0-rc4 tarball. That's a *release candidate*, so you're supposed to test it, and I'm sure that the Mesa team would love to hear whether it fixes/breaks your Civ6.
<vcunat> No, mesa's first number indicates the year of release.
<simpson> Huh, when did that change?
<simpson> Well, okay. Year-of-release is far more useful anyway.
<vcunat> A year ago? I'm not sure.
azertyieio has joined #nixos
<vcunat> There was a jump 13 -> 17 or similar.
<simpson> Yeah, the numbers weren't so far off.
<simpson> I figured that the jump was because Intel or Collabora or somebody did a big code spike and added a bunch of GL features all at once.
<ottidmes> I just tried to write an assertion for the first time in NixOS, but it did not work the way I expected it to. I get an error for a missing attribute, something I check for in my assertion, but since apparently the assertion is run afterwards, I get that error instead of the assertion failing. How should I work around this?
aarvar has quit [Ping timeout: 256 seconds]
<chisui> Hey, I am trying to set up a simple Nix project with haskell but can't get it to compile. There seems to be some kind of version conflict with th-desugar and template-haskell but I know to little about Nix to even start to investigate that issue. https://gist.github.com/chisui/e3b44cb90b729b15ae7b277118c50a2c
<vcunat> Now yy.n are feature releases, and the third number is for bugfix updates.
<infinisil> I don't understand, share your code?
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 52628a2 Peter Simons: hackage2nix: disable broken builds
<NixOS_GitHub> [nixpkgs] peti pushed 12 new commits to master: https://git.io/vAtT2
<NixOS_GitHub> nixpkgs/master c8bc616 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master 1d4529c Peter Simons: cabal2nix: compile with hpack 0.25.0
NixOS_GitHub has left #nixos [#nixos]
griff_ has quit [Quit: griff_]
<ottidmes> infinisil: To who are you replying?
<infinisil> ottidmes: ah right, you
<infinisil> ottidmes: code and error
<ottidmes> infinisil: Ah, great, I will paste it somewhere
iyzsong has quit [Ping timeout: 256 seconds]
<ottidmes> infinisil: https://pastebin.com/9BrEq6Vw
<infinisil> ottidmes: ah, so you want it to only throw an error when there are invalid users?
<ottidmes> infinisil: So I tried to just explicitly set the assertion to false, to make sure the assertion should fail, but I first get the error that attribute does not exist
<ottidmes> infinisil: Yeah, assertion = length invalidSystemUsers > 0; should do that, but instead of it failing, it will fail first on the missing attribute error
<infinisil> ah, well then the error isn't in the assertion but somewhere else
<ottidmes> infinisil: The error is in: users = map (name: { uid = uids.${name}; inherit name; group = name; }) cfg.systemUsers;
<ottidmes> infinisil: Where uids.${name}, i.e. uids.www-data, is missing, which I hoped my assertion would have guarded me against, giving a more useful error
JosW has joined #nixos
<infinisil> ah i see, you want the assertion to prevent that
<ottidmes> right
arjen-jonathan has quit [Ping timeout: 240 seconds]
* infinisil thinks
<ottidmes> The assertion should have failed at that point already and given a more useful error message then the general "attribute missing" error
<infinisil> I gotta say I'm confused by your module, the whole uid and gid stuff
<infinisil> are these config.ids.{gids,uids} automatically assigned somewhere?
<srhb> ottidmes: Aren't you missing a mkIf or something to lazify the module?
<ottidmes> infinisil: https://github.com/NixOS/nixos/blob/master/modules/misc/ids.nix Which I try to make somewhat easier to extend for my own configs
<ottidmes> srhb: Good idea, that would likely solve my problem
<srhb> Yeah. :)
<infinisil> I'm not sure how that would work though, there's nothing to lazify
hask_bee_3 has joined #nixos
zzamboni has quit [Quit: Leaving.]
Arcaelyx has joined #nixos
<srhb> Why not? If the import alone triggers evaluation of an attribute that doesn't exist, you're boned.
zzamboni has joined #nixos
xcmw has joined #nixos
<ottidmes> I tried some things with mkIf, but that did not seem to work, but if can somehow make sure it first evaluates the assertions, then I have the behavior I want, where making it somehow lazy might work
<srhb> Oh, I see. uids.www-data doesn't exist at all?
<ottidmes> Noe it does not
<ottidmes> An easy fix would be to filter those that are valid
<srhb> Yeah, that's the right approach
<infinisil> ottidmes: I think you should have one assertion per systemUser
<ottidmes> Assertions are likely not built-in, so I can imagine this is the only way, but it goes against my expectations
xcmw has quit [Client Quit]
periklis has quit [Ping timeout: 255 seconds]
<srhb> THey are built in, and you could use it in the map
mojjo has joined #nixos
mojjo has left #nixos [#nixos]
mojjo has joined #nixos
<srhb> ie. (name: assert (validUser name); { uid = uids.${name}; inherit name; group = name; }...
<ottidmes> srhb: Nice to know! Then I might just create a list of valid users first, so I have to do it only at one place
<infinisil> does this work? assert isn't lazy, which might not work with the module system
<srhb> Assuming validUser doesn't fail itself
<srhb> Otherwise yeah, no amount of asserting will help.
<ottidmes> And are these hasAttr really necessary? hasAttr name uids && hasAttr name gids && uids.${name} < 499 && uids.${name} == gids.${name}
<mojjo> does any body have an idea how to generalize the following: `with types; either A (either B (either C D))`? For this kind of sum type I don't want to nest too much...
<ottidmes> I assume they are otherwise I will get a missing attribute error, but this the right approach, just checking them all
<infinisil> mojjo: what are you using it for?
<mojjo> infinisil: type checking for module options...
<infinisil> duh
<infinisil> i mean more specifically
<infinisil> because either is not like "Left a | Right b" in haskell, it's more like a "a or b, but i don't tell you what it is"
athan has quit [Ping timeout: 256 seconds]
<mojjo> infinisil: ha.. well, you remember some hours ago... my question with the tree... I just have a module that can be configured by a configuration tree. Each node can either be of type1, type2, .... or the recursive type of itself... So I'm just wondering is I can get rid of the eithers....
nico202 has joined #nixos
<mojjo> infinisil: yeah, sure. I understand the either.. The nesting works well, for more than 4 it looks just a bit silly :)
<infinisil> i mean you could do a binary tree with `either (either A B) (either C D)` :P
athan has joined #nixos
nico202 has quit [Client Quit]
<infinisil> or you could write the type yourself
<infinisil> mojjo: What kind of module are you writing to require a tree type?
<mojjo> interestingly, even this little helper function does not work: `alts3 = a: b: c: either a (either b c);` (error: stack overflow (possible infinite recursion))
<mojjo> infinisil: ah, I just figured out, that I'm using lot's of shorthands/helperscripts which are namespaced 'foo-bar-baz', and so I like to define them as a tree { foo: { bar: ...;}
<infinisil> mojjo: can you share your code? The stack overflow doesn't seem related
ditadi has joined #nixos
<ditadi> Does anybody know if it's possible to remap Tab and Escape keys using xkbOptions?
<Baughn> What's the right way to share a NIC with a container, letting it get its own IP address from the network?
<infinisil> ditadi: I don't think so, not for Tab, but there are some options for escape
<infinisil> ditadi: there's caps:swapescape which swaps escape with caps lock, and caps:escape which makes caps lock another escape
<infinisil> ditadi: if you need help with keylayout customization, i can help you
<ditadi> Ahh ok, that confirms my suspision as I wasn't able to find anything online. Thanks!
<ditadi> I already mapped CTRL to caps, and I wanted to use Tab as ESC
<MichaelRaskin> Maybe use xmodmap?
<ditadi> That might be my only way
<MichaelRaskin> The only simple way, at least.
<ditadi> Without brining on even more extra 3rd party software
<MichaelRaskin> You can always override xkeyboard-config to add a new layout
<infinisil> i am using a customized xkb layout file, and loading that through xkbcomp
<ottidmes> infinisil: srhb: Thanks for the help, it now works the way I wanted it to!
<MichaelRaskin> I have a long xmodmap script.
niklob has quit [Ping timeout: 268 seconds]
<ditadi> I'll try the simplest approach first
<chisui> how do I get nix to use another version of a package? I read that there are things like overlays, but couldn't find any good tutorials on how to use them
<infinisil> ditadi: you're using `caps:ctrl_modifier`?
<ditadi> I'm using ctrl:nocaps
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34815: ghostwriter: init at 1.5.0 (master...ghostwriter) https://git.io/vAtLn
NixOS_GitHub has left #nixos [#nixos]
<infinisil> ditadi: which layout and variant?
<ditadi> layout = "us";xkbOptions = "ctrl:nocaps";
<genesis> since Qt4 is deprecated but arch linux end support of i686
<genesis> does nixos care about i686 ?
<infinisil> ditadi: alright, give this a try: https://git.io/vAtLr .Download that to somewhere and then load it with `xkbcomp keymap.xkb $DISPLAY`
<MichaelRaskin> genesis: moderately
<infinisil> ditadi: you can later also automate the loading with a nixos option when X starts
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 03eef81 Vladimír Čunát: darwin bootstrap tools: fix after #34339 (http2 in curl)
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAtLP
zzamboni1 has joined #nixos
zzamboni has quit [Ping timeout: 240 seconds]
<ditadi> Here is what I get: Warning: Key <OUTP> not found in evdev+aliases(qwerty) keycodes
<ditadi> Symbols ignoredY
<infinisil> ditadi: yeah just ignore those
<infinisil> does it work? the tab -> escape?
<ditadi> Yeah it does!
<hyper_ch> infinisil: you don't happnen to be interested in RNNs oder DNNs, right?
zzamboni1 has quit [Client Quit]
<infinisil> hyper_ch: no idea what either of those is
<hyper_ch> infinisil: recurrent neural network / deep neural network
Lisanna has joined #nixos
<infinisil> hyper_ch: not really
<ditadi> If I want to assign tab to Esc key would I use this: key <Escape> { [ TAB ] };
<hyper_ch> infinisil: :)
zzamboni has joined #nixos
<infinisil> ditadi: you'd use `key <ESC> { [ Tab, ISO_Left_Tab ] };`
<infinisil> ditadi: the iso left tab thing only if you need a left tab thing when pressing Shift+Tab
raynold has joined #nixos
<infinisil> (it's the default though)
<infinisil> I should probably tell you where I'm getting all this info
<infinisil> if you're interested
<ditadi> Sure
<infinisil> ditadi: the most convenient way is to set the following option: `services.xserver.exportConfiguration = true;`
niklob has joined #nixos
<infinisil> Then after a rebuild you will find all the info in `/etc/X11/xkb`
rauno has joined #nixos
<infinisil> rules (such as ctrl:nocaps) in the rules folder
<infinisil> default key->symbol definitions in the symbols folder
zzamboni has quit [Quit: Leaving.]
<infinisil> and a bunch more
<woffs> genesis: I use nixos on a i686 laptop and need to build on a x86_64 machine (linking firefox needs too much RAM :-) )
<ditadi> Sweet I see them. What do I have to do to ensure the xkb loads up my file on xserver init?
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 4z3 opened pull request #34816: exim: 4.90 -> 4.90.1 (master...exim-4.90.1) https://git.io/vAttr
NixOS_GitHub has left #nixos [#nixos]
<ditadi> I'm using xmonad but I don't really have .Xinitrc file
zzamboni has quit [Client Quit]
<genesis> woffs : yes but i can't fix a sdlmame to be available everywhere, i've not enough machine power
Izorkin has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<genesis> the only i can do it remove i686 support in the sdlamame nix derivation.
<infinisil> ditadi: and at the top you can see how i defined mine
rauno has quit [Ping timeout: 248 seconds]
<woffs> genesis: there are unfortunately several packages which do not compile for i686. I have problems compiling libreoffice for instance.
<lexwhatever> infinisil, I tried format="other"; sounds good in theory, but in practice nix evaluates it to "configure ; make install
<lexwhatever> "
<lexwhatever> and fails, cause there is no makefile with "install" target
<infinisil> lexwhatever: and when you define your own build phase to be just ":"?
<lexwhatever> and nix is here hard to debug because it heavily relies on bash https://github.com/NixOS/nixpkgs/search?utf8=%E2%9C%93&q=No+rule+to+make+target&type= so we can't find pice of code that produce this output, cuz its produced by make binary. and nix-built --show-trace -v 5 don't show line numbers and trace useful like python throw traceback for example
* lexwhatever goes afk for awhile
<infinisil> lexwhatever: am confused, you're blaming nix for what exactly? Just defined your own build phase, maybe look at examples in nixpkgs that use format = "other"
<lexwhatever> k, np, could you kindly demostrate example how to define my own build phase?
zzamboni has joined #nixos
<infinisil> lexwhatever: and i guess if it's just a simple script of a single file, you can just `pkgs.writeScript "foo" ''#!${pkgs.python}/bin/python ...''
<ditadi> Is there a way to restart x11 server so that my tmux sessions are kept alive?
<infinisil> lexwhatever: (i'm not sure if bin/python works for shebangs, but smth like that)
<lexwhatever> ditadi No.
<infinisil> ditadi: i think this plugin makes it work: https://github.com/tmux-plugins/tmux-resurrect
<ditadi> Ahh alright. Is there a keyshort cut to restart X11 server?
<infinisil> ditadi: `systemctl restart display-manager` is what i usually do
<MichaelRaskin> Wait, why tmux sessions are killed by X restart?
<MichaelRaskin> I thought _that_ systemd horror is off by default?
<symphorien> loginctl enable-linger <your user> should solve this iirc
<MichaelRaskin> Ctrl-Alt-Backspace is probably off by default
oida has quit [Ping timeout: 265 seconds]
rauno has joined #nixos
<symphorien> lexwhatever: didn't what I suggested you work ?
ditadi has quit [Quit: WeeChat 2.0]
* lexwhatever expirimenting
ditadi has joined #nixos
<symphorien> :)
* lexwhatever goes afk in to the shadows
<ditadi> Alright, so my tmux sessions were still alive but weechat didn't want to open back up inside of tmux for some reason so I had to restart weechat.
<ditadi> Actually, I'm not sure about that as I have tmux sessions started by xmonad on restart.
zzamboni has quit [Quit: Leaving.]
<ditadi> The Esc<->Tab mapping swap persisted after X11 restart. Thankyou very much infinisil!
<infinisil> ditadi: glad i could help :)
mojjo has quit [Ping timeout: 255 seconds]
niklob has quit [Remote host closed the connection]
niklob has joined #nixos
<infinisil> Whew, I finally made it so that the power key on my laptop doesn't shut it down
<infinisil> was really annoying to accidentally do that
ThatDocsLady has quit [Ping timeout: 240 seconds]
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
fendor has joined #nixos
oida has joined #nixos
<infinisil> If anybody wants to do the same, here is how: https://github.com/Infinisil/system/commit/aae9eb89444859ea192e4a19edd8a5e5fa4bb146
<infinisil> but watch out, it apparently requires a restart to apply, a `systemctl restart display-manager` doesn't do it
<infinisil> well i guess it doesn't matter, because if it doesn't apply and you're pressing the button it restarts automatically lol
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir opened pull request #34818: Syncthing remove ancient versions (master...syncthing-remove-ancient-versions) https://git.io/vAtm3
NixOS_GitHub has left #nixos [#nixos]
colescott_ has joined #nixos
kp__ has joined #nixos
Ross has joined #nixos
genesis has quit [Ping timeout: 256 seconds]
<elvishjerricco> Does hydra cache nar files, or does it rebuild them on each cache request?
<gchristensen> lexwhatever: that probably isn't on topic
genesis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #33665: exim: add optional LDAP support (master...exim-ldap) https://git.io/vNq7q
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #34816: exim: 4.90 -> 4.90.1 (master...exim-4.90.1) https://git.io/vAttr
NixOS_GitHub has left #nixos [#nixos]
<schoppenhauer> hi. what are the packages one has to install to work with c# and f# and .net core under NixOS?
<aminechikhaoui> elvishjerricco: if you're asking about hydra.nixos.org, yeah it does cache nar files (https://github.com/NixOS/nixos-org-configurations/blob/master/delft/hydra.nix#L38)
ma27 has quit [Ping timeout: 256 seconds]
<aminechikhaoui> btw they're never rebuilt, just pulled again from the binary cache in case of cache miss
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vAtmh
<NixOS_GitHub> nixpkgs/master 0905e5e Daiderd Jordan: qt59-qtbase: fix darwin build
NixOS_GitHub has left #nixos [#nixos]
<elvishjerricco> aminechikhaoui: I was asking about hydra in general, but that's helpful :)
<hask_bee_3> When we execute a program in a Nix shell on macOS, are we guaranteed that nothing from the global macOS namespace (for instance /usr/local) is ever used?
<elvishjerricco> aminechikhaoui: The reason I ask is that the CPU require for compressing nars for large builds is significant. So are these ever rebuilt at all?
<elvishjerricco> hask_bee_3: I think you can guarantee that by turning on the Nix sandbox setting, IIRC. But it's not the default, no
<MichaelRaskin> hask_bee_3: no
<hask_bee_3> Hmm. I'm surprised it isn't the default. Wasn't that the whole point of Nix - to keep things isolated from the main system?
<hask_bee_3> I think I'm missing the point.
<MichaelRaskin> There is work on isolating _the builds_
<MichaelRaskin> Of course isolation is better on Linux, but there is always work on improving isolation both on Linux and on MacOS
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 4 new commits to release-17.09: https://git.io/vAtYC
<NixOS_GitHub> nixpkgs/release-17.09 35d9add tv: exim: 4.89.1 -> 4.90...
<NixOS_GitHub> nixpkgs/release-17.09 8a0a8be tv: exim: add optional LDAP support...
<NixOS_GitHub> nixpkgs/release-17.09 ca5416d tv: exim: 4.89 -> 4.89.1...
NixOS_GitHub has left #nixos [#nixos]
<schoppenhauer> seems like nobody was/is interested in mono under nixos.
<MichaelRaskin> But I mean, you obviously can just go and open a file in /usr/share by a Nix-installed text editor.
<schoppenhauer> hm.
<schoppenhauer> at least not in programming with mono under nixos.
ma27 has joined #nixos
<MichaelRaskin> schoppenhauer: you are trying to complain about a PR being ignored?
<hask_bee_3> MichaelRaskin So it's a matter of using best practices then, isn't it? The best practice being to just not ever use those global things, even if you technically can.
<schoppenhauer> no
<schoppenhauer> MichaelRaskin: no
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #34819: Go cve 2018 6574 (master...go-CVE-2018-6574) https://git.io/vAtYR
NixOS_GitHub has left #nixos [#nixos]
<MichaelRaskin> Then I guess you problem is harder to fix…
lexwhatever has quit [Ping timeout: 260 seconds]
<schoppenhauer> MichaelRaskin: I just cannot find any information on how to use mono under nixos … :\
<schoppenhauer> there are lots of mono package
<schoppenhauer> s
<schoppenhauer> but I have no idea … "why"
<MichaelRaskin> hask_bee_3: well, if something always breaks things, it is probably patched out. If a program does a stupid thing with manual search of program binaries to launch which falls back to PATH — well, that may go unnoticed for some time, and unfixed for some more time
genesis has quit [Ping timeout: 240 seconds]
<MichaelRaskin> schoppenhauer: for a lot of thing you just install mono and run the binaries…
<schoppenhauer> MichaelRaskin: and how do I install mono?
<MichaelRaskin> Package called mono
<schoppenhauer> ah.
<schoppenhauer> my bad.
<vcunat> :-)
<schoppenhauer> MichaelRaskin: what about dotnet core?
<hyper_ch> infinisil: bored?
<MichaelRaskin> Is it the same as dotnet-sdk?
<infinisil> hyper_ch: semi-bored
<hyper_ch> infinisil: I'm updating my encrypte-root-zfs-auto-installer :)
<hyper_ch> so that it will be pretty much auto install (after few questions)
<hyper_ch> step 1: run kexec to have nixos install environment
<hyper_ch> step 2: grab script and run
<hyper_ch> step 3: grab coffe, wait around 15-20 min
<hyper_ch> step 4: reboot into encrypted ixos
<schoppenhauer> MichaelRaskin: error: selector ‘dotnet-sdk’ matches no derivations
<MichaelRaskin> Well, it is the attribute name
<schoppenhauer> ah, it is only in unstable
<schoppenhauer> not in stable yet
<MichaelRaskin> See? There is some dynamics!
<MichaelRaskin> (Not sure it is the package you need, though)
arjen-jonathan has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master e05a05e Franz Pletz: altcoins.sumokoin: init at 0.2.0.0
<NixOS_GitHub> [nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vAtYj
<NixOS_GitHub> nixpkgs/master 41b3a76 Franz Pletz: altcoins.dero: init at 0.11.3
<infinisil> hyper_ch: nice!
colescott_ has quit [Quit: Page closed]
<hyper_ch> I will test it in a vm soon
<hyper_ch> wanna see?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34819: Golang: Minor updates (CVE-2018-6574) (master...go-CVE-2018-6574) https://git.io/vAtYR
NixOS_GitHub has left #nixos [#nixos]
<schoppenhauer> MichaelRaskin: yes; and I would never criticize the nixos project :3
<MichaelRaskin> Well, there are multiple ways of criticizing Nix* project that I would agree with…
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #34820: fd: 6.2.0 -> 6.3.0 (master...fd) https://git.io/vAtOq
NixOS_GitHub has left #nixos [#nixos]
<azdle> I'm trying to update the platformio package and the new version has a new dependency, but nix-build can't find it as far as I can tell.
hiroshi has joined #nixos
abathur has joined #nixos
<azdle> Error: Could not find a version that satisfies the requirement semantic-version<3,>=2.5.0 (from platformio==3.5.1) (from versions: )
<azdle> Can anyone tell me what I'm doing wrong?
<vcunat> I believe it says it wants platformio < 3.x.y
<vcunat> (and you gave it 3.5.1)
<MichaelRaskin> Wait, did you upgrade semantic-version version without actually changing the source?
justanotheruser has joined #nixos
<hyper_ch> still need to figure out how to do that encrypted swap
genesis has joined #nixos
<azdle> MichaelRaskin: I was just waiting for it to tell me that the hash was wrong and what the right hash actually was because I'm lazy. It hasn't failed on that yet.
justanotheruser has quit [Client Quit]
justanotheruser has joined #nixos
<infinisil> hyper_ch: I heard it wouldn't work well, soo
<azdle> vcunat, I don't see what you mean.
<MichaelRaskin> That's why experienced people do a random change in the hash when doing !tofu on preexisting packages
<genesis> yep but on biger stuff it's not really usefull ...
<azdle> Ooohh, so it's using something from a cache?
<hyper_ch> infinisil: https://nixos.org/nixos/options.html#swap --> swapDevices.*ecrypted.blkDev
<hyper_ch> but haven't tried that
<MichaelRaskin> azdle: may try to fetch from tarballs.nixos.org
<azdle> Ah, changing that gave me a better error. :)
<azdle> Thanks MichaelRaskin
<hyper_ch> infinisil: I'll need to test that in a vm :)
<vcunat> azdle: you forgot to change the hash
<MichaelRaskin> Well, the hope was to get a hash error
<vcunat> so you were building from old semantic-version source
<MichaelRaskin> Reality was more interesting.
<azdle> vcunat, yeah, I assumed it would fetch the file and fail the hash check rather than using something from a local cache.
<MichaelRaskin> Existence of hash-addressed mirrors creates a completely unexpected way of failing
<vcunat> some stuff is hash-addressed
<azdle> MichaelRaskin, well, it tried to download it from a mirror and failed, at least it tried.
<azdle> "error: cannot download semantic_version.tar.gz from any mirror"
<azdle> Oh
<azdle> That's because I fucked with the name.
<azdle> Yay! Hash mismatch.
<azdle> Thanks for that help, again.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master df689d1 Austin Seipp: chez-scheme: 9.5-20171109 -> 9.5.1...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] thoughtpolice pushed 1 new commit to master: https://git.io/vAtOj
<dhess> TIL that Chez Scheme is owned by Cisco.
alex`` has quit [Quit: WeeChat 2.0.1]
<hyper_ch> I don't really understand that encrypted swap thing
zzamboni has joined #nixos
chisui has quit [Ping timeout: 260 seconds]
Lisanna has quit [Remote host closed the connection]
ryantrinkle has joined #nixos
<abathur> does anyone have a relatively simple setup that enables remote desktop to the full local session? I got teamviewer working after chasing xrdp in circles for a bit, but not keen on teamviewer as a long-term solution. Have a small preference for RDP because I've already got multiple clients/routers installed/configured around it, and I need to do some remoting from lower-quality networks.
alex`` has joined #nixos
<ldlework> rycee are you around?
<samueldr> ♥ nixos, on which hardware failure in the storage medium is a mild inconvenience (when data isn't lost)
<ldlework> I'm wondering why HM does not symlink things that are ~/.nix-profile/Applications to ~/Applications ?
<gchristensen> fridh, MichaelRaskin its like magic! https://screenshots.firefox.com/NjH5y57yb0MGKAim/github.com
kiloreux_ has quit [Remote host closed the connection]
yann-kaelig has quit []
kiloreux_ has joined #nixos
<hyper_ch> abathur: if you set it up in a vm using virt manager you could then use like virtviewer or virtmanager
<abathur> It sounds like xrdp could work if it was proxying x11vnc, but it looks like I would have to override how xrdp is configured to get that working, since nix seems to strip out all session types except for xorg
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b85f2eb Michael Weiss: android-studio-preview: 3.1.0.9 -> 3.1.0.10
<NixOS_GitHub> [nixpkgs] primeos pushed 1 new commit to master: https://git.io/vAtGi
NixOS_GitHub has left #nixos [#nixos]
Xaln has joined #nixos
<abathur> yeah, I can get it working and connect, but I haven't been able to get it to connect to the local desktop session, it's just a fresh one
<Xaln> I'm trying to set up my monitors with services.xserver.xrandrHeads but it's doing some janky stuff
<abathur> I also had a little trouble figuring out what to specify as the window manager, I was only able to use xterm, or install some other wm
<Xaln> for example, when I make it [ "DVI-I-0" "HDMI-0" ] it puts the option Option "monitor-DVI-I-0" "multihead1" in EVERY device section
<Xaln> I'm not sure if this is what I want
<Xaln> I'd like to be able to specify which device each xrandrHeads entry belongs to, and have nix put each one in the appropriate device section
<Xaln> it looks like ${xrandrDeviceSection} is included in every Device section for every video driver
winem_ has joined #nixos
amfl_ is now known as amfl
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34821: qmediathekview: set platforms to unix (master...qmediathekview) https://git.io/vAtnn
NixOS_GitHub has left #nixos [#nixos]
<Xaln> I've got two displays attached to by nvidia graphics card, and then another attached to my intel processor's iGPU. I'd like to use all three at once, by getting xrandr to offload rendering from the nvidia card to my igpu monitor
<MichaelRaskin> xrandr --listproviders
<Xaln> yep, that lists both providers
<abathur> hyper_ch: and I eventually found a recent github issue (https://github.com/neutrinolabs/xrdp/issues/960) on xrdp where they make it pretty clear that xrdp can only support connecting to the local desktop session by proxying something like x11vnc
<hyper_ch> I have no idea what you just said
<Xaln> the problem is that when I specify all three xrandrHeads X dies because every screen gets put into every device section
<MichaelRaskin> Does xrandr-q list all the needed outputs?
<Xaln> It does
<Xaln> Hold on, I'll pastebin what my xorg.conf looks like
<Xaln> or what nix generates, rather
<abathur> hyper_ch: fair, I'm pretty far down the rabbit-hole
<MichaelRaskin> Xaln: to be honest, I would just add xrandr commands inside login script.
<azdle> Okay, next thing I don't understand, it builds now, but fails to import requests despite the fact it's in propagatedBuildInputs.
<Xaln> MichaelRaskin: see how Option "monitor-DVI-I-0" "multihead1" is in every single device section?
<azdle> The old version presumably used requests and network request stuff worked anyone have thoughts?
<Xaln> I don't know how to stop that
<rycee> ldlework: Howdy!
<MichaelRaskin> I know one way…
<ldlework> rycee Hello, long time.
<MichaelRaskin> But that's like the definition of stupid hacks
<MichaelRaskin> Override the set of video drivers
<rycee> ldlework: The main reason for the lack of suck linking is because nobody has implemented it ;-)
<MichaelRaskin> Every driver will have a multiline name.
mkoenig_2 has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Basically, a command injection due to lack of escaping and filtering
<ldlework> rycee I have a snippet that uses osascript to create true OSX aliases to the applications I can share!
mkoenig_1 has quit [Ping timeout: 256 seconds]
mkoenig has quit [Ping timeout: 256 seconds]
mkoenig__ has quit [Ping timeout: 265 seconds]
mkoenig_ has quit [Ping timeout: 240 seconds]
zzamboni has quit [Quit: Leaving.]
<MichaelRaskin> Of course, just running a three-line xrandr script on login is a less crazy solution…
<rycee> ldlework: Yeah, I haven't been very active in here recently. Been working a lot since the new year.
<Xaln> MichaelRaskin: I came to nix to get away from stupid hacks!
<ldlework> Well that's good.
<Xaln> I'm submitting a pull request for this once I get this damn PC set up
<ldlework> rycee if this were generalized into a function to return activation graph nodes for a given app would that work for hm? https://gist.github.com/dustinlacewell-wk/3493f53dec5934aacce81d750935d334
<rycee> ldlework: There is an old issue about running HM under macos: https://github.com/rycee/home-manager/issues/91 where this may be of interest.
Ross has quit [Ping timeout: 252 seconds]
Ross has joined #nixos
<rycee> ldlework: I can't do much to help with this, though, since I know very little about how a mac is set up. So any help would be much appreciated!
<ldlework> rycee well, I could add a module to your modules that has this function which adds a graph node
<ldlework> People would have to call it manually
dan_b has joined #nixos
mkoenig has joined #nixos
<ldlework> I don't know how home-manager could automatically detect an OSX application was built
<Xaln> MichaelRaskin: one last question: is there an option to specify commands to run after starting X?
<ldlework> I guess it would iterate whatever is in ~/.nix-profile/Applications/ and just link anything there...
<MichaelRaskin> Not sure…
<JosW> abathur: there is something like x2go in nixpkgs
<Xaln> I've found services.xserver.displayManager.sddm.setupScript but it's specific to sddm
<ldlework> rycee I guess my question is, why does this require OSX support at all? Shouldn't home-manager be symlinking anything it finds in the package output?
<ldlework> rycee for example ~/.nix-profile/Applications/Viscosity.app exists, as an output of my home-manager build - shouldn't hm blindly symlink it to my home directory?
<JosW> I have been using that on a Debian server for remote desktops, sadly the x2go packages in not maintained anymore
smichel17 has quit [Quit: smichel17]
<JosW> hyper_ch: did you use some of the kexec from clever for your zfs setup?
chsisui has joined #nixos
<MichaelRaskin> there is services.xserver.displayManager.session.script
<MichaelRaskin> Or maybe not
MP2E has joined #nixos
<JosW> X2go is about to use new nxlibs from a project called the Arctica project
<rycee> ldlework: Hmm, for many packages I think that wouldn't work very well. For example, I have the directories bin, functions, include, libexec, sbin, texmf-dist, etc, games, lib, manifest.nix, share, and var in ~/.nix-profile.
<ldlework> I don't know what you mean
<MichaelRaskin> displayManager.sessionCommands seems global
<ldlework> Are you saying that home-manager doesn't symlink all package output?
<ldlework> How does it know what to symlink?
<rycee> ldlework: Well, the symlinks produced in ~/.nix-profile are placed there by nix-env so home-manager is not at all involved in that (except running the "nix-env -i" command).
<ldlework> I'm so confused
<rycee> ldlework: The symlinks home manager produces in the other parts of your home directory are the ones within the `home.file` option.
<ldlework> lol
<ldlework> Oh right.
<ldlework> I seeeeeee.
<ldlework> rycee does the home.file option support symlinks?
<ldlework> I guess it doesn't since I looked already
<ldlework> So I suppose this is entirely up to the user to do via activation scripts
<MichaelRaskin> Xaln: services.xserver.displayManager.sessionCommands ?
<rycee> ldlework: I'm not certain what you mean by symlink here. You mean to put the path of a symlink as a home.file.<name?>.source value?
<abathur> JosW: I'll take another look at x2go. I think I looked once, but probably moved on if I saw it wasn't maintained
<abathur> JosW: and you're using it to access the local desktop session, not just fresh ones?
<Xaln> MichaelRaskin: I'll try that, thanks!
<ldlework> rycee yeah so that the result in the home directory is a symlink to whatever you specified as the source
<ldlework> Oh you're saying that's already possible
<ldlework> lol
<ldlework> Does that only work if the source is in the nix package, or can it be arbitrary paths?
<ldlework> Or maybe .source reads the file contents and assigns to .text and you are not saying .source is how you do symlinks
Xaln has quit [Quit: Page closed]
zzamboni has joined #nixos
<rycee> .source doesn't read the file contents.
<rycee> So it should work OK to put any path there.
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<rycee> For example, in my configuration I have many options along the lines of `home.file.".mailcap".source = dotfiles/mailcap;`
rauno has quit [Remote host closed the connection]
<ldlework> Is it possible to specify home.files = expr, more than once in a given set? I forget.
<ldlework> Probably not
<JosW> abathur: Ah sadly i see it is only the x2go client that is in Nixos, I used an x2go server on a Debian vps. With the client you can connect to the vps (local) desktop and resume a previous session.
<JosW> alla Citrix etc
<JosW> They ar working on the NX libs together now at https://github.com/ArcticaProject/nx-libs
<JosW> they are
<JosW> but that would mean to get all these packages into Nix, way over my head....
<rycee> Within a single attribute set you can have only one `home.files = expr` but you can use `imports` or `mkMerge` to merge multiple attribute sets that each may have `home.files = expr`.
<rycee> ldlework: ^
<JosW> In other words, would be great to have this remote desktop solution in NixOS but I have no clue how to get that done.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAtci
<NixOS_GitHub> nixpkgs/master 0db25dd Vladimír Čunát: qmediathekview: set platforms to linux...
NixOS_GitHub has left #nixos [#nixos]
<abathur> yeah, similar position
<abathur> it sounds like running x11vnc locally and letting xrdp proxy that and handle remote connections would do what I need, but I'm just trying to get up on my legs
<abathur> it looks like I could eventually get that working if I override how xrdp is configured, but I'd be learning all of that from scratch; tenable longer term solution if there aren't Very Good Reasons the current xrdp setup removes the other session types
Lisanna has joined #nixos
humanoyd has quit [Quit: WeeChat 2.0.1]
xcmw has joined #nixos
zzamboni has quit [Quit: Leaving.]
coot has quit [Quit: coot]
Ross has quit [Ping timeout: 264 seconds]
shiver has quit [Quit: No Ping reply in 180 seconds.]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #34821: qmediathekview: set platforms to unix (master...qmediathekview) https://git.io/vAtnn
NixOS_GitHub has left #nixos [#nixos]
Lisanna has quit [Quit: Lisanna]
Ross has joined #nixos
zearen has joined #nixos
fendor has quit [Ping timeout: 248 seconds]
Ross has quit [Ping timeout: 256 seconds]
winem_ has quit [Ping timeout: 276 seconds]
ma27 has quit [Ping timeout: 248 seconds]
ma27 has joined #nixos
nuncanada2 has quit [Remote host closed the connection]
nuncanada2 has joined #nixos
jmiven has quit [*.net *.split]
guido_ has quit [*.net *.split]
ottidmes has quit [*.net *.split]
kini has quit [*.net *.split]
LangeOortjes has quit [*.net *.split]
tv has quit [*.net *.split]
hotfuzz has quit [*.net *.split]
maurer has quit [*.net *.split]
raving has quit [*.net *.split]
snajpa has quit [*.net *.split]
Moredread has quit [*.net *.split]
kline has quit [*.net *.split]
flugsio has quit [*.net *.split]
tg has quit [*.net *.split]
nadley has quit [*.net *.split]
uwap has quit [*.net *.split]
larsvm has quit [*.net *.split]
FireFly has quit [*.net *.split]
DerGuteMoritz has quit [*.net *.split]
Profpatsch has quit [*.net *.split]
tobiasBora has quit [*.net *.split]
oleks has quit [*.net *.split]
nahamu has quit [*.net *.split]
candy` has quit [*.net *.split]
abrar has quit [*.net *.split]
socksy has quit [*.net *.split]
GlennS has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
tertleeltret has quit [*.net *.split]
knupfer has quit [*.net *.split]
{^_^} has quit [*.net *.split]
hiratara has quit [*.net *.split]
sjanssen has quit [*.net *.split]
ghuntley has quit [*.net *.split]
alunduil has quit [*.net *.split]
demyan[m] has quit [*.net *.split]
r3mfKm[m] has quit [*.net *.split]
davidak[m] has quit [*.net *.split]
Deleh[m] has quit [*.net *.split]
Vincenzo[m] has quit [*.net *.split]
offlinehacker[m] has quit [*.net *.split]
teh[m] has quit [*.net *.split]
voobscout[m] has quit [*.net *.split]
fogbugzz[m] has quit [*.net *.split]
noctuid has quit [*.net *.split]
mudri[m] has quit [*.net *.split]
PlasmaStrike[m] has quit [*.net *.split]
dkellner[m] has quit [*.net *.split]
leons has quit [*.net *.split]
ipj[m] has quit [*.net *.split]
benasse has quit [*.net *.split]
musicmatze has quit [*.net *.split]
joepie91 has quit [*.net *.split]
Khetzal has quit [*.net *.split]
teej has quit [*.net *.split]
cbarrett has quit [*.net *.split]
parseval has quit [*.net *.split]
angerman has quit [*.net *.split]
steveeJ has quit [*.net *.split]
ditadi has quit [*.net *.split]
endformationage has quit [*.net *.split]
nkaretnikov has quit [*.net *.split]
jml has quit [*.net *.split]
ocharles has quit [*.net *.split]
manveru has quit [*.net *.split]
nocent has quit [*.net *.split]
moredhel has quit [*.net *.split]
randomenduser[m] has quit [*.net *.split]
crystalgamma[m] has quit [*.net *.split]
taohansen has quit [*.net *.split]
indefini has quit [*.net *.split]
spawnthink[m] has quit [*.net *.split]
musicmatze[m] has quit [*.net *.split]
admin[m]4 has quit [*.net *.split]
TimePath has quit [*.net *.split]
wizek[m] has quit [*.net *.split]
EB[m] has quit [*.net *.split]
wilornel has quit [*.net *.split]
rihardsk[m] has quit [*.net *.split]
benkolera has quit [*.net *.split]
adisbladis[m] has quit [*.net *.split]
koalaeagle[m] has quit [*.net *.split]
kainospur[m] has quit [*.net *.split]
corngood has quit [*.net *.split]
y0no[m] has quit [*.net *.split]
AdamSlack[m] has quit [*.net *.split]
fearlessKim[m] has quit [*.net *.split]
ycy[m] has quit [*.net *.split]
hedning[m] has quit [*.net *.split]
Orbstheorem[m] has quit [*.net *.split]
zhavypath[m] has quit [*.net *.split]
primeos[m] has quit [*.net *.split]
pierrebeaucamp[m has quit [*.net *.split]
nixo[m] has quit [*.net *.split]
Manish[m] has quit [*.net *.split]
dmitry-zen[m] has quit [*.net *.split]
Rick[29SMPittsbu has quit [*.net *.split]
smola has quit [*.net *.split]
TheAppleMan has quit [*.net *.split]
wip_ has quit [*.net *.split]
themistocle has quit [*.net *.split]
johs has quit [*.net *.split]
philipcristiano has quit [*.net *.split]
benley has quit [*.net *.split]
srhb has quit [*.net *.split]
yorick has quit [*.net *.split]
dweller has quit [*.net *.split]
heath has quit [*.net *.split]
akaWolf has quit [*.net *.split]
vaibhavsagar has quit [*.net *.split]
Taneb has quit [*.net *.split]
clever has quit [*.net *.split]
kosmikus has quit [*.net *.split]
deba5e12 has quit [*.net *.split]
averell has quit [Quit: .]
teej has joined #nixos
ottidmes has joined #nixos
pikajude has quit [Ping timeout: 240 seconds]
jack[m] has quit [Ping timeout: 240 seconds]
johnazoidberg[m] has quit [Ping timeout: 240 seconds]
ditadi has joined #nixos
endformationage has joined #nixos
deba5e12 has joined #nixos
taohansen has joined #nixos
TimePath has joined #nixos
primeos[m] has joined #nixos
zhavypath[m] has joined #nixos
corngood has joined #nixos
nkaretnikov has joined #nixos
indefini has joined #nixos
heath has joined #nixos
srhb has joined #nixos
musicmatze[m] has joined #nixos
wizek[m] has joined #nixos
crystalgamma[m] has joined #nixos
yorick has joined #nixos
y0no[m] has joined #nixos
clever has joined #nixos
fearlessKim[m] has joined #nixos
Rick[29SMPittsbu has joined #nixos
akaWolf has joined #nixos
randomenduser[m] has joined #nixos
Manish[m] has joined #nixos
adisbladis[m] has joined #nixos
ycy[m] has joined #nixos
hedning[m] has joined #nixos
kainospur[m] has joined #nixos
themistocle has joined #nixos
smola has joined #nixos
moredhel has joined #nixos
nocent has joined #nixos
EB[m] has joined #nixos
spawnthink[m] has joined #nixos
nixo[m] has joined #nixos
dmitry-zen[m] has joined #nixos
admin[m]4 has joined #nixos
AdamSlack[m] has joined #nixos
manveru has joined #nixos
philipcristiano has joined #nixos
Taneb has joined #nixos
Orbstheorem[m] has joined #nixos
johs has joined #nixos
TheAppleMan has joined #nixos
rihardsk[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
koalaeagle[m] has joined #nixos
benley has joined #nixos
ocharles has joined #nixos
kosmikus has joined #nixos
wip_ has joined #nixos
jml has joined #nixos
benkolera has joined #nixos
wilornel has joined #nixos
vaibhavsagar has joined #nixos
dweller has joined #nixos
pikajude has joined #nixos
akaWolf has quit [Max SendQ exceeded]
kgz has quit [Ping timeout: 276 seconds]
pikajude has quit [Changing host]
pikajude has joined #nixos
teej is now known as Guest32764
ma27 is now known as Guest97638
averell has joined #nixos
kini has joined #nixos
blahdodo has quit [Ping timeout: 240 seconds]
rardiol[m] has quit [Ping timeout: 240 seconds]
techtangents[m] has quit [Ping timeout: 240 seconds]
ajmccluskey[m] has quit [Ping timeout: 240 seconds]
NickHu has quit [Ping timeout: 240 seconds]
ArdaXi[m] has quit [Ping timeout: 252 seconds]
dash has quit [Ping timeout: 252 seconds]
PeterRomfeld[m] has quit [Ping timeout: 252 seconds]
efx[m] has quit [Ping timeout: 240 seconds]
wmertens[m] has quit [Ping timeout: 240 seconds]
mhsjlw[m] has quit [Ping timeout: 240 seconds]
steshaw[m] has quit [Ping timeout: 248 seconds]
stites[m] has quit [Ping timeout: 248 seconds]
Singularity[m] has quit [Ping timeout: 248 seconds]
baconicsynergy[m has quit [Ping timeout: 248 seconds]
mrdaak[m] has quit [Ping timeout: 248 seconds]
Adev[m] has quit [Ping timeout: 248 seconds]
tokudan[m] has quit [Ping timeout: 240 seconds]
dpc has quit [Ping timeout: 240 seconds]
Ross has joined #nixos
fenedor has joined #nixos
shiver has joined #nixos
justanotheruser has joined #nixos
{^_^} has joined #nixos
tertleeltret has joined #nixos
LangeOortjes has joined #nixos
snajpa has joined #nixos
ipj[m] has joined #nixos
r3mfKm[m] has joined #nixos
Profpatsch has joined #nixos
dkellner[m] has joined #nixos
guido_ has joined #nixos
Moredread has joined #nixos
fogbugzz[m] has joined #nixos
teh[m] has joined #nixos
FireFly has joined #nixos
alunduil has joined #nixos
Deleh[m] has joined #nixos
mudri[m] has joined #nixos
joepie91 has joined #nixos
larsvm has joined #nixos
DerGuteMoritz has joined #nixos
jmiven has joined #nixos
davidak[m] has joined #nixos
tv has joined #nixos
flugsio has joined #nixos
nahamu has joined #nixos
voobscout[m] has joined #nixos
offlinehacker[m] has joined #nixos
sjanssen has joined #nixos
abrar has joined #nixos
angerman has joined #nixos
oleks has joined #nixos
ghuntley has joined #nixos
demyan[m] has joined #nixos
steveeJ has joined #nixos
noctuid has joined #nixos
knupfer has joined #nixos
leons has joined #nixos
benasse has joined #nixos
GlennS has joined #nixos
tg has joined #nixos
nadley has joined #nixos
tobiasBora has joined #nixos
candy` has joined #nixos
kline has joined #nixos
socksy has joined #nixos
raving has joined #nixos
uwap has joined #nixos
Khetzal has joined #nixos
Vincenzo[m] has joined #nixos
musicmatze has joined #nixos
PlasmaStrike[m] has joined #nixos
maurer has joined #nixos
hotfuzz has joined #nixos
parseval has joined #nixos
cbarrett has joined #nixos
hiratara has joined #nixos
fogbugs[m] has quit [Ping timeout: 255 seconds]
timclassic has quit [Ping timeout: 256 seconds]
Hook[m]1 has quit [Ping timeout: 256 seconds]
retrry[m] has quit [Ping timeout: 256 seconds]
coffeeshot has quit [Ping timeout: 256 seconds]
magnap has quit [Ping timeout: 240 seconds]
das-g[m] has quit [Ping timeout: 240 seconds]
codyopel has quit [Ping timeout: 240 seconds]
wak-work has quit [Ping timeout: 240 seconds]
happyente[m] has quit [Ping timeout: 240 seconds]
ison[m] has quit [Ping timeout: 240 seconds]
regnat[m] has quit [Ping timeout: 240 seconds]
reactormonk[m] has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 240 seconds]
petersjt014[m] has quit [Ping timeout: 240 seconds]
nmikhailov[m] has quit [Ping timeout: 240 seconds]
gridaphobe[m] has quit [Ping timeout: 240 seconds]
swayf[m] has quit [Ping timeout: 240 seconds]
hl has quit [Ping timeout: 240 seconds]
florianjacob has quit [Ping timeout: 240 seconds]
robinbb[m] has quit [Ping timeout: 240 seconds]
equalunique[m] has quit [Ping timeout: 240 seconds]
peterhoeg has quit [Ping timeout: 240 seconds]
smbarte2[m] has quit [Ping timeout: 240 seconds]
puffnfresh has quit [Ping timeout: 240 seconds]
Khorne[m] has quit [Ping timeout: 240 seconds]
zzamboni has joined #nixos
dtz has quit [Ping timeout: 256 seconds]
rycee has quit [Ping timeout: 256 seconds]
mith[m] has quit [Ping timeout: 256 seconds]
edef[m] has quit [Ping timeout: 256 seconds]
necronian has quit [Ping timeout: 256 seconds]
imbigbrother[m] has quit [Ping timeout: 256 seconds]
srid[m] has quit [Ping timeout: 256 seconds]
Dirt[m] has quit [Ping timeout: 256 seconds]
Naughtmare[m] has quit [Ping timeout: 256 seconds]
cornu[m] has quit [Ping timeout: 256 seconds]
zoya-kosova[m] has quit [Ping timeout: 256 seconds]
Ralith has quit [Ping timeout: 256 seconds]
YuFanLovezYou[m] has quit [Ping timeout: 256 seconds]
atopuzov[m] has quit [Ping timeout: 240 seconds]
blahblah has quit [Ping timeout: 240 seconds]
peel[m] has quit [Ping timeout: 240 seconds]
malteof[m] has quit [Ping timeout: 240 seconds]
olejorgenb[m] has quit [Ping timeout: 240 seconds]
apurvapavaskar[m has quit [Ping timeout: 240 seconds]
M-liberdiko has quit [Ping timeout: 240 seconds]
wzy8L-B2[m] has quit [Ping timeout: 240 seconds]
davidar has quit [Ping timeout: 240 seconds]
tobim[m] has quit [Ping timeout: 240 seconds]
bhipple[m] has quit [Ping timeout: 240 seconds]
nmikhailov[m]1 has quit [Ping timeout: 240 seconds]
chominist[m] has quit [Ping timeout: 240 seconds]
Wysteriary[m] has quit [Ping timeout: 240 seconds]
seif_madc[m] has quit [Ping timeout: 240 seconds]
vise890[m] has quit [Ping timeout: 240 seconds]
Barnabas[m] has quit [Ping timeout: 240 seconds]
asp_ has quit [Ping timeout: 252 seconds]
herzmeister[m] has quit [Ping timeout: 252 seconds]
balsoft[m] has quit [Ping timeout: 252 seconds]
nickdshsadhkas[m has quit [Ping timeout: 252 seconds]
fgaz[m] has quit [Ping timeout: 252 seconds]
mankyKitty[m] has quit [Ping timeout: 252 seconds]
bennofs[m] has quit [Ping timeout: 252 seconds]
Diagonal[m] has quit [Ping timeout: 252 seconds]
h30[m] has quit [Ping timeout: 252 seconds]
danielrf has quit [Ping timeout: 252 seconds]
sudoreboot[m] has quit [Ping timeout: 252 seconds]
pstn has quit [Ping timeout: 252 seconds]
discontent[m] has quit [Ping timeout: 252 seconds]
abcadr[m] has quit [Ping timeout: 252 seconds]
WilliamHamilton has quit [Ping timeout: 255 seconds]
dibblego[m] has quit [Ping timeout: 255 seconds]
hexkey[m] has quit [Ping timeout: 255 seconds]
joh[m] has quit [Ping timeout: 255 seconds]
AntonLatukha[m] has quit [Ping timeout: 255 seconds]
Elephant454[m] has quit [Ping timeout: 255 seconds]
copumpkin has quit [Ping timeout: 255 seconds]
bdimcheff has quit [Ping timeout: 255 seconds]
kevincox has quit [Ping timeout: 255 seconds]
gudea[m] has quit [Ping timeout: 255 seconds]
Wieke[m] has quit [Ping timeout: 255 seconds]
M-fishy has quit [Ping timeout: 255 seconds]
nh2[m] has quit [Ping timeout: 255 seconds]
badamson[m] has quit [Ping timeout: 255 seconds]
iohidtbhfam[m] has quit [Ping timeout: 255 seconds]
ConorCurry[m] has quit [Ping timeout: 255 seconds]
grahamc has quit [Ping timeout: 255 seconds]
M-dpetranek has quit [Ping timeout: 255 seconds]
bobvanderlinden_ has quit [Ping timeout: 255 seconds]
aaronc[m] has quit [Ping timeout: 255 seconds]
Dezgeg[m] has quit [Ping timeout: 248 seconds]
stuh84[m] has quit [Ping timeout: 248 seconds]
DIzFer[m] has quit [Ping timeout: 248 seconds]
revoltmedia[m] has quit [Ping timeout: 248 seconds]
abbafei[m] has quit [Ping timeout: 248 seconds]
demyan[m] has quit [Ping timeout: 255 seconds]
r3mfKm[m] has quit [Ping timeout: 255 seconds]
davidak[m] has quit [Ping timeout: 255 seconds]
Deleh[m] has quit [Ping timeout: 255 seconds]
Vincenzo[m] has quit [Ping timeout: 255 seconds]
offlinehacker[m] has quit [Ping timeout: 255 seconds]
teh[m] has quit [Ping timeout: 255 seconds]
voobscout[m] has quit [Ping timeout: 255 seconds]
fogbugzz[m] has quit [Ping timeout: 255 seconds]
noctuid has quit [Ping timeout: 255 seconds]
mudri[m] has quit [Ping timeout: 255 seconds]
PlasmaStrike[m] has quit [Ping timeout: 255 seconds]
dkellner[m] has quit [Ping timeout: 255 seconds]
leons has quit [Ping timeout: 255 seconds]
ipj[m] has quit [Ping timeout: 255 seconds]
benasse has quit [Ping timeout: 255 seconds]
nocent has quit [Ping timeout: 256 seconds]
moredhel has quit [Ping timeout: 256 seconds]
crystalgamma[m] has quit [Ping timeout: 256 seconds]
randomenduser[m] has quit [Ping timeout: 256 seconds]
taohansen has quit [Ping timeout: 256 seconds]
indefini has quit [Ping timeout: 256 seconds]
spawnthink[m] has quit [Ping timeout: 256 seconds]
musicmatze[m] has quit [Ping timeout: 256 seconds]
admin[m]4 has quit [Ping timeout: 256 seconds]
TimePath has quit [Ping timeout: 256 seconds]
wizek[m] has quit [Ping timeout: 256 seconds]
EB[m] has quit [Ping timeout: 256 seconds]
wilornel has quit [Ping timeout: 256 seconds]
rihardsk[m] has quit [Ping timeout: 256 seconds]
benkolera has quit [Ping timeout: 256 seconds]
koalaeagle[m] has quit [Ping timeout: 256 seconds]
adisbladis[m] has quit [Ping timeout: 256 seconds]
kainospur[m] has quit [Ping timeout: 256 seconds]
corngood has quit [Ping timeout: 256 seconds]
y0no[m] has quit [Ping timeout: 256 seconds]
AdamSlack[m] has quit [Ping timeout: 256 seconds]
fearlessKim[m] has quit [Ping timeout: 256 seconds]
ycy[m] has quit [Ping timeout: 256 seconds]
hedning[m] has quit [Ping timeout: 256 seconds]
zhavypath[m] has quit [Ping timeout: 256 seconds]
Orbstheorem[m] has quit [Ping timeout: 256 seconds]
primeos[m] has quit [Ping timeout: 256 seconds]
pierrebeaucamp[m has quit [Ping timeout: 256 seconds]
nixo[m] has quit [Ping timeout: 256 seconds]
Manish[m] has quit [Ping timeout: 256 seconds]
dmitry-zen[m] has quit [Ping timeout: 256 seconds]
Rick[29SMPittsbu has quit [Ping timeout: 256 seconds]
fogbugz23[m] has quit [Ping timeout: 260 seconds]
Li[m] has quit [Ping timeout: 260 seconds]
AlanPearce[m] has quit [Ping timeout: 260 seconds]
xurxo[m] has quit [Ping timeout: 260 seconds]
Pneumaticat has quit [Ping timeout: 260 seconds]
sphalerite has quit [Ping timeout: 260 seconds]
Drakonis[m] has quit [Ping timeout: 260 seconds]
itorres has quit [Ping timeout: 260 seconds]
moredread[m] has quit [Ping timeout: 260 seconds]
mirlur[m] has quit [Ping timeout: 260 seconds]
yochai[m] has quit [Ping timeout: 260 seconds]
adva[m] has quit [Ping timeout: 260 seconds]
kitten[m] has quit [Ping timeout: 260 seconds]
bendlas has quit [Ping timeout: 260 seconds]
the_m4ur1[m] has quit [Ping timeout: 260 seconds]
wchresta[m] has quit [Ping timeout: 260 seconds]
M-berdario has quit [Ping timeout: 260 seconds]
andyjscott[m] has quit [Ping timeout: 260 seconds]
trikl[m] has quit [Ping timeout: 260 seconds]
dywedir[m] has quit [Ping timeout: 260 seconds]
AllanDaemon has quit [Ping timeout: 260 seconds]
angerman has quit [Max SendQ exceeded]
justanotheruser has quit [Max SendQ exceeded]
shiver has quit [Quit: leaving]
shiver has joined #nixos
Guest32764 has quit [Changing host]
Guest32764 has joined #nixos
icetan has quit [Ping timeout: 276 seconds]
Guest73224 has quit [Ping timeout: 276 seconds]
midchildan[m] has quit [Ping timeout: 276 seconds]
Phil[m]3 has quit [Ping timeout: 276 seconds]
sargon[m] has quit [Ping timeout: 276 seconds]
LiuWeiHua[m] has quit [Ping timeout: 276 seconds]
spacekitteh[m] has quit [Ping timeout: 276 seconds]
lycium[m] has quit [Ping timeout: 276 seconds]
hendrik[m] has quit [Ping timeout: 276 seconds]
wervenyt[m] has quit [Ping timeout: 276 seconds]
rnhmjoj[m] has quit [Ping timeout: 276 seconds]
jmorriss[m] has quit [Ping timeout: 276 seconds]
jluttine[m] has quit [Ping timeout: 276 seconds]
ayyjayess[m] has quit [Ping timeout: 276 seconds]
matrixkrav has quit [Ping timeout: 276 seconds]
M-Dan has quit [Ping timeout: 276 seconds]
Kallegro[m] has quit [Ping timeout: 276 seconds]
octalsrc[m] has quit [Ping timeout: 276 seconds]
bachp has quit [Ping timeout: 276 seconds]
Obscurity[m] has quit [Ping timeout: 276 seconds]
paperdigits[m] has quit [Ping timeout: 276 seconds]
pvn[m] has quit [Ping timeout: 276 seconds]
themistocle1 has quit [Ping timeout: 276 seconds]
aspiwack[m] has quit [Ping timeout: 276 seconds]
aniketd[m] has quit [Ping timeout: 276 seconds]
angerman has joined #nixos
blahdodo has joined #nixos
angerman has quit [Changing host]
angerman has joined #nixos
LangeOortjes has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 85ca8f1 Markus Kowalewski: slurm-spank-x11: init at 0.2.5
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vAtW9
<NixOS_GitHub> nixpkgs/master 968b866 Vladimír Čunát: Merge #32774: slurm-spank-x11: init at 0.2.5
LangeOortjes has joined #nixos
tg has quit [Ping timeout: 260 seconds]
hiratara has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32774: slurm-spank-x11: init at 0.2.5 (master...slurm-x11) https://git.io/vb6nS
NixOS_GitHub has left #nixos [#nixos]
kiloreux_ has quit [Remote host closed the connection]
arjen-jonathan has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
Lisanna has joined #nixos
hiratara has joined #nixos
tg has joined #nixos
Guest97638 has quit [Ping timeout: 256 seconds]
<pikajude> is it possible to build a ghcWithHoogle derivation with package sets from multiple different GHCs?
hask_bee_3 has joined #nixos
<pikajude> does it just read the haddocks?
<hask_bee_3> Can Nix (not NixOS) help me run multiple independent instances of PostgreSQL (each on different ports) on the same Linux/macOS machine?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/openssl-1.1 62ff044 Vladimír Čunát: Merge branches 'master' and 'staging' into openssl-1.1
<NixOS_GitHub> nixpkgs/openssl-1.1 7d10c1d Vladimír Čunát: cyrus-sasl: RC update and minor fixes...
<NixOS_GitHub> [nixpkgs] vcunat pushed 7 new commits to openssl-1.1: https://git.io/vAtlK
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/openssl-1.1 5411020 Vladimír Čunát: Revert "kdeFrameworks.kdelibs4support: add patch for openssl 1.1"...
<MichaelRaskin> hask_bee_3: you can generate a runner script mostly corresponding to what NixOS would run out of a config using NixOS code
MP2E has quit [Remote host closed the connection]
<MichaelRaskin> You can generate such scripts for all the instances you need and run them
acarrico has joined #nixos
MP2E has joined #nixos
<pikajude> actually, has anyone ever actually used ghcWithHoogle and run a local server?
<pikajude> because it generates file:/// URIs to documentation and no modern browser lets you follow those
<pikajude> so is this just a case of write it and don't bother using it
<infinisil> pikajude: gonna try that
vcunat has quit [Ping timeout: 256 seconds]
<pikajude> never mind, i have spoken too soon
<pikajude> if you use the --local flag it doesn't actually do that
<pikajude> genius
<infinisil> pikajude: works just fine for me
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Ekleog opened pull request #34823: VMs module (see RFC 0012) (master...vms) https://git.io/vAt8B
<pikajude> neato
kgz has joined #nixos
<infinisil> pikajude: firefox "$(nix-build --no-out-link -E '(import <nixpkgs> {}).haskellPackages.ghcWithHoogle (h: [ h.stm ])')/share/doc/hoogle/index.html"
<pikajude> very odd
<pikajude> maybe firefox does allow that
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6d8c1fe Tuomas Tynkkynen: linux: Use concatStringsSep
<NixOS_GitHub> [nixpkgs] dezgeg pushed 3 new commits to master: https://git.io/vAt8V
<NixOS_GitHub> nixpkgs/master 0ed5ba8 Tuomas Tynkkynen: buildMavenPackage: Use concatStringsSep
<NixOS_GitHub> nixpkgs/master a6fd038 Tuomas Tynkkynen: check-meta: Use concatStrings
NixOS_GitHub has left #nixos [#nixos]
<infinisil> I don't know why file:// url's shouldn't be allowed in a browser
<infinisil> makes no sense
<infinisil> pikajude: what are you using? chrome?
<dhess> Safari also does it.
<pikajude> chrome
<gchristensen> chrome supports file:///home/grahamc/projects/ofborg/ofborg/ for me
<infinisil> pikajude: what error do you get?
<dhess> I am surprised that Chrome won't. I can see it being disallowed from http or https URLs, but not when the origin is file:
<pikajude> ...hmm
<pikajude> what am i missing here
<MichaelRaskin> Proxy?
chsisui has quit [Ping timeout: 260 seconds]
ditadi has quit [Ping timeout: 256 seconds]
<LnL> isn't there some hidden setting for that?
vcunat has joined #nixos
knupfer1 has joined #nixos
<ryantrinkle> i'm getting this when building with hydra: error: a ‘x86_64-darwin’ is required to build ‘/nix/store/x69h78sn7l3hpp3r49dkvd4kfs4lxcmn-all-cabal-hashes-component-aeson.nix.drv’, but I am a ‘x86_64-linux’
<ryantrinkle> even though i have a working darwin build machine set up
<ryantrinkle> and i've tested that both root and hydra-queue-runner can ssh into it
knupfer has quit [Ping timeout: 255 seconds]
knupfer1 is now known as knupfer
<ryantrinkle> does anyone know how to get that to work?
<LnL> check ssh mac1 -- nix-store --version
<LnL> it's probably not in PATH for non-interactive shells
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] Ekleog opened pull request #34824: eudev: 3.2.4 -> 3.2.5 (master...eudev-3.2.5) https://git.io/vAt4V
<gchristensen> also check your various system logs
<ryantrinkle> LnL: that seems to be working (from either account)
<ryantrinkle> also, i can build the derivation on the command line
<ryantrinkle> as root
<gchristensen> how about not root
<genesis> is there some magic to patch symlink ?
<ryantrinkle> Error in tempdir() using /run/user/0/nix-build.XXXXXX: Could not create directory /run/user/0/nix-build.70rQr5: Permission denied at /nix/store/qdb45adr5cgihgfdwvq7pymkc6l2rflg-nix-1.11.16/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi/Nix/Utils.pm line 45.
<ryantrinkle> that's an interesting one
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34825: home-assistant: 0.62.1 -> 0.63 (master...home-assistant-0.63.0) https://git.io/vAt4M
NixOS_GitHub has left #nixos [#nixos]
<infinisil> genesis: define "magic to patch symlink"
<ryantrinkle> that's when su'd into hydra-queue-runner
<genesis> infinisil : sdlmame -> /usr/lib/sdlmame/sdlmame and a list of exec, that should be rewrite to point on nix path
<genesis> something that find symlink and rewrite them.
hiratara has quit [Quit: ZNC - http://znc.in]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vcunat1 has joined #nixos
<infinisil> genesis: just symlink that one file to the nixpkgs one
<ryantrinkle> gchristensen: yep, if i use sudo -iu hydra-queue-runner instead of su, it works
<ryantrinkle> ($NIX_REMOTE wasn't set)
<genesis> infinisil : oki but i've 9 i though i can write something smarter :)
<infinisil> genesis: 9 same ones?
hiratara has joined #nixos
rauno has joined #nixos
vcunat has quit [Ping timeout: 256 seconds]
<infinisil> genesis: I mean if they have some pattern you can of course abstract that with bash somehow
<genesis> yes i'll look for readlink in the pkg.
gfixler has quit [Ping timeout: 248 seconds]
<genesis> applications/editors/lighttable/default.nix: --replace 'HERE=`dirname $(readlink -f $0)`' "HERE=$out/share/LightTable"
JosW has quit [Quit: Konversation terminated!]
<ryantrinkle> gchristensen: oh wait! reproed :P
<ryantrinkle> it just hadn't gotten as far as i thought it had
<infinisil> genesis: hacky stuff there, it does that because the build assumes it can run in the build directory
<genesis> i would create a rule with find -type l and replace stuff with nix path
razzy has joined #nixos
<infinisil> genesis: what are the 9 symlinks?
winem_ has joined #nixos
<genesis> infinisil http://pasteall.org/814179
griff_ has joined #nixos
<ryantrinkle> LnL gchristensen: lol! i hadn't set nix.distributedBuilds = true
<razzy> hi, how do i convince nix package loader to install everything in /home/user/nix ?
<ryantrinkle> some stuff was definitely already using the build machines, though
<vcunat1> My nixos tries to distribute builds even with distributedBuilds = false
<infinisil> genesis: ah yeah that's totally possile
winem_ has quit [Ping timeout: 260 seconds]
fenedor has quit [Quit: Leaving]
orivej has quit [Ping timeout: 256 seconds]
spietz has quit [Ping timeout: 240 seconds]
zzamboni has quit [Quit: Leaving.]
<razzy> is it possible to have nix/ in home?
spietz has joined #nixos
<MichaelRaskin> Yes, but you lose binary caches
<razzy> MichaelRaskin: do you mean binary caches shared between users?
<razzy> i am ok with that :]
<vcunat1> cache.nixos.org
freeman42x[NixOS has quit [Ping timeout: 260 seconds]
<vcunat1> unless you do some lying about paths, maybe via proot
<infinisil> or chroot
<razzy> both need root acces?
<vcunat1> people typically want this when they don't have root access
<vcunat1> proot should work without root
<vcunat1> (on a new-enough kernel)
<MichaelRaskin> I think proot uses ptrace and is slow
<MichaelRaskin> If user namespaces are enabled (not always so), unshare can give you chroot without actual root
<razzy> i just want some personal software :]
<razzy> thank you :]
<vcunat1> right, user mount namespace - I didn't realize that's root-less :-)
<razzy> there should be some easy way :] imho :]
vcunat1 has quit [Quit: Leaving.]
stephenjudkins has joined #nixos
<infinisil> razzy: to see if unshare works, run `unshare -mr`
<infinisil> if it works, this will give you a shell in which `whoami` outputs root
<ryantrinkle> LnL, gchristensen: ok, fixed. I marked my keyfiles group-readable so hydra could access them
<ryantrinkle> but then root *couldn't*
ipj[m] has joined #nixos
<LnL> ah yeah, ssh doesn't like that
coot has joined #nixos
<razzy> infinisil: cool idea :] it does not work, it is old centOS
<razzy> maybe overparanoid root :]
<infinisil> razzy: I'm not sure if it's worth compiling everything tbh..
hask_bee_3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<infinisil> which is the only approach I'm sure of would work
<MichaelRaskin> I think proot could still work, but ptrace is slow
knupfer has quit [Read error: Connection reset by peer]
<razzy> infinisil: it has some free running time and when finished, nobody will break my dependency and stuff :]
knupfer has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] va1entin opened pull request #34826: pythonPackages.pynacl: init at 1.2.1 (master...pynacl) https://git.io/vAtRY
NixOS_GitHub has left #nixos [#nixos]
<symphorien> razzy: there is a tool called nix-user-chroot iirc
<infinisil> It uses user namespaces
<infinisil> at least Linux 3.8
<MichaelRaskin> CentOS has interesting defaults.
<MichaelRaskin> Even having root is not always enough to make simple things worl
<razzy> infinisil: well, i tried compiling "linux from scratch", and it is pain to try different version of softeare :]
<symphorien> Ah I missed the centos part, sorry
<razzy> :D
Ralith has joined #nixos
<Ralith> hmmm
<infinisil> I'm gonna try PRoot now, just because why not
<Ralith> why do I have a bunch of openssl .pc files in `/nix/var/nix/profiles/default/lib/pkgconfig`?
<MichaelRaskin> With LFS it is a good idea to use A/B LFS to keep your sanity
<razzy> why nix package manager does not use relative adressing everywhere?
<razzy> is it security issue?
<MichaelRaskin> Because like all the software around hardcodes paths?
<razzy> or maintanance issue?
<MichaelRaskin> And making it hardcode different paths is multiple orders of magnitude less work than converting everything to relative addressing?
<MichaelRaskin> Starting with ld.so
<Ralith> I don't have openssl in my system packages
<Ralith> and even if I did that should just be the bins
<MichaelRaskin> Maybe you installed it with nix-env
<Ralith> ah, some ancient thing in my root nix-env, weird
<razzy> MichaelRaskin: i would expect from purely functional package manager relative adressing :] no offence :]
<infinisil> razzy: I'm pretty sure that would require a huge amount of patching of pretty much every package
<MichaelRaskin> razzy: you might also want to request another planet
<razzy> :0
u0_a245 has joined #nixos
<infinisil> MichaelRaskin: but I mean, shouldn't it be possible to just substitute every "/nix/store" with "/home/foo" and have it work?
<razzy> was it decision made at random on begining nixOS? or decision made for easier asimilation of other linux software
<MichaelRaskin> Nope, because length of string constants inside binary files
<infinisil> MichaelRaskin: oh right, forgot about that..
<MichaelRaskin> razzy: a decision to make Nix have any chance of usefully working
coot has quit [Quit: coot]
<infinisil> MichaelRaskin: so it would only work if your user has less than 3 characters lol ( because you want to use something like "/home/ab/n" instead of "/nix/store" )
<razzy> MichaelRaskin: so it would mean recompiling and testing every package
<MichaelRaskin> razzy: no
<razzy> even more?
<MichaelRaskin> It would mean patching all software with no way to check if you have missed a place to patch
<infinisil> which is pretty much impossible
<razzy> chmm,.. so really big deal and 20+ years of testing for every package :]
<simpson> razzy: Is there a specific reason that you don't like having a /nix ?
<MichaelRaskin> simpson: no root at CentOS machine
<Dezgeg> the kernel does'nt support relative #! or DT_INTERP either
<razzy> *almost every package
<simpson> Ah, yes, using Nix on machines you don't own.
<MichaelRaskin> Dezgeg: I am afraid that's actually the easy part of patching
<Dezgeg> yeah, I guess that'd "just" be writing some static binaries as wrappers
<infinisil> Okay how about this: distribute a binary cache with a default nix store location of /nix/some-really-long-path, then you could install it for /home/foo/long-nix-path (same length) by patching everything in the distributed nix store
<razzy> it would be pain for admins to keep track of every user with nixOS
<razzy> i get that :]
<MichaelRaskin> infinisil: let me introduce you to the wonderful world of PATH_MAX
<infinisil> MichaelRaskin: eh, that wouldn't run into max path length issues, right?
<MichaelRaskin> It's complicated
<infinisil> I'm just talking about maybe 20 chars for some-really-long-path
<razzy> infinisil: it is dirty hack :]
<razzy> i like it :]
spietz has quit [Ping timeout: 255 seconds]
<MichaelRaskin> Well, usernames are up to 32 characters on Linux…
<MichaelRaskin> infinisil: just imagine how painful will be your interaction with Java
<infinisil> MichaelRaskin: I think we'd cover the majority if we set a maximum of maybe 12 chars
<razzy> noone reasonable should ever use this as official policy
<infinisil> What's the problem with java?
<MichaelRaskin> JAR files being zips?
* infinisil needs one more clue
* razzy is running screaming :]
<MichaelRaskin> There is never a guarantee that a path reference will not be inside some transformed format
<MichaelRaskin> Inside zip, for example.
<razzy> if the packages are seriously comprimed,.. they need to decomprimed before
<infinisil> ohhh.......
<infinisil> it's called "compressed"
<MichaelRaskin> Converted to UTF-16 for exatra pain
<MichaelRaskin> Or UCS-4!
<razzy> yeah yeah
<infinisil> but i mean.. For the majority of nixpkgs it would probably work
<Dezgeg> or even plain old C strings but compiler deciced to optimize the string constant in some way
<razzy> some virtual root folder is way better
stites[m] has joined #nixos
hexkey[m] has joined #nixos
M-dpetranek has joined #nixos
cornu[m] has joined #nixos
atopuzov[m] has joined #nixos
nixo[m] has joined #nixos
ArdaXi[m] has joined #nixos
mirlur[m] has joined #nixos
Diagonal[m] has joined #nixos
badamson[m] has joined #nixos
bennofs[m] has joined #nixos
baconicsynergy[m has joined #nixos
jluttine[m] has joined #nixos
kitten[m] has joined #nixos
rnhmjoj[m] has joined #nixos
grahamc has joined #nixos
abbafei[m] has joined #nixos
indefini has joined #nixos
sudoreboot[m] has joined #nixos
asp_ has joined #nixos
y0no[m] has joined #nixos
peterhoeg has joined #nixos
mankyKitty[m] has joined #nixos
iohidtbhfam[m] has joined #nixos
moredhel has joined #nixos
bachp has joined #nixos
WilliamHamilton has joined #nixos
lycium[m] has joined #nixos
aspiwack[m] has joined #nixos
scott1 has joined #nixos
andyjscott[m] has joined #nixos
timclassic has joined #nixos
davidar has joined #nixos
hendrik[m] has joined #nixos
mith[m] has joined #nixos
rihardsk[m] has joined #nixos
kainospur[m] has joined #nixos
Naughtmare[m] has joined #nixos
zoya-kosova[m] has joined #nixos
regnat[m] has joined #nixos
ConorCurry[m] has joined #nixos
nh2[m] has joined #nixos
M-liberdiko has joined #nixos
wzy8L-B2[m] has joined #nixos
wervenyt[m] has joined #nixos
adisbladis[m] has joined #nixos
the_m4ur1[m] has joined #nixos
LiuWeiHua[m] has joined #nixos
nmikhailov[m] has joined #nixos
Kallegro[m] has joined #nixos
AlanPearce[m] has joined #nixos
demyan[m] has joined #nixos
wak-work has joined #nixos
chominist[m] has joined #nixos
octalsrc[m] has joined #nixos
moredread[m] has joined #nixos
matrixkrav has joined #nixos
rycee has joined #nixos
wilornel has joined #nixos
olejorgenb[m] has joined #nixos
zhavypath[m] has joined #nixos
teh[m] has joined #nixos
Dirt[m] has joined #nixos
Elephant454[m] has joined #nixos
copumpkin has joined #nixos
das-g[m] has joined #nixos
trikl[m] has joined #nixos
itorres has joined #nixos
robinbb[m] has joined #nixos
kevincox has joined #nixos
bobvanderlinden_ has joined #nixos
midchildan[m] has joined #nixos
ison[m] has joined #nixos
ajmccluskey[m] has joined #nixos
davidak[m] has joined #nixos
mudri[m] has joined #nixos
Li[m] has joined #nixos
jmorriss[m] has joined #nixos
noctuid has joined #nixos
koalaeagle[m] has joined #nixos
herzmeister[m] has joined #nixos
reactormonk[m] has joined #nixos
happyente[m] has joined #nixos
magnap has joined #nixos
YuFanLovezYou[m] has joined #nixos
florianjacob has joined #nixos
stuh84[m] has joined #nixos
spacekitteh[m] has joined #nixos
tokudan[m] has joined #nixos
dpc has joined #nixos
Wysteriary[m] has joined #nixos
necronian has joined #nixos
sargon[m] has joined #nixos
imbigbrother[m] has joined #nixos
ayyjayess[m] has joined #nixos
edef[m] has joined #nixos
randomenduser[m] has joined #nixos
fogbugz23[m] has joined #nixos
nocent has joined #nixos
hl has joined #nixos
swayf[m] has joined #nixos
vise890[m] has joined #nixos
apurvapavaskar[m has joined #nixos
spawnthink[m] has joined #nixos
offlinehacker[m] has joined #nixos
nmikhailov[m]1 has joined #nixos
Obscurity[m] has joined #nixos
dtz has joined #nixos
efx[m] has joined #nixos
benkolera has joined #nixos
pstn has joined #nixos
freeman42x has joined #nixos
Orbstheorem[m] has joined #nixos
bhipple[m] has joined #nixos
fearlessKim[m] has joined #nixos
TimePath has joined #nixos
corngood has joined #nixos
codyopel has joined #nixos
wizek[m] has joined #nixos
yochai[m] has joined #nixos
wmertens[m] has joined #nixos
revoltmedia[m] has joined #nixos
pvn[m] has joined #nixos
puffnfresh has joined #nixos
aniketd[m] has joined #nixos
Pneumaticat has joined #nixos
peel[m] has joined #nixos
dkellner[m] has joined #nixos
Dezgeg[m] has joined #nixos
equalunique[m] has joined #nixos
wchresta[m] has joined #nixos
crystalgamma[m] has joined #nixos
NickHu has joined #nixos
AntonLatukha[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
techtangents[m] has joined #nixos
steshaw[m] has joined #nixos
paperdigits[m] has joined #nixos
dmitry-zen[m] has joined #nixos
Drakonis[m] has joined #nixos
bendlas has joined #nixos
AllanDaemon has joined #nixos
M-Dan has joined #nixos
AdamSlack[m] has joined #nixos
malteof[m] has joined #nixos
fgaz[m] has joined #nixos
h30[m] has joined #nixos
leons has joined #nixos
seif_madc[m] has joined #nixos
primeos[m] has joined #nixos
DIzFer[m] has joined #nixos
musicmatze[m] has joined #nixos
Singularity[m] has joined #nixos
rardiol[m] has joined #nixos
dibblego[m] has joined #nixos
M-berdario has joined #nixos
Rick[29SMPittsbu has joined #nixos
ycy[m] has joined #nixos
sphalerite has joined #nixos
Barnabas[m] has joined #nixos
hedning[m] has joined #nixos
mrdaak[m] has joined #nixos
Phil[m]3 has joined #nixos
dash has joined #nixos
benasse has joined #nixos
dywedir[m] has joined #nixos
blahblah has joined #nixos
joh[m] has joined #nixos
jack[m] has joined #nixos
taohansen has joined #nixos
gridaphobe[m] has joined #nixos
bdimcheff has joined #nixos
PeterRomfeld[m] has joined #nixos
r3mfKm[m] has joined #nixos
Khorne[m] has joined #nixos
EB[m] has joined #nixos
Wieke[m] has joined #nixos
themistocle1 has joined #nixos
aaronc[m] has joined #nixos
fogbugs[m] has joined #nixos
icetan has joined #nixos
Hook[m]1 has joined #nixos
M-fishy has joined #nixos
tobim[m] has joined #nixos
Deleh[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
voobscout[m] has joined #nixos
Adev[m] has joined #nixos
johnazoidberg[m] has joined #nixos
retrry[m] has joined #nixos
petersjt014[m] has joined #nixos
nickdshsadhkas[m has joined #nixos
gudea[m] has joined #nixos
coffeeshot has joined #nixos
discontent[m] has joined #nixos
fogbugzz[m] has joined #nixos
balsoft[m] has joined #nixos
Vincenzo[m] has joined #nixos
abcadr[m] has joined #nixos
smbarte2[m] has joined #nixos
Manish[m] has joined #nixos
adva[m] has joined #nixos
danielrf has joined #nixos
mhsjlw[m] has joined #nixos
admin[m]4 has joined #nixos
srid[m] has joined #nixos
xurxo[m] has joined #nixos
<infinisil> which you can't get
<infinisil> Wait, why not /tmp/nix ?
<infinisil> writable by everybody
<manveru> and wiped on reboot often :)
<infinisil> well if you could use binary caches it wouldn't be that much of a problem
<infinisil> better than having to compile everything
<razzy> proot not installed :(
ditadi has joined #nixos
<simpson> Hm. nix-bundle can bundle nix-bundle now, apparently... Maybe it's time to just live out of a shipping container with nix-bundle.
<infinisil> Is there any downside I haven't considered by using /tmp/nix ?
<simpson> Can't execute out of /tmp, usually.
<MichaelRaskin> Also /tmp on tmpfs
<MichaelRaskin> Enjoy
<Dezgeg> other people creating /tmp/nix before you manage to
<infinisil> hmm, tmpfs is in RAM, right?
<MichaelRaskin> Yes.
<infinisil> Okay forget that
<infinisil> so /home/<some-random-username> is the only thing that's writable
<infinisil> compile all the things it shall be :)
<infinisil> unless this proot thing works, which hasn't ever been the case for me
<razzy> i like nixOS already :]
<Dezgeg> I wonder how far some evil trick like putting the store under /proc/self/fd/ would work
<MichaelRaskin> Until the first exec?
<MichaelRaskin> Because the fd to store will be closed?
<Dezgeg> fds do inherit on exec
<Dezgeg> but yes, someone could close it
genesis has quit [Read error: No route to host]
<simpson> So seriously, what would happen if you took https://github.com/matthewbauer/nix-bundle and self-bundled, then ran the resulting nix-bundle on a system without Nix, they should be able to (slowly, with lots of duplicate packages) build stuff with the binary cache, right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir pushed 3 new commits to master: https://git.io/vAt0r
<NixOS_GitHub> nixpkgs/master 6e24dc7 Andreas Rammhold: syncthing012: removed ancient version...
<NixOS_GitHub> nixpkgs/master d6d06b6 Andreas Rammhold: Merge pull request #34818 from andir/syncthing-remove-ancient-versions...
<NixOS_GitHub> nixpkgs/master 2564e75 Andreas Rammhold: syncthing013: removed ancient version...
NixOS_GitHub has left #nixos [#nixos]
<simpson> I don't have a non-NixOS machine handy to test this theory on.
genesis has joined #nixos
<Dezgeg> nix-bundle uses namespaces
<simpson> Do namespaces not work on CentOS?
<MichaelRaskin> For non-priveleged users?
<MichaelRaskin> I think no.
<M-Dan> Anyone know what user Nixops defaults to for builds?
<MichaelRaskin> One could make /tmp/nix work as a _symlink_ to the real store in /home/$USER/ and the corner cases — they still would exist — would be relatively rare
dan_b has quit [Ping timeout: 252 seconds]
<Dezgeg> how about /proc/self/fd/99999 with an eBPF syscall filter to disallow close()ing that
<infinisil> MichaelRaskin: oh interesting..
<infinisil> MichaelRaskin: what are the corner cases?
<MichaelRaskin> Well, if you readlink -f /proc/self/exe then try to cut off the PREFIX, you can get surprised
u0_a245 has left #nixos [#nixos]
Quickshot has joined #nixos
<infinisil> That seems oddly specific, is that used at all?
coot has joined #nixos
<MichaelRaskin> Dezgeg: I have actually recently encountered a situation where using Nix wouldrequire patching Nix because the kernel was too old for BPF
<MichaelRaskin> infinisil: Well, without extra settings Nix has problems with symlinks in store path
<Dezgeg> well, yes, that is a new problem :)
aarvar has joined #nixos
<MichaelRaskin> Not sure if it was only for a root install
<LnL> Dezgeg: MichaelRaskin: have any of you played with bpf?
ixxie has quit [Quit: Lost terminal]
<Quickshot> I have a question, I have a dual monitor setup 1080p HDMI and 1440p DisplayPort on a Nvidia GPU. And while running it under XFCE I can set it to correctly put the two screens next to each other. But if I turn off the 1440p screen, and turn it back on, it will completely forget about the previous state and treat it like the 1080p screen
<Dezgeg> nope
<MichaelRaskin> I mean, Nix already insists on using prctl NO_NEW_PRIVS which is not that old
<infinisil> MichaelRaskin: because it wouldn't resolve the symlink and try to use /tmp/nix/... directly?
<Quickshot> I've tried nvidia-settings to little effect, and poked around a bit with xrandr for similar little effect.
<Quickshot> Though I might have missed something in both...
<Quickshot> Does anyone have an idea on how to approach this next?
knupfer has quit [Ping timeout: 260 seconds]
<MichaelRaskin> I think xrandr is not about saving state, it just allows you to write a script to quickly set the necessary layout
<infinisil> Quickshot: try arandr, it's a visual interface to xrandr
<Quickshot> Ok
<infinisil> ah, and autorandr can persist stuff
ottidmes has quit [Ping timeout: 248 seconds]
<samueldr> arandr has the helpful thing where saving a layout outputs a shell script with plain xrandr calls
<Dezgeg> or patch nixpkgs libc to have if(fd == 99999) return 0; in close() !
<Quickshot> Which you can then call you mean?
<Quickshot> Though I can write that line myself if need be.. I did that in the past for Gentoo
<Quickshot> I'd rather not have to call it every time if I can some how force it correct every time
<MichaelRaskin> Dezgeg: and then Go appears
<Dezgeg> heh