reformat flake
This commit is contained in:
parent
a2eb830dd5
commit
f29388f42b
1 changed files with 4 additions and 6 deletions
10
flake.nix
10
flake.nix
|
@ -14,8 +14,7 @@
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages."${system}";
|
pkgs = nixpkgs.legacyPackages."${system}";
|
||||||
naersk-lib = naersk.lib."${system}";
|
naersk-lib = naersk.lib."${system}";
|
||||||
in
|
in rec {
|
||||||
rec {
|
|
||||||
# `nix build`
|
# `nix build`
|
||||||
packages.bakare = naersk-lib.buildPackage {
|
packages.bakare = naersk-lib.buildPackage {
|
||||||
pname = "bakare";
|
pname = "bakare";
|
||||||
|
@ -24,9 +23,7 @@
|
||||||
defaultPackage = packages.bakare;
|
defaultPackage = packages.bakare;
|
||||||
|
|
||||||
# `nix run`
|
# `nix run`
|
||||||
apps.bakare = utils.lib.mkApp {
|
apps.bakare = utils.lib.mkApp { drv = packages.bakare; };
|
||||||
drv = packages.bakare;
|
|
||||||
};
|
|
||||||
defaultApp = apps.bakare;
|
defaultApp = apps.bakare;
|
||||||
|
|
||||||
# `nix develop`
|
# `nix develop`
|
||||||
|
@ -49,7 +46,8 @@
|
||||||
rustc
|
rustc
|
||||||
rustfmt
|
rustfmt
|
||||||
];
|
];
|
||||||
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
RUST_SRC_PATH =
|
||||||
|
"${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue