Skip to content

Commit

Permalink
fix: could not override the default package
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Nov 10, 2023
1 parent 61e0011 commit e5b57e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
in
{
packages = forAllSystems (pkgs: with pkgs; {
default = ({ environments ? [ "nix" ] }: symlinkJoin {
name = "default";
paths = builtins.concatMap (env: (import ./devShells/${env}.nix { inherit pkgs; }).default) environments;
}) { };
default = ({ environments ? [ "nix" ] }: callPackage ./packages/default.nix { inherit environments; }) { };

vscodium = ({ environments ? [ "nix" ] }: callPackage ./packages/vscodium.nix {
envExtensions = (builtins.concatMap (env: (import ./devShells/${env}.nix { inherit pkgs; }).vscodium.extensions) environments);
Expand Down
6 changes: 6 additions & 0 deletions packages/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ environments, pkgs, ... }:

with pkgs; symlinkJoin {
name = "default";
paths = builtins.concatMap (env: (import ../devShells/${env}.nix { inherit pkgs; }).default) environments;
}

0 comments on commit e5b57e3

Please sign in to comment.