如果我看一下
haskell.nix
从M1计算机中取出薄片,开始构建ghc-8.8.4等。。
⯠nix flake show github:input-output-hk/haskell.nix
github:input-output-hk/haskell.nix/1b54ea01568299a0eda578ae9395e20d5c699ee1
ââââchecks
â ââââaarch64-darwin
trace: haskell-nix.haskellLib.cleanGit: /nix/store/jmx2m0ldgrjq7p3gb4yyca47nvbvspfl-source does not seem to be a git repository,
assuming it is a clean checkout.
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-02-07T00:00:00Z)!
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-02-07T00:00:00Z)!
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-02-07T00:00:00Z)!
trace: WARNING: No materialized dummy-ghc-data for ghc-8.8.4-aarch64-darwin.
trace: To make this a fixed-output derivation but not materialized, set `sha256` to the output of the 'calculateMaterializedSha' script in 'passthru'.
trace: To materialize this entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.
[1/0/579 built, 0.1 MiB DL] building ghc-8.8.4 (buildPhase):.....
从英特尔Mac,我得到
⯠nix flake show github:input-output-hk/haskell.nix
github:input-output-hk/haskell.nix/1b54ea01568299a0eda578ae9395e20d5c699ee1
ââââchecks
â ââââaarch64-darwin
trace: haskell-nix.haskellLib.cleanGit: /nix/store/jmx2m0ldgrjq7p3gb4yyca47nvbvspfl-source does not seem to be a git repository,
assuming it is a clean checkout.
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-02-07T00:00:00Z)!
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-02-07T00:00:00Z)!
trace: No index state specified for haskell-project, using the latest index state that we know about (2022-02-07T00:00:00Z)!
error: --- Error ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix
a 'aarch64-darwin' with features {} is required to build '/nix/store/sc11rh4l348yw3z4q4fy4byw324nm5yz-nix-tools-plan-to-nix-pkgs.drv', but I am a 'x86_64-darwin' with features {benchmark, big-parallel, nixos-test, recursive-nix}
(use '--show-trace' to show detailed location information)
为什么这些薄片需要构建任何东西来显示它们的输出?
如果我在我拥有的其他薄片上运行此命令,在几次获取之后:
⯠nix flake show github:edolstra/dwarffs
github:edolstra/dwarffs/69d73417d83ebeb7711912e33515d87049b39de0
ââââchecks
â ââââaarch64-linux
â â ââââbuild: derivation 'dwarffs-0.1.20220128.69d7341'
â â ââââtest: derivation 'vm-test-run-unnamed'
â ââââi686-linux
â â ââââbuild: derivation 'dwarffs-0.1.20220128.69d7341'
â â ââââtest: derivation 'vm-test-run-unnamed'
â ââââx86_64-linux
â ââââbuild: derivation 'dwarffs-0.1.20220128.69d7341'
â ââââtest: derivation 'vm-test-run-unnamed'
ââââdefaultPackage
â ââââaarch64-linux: package 'dwarffs-0.1.20220128.69d7341'
â ââââi686-linux: package 'dwarffs-0.1.20220128.69d7341'
â ââââx86_64-linux: package 'dwarffs-0.1.20220128.69d7341'
âââânixosModules
â ââââdwarffs: NixOS module
ââââoverlay: Nixpkgs overlay