nix-super/src/libstore/build/personality.hh
Eelco Dolstra c164d304f3 nix develop: Set personality
This makes 'nix develop' set the Linux personality in the same way
that the actual build does, allowing a command like 'nix develop
nix#devShells.i686-linux.default' on x86_64-linux to work correctly.
2022-12-23 16:33:55 +01:00

12 lines
101 B
C++

#pragma once
#include <string>
namespace nix {
void setPersonality(std::string_view system);
}