mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Formatting
This commit is contained in:
parent
4055239936
commit
6c61d0ab8c
2 changed files with 122 additions and 121 deletions
13
flake.nix
13
flake.nix
|
@ -34,7 +34,9 @@
|
||||||
|
|
||||||
officialRelease = true;
|
officialRelease = true;
|
||||||
|
|
||||||
linux32BitSystems = [ /* "i686-linux" */ ];
|
linux32BitSystems = [
|
||||||
|
# "i686-linux"
|
||||||
|
];
|
||||||
linux64BitSystems = [
|
linux64BitSystems = [
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
"aarch64-linux"
|
"aarch64-linux"
|
||||||
|
@ -345,7 +347,7 @@
|
||||||
# These attributes go right into `packages.<system>`.
|
# These attributes go right into `packages.<system>`.
|
||||||
"${pkgName}" = nixpkgsFor.${system}.native.nixComponents.${pkgName};
|
"${pkgName}" = nixpkgsFor.${system}.native.nixComponents.${pkgName};
|
||||||
#"${pkgName}-static" = nixpkgsFor.${system}.static.nixComponents.${pkgName};
|
#"${pkgName}-static" = nixpkgsFor.${system}.static.nixComponents.${pkgName};
|
||||||
"${pkgName}-llvm" = nixpkgsFor.${system}.llvm.nixComponents.${pkgName};
|
#"${pkgName}-llvm" = nixpkgsFor.${system}.llvm.nixComponents.${pkgName};
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs supportsCross (
|
// lib.optionalAttrs supportsCross (
|
||||||
flatMapAttrs (lib.genAttrs crossSystems (_: { })) (
|
flatMapAttrs (lib.genAttrs crossSystems (_: { })) (
|
||||||
|
@ -402,8 +404,8 @@
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
// lib.optionalAttrs (!nixpkgsFor.${system}.native.stdenv.isDarwin) (
|
|
||||||
/*
|
/*
|
||||||
|
// lib.optionalAttrs (!nixpkgsFor.${system}.native.stdenv.isDarwin) (
|
||||||
prefixAttrs "static" (
|
prefixAttrs "static" (
|
||||||
forAllStdenvs (
|
forAllStdenvs (
|
||||||
stdenvName:
|
stdenvName:
|
||||||
|
@ -412,9 +414,7 @@
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
//
|
// prefixAttrs "llvm" (
|
||||||
*/
|
|
||||||
prefixAttrs "llvm" (
|
|
||||||
forAllStdenvs (
|
forAllStdenvs (
|
||||||
stdenvName:
|
stdenvName:
|
||||||
makeShell {
|
makeShell {
|
||||||
|
@ -431,6 +431,7 @@
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
// {
|
// {
|
||||||
default = self.devShells.${system}.native-stdenvPackages;
|
default = self.devShells.${system}.native-stdenvPackages;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue