We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6532d55 commit 705de36Copy full SHA for 705de36
default.nix
@@ -1,7 +1,7 @@
1
{pkgs ? import <nixpkgs> {}, ...}:
2
pkgs.rustPlatform.buildRustPackage rec {
3
pname = "battery-notifier";
4
- version = "unstable";
+ version = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package.version;
5
6
src = builtins.path {
7
name = "${pname}-source";
0 commit comments