Skip to content

Instantly share code, notes, and snippets.

@samueldr
Last active December 25, 2017 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/42c548a99de160892ca301c84b85bab8 to your computer and use it in GitHub Desktop.
Save samueldr/42c548a99de160892ca301c84b85bab8 to your computer and use it in GitHub Desktop.
#nixos-dev
All dates and times are for timezone EST
--- 24th december
[10:19:18] --> yegortimoshenko (5b4fcb36@gateway/web/freenode/ip.91.79.203.54) has joined #nixos-dev
[10:19:36] <yegortimoshenko> was there ever a license applied to articles in deprecated NixOS wiki?
[10:25:49] --> orivej (~orivej@193.138.218.165) has joined #nixos-dev
[10:49:54] <-- ma27 (~ma27@p200300CFB3C1A0012AD244FFFEBF834C.dip0.t-ipconnect.de) has quit (Ping timeout: 252 seconds)
[10:51:46] --> ma27 (~ma27@p200300CFB3C1A0012AD244FFFEBF834C.dip0.t-ipconnect.de) has joined #nixos-dev
[10:53:55] <LnL> can somebody restart https://hydra.nixos.org/eval/1420817#tabs-now-fail
[10:54:09] <makefu> yegortimoshenko: i haven't found anything in archive.org which would hint towards a license for the texts in the wiki
[11:04:11] <-- ma27 (~ma27@p200300CFB3C1A0012AD244FFFEBF834C.dip0.t-ipconnect.de) has quit (Ping timeout: 265 seconds)
[11:33:54] --> propumpkin (~copumpkin@haskell/developer/copumpkin) has joined #nixos-dev
[11:37:20] <-- contrapumpkin (~copumpkin@haskell/developer/copumpkin) has quit (Ping timeout: 260 seconds)
[11:48:23] <yegortimoshenko> makefu: me neither. thanks for trying. it's rather problematic
[11:51:48] <samueldr> could it be sane to assume the wiki's license was the same aas the website's?
[12:00:19] <yegortimoshenko> samueldr: from legal standpoint, no
[12:01:26] <samueldr> I just remembered where I saw it in the past
[12:01:26] <samueldr> https://web.archive.org/web/20140705105912/https://nixos.org/wiki/Nix_Wiki:Copyrights
[12:02:09] <yegortimoshenko> oh, ok. that's good enough! thank you, samueldr
[12:02:18] <samueldr> This page was last modified on 6 December 2009, at 05:05.
[12:02:23] <samueldr> even though the capture is from 2014
[12:35:46] --> taktoa (~quassel@pool-98-113-22-14.nycmny.fios.verizon.net) has joined #nixos-dev
[12:54:38] <-> propumpkin is now known as contrapumpkin
[13:34:24] <-- yegortimoshenko (5b4fcb36@gateway/web/freenode/ip.91.79.203.54) has quit (Ping timeout: 260 seconds)
[14:05:14] --> yegortimoshenko (5b4fcb36@gateway/web/freenode/ip.91.79.203.54) has joined #nixos-dev
[14:27:07] --> zarel (~zarel@dynamic-adsl-78-14-40-163.clienti.tiscali.it) has joined #nixos-dev
[15:54:16] <-- zarel (~zarel@dynamic-adsl-78-14-40-163.clienti.tiscali.it) has quit (Quit: Leaving)
[17:05:35] <-- yegortimoshenko (5b4fcb36@gateway/web/freenode/ip.91.79.203.54) has quit (Quit: Page closed)
[17:16:14] <-- taktoa (~quassel@pool-98-113-22-14.nycmny.fios.verizon.net) has quit (Remote host closed the connection)
[17:32:01] <makefu> how about we just ask niksnut to put it unter *some* license?
[17:36:38] --> Sonarpulse (~Sonarpuls@unaffiliated/sonarpulse) has joined #nixos-dev
[18:37:45] --> yegortimoshenko (5b4fcb36@gateway/web/freenode/ip.91.79.203.54) has joined #nixos-dev
[19:05:44] <-- yegortimoshenko (5b4fcb36@gateway/web/freenode/ip.91.79.203.54) has quit (Ping timeout: 260 seconds)
[19:32:09] <-- orivej (~orivej@193.138.218.165) has quit (Ping timeout: 256 seconds)
[21:19:11] <-- LnL (~L0CKnL0aD@78-23-24-36.access.telenet.be) has quit (Quit: exit 1)
[21:19:49] <contrapumpkin> the problem is that isn't his to license
[21:20:04] <contrapumpkin> you need to get all the contributors' permission to license it, I think
[21:22:37] --> LnL (~L0CKnL0aD@78-23-24-36.access.telenet.be) has joined #nixos-dev
[21:33:52] --> mbrgm_ (~mbrgm@unaffiliated/mbrgm) has joined #nixos-dev
[21:33:58] <-- mbrgm (~mbrgm@unaffiliated/mbrgm) has quit (Ping timeout: 272 seconds)
[21:33:58] <-> mbrgm_ is now known as mbrgm
[21:40:29] <laggy_wifi> how does nix's dynamic loader work
[21:43:03] <gchristensen> contrapumpkin: I think the content is free to be relicensed "by the nix community"
[21:43:09] <gchristensen> contrapumpkin: https://web.archive.org/web/20140705105912/https://nixos.org/wiki/Nix_Wiki:Copyrights
[21:46:52] <gchristensen> which might actually be a bit of a nightmare, who is the nix community and how do they decide things
[21:51:24] <laggy_wifi> also how would i make nix's ldd work without needing to chroot into nix
[21:54:49] <laggy_wifi> sda3]$ ./nix/store/rk8jv9r9sjc1pz9lkbyj67cj3h0szzhy-glibc-2.25-49-bin/bin/ldd ./dummy
[21:54:50] <laggy_wifi> libc.so.6 => not found
[21:56:15] <simpson> laggy_wifi: Sorry, if this isn't on NixOS, could you stick to the non-dev channel?
[21:57:50] <laggy_wifi> it is on NixOS
[21:58:58] <laggy_wifi> NixOS is installed on /dev/sda3
[21:59:39] <simpson> Okay, well, ldd is working fine for me here on stable: https://bpaste.net/show/68be3de63b98
[21:59:58] <simpson> So can you give me something that I can try to reproduce?
[22:05:24] <laggy_wifi> mkdir /tmp/sda3 ; sudo mount /dev/sda3 /tmp/sda3 ; cd /tmp/sda3 ; sudo patchelf --set-interpreter /tmp/sda3/nix/store/xzx1bv1d7z4mgg6sg6ly0jx609qvka4x-glibc-2.25-49/lib/ld-linux-x86-64.so.2 ./nix/store/qp5fw57d38bd1n07ss4zxh88zg67c3vg-bash-4.4-p12/bin/bash ; ./nix/store/rk8jv9r9sjc1pz9lkbyj67cj3h0szzhy-glibc-2.25-49-bin/bin/ldd ./bin/bash
[22:06:25] <laggy_wifi> (after modifying glibc-2.25-49-bin/bin/ldd to use /tmp/sda3/nix* instead of /nix* )
[22:06:44] <laggy_wifi> aalso assuming nixos is on sda3
[22:13:07] <samueldr> gchristensen: here's the head of the mailing list dicussion linked in the archive.org page https://nixos.org/nix-dev/2009-December/003525.html
[22:13:13] <laggy_wifi> this can be done in a minimal chroot to avoid nix loading files from nixos host itself
[22:18:03] <laggy_wifi> as i am trying to figure out how nix's dynamic loader works if it does not use ld.so.cache and according to "./patchelf-static --print-needed dummy" libquadmath is displayed as "libquadmath.so.0" yet ldd still manages to find it without using ld.so.cache
[22:18:26] <laggy_wifi> in nixos itself
[22:18:39] <laggy_wifi> libquadmath.so.0 => /nix/store/y5ac95kk3nb52si8zcyznjrfb45720hk-gcc-6.4.0-lib/lib/libquadmath.so.0 (0x00007f267d136000)
[22:19:54] <laggy_wifi> how is that even possible if it does not rely on a cache file or any file list
[22:20:33] <laggy_wifi> nor full paths in the NEEDED section of the elf/so files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment