shell/default: Deduce platforms from Colmena flake

This commit is contained in:
Mikael 2024-08-22 18:56:09 +02:00
parent e571b6cac7
commit 50dd713683
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -1,6 +1,6 @@
{ colmena, ... }: { mkShell, system }:
{ colmena, ... }: { mkShell, system, lib }:
mkShell {
packages = [ colmena.packages.${system}.colmena ];
meta.platforms = colmena.packages.${system}.colmena.meta.platforms;
meta.platforms = lib.attrNames colmena.packages;
}