···
Retrieves a raw Nix attribute value.
-
return self.execute_command(["nix", "eval", "--raw", "-f", ".", attribute_path])
def get_nix_system(self) -> str:
Retrieves system from Nix.
-
return self._get_nix_attribute("system")
def get_supported_nix_systems(self) -> list[str]:
-
nix_config = self.execute_command(["nix", "config", "show"])
for line in nix_config.splitlines():
···
def _get_nix_vscode_extension_src_hash(self, system: str) -> str:
url = self.execute_command([
···
sha256 = self.execute_command(["nix-prefetch-url", url])
return self.execute_command([
···
···
Retrieves a raw Nix attribute value.
+
return self.execute_command([
+
"--extra-experimental-features",
def get_nix_system(self) -> str:
Retrieves system from Nix.
+
return self._get_nix_attribute("stdenv.hostPlatform.system")
def get_supported_nix_systems(self) -> list[str]:
+
nix_config = self.execute_command([
+
"--extra-experimental-features",
for line in nix_config.splitlines():
···
def _get_nix_vscode_extension_src_hash(self, system: str) -> str:
url = self.execute_command([
+
"--extra-experimental-features",
···
sha256 = self.execute_command(["nix-prefetch-url", url])
return self.execute_command([
+
"--extra-experimental-features",
···
+
"--extra-experimental-features",