Specify FieldPOC version once in flake.nix
This commit is contained in:
parent
a35780e489
commit
d23c1fbedb
@ -6,7 +6,9 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = { self, nixpkgs, mitel-ommclient2, ... }: {
|
||||
outputs = { self, nixpkgs, mitel-ommclient2, ... }: let
|
||||
fieldpoc_version = "0.11.0";
|
||||
in {
|
||||
packages.x86_64-linux = let
|
||||
pkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
@ -14,7 +16,7 @@
|
||||
in {
|
||||
fieldpoc = pkgs.python3Packages.buildPythonPackage {
|
||||
pname = "fieldpoc";
|
||||
version = "0.11.0";
|
||||
version = fieldpoc_version;
|
||||
|
||||
src = ./.;
|
||||
|
||||
@ -106,7 +108,7 @@
|
||||
|
||||
docs = pkgs.stdenv.mkDerivation {
|
||||
pname = "fieldpoc-docs";
|
||||
version = "0.0.1";
|
||||
version = fieldpoc_version;
|
||||
|
||||
src = ./.;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user