!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

397 Members
92 Servers

Load older messages


SenderMessageTime
6 Sep 2024
@artturin:matrix.orgArtturinOh and bubblewrap could work too19:51:29
@artturin:matrix.orgArtturinhttps://www.joachim-breitner.de/blog/812-Convenient_sandboxed_development_environment19:52:07
@artturin:matrix.orgArtturinAh here20:04:53
@artturin:matrix.orgArtturinhttps://github.com/Mic92/cntr20:04:54
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/blob/master/doc/hooks/breakpoint.section.md20:11:00
@artturin:matrix.orgArtturin
diff --git a/pkgs/by-name/he/hello/package.nix b/pkgs/by-name/he/hello/package.nix
index 487bc033a23f..dc210011e62b 100644
--- a/pkgs/by-name/he/hello/package.nix
+++ b/pkgs/by-name/he/hello/package.nix
@@ -6,6 +6,7 @@
 , testers
 , versionCheckHook
 , hello
+, breakpointHook
 }:
 
 stdenv.mkDerivation (finalAttrs: {
@@ -19,11 +20,17 @@ stdenv.mkDerivation (finalAttrs: {
 
   doCheck = true;
 
+  nativeBuildInputs = [ breakpointHook ];
   doInstallCheck = true;
   nativeInstallCheckInputs = [
     versionCheckHook
   ];
 
+  postFixup = ''
+    exit 1
+
+  '';
+
   # Give hello some install checks for testing purpose.
   postInstallCheck = ''
     stat "''${!outputBin}/bin/${finalAttrs.meta.mainProgram}"
$ sudo cntr attach -t command cntr-/nix/store/h5x8skq6zgc3iibvkyaz8cq18p6n8hln-hello-2.12.1
[sudo] password for artturin:
artturinlinux% ls
bin  build  dev  etc  nix  proc  tmp  var
20:13:28
@artturin:matrix.orgArtturin Meh ls / shows stuff outside the build so can't be used to mask system files, bwrap is probably the best way 20:27:39
@artturin:matrix.orgArtturin

Hmm well it does have cntr exec

artturinlinux% /nix/store/xfr7105hv2c15j3nbixjl96cp52174z0-cntr-1.5.3/bin/cntr exec ls /
bin  build  dev  etc  nix  proc  tmp  var
20:33:18
@kamillaova:matrix.orgKamilla 'ovaimage.png
Download image.png
23:26:06
@kamillaova:matrix.orgKamilla 'ova
qtdeclarative>   Qt6ShaderTools_DIR was computed by CMake or specified on the command line
qtdeclarative>   by the user:

just... lol

23:26:18
@kamillaova:matrix.orgKamilla 'ovaqtdeclarative now started compiling correctly, 3000+ files vs 700 files (Qt6ShaderToolsTools_DIR -> Qt6ShaderTools_DIR)23:30:07
@kamillaova:matrix.orgKamilla 'ova * qtdeclarative now started compiling correctly, 3000+ files vs 700 files (Qt6ShaderToolsTools_DIR -> Qt6ShaderTools_DIR) UPD: nvm, this is a pkgsBuildBuild's one 23:31:59
7 Sep 2024
@kamillaova:matrix.orgKamilla 'ovaimage.png
Download image.png
01:11:50
@kamillaova:matrix.orgKamilla 'ovaFINALLY01:11:51
@kamillaova:matrix.orgKamilla 'ovahow is this even possible? "I know where Qt6Quick is, but I want to find it in qtbase" ??? https://yaso.su/0nVd8JoL02:01:27
9 Sep 2024
@fabiankaindl:matrix.kaindlnetwork.de@fabiankaindl:matrix.kaindlnetwork.de left the room.14:12:10
10 Sep 2024
@kjeremy:matrix.orgkjeremyDoes anyone know what might cause this or how to debug it? https://github.com/NixOS/nixpkgs/issues/33823115:52:15
@kjeremy:matrix.orgkjeremyI'm surprised it's an order of magnitude more terrible in cross15:53:01
@artturin:matrix.orgArtturin
In reply to @kjeremy:matrix.org
I'm surprised it's an order of magnitude more terrible in cross
Splicing
15:54:14
@kjeremy:matrix.orgkjeremyAh. So no fix any time soon15:55:06
@rick:matrix.ciphernetics.nlMindaviYeah, I've upgraded my memory for that and it feels like it keeps creeping up. But haven't measured so it might be in my head that it goes up16:34:29
@kamillaova:matrix.orgKamilla 'ova
In reply to@kamillaova:matrix.org
how is this even possible? "I know where Qt6Quick is, but I want to find it in qtbase" ??? https://yaso.su/0nVd8JoL
can someone help with this? it is related to the qt build system (cmake modules)
16:56:39
@kjeremy:matrix.orgkjeremy Mindavi: my team OOMs on all of our flake checks :( 17:41:44
@kamillaova:matrix.orgKamilla 'ova
In reply to @kjeremy:matrix.org
Mindavi: my team OOMs on all of our flake checks :(
https://downloadmoreram.com
17:50:29
@kamillaova:matrix.orgKamilla 'ova
In reply to @kjeremy:matrix.org
Mindavi: my team OOMs on all of our flake checks :(
are you using nix with or without bdwgc?
17:50:55
@artturin:matrix.orgArtturinTesting if the inheriting trick works https://github.com/NixOS/nixpkgs/pull/34106718:04:28
@kjeremy:matrix.orgkjeremy Kamilla 'ova: whatever is on nixos 18:28:38
11 Sep 2024
@artturin:matrix.orgArtturin
In reply to @artturin:matrix.org
Testing if the inheriting trick works https://github.com/NixOS/nixpkgs/pull/341067
The eval in the PR's is still going on 😅
00:31:22
@artturin:matrix.orgArtturinimage.png
Download image.png
00:31:24
@someoneweird:matrix.orgsomeoneweird joined the room.01:07:56

Show newer messages


Back to Room ListRoom Version: 6