<ehmry>
I have a problem with cross-compile offsets, i have a compiler wrapper that is configured by looking at stdenv.cc, but when that wrapper is put in nativeBuildInputs, that stdenv is shifted backwards
<ehmry>
the wrapper I get from callPackage is the wrapper I want, but the wapper used at build-time is shifted to a wrapper that I do not want
<ehmry>
Ericson2314: ^?
supersandro2000 has joined #nixos-dev
orivej has quit [Ping timeout: 245 seconds]
<sterni>
interested in any opinions from non-ocaml people on this: #113696 regarding hydra resource usage
<{^_^}>
https://github.com/NixOS/nixpkgs/pull/113696 (by sternenseemann, 2 weeks ago, open): ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected
<sterni>
also should this go to staging? all the builds caused by this are new builds which if I understand it correctly shouldn't affect channel advancement because no tests, essential pkgs depend on it
<sterni>
wait that was the wrong pr, sorry: #115246
<Ericson2314>
* with `{ "nix name" = "nim name"; ... }.${stdenv.*Platform.parsed.cpu.name} or fallback`
<ehmry>
Ericson2314: right
<Ericson2314>
is the the c compiler nim will use, or the c compile nim compiler itself is built with?
<Ericson2314>
similarly, can you build standard libs separately from the compiler itself?
<Ericson2314>
you want `targetPackges.stdenv.cc` for the C compiler nim would use at run time / building standard libraries
<ehmry>
Ericson2314: yes/no, the standard library could be patched seperately, but there is not intermediate form of the standard library
<Ericson2314>
I hate it when compilers do this...
<Ericson2314>
nim is knew
<Ericson2314>
maybe they can be confinved
<Ericson2314>
* maybe they can be convinced
<ehmry>
do what? the compiler and stdlib can be reused across targets
<Ericson2314>
just allow them to be built in separate derivations
<Ericson2314>
when you can can build `pkgs.lib` with `buildPackages.compiler` it's so much easier
<Ericson2314>
LLVM world gets it right
<Ericson2314>
we can ever so barely build compiler-rt libc++ etc. separately than clang and llvm themselves
<Ericson2314>
this drastically cuts down on nonsense.
<ehmry>
I could do that if I rewrote the compiler configuration file to take the standard lib from something else, but the configuration file format is horrible
<ehmry>
I was splitting the stdlib at some point but it got too complicated
<ehmry>
I could try it again once I get these other problems out of the way
<Ericson2314>
do you know people upstream?
<Ericson2314>
it would be good to get languages to play ball
<Ericson2314>
even if it will take a release for that to bear fruit
<Ericson2314>
and we have to do it the other way in the meantime
<ehmry>
they have a very strong "works on my machine" mindset
cole-h has quit [Ping timeout: 245 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
sterni has quit [Ping timeout: 272 seconds]
sterni has joined #nixos-dev
<ehmry>
Ericson2314: I have infinite recursion when targetPackages.stdenv.cc.isClang, I need to dig around to fix this one
orivej has joined #nixos-dev
<Ericson2314>
<ehmry "they have a very strong "works o"> >:( grrr
<Ericson2314>
frankly, I have no idea why nim exists....
<Ericson2314>
<ehmry "Ericson2314: I have infinite rec"> that is odd, because nim isn't involved in bootstrapping the next stage's stdenv or anything like that
<ehmry>
I like it because you can wrap C and C++ quickly into a language that does garbage collection and a strong type system
<ehmry>
its like go, but at least as complicated as it should be
<ehmry>
the language package manager is however not as complicated as it needs to be
<ehmry>
I'll try to write an evaluation test for this later
jonringer has quit [Ping timeout: 240 seconds]
evils has quit [Ping timeout: 276 seconds]
jonringer has joined #nixos-dev
jonringer has quit [Ping timeout: 240 seconds]
<davidak[m]>
Is someone interested in continuing the work on a Calamares GUI Installer for NixOS? Maybe C++ experience is needed to extend it. https://github.com/NixOS/nixpkgs/issues/100475
<jtojnar>
It says "author disclaims copyright to this source code" which probably is not legal
<jtojnar>
and the blessing sounds like JSON license
sorear has quit [Ping timeout: 240 seconds]
sorear has joined #nixos-dev
<davidak[m]>
Jan Tojnar: i think you can't disclaim copyright. so that is not legally... it's legally probably the same as no copyright note. so no one is allowed to do anything with it... but as long as no author takes legal actions, users should be fine... since it don't give the user the 4 freedoms explicitly, it's not free software
<jtojnar>
right, that is how I understood it as well
__monty__ has quit [Quit: leaving]
<davidak[m]>
>do good and not evil
<davidak[m]>
is also nothing with legal relevancy. it's highly subjective
<davidak[m]>
such licenses prevent cooperation with the free software community and are therefore very bad, even when meant good
hexa- has quit [Quit: WeeChat 2.9]
<sterni>
it's basically the same as the js(on) license thing