| 30 Mar 2024 |
eyJhb | Looked at the latest PR RE strict mode, had one suggestion, but I tested it and it works asIs | 21:48:38 |
eyJhb | * Looked at the latest PR RE strict mode, had one suggestion, but I tested it and it works as-is | 21:48:39 |
eyJhb | Tried to work on getting the nixpkgs version up-to-date with 23.11, but that's a challenge.. Stuck on trynig to get clang things to work with lineageos.. Something something ncurses not being found. | 23:08:24 |
eyJhb | But doing the same trick as in grapheneos requres a bigger change than expected. | 23:08:43 |
eyJhb | Also, not suer how ot avaid NIXPKGS_ALLOW_INSECURE, as some places "require" python2 for building. Mostly older Android versions. | 23:09:42 |
eyJhb | * Also, not suer how to avoid NIXPKGS_ALLOW_INSECURE, as some places "require" python2 for building. Mostly older Android versions. | 23:18:40 |
| 31 Mar 2024 |
atemu12 | eyJhb: If they become a bother, feel free to drop them | 01:31:22 |
atemu12 | Though if you can, I'd prefer simply only including them optionally depending on the android version | 01:31:46 |
eyJhb | The first thing I'm trying to do, is to get it to build by specifying the allow insecure envvar. Then I can check which ones I can bump to python2 | 08:17:49 |
eyJhb | * The first thing I'm trying to do, is to get it to build by specifying the allow insecure envvar. Then I can check which ones I can bump to python3 | 08:17:54 |
eyJhb | The current issue is the clang thing | 08:18:04 |
eyJhb | But I bumped the entire flake.lock, I don't think that's ideal. @Atemu is there a good reason for unstable and 21.11 pin? Couldn't it just be 21.11 or something? | 08:44:04 |
eyJhb | Or just be unstable. Not sure which is better. | 08:44:12 |
atemu12 | Nono other than that I haven't been able to make them work | 10:40:55 |
eyJhb | Fair :D | 10:55:55 |
eyJhb | It seems like lineage needs the same treatment as grapheneos after bumping to 23.11, as shown here https://github.com/nix-community/robotnix/blob/c54c511b3aa3e827e7ae320d604646a0ecc7c96c/flavors/grapheneos/kernel.nix#L25-L36 , I've just initially tested it by adding
"prebuilts/clang/host/linux-x86/clang-3289846".src = pkgs.stdenv.mkDerivation rec {
name = "lol";
src = config.source.dirs."prebuilts/clang/host/linux-x86".src + "/clang-3289846";
buildInputs2 = with pkgs; [
zlib ncurses5 libedit
stdenv.cc.cc.lib # For libstdc++.so.6
python39 # LLDB links against this particular version of python
];
postPatch = ''
ls -al
# rm -r python3
'';
buildInputs = with pkgs; buildInputs2 ++ [ autoPatchelfHook ];
installPhase = ''
runHook preInstall
rm -f env-vars
cp -r . $out
runHook postInstall
'';
autoPatchelfIgnoreMissingDeps=true; # Ignore missing liblog.so
};
To the source.repos in flavours/lineageos/default.nix. Most likely it needs to reside a different place. Maybe.
| 12:37:36 |