mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 23:51:03 +00:00
cosmic: add missing VERGEN_GIT_SHA where possible
Signed-off-by: Kajus Naujokaitis <kajusn@gmail.com>
(cherry picked from commit fb85b928b3)
This commit is contained in:
committed by
github-actions[bot]
parent
ef1698d170
commit
c993c4de88
@@ -35,6 +35,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
nativeBuildInputs = [
|
||||
just
|
||||
pkg-config
|
||||
|
||||
@@ -28,6 +28,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
nativeBuildInputs = [
|
||||
libcosmicAppHook
|
||||
just
|
||||
|
||||
@@ -27,6 +27,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
nativeBuildInputs = [
|
||||
just
|
||||
libcosmicAppHook
|
||||
|
||||
@@ -47,7 +47,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.DISABLE_IF_EXISTS = "/iso/nix-store.squashfs";
|
||||
env = {
|
||||
VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
DISABLE_IF_EXISTS = "/iso/nix-store.squashfs";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
libcosmicAppHook
|
||||
|
||||
@@ -37,6 +37,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
nativeBuildInputs = [
|
||||
just
|
||||
pkg-config
|
||||
|
||||
@@ -30,6 +30,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
nativeBuildInputs = [
|
||||
just
|
||||
pkg-config
|
||||
|
||||
@@ -30,6 +30,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
separateDebugInfo = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
env.VERGEN_GIT_SHA = finalAttrs.src.tag;
|
||||
|
||||
nativeBuildInputs = [
|
||||
just
|
||||
pkg-config
|
||||
|
||||
Reference in New Issue
Block a user