!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

318 Members
99 Servers

Load older messages


SenderMessageTime
24 Jun 2021
@qbit:tapenet.orgqbit I have started creating https://github.com/NixOS/nixpkgs/tree/master/pkgs/os-specific/bsd/netbsd for openbsd (basically a copy of netbsd with a few tweaks atm) to generate the hashes, does one use nix-prefetch-url? (it isn't clear from the man page if it supports cvs :D) 13:33:56
@qbit:tapenet.orgqbit
  • hashes used https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/bsd/netbsd/default.nix#L115
13:34:26
@qbit:tapenet.orgqbit * the hashes found here https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/bsd/netbsd/default.nix#L11513:34:42
@sternenseemann:systemli.orgsternijust use a fake hash and wait for the fetch to fail is what I do usually15:56:39
@sternenseemann:systemli.orgsternithe cvs fetcher is quite simplistic and I don't think it has the prefetch feature15:57:03
@qbit:tapenet.orgqbitheh, ok15:58:02
@qbit:tapenet.orgqbitthat's what i have been doing for other things ;D15:58:13
26 Jun 2021
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgNixOS Moderation Bot.01:18:00
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.01:18:01
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.01:18:02
28 Jun 2021
@washort:greyface.orgdash joined the room.01:24:52
29 Jun 2021
@qbit:tapenet.orgqbit next noob question :D - after creating a nixpkgs/pkgs/os-specific/bsd/openbsd/defalut.nix (obvs not complete) - is there a nix-build incantation I can fire off to test it? 14:00:43
@sternenseemann:systemli.orgsterniyou need to callPackage it in pkgs/top-level/all-packages.nix, search for "netbsd =" for an example on how to do it14:01:47
@qbit:tapenet.orgqbitok14:45:23
@qbit:tapenet.orgqbitnot sure how i would build the derivation though - i assume I can build just the openbsd bits, right? (i also still need to get the hashes sorted out)14:46:23
@qbit:tapenet.orgqbitalso should mention - I have no idea what the workflow should look like :D14:53:07
@sternenseemann:systemli.orgsterni nix-build -A openbsd.package 15:09:24
@sternenseemann:systemli.orgsternifor native15:09:44
@sternenseemann:systemli.orgsterni cross compilation is of course more involved, you need to create a platform which picks up your natively compiled bits needed for bootstraping from openbsd and then builds a stdenv which can cross compile openbsd stuff 15:10:32
@sternenseemann:systemli.orgsterniit's hard to explain it all via matrix, I'd suggest you orient yourself on how the netbsd package set is doing it15:11:16
@qbit:tapenet.orgqbitmk15:11:30
@sternenseemann:systemli.orgsterni platform definitions are in lib/platforms/examples.nix and the cross stdenv implementation in pkgs/stdenv/cross 15:11:34
@qbit:tapenet.orgqbitok, ty :D15:16:03
5 Jul 2021
@jassu:kumma.juttu.asiaJassuko joined the room.14:30:12
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.19:21:50
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels 19:49:29
6 Jul 2021
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels changed their display name from spacesbot to spacesbot - keeps a log of public NixOS channels.22:11:39
12 Jul 2021
@sternenseemann:systemli.orgsterni John Ericson: useLLVM compiler-rt is missing crtbeginT.o it seems, my guess currently is that when useLLVM was implemented, it wasn't added to the crtbegin-and-end.patch just because it wasn't needed at the time. do you think that guess checks out? 00:07:39
@Ericson2314:matrix.orgJohn Ericson sterni (he/him) yeah seems plausible 04:33:26
16 Jul 2021
@alice:usamimi.networkalice joined the room.08:41:57

Show newer messages


Back to Room ListRoom Version: 6