package.nix: remove dead code
Change-Id: Ic0dfcfe27dbf13da4f7f74f5fab8ce6fa718d28f
This commit is contained in:
parent
12a5838d11
commit
98e8cf9c63
1 changed files with 12 additions and 24 deletions
14
package.nix
14
package.nix
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue