<supersandro2000>
maralorn: I once did that to some docker issue and then they had like 25 mentions of my commit π
gustavderdrache has joined #nixos
ericsagn1 has quit [Ping timeout: 246 seconds]
<sterni>
maralorn: ikr but always end up forgetting, sorry about that
<sterni>
maralorn: they _really_ ought to fix that
<maralorn>
sterni: Itβs fine I guess.^^
<sterni>
it's horrible like you can't even reference issues or PRs in commit messages without spamming that thread
<sterni>
it's almost as if github is actively trying to make commit messages unpleasant to use so you have to use the vendor lock in stuff to communicate :p
<sterni>
I guess I'll have to ping you in the thread next time.
<JJJollyjim1>
how do i get a nix-shell to debug the building of a buildRustPackage? running unpackPhase fails with "variable $src or $srcs should point to the source"
gdown has joined #nixos
<JJJollyjim1>
even though that part of the build normally works fine
<JJJollyjim1>
(it doesn't fail until checkPhase)
stree has joined #nixos
sss2 has quit [Quit: Leaving]
codygman__ has quit [Remote host closed the connection]
<JJJollyjim1>
oh it looks like this has a custom unpackPhase, but somehow that isn't actually getting set as a function, just an envvar?
<maralorn>
sterni: Yeah, seems totally in character for github.
<JJJollyjim1>
(and the envvar has no newlines between commands so i can't run it directly)
<disposabled[m]>
tpw_rules: This is an app for which I have version X installed through my distro's package manager and I'm trying to install version Y with nix
ahmedelgabri has quit [Ping timeout: 258 seconds]
<tpw_rules>
disposabled[m]: what type of app is it?
<disposabled[m]>
a game. zeroad
<tpw_rules>
nixGL is needed for opengl nix apps to be able to find your distro's opengl libraries, because opengl libraries are handled weirdly
<tpw_rules>
it looks 3D to me. try nixGL
<disposabled[m]>
hmm. k
AlpineLlama has joined #nixos
joe[m]1 has left #nixos ["User left"]
<tpw_rules>
just install the appropriate version for your graphics card and run `nixGL zeroad` (or however you start it from the command line) and it should work
<disposabled[m]>
error: selector 'nixGL' matches no derivations
joe[m]1 has joined #nixos
<tpw_rules>
you have to download the repo and follow the directions
<disposabled[m]>
appropriate versions for my graphics card? Yikes
<tpw_rules>
it can't be put in nixpkgs for reasons
<tpw_rules>
sorry, graphics card vendor
<disposabled[m]>
yikes again
<tpw_rules>
it has to know where the opengl libraries are, after all
<disposabled[m]>
I don't know how to install something that isn't in nixpkgs
<disposabled[m]>
and it sounds scary
<tpw_rules>
if it makes you feel better you can set up all your LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH and etc environment variables appropriately
<tpw_rules>
can you not follow the "Installation" section of the readme?
<tpw_rules>
it takes three commands in the terminal
<disposabled[m]>
the types of errors mentioned in the readme are not exactly what I'm experiencing
<tpw_rules>
yes. that's one of the benefits of nix. you can't cause harm trying it
Mindavi1 has quit [Read error: Connection reset by peer]
<tpw_rules>
and it depends on which application and library how the message is displayed. GLX missing is a big clue but i've never seen the specific form you quoted
dsrt^ has joined #nixos
Mindavi1 has joined #nixos
lordcirth_ has joined #nixos
<disposabled[m]>
ha! That worked. thank you tpw_rules
<disposabled[m]>
so I have to launch it with nixGL every time?
<tpw_rules>
yeah it's an unfortunate part of opengl's engineering that it's not really compatible with nix.
lordcirth__ has quit [Ping timeout: 258 seconds]
monokrome has quit [Quit: WeeChat 2.9]
<tpw_rules>
yes. you will also have to reinstall nixGL if you update your graphics drivers afair. but that's really the only issue i've ever run into using nix on non nixos. that and not being able to use nixos system services but that's kind of expected
<disposabled[m]>
it seems to have solved the problems with other apps, too
jmeredith has quit [Quit: Connection closed for inactivity]
ahmedelgabri has joined #nixos
<tpw_rules>
like i said "GLX" seems to be the problem word. if it's a graphics application that won't start and mentions that, then nixGL will probably fix it. you don't necessarily need it for all graphical applications though.
dotdotok has quit [Ping timeout: 240 seconds]
ahmedelgabri has quit [Ping timeout: 246 seconds]
ForgottenPackage has joined #nixos
Mindavi1 has quit [Read error: Connection reset by peer]
aasg has quit [Quit: Bridge terminating on SIGTERM]
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
<JJJollyjim1>
how do I globally override stdenv?
<JJJollyjim1>
everything seems to encounter infinite recursion
<JJJollyjim1>
namely, "with pkgs;" in top-level/all-packages.nix apparently becomes infinitely recursive
domogled has quit [Quit: domogled]
stree has quit [Ping timeout: 240 seconds]
akoppela has quit [Remote host closed the connection]
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
<JJJollyjim1>
right yeah, it's where my alternate stdenv (the clang one) is itself defined
<JJJollyjim1>
hmm
bitmapper has quit [Quit: Connection closed for inactivity]
aasg has joined #nixos
<JJJollyjim1>
is this an unsolved problem? i'm suprised it isn't more common
stree has joined #nixos
jarkad has joined #nixos
evils has quit [Ping timeout: 260 seconds]
ZaraChimera has quit [Quit: WeeChat 3.1]
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
<JJJollyjim1>
and if the overlay imports a seperate nixpkgs and grabs the llvm stdenv from there, we get assertion failures because platforms don't match? not sure what that's about
<{^_^}>
[nixpkgs] @raboof opened pull request #118387 β <!-- To help with the large amounts of pull requests, we would appreciate your reviews of other pull requests, especiallβ¦ β https://github.com/NixOS/nixpkgs/pull/118387
xwvvvvwx has quit [Ping timeout: 246 seconds]
tcakoi has quit [Quit: Idle for 30+ days]
nicolaiskye[m] has quit [Quit: Idle for 30+ days]
xwvvvvwx has joined #nixos
waleee-cl has joined #nixos
n-osborne has quit [Remote host closed the connection]
mallox has joined #nixos
mallox has quit [Client Quit]
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
Mindavi1 has quit [Read error: Connection reset by peer]
<{^_^}>
[nix] @Ma27 opened pull request #4688 β libcmd/installables: add `-F` to force revaluation of cached failures β https://github.com/NixOS/nix/pull/4688
ericsagn1 has joined #nixos
n-osborne has quit [Remote host closed the connection]
<viric>
Yaniel: hexa-: I made the msbc codec work for hfp profile. hfp_ag profile in pw, and then the bluez5.msbc-support=true line moved into another section in latest pw!
civodul has joined #nixos
<viric>
It's a pain to set it (copy the whole config) but it works. It doesn't go next to sbc-xq-support, but somewhere else.
<vikanezrimaya>
Hello! A certain RFC I authored (and now shamelessly promoting so it would have more sets of eyes on it), NixOS/RFCs#87, is open for shepherd nominations! Come if you're interested! https://github.com/NixOS/rfcs/pull/87
Mindavi1 has quit [Read error: Connection reset by peer]
Mindavi1 has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
justanotheruser has quit [Ping timeout: 258 seconds]
<tobiasBora>
Hello, I'm not sure to understand why, but I just tried to type "nix-shell", then "genericBuild", but I get "unpacker appears to have produced no directories". However, if I run "nix-build", the unpack phase seems to work, I just get errors during compilation. Here is the derivation+console output I get: http://pastebin.fr/89542
<tobiasBora>
If it can help, I'm using "clangStdenv.mkDerivation" instead of stdenv.mkDerivation, and I use fetchSubmodules = true;... Not sure if it's supposed to change anything.
<tobiasBora>
also, it is trying to unpack "/nix/store/68v9kl0824hvwzjl9l8azmdsjjqf6khp-source"... but this is already an unpacked directory...
<tobiasBora>
What should I do to be able to debug my program directly? Is genericBuild not the good thing to do?
<tobiasBora>
To check what my derivation is actually supposed to do, I tried to "echo $builder", but I just get bash, and "echo $args" is empty
<axel_parolta>
Good morning! I was wondering what are the directive if someone has already opened an pull-request for a package and it has been stalled since april 2020. I already sent a message through the pull request message board two days ago without any answers. Should I open a new PR and keep the original maintainer information? I don't want to take credit for somebody's else work. I am not sure what I should do.
<hexa->
axel_parolta: if the original author doesn't get back to you, go ahead and open a new pr .
stree has quit [Client Quit]
<axel_parolta>
hexa-: Alright thanks! Should I keep him as the maintainer and/or keep any references that state that the work is his/hers?
stree has joined #nixos
<hexa->
axel_parolta: if you base your work upon their, mention them in Co-Authored-by:
<axel_parolta>
hexa-: Perfect, I will, thank you :)
<tobiasBora>
I'm curious, in the .drv file, I can see ("buildPhase","...\n..."), but in nix-shell, if I "echo $buildPhase", I don't have any new line visible. Is it normal
Mindavi1 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzβ¦]
Mindavi1 has quit [Read error: Connection reset by peer]
n-osborne has joined #nixos
Mindavi1 has joined #nixos
ahmed_elgabri has joined #nixos
n-osborn_ has joined #nixos
ahmedelgabri has quit [Ping timeout: 250 seconds]
n-osborne has quit [Ping timeout: 246 seconds]
Mindavi1 has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
bitnotri has quit [Ping timeout: 240 seconds]
Mindavi1 has joined #nixos
<atemu12[m]>
Is there a function in nixpkgs that generates a new pkgs but with a different `config` argument?
<atemu12[m]>
onny: you just need to import unstable nixpkgs somehow (e.g. add a `nixos-unstable` channel and then `let unstable = import <nixpkgs-unstable> { }; in unstable.libhandy`)
<{^_^}>
[nixpkgs] @gebner pushed to release-20.09 Β« Revert "Merge pull request #118390 from gebner/gogs-backport" Β»: https://git.io/JY1fM
meh` has joined #nixos
<atemu12[m]>
Whoops, the channel name and NIX_PATH import would need to be the same of course
<onny[m]>
<atemu12[m] "Whoops, the channel name and NIX"> sorry I'm struggling about the syntax in default.nix. do you have an example file for that? :)
Mindavi1 has quit [Read error: Connection reset by peer]
<onny[m]>
<atemu12[m] "onny: if you choose a different "> Yay, I was able to build and run Mousai ( https://github.com/SeaDve/Mousai ) :D Hopefully it will work and maybe I can submit it to nixpkgs upstream :D
<onny[m]>
Thank you :)
<atemu12[m]>
onny: Glad I could help.
<atemu12[m]>
If you want to contribute upstream though, it's best to work on an unstable nixpkgs checkout
<lunik1>
If I create a derivative work from the NixOS logo (licensed as CC BY 4.0) can I release my adaptions under CC0?
Mindavi1 has quit [Read error: Connection reset by peer]
<sheijk>
i have some keyboard remappings using evdevremapkey. it works when i run it from a shell using sudo but fails to find the keyboard inside a systemd service. i'm not sure what i can do to debug this on nixos, any recommendations? https://gist.github.com/sheijk/f9781cde5641e5bccbecfcbd61b3ebf6
haritz has quit [Read error: Connection reset by peer]
respawn_ has quit [Ping timeout: 240 seconds]
respawn_ has joined #nixos
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
xwvvvvwx has joined #nixos
sangoma has quit [Ping timeout: 268 seconds]
<{^_^}>
[nixpkgs] @cpcloud opened pull request #118409 β virtualization/containers: move to settings model for containersConf β https://github.com/NixOS/nixpkgs/pull/118409
<atemu12[m]>
veleiro: are you trying to run that inside a derivation? A derivation can't access system state like /etc/, the sandbox forbids that.
<atemu12[m]>
Is there a way to construct an environment with the paths of what's included in something like stdenvNoCC?
<atemu12[m]>
I need a usable system path with standard utils like less and which in an embedded environment.
ahmed_elgabri has quit [Ping timeout: 246 seconds]
<tobiasBora>
Hello, I've a problem writting a derivation for ArmorPaint https://github.com/armory3d/armorpaint which uses node. Unfortunately I get "Error: spawn [...]/armorcore/Kinc/Tools/krafix/krafix-linux64 ENOENT". People seems to report that this can arrive due to missing node library, but I'm not even sure which library/... I should add :( Any idea how to debug that? (log+derivation here
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzzβ¦]
<tobiasBora>
Hum... it seems that this "krefix" is a binary file.
Baughn_ has joined #nixos
<tobiasBora>
strange to put binaries in sources... I guess I need to patch the binaries before I even compile. Is there any autopatchelf hook for prebuild phase?
<tpw_rules>
why do you need to do it that early? is it used during compilation?
<tobiasBora>
tpw_rules: I think yes. krefix seems to be a compiler
<tobiasBora>
krafix*
Baughn_ has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
paddymahoney has quit [Remote host closed the connection]
Baughn has quit []
Baughn has joined #nixos
<tpw_rules>
it looks like armorcore is its own separate project so maybe you should write a separate derivation for it, then hope armorpaint recognizes the existing armorcore and does not try to compile its own.
ddellacosta has joined #nixos
arcnmx has joined #nixos
<tobiasBora>
tpw_rules: It could be... But then I've no idea how I can modify the Makefile if armorpaint does not recognizes armorcore. And even to compile armorcore, I still need to find how to compile krafix, and then find how to ensure that armorcore finds krafix automatically etc... I'd say it would be quicker to just run "autoPatchelf .", and cross my fingers...
<tobiasBora>
boom, seems to be enough :)
<tobiasBora>
let's continue the process!
<tpw_rules>
if you like you can just run patchelf in the prebuild phase. but i would consider that a bit gross. the error suggests the file does not even exist, is it built at that point?
<tobiasBora>
tpw_rules: the file does exist, it is a binary pointing to /lib
<tobiasBora>
but it seems that patchelf fixes that
<tobiasBora>
now I've another error, but later in the compile process, will continue my investigations
<tobiasBora>
supersandro2000: just, this will mess the history between terminals right? Like if I've two independent terminals, the history will be the same in both of them right?
<tobiasBora>
maybe direnv is actually better for my use case here (it's too bad there is not command like "history -a" that writes only the last history line, it could be pretty useful, often I lose my history when I kill a terminal and this would avoids most of these issues)
<SumnerEvans[m]>
I'm currently trying to package openring (https://git.sr.ht/~sircmpwn/openring) but upstream doesn't have versions. I've currently set the version to "master" (see PR: https://github.com/NixOS/nixpkgs/pull/118414) but I don't know if that's the correct way of doing this. What is the canonical way of packaging things that don't have official versions?
<yurb>
I don't see an option in `nixos-container` to bind volumes / shared directories form the host to the container; only in `configuration.nix`. But my use case is more of a "one-shot" use where I want a throw-away container with the current directory mounted to some path inside the container like `/usr/src`.
<yurb>
Anyone using `nixos-container` similarly?
<matthewcroughan>
delroth: Well done on getting that shell.nix into dolphin-emu
<tobiasBora>
Yaniel: on my side I prefer to have each terminal use its own commands: if in one terminal I compile some documents, and in another terminal I compile another document, I don't want to mix the commands.
<tobiasBora>
endformationage: ok thanks, I'll give it a look!
dckc has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
<tobiasBora>
supersandro2000: what do you mean by "in the right sequence"? if I have a terminals A (resp. B), in which I type A1,A2 (resp. B1,B2) in the order "A1,B1,A2,B2": if I type twice on UP in terminal A, I will get B2 right?
<gurkan[m]>
Hi there π, I'm building a rust program, which fails while building a dependency crate `openssl-sys`, says: `Package openssl was not found in the pkg-config search path.` I'm using Fenix overlay to get the latest rust nightlies, and after setting `PKG_CONFIG_PATH = "${fenixpkgs.openssl.dev.outPath}/lib/pkgconfig:" + "$PKG_CONFIG_PATH";` in the manifest, it's solved. My question is: Is this a bug? If yes, which project
<gurkan[m]>
should I report? π€
vifon has joined #nixos
<beertoagunfight>
Hey! I was wondering how long it takes for packages submitted in master to show up in the unstable channel. I submitted a couple of packages a few days ago and I can't seem to find them. The hydra builds seem to be passing. Anything I'm missing?
Lord_of_Life_ has joined #nixos
<vifon>
Hello. I'm trying to nixos-rebuild my system from a live USB NixOS. When I run "nixos-rebuild boot" inside a chroot, I get the following message:
<sshow>
when I want to install local derivations using local source files, I am attempting to use `src = "."` for e.g. buildGoModule, but src of `.` is illegal. what should I do?
<vifon>
It's as if my new profiles don't get copied to the /boot partition.
<eyJhb>
What is the preferred way on Nixos to get a new DHCP IP? I want to discard my current IPv6/IPv4 IP assigned by my router, and then get new ones
<eyJhb>
Just using dhclient?
tomberek has joined #nixos
Siyo has quit [Quit: Bye]
Siyo has joined #nixos
<vifon>
I'M IN! Thanks for the help, samueldr.
fendor has quit [Remote host closed the connection]
<samueldr>
vifon: you might want to do a rebuild to get back to keep your channels coherent with what's in the build
kenran has joined #nixos
jess has quit [Quit: updates]
<vifon>
I just did. :)
<vifon>
Especially since I replaced <nixos-unstable> with <nixos> here and there.
<samueldr>
haha yeah
<vifon>
Phew⦠I felt like in that gif with fixing a lightbulb.
<vifon>
I was migrating to a new SSD. Cue some ZFS issues.
<vifon>
Cue more ZFS issues during fixing the previous ones.
<vifon>
A few back-and-forth copying sessions.
<vifon>
And then this.
fuzzypixelz has quit [Quit: Connection closed]
fendor has joined #nixos
<Spacemacs4ever>
any good recommendations for people who use emacs on NixOS?
zupo has joined #nixos
<vifon>
Spacemacs4ever: I tend to stick to just installing Emacs and then doing things the Emacs way.
<vifon>
It's far too complex for the Nix abstraction to be viable in a long run.
orivej has quit [Ping timeout: 240 seconds]
<shapr>
I'm running NixOS 20.09, how do I keep systemd logs for longer than 24 hours? I specifically want to keep my mpd logs forever
BlessJah1 is now known as BlessJah
<shapr>
Spacemacs4ever: I'm soon to try the "use nix for latest packages" but haven't gotten there yet
<shapr>
Spacemacs4ever: I'm a huge fan of direnv-mode to keep binaries in their own limited scope
lordcirth__ has joined #nixos
fendor_ has joined #nixos
fendor__ has joined #nixos
fendor__ has quit [Read error: Connection reset by peer]
fendor_ has quit [Read error: Connection reset by peer]
<{^_^}>
nix#3503 (by rbvermaa, 50 weeks ago, open): URL parsing when using fetchGit does not accept the SSH URL that Github suggests anymore
<drozdziak1>
nvm, there's a workaround in the issue, a different URL is needed
paddymahoney has joined #nixos
cantarell has joined #nixos
<{^_^}>
[nixpkgs] @ZzAntares opened pull request #118434 β haskell-modules: Fixes build for beam-* and postgresql-simple-migration β https://github.com/NixOS/nixpkgs/pull/118434
<cantarell>
Does anyone use NixOS for wordpress development can give any pointers on how to setup a local development environment similar to XAMPP or vagrant/VCCW or perhaps docker compose? I'm not having much luck with any of the usual, new to NixOS, and wondering what people use for that purpose?
meh` has quit [Ping timeout: 252 seconds]
abathur has joined #nixos
jess has joined #nixos
VideoGameEnjoyer has joined #nixos
fendor__ is now known as fendor
asdfghjkl100 has quit [Ping timeout: 240 seconds]
bpye has quit [Ping timeout: 240 seconds]
<aanderse>
cantarell: what's your web server of choice?
<cantarell>
doesn't matter apache or nginx is fine, I just want something very basic like XAMPP for instance and wondering what is the best tool for that sort of thing on NixOS
<Raito_Bezarius>
does anyone know if we can use mkPoetryApplication with projectDir = fetchFromGitHub { β¦ }; ?
<aanderse>
it's a dozen lines of config or so then you're good to go
<Raito_Bezarius>
I'm getting some error: "error: string '/nix/store/697pjm29xv0lxf4hq8j6cpmz9fxlw19a-source' cannot refer to other paths, at /nix/store/vjkkim3b2k66c9jhbki37j4g67ih20p9-nixpkgs-21.05pre278688.c0e88185200/nixpkgs/lib/sources.nix:94:51"
<Raito_Bezarius>
which seems to implies that I cannot simply do it this way
<aanderse>
cantarell: will you be around for a bit? I'm not at a computer
<cantarell>
Yea I can be. I'm pretty new to NixOS so any help would be appreciated
<aanderse>
sure I'll hop on in a bit with some config if no one else has an answer before then
<Spacemacs4ever>
@cantarell I have found nginx to be very beautifully simple in the resulting config, but it took me a good bit of searching and tweaking to arrive at my final result.
<cantarell>
Spacemacs4ever: hmm ok, I'm just totally lost where to begin even... like how to setup the mysql/mariadb database... where does that data "live"... do I use nix-shell in a project directory? Is it a somewhat similar workflow to using docker-compose?
<cantarell>
DigitalKiwi, thanks for the links. So, I'm aware there is a WordPress package and have looked at the wiki. Is this particular example suitable for local development? As in are you aware how I can use this to work in say a local directory to develop a particular theme or plugin for wordpress?
<cantarell>
I'm used to using docker-compose prior to this and my mind thinks of it in this regard, but I'm not sure if I should be thinking of it that way? Any advice?
<DigitalKiwi>
don't use wordpress
<DigitalKiwi>
that's my usual advice on the matter lol but more helpful...gimme a minute
<cantarell>
Well, I don't want to, but I've clients who insist unfortunately. Also, been getting into headless wordpress these days too
<cantarell>
Unfortunately for me for the time being not having a local wordpress development environment on NixOS is sadly a deal breaker for me for the time being
<cantarell>
Are you aware of anyone who does Wordpress development on NixOS? I'm curious what they use. For example, XAMPP/MAMP/WAMP is popular for some folks on other systems, docker-compose is popular for others, but what types of solutions (if any) are there for NixOS that are relatively simple and easy to use?
fendor_ has quit [Read error: Connection reset by peer]
<tomberek>
aanderse: do you have the sourcehut updates as a commit or patch somewhere? GitHub interface for accepting and batching may be a pain.
stree has joined #nixos
nDuff has quit [Ping timeout: 260 seconds]
<aanderse>
tomberek: unfortunately i do not, i just made comments in the github ui
<aanderse>
would you like me to put something together?
Yawn has quit [Quit: WeeChat 3.1]
zakame has quit [Read error: Connection reset by peer]
<DigitalKiwi>
cantarell: when i update matomo i have a nixos test that makes a VM and then i ssh forward in it works alright
slack1256 has joined #nixos
<cantarell>
ah I see
<DigitalKiwi>
but you can also just configure mariadb/nginx locally too
<cantarell>
would that work in a nix-shell?
<cantarell>
so I can enter a particular project directory and use nix-shell... This was my prior workflow on Debian with docker-compose... I'm wondering if the approach is relatively the same?
<DigitalKiwi>
i'm not sure how modules work or not in nix-shell
nckx is now known as jorts
<cantarell>
So it would be something more that would be set in /etc/nixos/configuration.nix? And available system-wide?
<aanderse>
cantarell: ok have a working config for you
<DigitalKiwi>
i just enable postgresql in my system config
<{^_^}>
nix-community/poetry2nix#275 (by eganjs, 1 week ago, open): `overrides.withDefaults` for packages with a dot (.) in their name
<DigitalKiwi>
(they don't like bell notifications)
<immae>
Raito_Bezarius: Iβm trying to do cross-compilation but to a system with a different NIX_STORE directory. But I realize that I know little already about how cross-compiling works in the first place
<Raito_Bezarius>
but I'm not sure it will work a system with a different NIX_STORE
<Raito_Bezarius>
other thing you could be interested is into using emulation/qemu to build "natively"
<Raito_Bezarius>
otherwise, you could also use a native machine and have remote builds enabled on it to push builds to it and fetch the results
<Raito_Bezarius>
but in your case, I guess you might want a patched nix, right?
<immae>
Something like that possibly yes
<Raito_Bezarius>
so maybe: start with a cross-compilation shell and manually produce some paths
<immae>
I would like to use as much as possible the existing binary caches, but still get paths that are suitable at runtime for a different nix_store
<Raito_Bezarius>
I'm not enough knowledgeable on the internals on the reuse of existing binary caches
<immae>
Iβm still discovering too :p
<Raito_Bezarius>
:)
stree has quit [Quit: Caught exception]
stree has joined #nixos
<immae>
(what I meant is: my local mahine has a regular /nix/store, and it needs to build derivations for a machine that has /some/other/path as nix-store but only runtime derivations)
<immae>
(so I "should" be able to build a /nix/store/abcd-foo and its dependencies, which will in the end be executed as if it was in /some/other/path/abcd-foo etc.)
<{^_^}>
[nixpkgs] @Ekleog opened pull request #118442 β Add nixos tests with names starting by A or B to all relevant packages β https://github.com/NixOS/nixpkgs/pull/118442