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
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
naersk-lib = naersk.lib."${system}";
|
||||
in
|
||||
rec {
|
||||
in rec {
|
||||
# `nix build`
|
||||
packages.bakare = naersk-lib.buildPackage {
|
||||
pname = "bakare";
|
||||
|
@ -24,9 +23,7 @@
|
|||
defaultPackage = packages.bakare;
|
||||
|
||||
# `nix run`
|
||||
apps.bakare = utils.lib.mkApp {
|
||||
drv = packages.bakare;
|
||||
};
|
||||
apps.bakare = utils.lib.mkApp { drv = packages.bakare; };
|
||||
defaultApp = apps.bakare;
|
||||
|
||||
# `nix develop`
|
||||
|
@ -49,7 +46,8 @@
|
|||
rustc
|
||||
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