package.nix: remove dead code

Change-Id: Ic0dfcfe27dbf13da4f7f74f5fab8ce6fa718d28f
This commit is contained in:
jade 2024-07-23 21:53:43 +02:00
parent 12a5838d11
commit 98e8cf9c63

View file

@ -92,19 +92,7 @@ let
# Reimplementation of Nixpkgs' Meson cross file, with some additions to make # Reimplementation of Nixpkgs' Meson cross file, with some additions to make
# it actually work. # it actually work.
mesonCrossFile = mesonCrossFile = builtins.toFile "lix-cross-file.conf" ''
let
cpuFamily =
platform:
with platform;
if isAarch32 then
"arm"
else if isx86_32 then
"x86"
else
platform.uname.processor;
in
builtins.toFile "lix-cross-file.conf" ''
[properties] [properties]
# Meson is convinced that if !buildPlatform.canExecute hostPlatform then we cannot # Meson is convinced that if !buildPlatform.canExecute hostPlatform then we cannot
# build anything at all, which is not at all correct. If we can't execute the host # build anything at all, which is not at all correct. If we can't execute the host