Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bob
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Bob
Commits
5b8a2af9
Verified
Commit
5b8a2af9
authored
1 year ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: update name
parent
1c1ffcd7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flake.nix
+9
-1
9 additions, 1 deletion
flake.nix
with
9 additions
and
1 deletion
flake.nix
+
9
−
1
View file @
5b8a2af9
...
...
@@ -58,6 +58,14 @@
bob
=
let
projectDefinition
=
import
./project.nix
;
sourcePath
=
./source
;
timestamp
=
with
(
import
<
nixpkgs
>
{});
builtins
.
readFile
(
runCommand
"timestamp"
{
when
=
builtins
.
currentTime
;
}
"echo -n `date -d @$when +%Y-%m-%d_%H-%M-%S` > $out"
);
in
# https://nixos.wiki/wiki/Go
pkgs
.
buildGoModule
{
...
...
@@ -76,7 +84,7 @@
"-X '
${
projectDefinition
.
modulePath
}
/release.commit=
${
projectDefinition
.
commitHash
}
'"
"-X '
${
projectDefinition
.
modulePath
}
/release.name=
${
projectDefinition
.
name
}
'"
"-X '
${
projectDefinition
.
modulePath
}
/release.mnemonic=
${
projectDefinition
.
mnemonic
}
'"
"-X '
${
projectDefinition
.
modulePath
}
/release.buildDate=
${
builtins
.
date
}
'"
"-X '
${
projectDefinition
.
modulePath
}
/release.buildDate=
${
timestamp
}
'"
];
#vendorHash = null;
...
...
This diff is collapsed.
Click to expand it.
Volker Schukai
@volker.schukai
mentioned in commit
e1fa3cef
·
1 year ago
mentioned in commit
e1fa3cef
mentioned in commit e1fa3cef24db51f2b7f14ae29e696ae0e7e9cd6a
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment