!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

345 Members
108 Servers

Load older messages


SenderMessageTime
17 May 2023
@j-k:matrix.orgj-k * 👀 ahh it's because we delete all images in matrix ATM https://matrix.to/#/!GsmxjHfeAYLsTEQmjS:nixos.org/$KCXuLtBQe1aym2KRdEQ4fuorkb374ijgbFK3rph4fWw?via=nixos.org&via=matrix.org&via=nixos.dev13:33:36
@Ericson2314:matrix.orgJohn Ericson emilytrau: happy to be on that team! 13:58:53
@Ericson2314:matrix.orgJohn Ericsonwe should ~~nerd snipe~~ involve amjoseph (not on matrix) too, I think :)13:59:23
@emilytrau:matrix.orgemilytrau John Ericson: something is up with the pname/version that gets exposed. any theories? https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=minimal-bootstrap 14:29:53
@artturin:matrix.orgArtturin
In reply to @emilytrau:matrix.org
John Ericson: something is up with the pname/version that gets exposed. any theories? https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=minimal-bootstrap
whats the issue?
14:45:08
@Ericson2314:matrix.orgJohn Ericsonyeah looks fine to me14:45:21
@j-k:matrix.orgj-k if you're refering to "Name: tinycc-mes-unstable Version: 2023-04-20" where unstable is on the wrong side of things, it's like that for anything unstable-xxxx-xx-xx.
It's due to sourceTarball AFAIK?
15:55:17
@emilytrau:matrix.orgemilytrau ah. i've never noticed that thank you! j-k 20:00:54
18 May 2023
@emilytrau:matrix.orgemilytrau
In reply to @emilytrau:matrix.org
https://github.com/NixOS/nixpkgs/pull/232320
could i get this merged please and thank you 🙏
00:21:52
@emilytrau:matrix.orgemilytrau
In reply to @emilytrau:matrix.org
https://github.com/NixOS/nixpkgs/pull/232320
* could i get this merged please and thank you 🙏 it is a blocker
00:22:09
@emilytrau:matrix.orgemilytrau * could i get this merged please and thank you 🙏 it is blocking me 00:22:19
@j-k:matrix.orgj-kmerged by the magnanimous k90008:31:30
@j-k:matrix.orgj-khttps://i.imgur.com/5CUM9n3.png21:38:25
@j-k:matrix.orgj-kI have been wrestling with untar the live-bootstrap tarball. if there are multiple files of the same name it dumps them in PWD instead of the right place... and for some files it leaves them in one place but appends what look like file permissions to the end? 👀 in actuality the nix doesn't need to be that hideous, I can abstract out some prefixes but it expresses my current mood quite well21:39:28
@j-k:matrix.orgj-k

this is it cleaned up a tad:

  # Thanks to the live-bootstrap project!
  # See https://github.com/fosslinux/live-bootstrap/blob/e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0/coreutils-5.0.kaem
  liveBootstrap = "${live-bootstrap-srcs."e86db47b6ee40d68e26866dd15e8637f64d6d778"}/live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0";

  makefile = "${liveBootstrap}/mk/main.mk";

  patches = [
    # modechange.h uses functions defined in sys/stat.h, so we need to move it to
    # after sys/stat.h include.
    "${liveBootstrap}/patches/modechange.patch"
    # mbstate_t is a struct that is required. However, it is not defined by mes libc.
    "${liveBootstrap}/patches/mbstate.patch"
    # strcoll() does not exist in mes libc, change it to strcmp.
    "${liveBootstrap}/patches/ls-strcmp.patch"
    # getdate.c is pre-compiled from getdate.y
    # At this point we don't have bison yet and in any case getdate.y does not
    # compile when generated with modern bison.
    # - untar drops files at the root when there are duplicates across the tar file
    "${live-bootstrap-srcs."e86db47b6ee40d68e26866dd15e8637f64d6d778"}/touch-getdate.patch"
    # touch: add -h to change symlink timestamps, where supported
    # - untar drops files at the root when there are duplicates across the tar file
    "${live-bootstrap-srcs."e86db47b6ee40d68e26866dd15e8637f64d6d778"}/touch-dereference.patch"
    # strcoll() does not exist in mes libc, change it to strcmp.
    "${live-bootstrap}/patches/expr-strcmp.patch0000664"
    # strcoll() does not exist in mes libc, change it to strcmp.
    # hard_LC_COLLATE is used but not declared when HAVE_SETLOCALE is unset.
    "${live-bootstrap}/patches/sort-locale.patch0000664"
  ];
21:41:09
@j-k:matrix.orgj-k *

