We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c718ded commit 9c5315dCopy full SHA for 9c5315d
prisma.nix
@@ -34,8 +34,8 @@ let
34
_commit:
35
let
36
# HACK: _commit may be "next-0c19ccc313cf9911a90d99d2ac2eb0280c76c513" instead of "0c19ccc313cf9911a90d99d2ac2eb0280c76c513"
37
- commit = lib.lists.last (lib.splitString "-" _commit);
38
- # prisma >= v7 has fewer components;
+ commit = lib.strings.removePrefix "next-" _commit;
+ # prisma >= v7 has fewer components
39
isv7 = lib.strings.hasPrefix "next-" _commit;
40
in
41
if builtins.stringLength commit != 40 then
0 commit comments