colmena devShell
This commit is contained in:
parent
d8a9eaabcb
commit
ecc25664eb
2 changed files with 51 additions and 5 deletions
22
flake.nix
22
flake.nix
|
|
@ -11,16 +11,18 @@
|
|||
url = "git+ssh://git@github.com/henridoh/nixos-config-hidden";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
nixos-hardware,
|
||||
colmena,
|
||||
flake-utils,
|
||||
home-manager,
|
||||
nixos-config-hidden,
|
||||
nixos-hardware,
|
||||
nixpkgs,
|
||||
}@inputs:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
|
|
@ -85,7 +87,17 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-tree;
|
||||
};
|
||||
}
|
||||
// flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.withColmena = pkgs.mkShell {
|
||||
buildInputs = [ colmena.packages.${system}.colmena ];
|
||||
};
|
||||
formatter = pkgs.nixfmt-tree;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue