fix variables
This commit is contained in:
parent
cb9f7890ac
commit
97be246d2f
|
@ -5,11 +5,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils }:
|
outputs = { self, nixpkgs, flake-utils }:
|
||||||
let
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
productVersion = "0.4.1";
|
|
||||||
productName = "blockstream-electrs";
|
|
||||||
in
|
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
|
||||||
with nixpkgs.legacyPackages.${system}; {
|
with nixpkgs.legacyPackages.${system}; {
|
||||||
packages =
|
packages =
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
|
let
|
||||||
|
productVersion = "0.4.1";
|
||||||
|
productName = "blockstream-electrs";
|
||||||
|
in
|
||||||
pkgs.rustPlatform.buildRustPackage {
|
pkgs.rustPlatform.buildRustPackage {
|
||||||
name = "${productName}";
|
name = "${productName}";
|
||||||
version = "${productVersion}";
|
version = "${productVersion}";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user