Apply suggestions from code review

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
John Ericson 2024-06-13 11:42:17 -04:00 committed by GitHub
parent 56f0b5304f
commit 7a5ee5d597
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -243,7 +243,7 @@
changelog-d; changelog-d;
default = self.packages.${system}.nix; default = self.packages.${system}.nix;
} // lib.concatMapAttrs } // lib.concatMapAttrs
# We need to "flatten" packages we care about to pass `flake check`. # We need to flatten recursive attribute sets of derivations to pass `flake check`.
(pkgName: {}: { (pkgName: {}: {
"${pkgName}" = nixpkgsFor.${system}.native.${pkgName}; "${pkgName}" = nixpkgsFor.${system}.native.${pkgName};
"${pkgName}-static" = nixpkgsFor.${system}.static.${pkgName}; "${pkgName}-static" = nixpkgsFor.${system}.static.${pkgName};