mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +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
1 changed files with 3 additions and 0 deletions
|
@ -11,5 +11,8 @@ in
|
|||
mkShell {
|
||||
nativeBuildInputs = [ pkg-config file];
|
||||
buildInputs = [ zlib ];
|
||||
env = {
|
||||
CROSS = crossSystem;
|
||||
};
|
||||
}
|
||||
) {}
|
||||
|
|
Loading…
Reference in a new issue