chore(flake): Tweak

This commit is contained in:
Tom Hubrecht 2025-02-20 14:49:48 +01:00
parent 73b13f2d92
commit 003d64bda6
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc

View file

@ -39,11 +39,7 @@
flake-utils.lib.eachSystem supportedSystems ( flake-utils.lib.eachSystem supportedSystems (
system: system:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs { inherit system; };
inherit system;
overlays = [
];
};
in in
rec { rec {
# We still maintain the expression in a Nixpkgs-acceptable form # We still maintain the expression in a Nixpkgs-acceptable form
@ -108,11 +104,11 @@
apps.default = self.apps.${system}.colmena; apps.default = self.apps.${system}.colmena;
apps.colmena = { apps.colmena = {
type = "app"; type = "app";
program = "${defaultPackage}/bin/colmena"; program = pkgs.lib.getExe defaultPackage;
}; };
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
RUST_SRC_PATH = "${pkgs.rustPlatform.rustcSrc}/library"; RUST_SRC_PATH = pkgs.rustPlatform.rustLibSrc;
NIX_PATH = "nixpkgs=${pkgs.path}"; NIX_PATH = "nixpkgs=${pkgs.path}";
inputsFrom = [ inputsFrom = [