mirror of
https://github.com/sbrow/envr.git
synced 2026-08-26 09:53:32 -04:00
build: nix version is now pinned to version.txt.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# Builds release artifacts for GitHub releases
|
# Builds release artifacts for GitHub releases
|
||||||
|
|
||||||
APP_NAME := envr
|
APP_NAME := envr
|
||||||
VERSION := $(shell grep 'version = ' flake.nix | head -1 | sed 's/.*version = "\(.*\)";/\1/')
|
VERSION := $(file < version.txt)
|
||||||
BUILD_DIR := builds
|
BUILD_DIR := builds
|
||||||
|
|
||||||
# Binary names
|
# Binary names
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
packages.default = pkgs.stdenv.mkDerivation rec {
|
packages.default = pkgs.stdenv.mkDerivation rec {
|
||||||
pname = "envr";
|
pname = "envr";
|
||||||
version = "0.3.0";
|
version = nixpkgs.lib.trim (builtins.readFile ./version.txt);
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
Reference in New Issue
Block a user