this is it cleaned up a tad:

  # Thanks to the live-bootstrap project!
  # See https://github.com/fosslinux/live-bootstrap/blob/e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0/coreutils-5.0.kaem
  liveBootstrap = "${live-bootstrap-srcs."e86db47b6ee40d68e26866dd15e8637f64d6d778"}/live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0";

  makefile = "${liveBootstrap}/mk/main.mk";

  patches = [
    # modechange.h uses functions defined in sys/stat.h, so we need to move it to
    # after sys/stat.h include.
    "${liveBootstrap}/patches/modechange.patch"
    # mbstate_t is a struct that is required. However, it is not defined by mes libc.
    "${liveBootstrap}/patches/mbstate.patch"
    # strcoll() does not exist in mes libc, change it to strcmp.
    "${liveBootstrap}/patches/ls-strcmp.patch"
    # getdate.c is pre-compiled from getdate.y
    # At this point we don't have bison yet and in any case getdate.y does not
    # compile when generated with modern bison.
    # - untar drops files at the root when there are duplicates across the tar file
    "${live-bootstrap-srcs."e86db47b6ee40d68e26866dd15e8637f64d6d778"}/touch-getdate.patch"
    # touch: add -h to change symlink timestamps, where supported
    # - untar drops files at the root when there are duplicates across the tar file
    "${live-bootstrap-srcs."e86db47b6ee40d68e26866dd15e8637f64d6d778"}/touch-dereference.patch"
    # strcoll() does not exist in mes libc, change it to strcmp.
    "${live-bootstrap}/patches/expr-strcmp.patch0000664"
    # strcoll() does not exist in mes libc, change it to strcmp.
    # hard_LC_COLLATE is used but not declared when HAVE_SETLOCALE is unset.
    "${live-bootstrap}/patches/sort-locale.patch0000664"
  ];
21:41:15
19 May 2023
@emilytrau:matrix.orgemilytrau
In reply to @j-k:matrix.org
I have been wrestling with untar the live-bootstrap tarball.

if there are multiple files of the same name it dumps them in PWD instead of the right place...
and for some files it leaves them in one place but appends what look like file permissions to the end? 👀

in actuality the nix doesn't need to be that hideous, I can abstract out some prefixes but it expresses my current mood quite well
would you be interested in reporting and getting this fixed upstream?
07:54:10
@j-k:matrix.orgj-k yeah I'm going to post in the matrix now.
interestingly the 2 files that have this weird 0000664 suffix attached are patches you've added upstream ( 🚀 ) but I don't see any difference between those files and the ones next to them like ls-strcmp.patch
07:56:23
@j-k:matrix.orgj-k

hmmmm it might be some kind of maximum file length thing at least for the suffix

$ tar tvx
drwxrwxr-x root/root         0 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.3.7/patches/
-rw-rw-r-- root/root       706 1900-01-00 00:00 install-perms.patch
-rw-rw-r-- root/root       606 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.3.7/patches/symbol.patch
-rwxrwxr-x root/root      2550 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.3.7/python-3.3.7.sh
-rw-rw-r-- root/root      3084 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.3.7/sources
drwxrwxr-x root/root         0 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.4.10/
drwxrwxr-x root/root         0 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.4.10/patches/
-rw-rw-r-- root/root       706 1900-01-00 00:00 install-perms.patch
-rw-rw-r-- root/root       606 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.4.10/patches/symbol.patch
-rwxrwxr-x root/root      2655 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.4.10/python-3.4.10.sh
-rw-rw-r-- root/root      3086 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysc/python-3.4.10/sources
# ...
-rw-rw-r-- root/root       560 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0/patches/modechange.patch
-rw-rw-r-- root/root      1152 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0/patches/sort-locale.patc
-rw-rw-r-- root/root       752 1900-01-00 00:00 live-bootstrap-e86db47b6ee40d68e26866dd15e8637f64d6d778/sysa/coreutils-5.0/patches/tac-uint64.patch
08:06:49
@j-k:matrix.orgj-kis there interest in creating a minimal-bootstrap or general bootstrapping channel so we don't flood exotic targets?14:14:58
20 May 2023
@emilytrau:matrix.orgemilytrau j-k there's a lot of us bootstrapping folk over at https://matrix.to/#/#bootstrappable:libera.chat ! (if you're not there already) :D 02:50:46
@misuzu:matrix.orgmisuzuNixOS image for VisionFive 2 with systemd-boot as bootloader: https://github.com/misuzu/nixos-vf2 11:09:11
@emilytrau:matrix.orgemilytrau misuzu: did you sign up for the visionfive dev boards program too? i got an email saying it's in the mail! :o 11:23:20
@misuzu:matrix.orgmisuzu
In reply to @emilytrau:matrix.org
misuzu: did you sign up for the visionfive dev boards program too? i got an email saying it's in the mail! :o
I've bought one on kickstarter
11:24:13
@emilytrau:matrix.orgemilytraudefinitely bookmarking to play with when my board gets here!11:24:15
@raitobezarius:matrix.orgraitobezarius
In reply to @misuzu:matrix.org
NixOS image for VisionFive 2 with systemd-boot as bootloader: https://github.com/misuzu/nixos-vf2
this is happiness in pure injection
13:56:35
@raitobezarius:matrix.orgraitobezarius
In reply to @emilytrau:matrix.org
misuzu: did you sign up for the visionfive dev boards program too? i got an email saying it's in the mail! :o
got email too
13:56:44
22 May 2023
@j-k:matrix.orgj-k
In reply to @emilytrau:matrix.org
j-k there's a lot of us bootstrapping folk over at https://matrix.to/#/#bootstrappable:libera.chat ! (if you're not there already) :D
yeah I'm in that channel via matrix but the bridge seems a bit busted 🤔. I was thinking more for nixpkgs specific discussions around minimal-bootstrap
14:09:58
@jackleightcap:matrix.org@jackleightcap:matrix.org joined the room.21:03:27
@me:indeednotjames.com@me:indeednotjames.com joined the room.21:15:24

Show newer messages


Back to Room ListRoom Version: 6