Skip to content
Snippets Groups Projects
Verified Commit 43c5ade3 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: update

parent 878e0172
Branches
Tags
No related merge requests found
...@@ -171,11 +171,11 @@ ...@@ -171,11 +171,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1704308484, "lastModified": 1704365671,
"narHash": "sha256-aclQ3GUoElRa5OlVZgtxzP1iM6Lus8ffDLRfV+0R9gQ=", "narHash": "sha256-/UhQdOlnqRPpD+bY4urniXJAMy8wgxjtnlYVl5fxOS4=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "8b59839682aafe4285c333a943046dc101d94a0d", "rev": "878e017276ba1f4cab5663f31f8d88d2b2244f4f",
"revCount": 76, "revCount": 79,
"type": "git", "type": "git",
"url": "https://gitlab.schukai.com/oss/utilities/version.git" "url": "https://gitlab.schukai.com/oss/utilities/version.git"
}, },
......
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
}: let }: let
taskfileYaml = let taskfileYaml = let
gitCommit = (builtins.getFlake "git+https://gitlab.schukai.com/schukai/entwicklung/nix-flakes").packages.${builtins.currentSystem}.git-commit; gitCommit = (builtins.getFlake "git+https://gitlab.schukai.com/schukai/entwicklung/nix-flakes").packages.${builtins.currentSystem}.git-commit;
goPkgReleaseData = import ./project.nix;
goPkgName = goPkgReleaseData.name or "goPkg";
goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
in in
pkgs.writeTextFile { pkgs.writeTextFile {
name = "Taskfile.yaml"; name = "Taskfile.yaml";
...@@ -169,9 +173,6 @@ tasks: ...@@ -169,9 +173,6 @@ tasks:
goPkgReleaseData = import ./project.nix; goPkgReleaseData = import ./project.nix;
goPkgName = goPkgReleaseData.name or "goPkg"; goPkgName = goPkgReleaseData.name or "goPkg";
goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg"; goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
goPkgDescription = goPkgReleaseData.description or "this is a goPkg";
goPkgVersion = goPkgReleaseData.version or "0.1.0";
in in
pkgs.writeTextFile { pkgs.writeTextFile {
name = ".goreleaser.yml"; name = ".goreleaser.yml";
...@@ -207,7 +208,10 @@ tasks: ...@@ -207,7 +208,10 @@ tasks:
''; '';
}; };
in { in {
env.APP_NAME = "version"; env.APP_NAME = let
goPkgReleaseData = import ./project.nix;
goPkgMnemonic = goPkgReleaseData.mnemonic or "go-pkg";
in goPkgMnemonic;
# https://devenv.sh/packages/ # https://devenv.sh/packages/
packages = with pkgs; [ packages = with pkgs; [
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1689431009, "lastModified": 1704018918,
"narHash": "sha256-hPgQCRWP5q/Xc4qOIP3c2krR9nQua78+t9EDiuey5nc=", "narHash": "sha256-erjg/HrpC9liEfm7oLqb8GXCqsxaFwIIPqCsknW5aFY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "af8279f65fe71ce5a448408034a8c06e2b4b2c66", "rev": "2c9c58e98243930f8cb70387934daa4bc8b00373",
"type": "github" "type": "github"
}, },
"original": { "original": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment