6 Sep 2024 |
Artturin | Oh and bubblewrap could work too | 19:51:29 |
Artturin | https://www.joachim-breitner.de/blog/812-Convenient_sandboxed_development_environment | 19:52:07 |
Artturin | Ah here | 20:04:53 |
Artturin | https://github.com/Mic92/cntr | 20:04:54 |
Artturin | https://github.com/NixOS/nixpkgs/blob/master/doc/hooks/breakpoint.section.md | 20:11:00 |
Artturin | 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 | 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 | 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 |
Kamilla 'ova | Download image.png | 23:26:06 |
Kamilla 'ova | qtdeclarative> Qt6ShaderTools_DIR was computed by CMake or specified on the command line
qtdeclarative> by the user:
just... lol
| 23:26:18 |
Kamilla 'ova | qtdeclarative now started compiling correctly, 3000+ files vs 700 files
(Qt6ShaderToolsTools_DIR -> Qt6ShaderTools_DIR) | 23:30:07 |
Kamilla '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 |
Kamilla 'ova | Download image.png | 01:11:50 |
Kamilla 'ova | FINALLY | 01:11:51 |
Kamilla 'ova | how is this even possible?
"I know where Qt6Quick is, but I want to find it in qtbase" ???
https://yaso.su/0nVd8JoL | 02:01:27 |
9 Sep 2024 |
| @fabiankaindl:matrix.kaindlnetwork.de left the room. | 14:12:10 |
10 Sep 2024 |
kjeremy | Does anyone know what might cause this or how to debug it? https://github.com/NixOS/nixpkgs/issues/338231 | 15:52:15 |
kjeremy | I'm surprised it's an order of magnitude more terrible in cross | 15:53:01 |
Artturin | In reply to @kjeremy:matrix.org I'm surprised it's an order of magnitude more terrible in cross Splicing | 15:54:14 |
kjeremy | Ah. So no fix any time soon | 15:55:06 |
Mindavi | Yeah, 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 up | 16:34:29 |
Kamilla '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 | Mindavi: my team OOMs on all of our flake checks :( | 17:41:44 |
Kamilla 'ova | In reply to @kjeremy:matrix.org Mindavi: my team OOMs on all of our flake checks :( https://downloadmoreram.com | 17:50:29 |
Kamilla '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 | Testing if the inheriting trick works https://github.com/NixOS/nixpkgs/pull/341067 | 18:04:28 |
kjeremy | Kamilla 'ova: whatever is on nixos | 18:28:38 |
11 Sep 2024 |
Artturin | 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 | Download image.png | 00:31:24 |
| someoneweird joined the room. | 01:07:56 |