Skip to content

Commit

Permalink
tmp: workaround to get the right version of alejandra
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthijs Steen committed Mar 8, 2024
1 parent 0e0a964 commit f04ac7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixcfg/mkNixcfgFlake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
}: config: let
constants = import ./constants.nix;

alejandra = inputs.alejandra.defaultPackage."x86_64-linux";

nixcfg = lib.mkNixcfg [
{
path = config.inputs.self.outPath;
Expand Down Expand Up @@ -45,7 +47,7 @@
pkgs,
...
}: {
environment.systemPackages = [ pkgs.alejandra ];
environment.systemPackages = [ alejandra ];

nix.registry = lib.mapAttrs (_: input: { flake = input; }) inputs;

Expand Down

0 comments on commit f04ac7c

Please sign in to comment.