mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-25 15:33:20 +03:00
fix example for overriding devShell
This commit is contained in:
parent
b41c0c124c
commit
86d6c6a42e
@ -29,9 +29,10 @@
|
||||
dream2nix.lib.dlib.mergeFlakes [
|
||||
d2n-flake
|
||||
{
|
||||
devShells =
|
||||
forAllSystems
|
||||
(system: pkgs: (l.optionalAttrs (d2n-flake ? devShells) {
|
||||
devShells = forAllSystems (system: pkgs: (
|
||||
l.optionalAttrs
|
||||
(d2n-flake ? devShells.${system}.prettier.overrideAttrs)
|
||||
{
|
||||
prettier =
|
||||
d2n-flake.devShells.${system}.prettier.overrideAttrs
|
||||
(old: {
|
||||
@ -41,7 +42,8 @@
|
||||
pkgs.hello
|
||||
];
|
||||
});
|
||||
}));
|
||||
}
|
||||
));
|
||||
}
|
||||
{
|
||||
checks.x86_64-linux.prettier = self.packages.x86_64-linux.prettier;
|
||||
|
Loading…
Reference in New Issue
Block a user