Skip to content

Commit

Permalink
Add multiple devShells and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
chaserhkj committed Jul 19, 2024
1 parent 4356d67 commit 1de7b11
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
} // (lib.attrsets.mapAttrs' (
name: _value: {
name = "bnfc-${name}";
value = allVersions.${defaultVersion}.apps."BNFC:exe:bnfc";
value = allVersions.${name}.apps."BNFC:exe:bnfc";
}
) supportedGHCStackFile);
packages = rec {
Expand All @@ -73,13 +73,21 @@
} // (lib.attrsets.mapAttrs' (
name: _value: {
name = "bnfc-${name}";
value = allVersions.${defaultVersion}.packages."BNFC:exe:bnfc";
value = allVersions.${name}.packages."BNFC:exe:bnfc";
}
) supportedGHCStackFile)
// (lib.attrsets.mapAttrs' (
name: _value: {
name = "bnfc-${name}";
value = allVersions.${defaultVersion}.packages."BNFC:lib:BNFC";
value = allVersions.${name}.packages."BNFC:lib:BNFC";
}
) supportedGHCStackFile);
devShells = {
default = flake.devShells.default;
} // (lib.attrsets.mapAttrs' (
name: _value: {
name = "bnfc-${name}";
value = allVersions.${name}.devShells.default;
}
) supportedGHCStackFile);
});
Expand Down

0 comments on commit 1de7b11

Please sign in to comment.