fix variables

This commit is contained in:
Mike Heier 2023-08-12 12:00:13 -04:00
parent cb9f7890ac
commit 97be246d2f
2 changed files with 5 additions and 5 deletions

View File

@ -5,11 +5,7 @@
};
outputs = { self, nixpkgs, flake-utils }:
let
productVersion = "0.4.1";
productName = "blockstream-electrs";
in
flake-utils.lib.eachDefaultSystem (system:
flake-utils.lib.eachDefaultSystem (system:
with nixpkgs.legacyPackages.${system}; {
packages =
{

View File

@ -1,5 +1,9 @@
{ pkgs ? import <nixpkgs> { } }:
let
productVersion = "0.4.1";
productName = "blockstream-electrs";
in
pkgs.rustPlatform.buildRustPackage {
name = "${productName}";
version = "${productVersion}";