13 lines
498 B
Nix
13 lines
498 B
Nix
let
|
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/release-24.05";
|
|
pkgs = (import nixpkgs {}).pkgsCross.musl32;
|
|
in
|
|
|
|
# callPackage is needed due to https://github.com/NixOS/nixpkgs/pull/126844
|
|
pkgs.pkgsStatic.callPackage ({ mkShell, fuse, pkg-config, file }: mkShell {
|
|
# these tools run on the build platform, but are configured to target the host platform
|
|
nativeBuildInputs = [ pkg-config file ];
|
|
# libraries needed for the host platform
|
|
buildInputs = [ fuse ];
|
|
}) {}
|