chore(flake): Tweak
This commit is contained in:
parent
73b13f2d92
commit
003d64bda6
1 changed files with 3 additions and 7 deletions
10
flake.nix
10
flake.nix
|
@ -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 = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue