supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nix-darwin
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
Gaelan has quit [Quit: ZNC 1.8.1 - https://znc.in]
Gaelan has joined #nix-darwin
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nix-darwin
<siraben> supersandro2000: Hm, I don't get /bin/sh not found on darwin, could you give an example of a package that results in this error?
iH8c0ff33 has joined #nix-darwin
<supersandro2000> siraben:https://github.com/NixOS/nixpkgs/pull/101125#issuecomment-717629442
<supersandro2000> Generally cmake and some perl scripts have issues but they build fine on the builders and I can later fetch them from cache
<siraben> supersandro2000: That's strange. I posted a build log in that issue as well but the error message was different
iH8c0ff33 has quit [Ping timeout: 240 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 272 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nix-darwin
<supersandro2000> siraben: yeah. I have no clue what is wrong with my system.
<supersandro2000> and found another PR where /bin/sh is not found https://github.com/NixOS/nixpkgs/pull/104522
<{^_^}> #104522 (by marsam, 1 day ago, open): postgresqlPackages.postgis: 3.0.2 -> 3.0.3
<siraben> supersandro2000: how did you fix the issue?
<supersandro2000> I did not
<supersandro2000> I have the feeling that cmake needs an auto shebang patch
Mic92 has quit [Quit: WeeChat 2.9]
Mic92 has joined #nix-darwin
Ericson2314 has quit [Quit: Bridge terminating on SIGTERM]
emily has quit [Quit: Bridge terminating on SIGTERM]
gtklocker has quit [Quit: Bridge terminating on SIGTERM]
nicolas[m] has quit [Quit: Bridge terminating on SIGTERM]
aterius has quit [Quit: Bridge terminating on SIGTERM]
iH8c0ff33-matrix has quit [Quit: Bridge terminating on SIGTERM]
domenkozar[m] has quit [Quit: Bridge terminating on SIGTERM]
siraben has quit [Quit: Bridge terminating on SIGTERM]
thefloweringash has quit [Quit: Bridge terminating on SIGTERM]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nix-darwin
domenkozar[m] has joined #nix-darwin
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nix-darwin
nikivi has quit [Client Quit]
nikivi has joined #nix-darwin
thefloweringash has joined #nix-darwin
Ericson2314 has joined #nix-darwin
emily has joined #nix-darwin
gtklocker has joined #nix-darwin
aterius has joined #nix-darwin
nicolas[m] has joined #nix-darwin
siraben has joined #nix-darwin
daGrevis has quit [Remote host closed the connection]
daGrevis has joined #nix-darwin
ehmry_ has joined #nix-darwin
ehmry_ is now known as ehmry
abbe__ has quit [Quit: “Everytime that we are together, it's always estatically palpitating!”]
abbe_ has joined #nix-darwin
philr has quit [Ping timeout: 256 seconds]
__monty__ has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 246 seconds]
iH8c0ff33 has joined #nix-darwin
{^_^} has quit [Excess Flood]
{^_^} has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 265 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
iH8c0ff33 has joined #nix-darwin
chepner has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 265 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 256 seconds]
__monty__ has quit [Quit: leaving]
iH8c0ff33 has joined #nix-darwin
<chepner> hi, i was attempting to follow along with http://www.haskellforall.com/2020/11/how-to-use-nixos-for-lightweight.html on macOS, and was stopped by an error while trying to build the initial nix expression:
<chepner> % nix build --file ./postgrest-tutorial.nixerror: assertion (stdenv).isLinux failed at /nix/store/5c45nyf2kwjq40lz4nfycwkhjwg21rhn-source/pkgs/os-specific/linux/kernel/generic.nix:66:1(use '--show-trace' to show detailed location information)
<chepner> sorry, that was after trying a naïve replacement of "x86_64-linux" with "x86_64-darwin"
<chepner> % nix build --file ./postgrest-tutorial.nix[0.0 MiB DL]error: a 'x86_64-linux' with features {} is required to build '/nix/store/gn7822yab6gxpr8b1f616krn41hd2v4n-append-initrd-secrets.drv', but I am a 'x86_64-darwin' with features {benchmark, big-parallel, nixos-test}
<chepner> i don't know if this is something with appnd-initrd-secrets that could be fixed, or a deeper issue with trying to create a nixos VM
<abathur> chepner: I assume you need a x86_64-linux remote builder (whether literally remote, or in a vm/container) to build it from macOS
<abathur> and I guess "build[ing] it from macOS" is a bit of a misnomer in that case
<chepner> yeah, I think that's what confuses me. I thought the derivation (?) I'm building is something that will be run *in* a linux VM, not something that needs a Linux Vm to be built.
<LnL> no, nix has nothing to do with vms
<chepner> once the build succeeds, the next command would be "QEMU_NET_OPTS='hostfwd=tcp::3000-:3000' result/bin/run-nixos-vm", which is what (I thought) would spin up the necessary VM.
<LnL> it's possible in principle, like the binfmt black magic on linux but there's nothing like that specifically for nix
<LnL> nixos has a feature which builds a vm of a system instead of applying it, but building everything is native
hedgie has joined #nix-darwin
hedgie__ has joined #nix-darwin
hedgie_ has quit [Ping timeout: 260 seconds]
hedgie has quit [Read error: Connection reset by peer]
<chepner> thanks all, i had set up a remote docker builder, but apparently never had it active while trying to build this particular expression. it's currently building again...
philr has joined #nix-darwin
<chepner> sigh. that built everything, but the end result is something that tries to run Linux ELF files for bash and qemu. if what i'm trying to do is possible, it would require a change to... the nixos package?
iH8c0ff33 has quit [Ping timeout: 260 seconds]
iH8c0ff33 has joined #nix-darwin
iH8c0ff33 has quit [Ping timeout: 240 seconds]
chepner has quit [Ping timeout: 245 seconds]