mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
Add CROSS env var for crossShell.nix
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
db5cf3fea9
commit
c10365ed35
|
@ -11,5 +11,8 @@ in
|
||||||
mkShell {
|
mkShell {
|
||||||
nativeBuildInputs = [ pkg-config file];
|
nativeBuildInputs = [ pkg-config file];
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
env = {
|
||||||
|
CROSS = crossSystem;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
) {}
|
) {}
|
||||||
|
|
Loading…
Reference in a new issue