about summary refs log tree commit diff
path: root/pkgs/servers/memos
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-07-11 21:16:30 +0300
committerArtturin <Artturin@artturin.com>2023-07-14 00:18:06 +0300
commit1c29673fcce3aecd0cb4f30058c266ea5480c8a3 (patch)
tree342dbdf9d35bb9fb4290aeb99fecde1762f0b097 /pkgs/servers/memos
parent9caab144be31e088bfd3468de2f26e5c08b0f4fa (diff)
treewide: go-modules -> goModules
In 787af0f79f128cb21b113d2eb37e64d913f18aae
I had to change ${go-modules} to $goModules to allow overrideAttrs to work;
However, env vars cannot contain -, so  i had to change go-modules too.
This in turn broke nix-update because it uses the go-modules attr.

Instead of making nix-update more complicated, make go-modules naming match cargoDeps.

`fd --type f | xargs sd '\bgo-modules\b' 'goModules'`
and revert change to pkgs/applications/misc/dstask/default.nix
and pkgs/servers/http/dave/default.nix
and pkgs/os-specific/darwin/plistwatch/default.nix

release note added
Diffstat (limited to 'pkgs/servers/memos')
-rwxr-xr-xpkgs/servers/memos/update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/memos/update.sh b/pkgs/servers/memos/update.sh
index f925f75bcd70e..ded76e3db2cb1 100755
--- a/pkgs/servers/memos/update.sh
+++ b/pkgs/servers/memos/update.sh
@@ -13,7 +13,7 @@ fi
 
 extractVendorHash() {
   original="${1?original hash missing}"
-  result="$(nix-build -A memos.go-modules 2>&1 | tail -n3 | grep 'got:' | cut -d: -f2- | xargs echo || true)"
+  result="$(nix-build -A memos.goModules 2>&1 | tail -n3 | grep 'got:' | cut -d: -f2- | xargs echo || true)"
   [ -z "$result" ] && { echo "$original"; } || { echo "$result"; }
 }