File tree Expand file tree Collapse file tree 2 files changed +37
-99
lines changed Expand file tree Collapse file tree 2 files changed +37
-99
lines changed Original file line number Diff line number Diff line change 9
9
10
10
buildNpmPackage ( finalAttrs : {
11
11
pname = "amp-cli" ;
12
- version = "0.0.1752566512-ga67426 " ;
12
+ version = "0.0.1754036264-ga0aa13 " ;
13
13
14
14
src = fetchzip {
15
15
url = "https://registry.npmjs.org/@sourcegraph/amp/-/amp-${ finalAttrs . version } .tgz" ;
16
- hash = "sha256-TgSqpczEFIW6doWzgfPg2y+o+64ntPMbTJ0FVzCGNOg =" ;
16
+ hash = "sha256-+pvxRLoluRk6/XfPr5luW2oIAjWTCYMJo53wHzQh598 =" ;
17
17
} ;
18
18
19
19
postPatch = ''
@@ -40,12 +40,12 @@ buildNpmPackage (finalAttrs: {
40
40
# Create a wrapper script that will be installed by npm
41
41
cat > bin/amp-wrapper.js << EOF
42
42
#!/usr/bin/env node
43
- require ('@sourcegraph/amp/dist/amp .js')
43
+ import ('@sourcegraph/amp/dist/main .js')
44
44
EOF
45
45
chmod +x bin/amp-wrapper.js
46
46
'' ;
47
47
48
- npmDepsHash = "sha256-avgj8q1pyepWSt4RFK1+9Fqwtc7Z1Voz2RUYKuViZA0 =" ;
48
+ npmDepsHash = "sha256-Xm/uZAf9bDasHGIhcS2G8JUo3GyTdnErjzU7clkFQW0 =" ;
49
49
50
50
propagatedBuildInputs = [
51
51
ripgrep
You can’t perform that action at this time.
0 commit comments