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