Add flake package export
This commit is contained in:
parent
9685398371
commit
35d4419c04
1 changed files with 12 additions and 1 deletions
13
flake.nix
13
flake.nix
|
|
@ -25,8 +25,19 @@
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
clippy
|
clippy
|
||||||
];
|
];
|
||||||
env = {};
|
env = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
packages.wl-backdrop =
|
||||||
|
let
|
||||||
|
cargoToml = fromTOML (builtins.readFile ./Cargo.toml);
|
||||||
|
in
|
||||||
|
pkgs.rustPlatform.buildRustPackage {
|
||||||
|
inherit (cargoToml.package) name version;
|
||||||
|
src = ./.;
|
||||||
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
|
env = { };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flake = {
|
flake = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue