Commit Graph

21 Commits

Author SHA1 Message Date
emilylange
bc47f473be
sharedown: unbreak build
This is essentially a partial revert of
c271196d42 which was a successful attempt
at unbreaking this build back in November 2023.

That workaround, however, no longer, well.. works.

Instead I figured out what was wrong with the initial version and fixed
that.
Hopefully this fix lasts longer than the one before.

The important bit that was missing is that `export npm_config_nodedir`
line.

The code in question is copied from
https://nixos.org/manual/nixpkgs/unstable/#javascript-yarn2nix-pitfalls
d176767c02/doc/languages-frameworks/javascript.section.md (pitfalls-javascript-yarn2nix-pitfalls))

I suggest following the link for even more links as to why some commands
from there are the way they are.
2024-02-15 01:41:11 +01:00
h7x4
41974d5ed9
treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Artturi
91567f6314
Revert "sharedown: mark broken" 2023-11-18 23:29:07 +02:00
Artturi
51faf5a14d
Merge pull request #265472 from yayayayaka/sharedown-mark-broken 2023-11-13 01:01:38 +02:00
emilylange
c271196d42
sharedown: unbreak build
fixes the following error message:

```
$ node-gyp rebuild
info This package requires node-gyp, which is not currently installed. Yarn will attempt to automatically install it. If this fails, you can run "yarn global add node-gyp" to manually install it.
[1/4] Resolving packages...
error Failed to auto-install node-gyp. Please run "yarn global add node-gyp" manually. Error: "Couldn't find any versions for \"node-gyp\" that matches \"latest\" in our cache (possible versions are \"\"). This is usually caused by a missing entry in the lockfile, running Yarn without the --offline flag may help fix this issue."
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```

https://hydra.nixos.org/build/239684452
2023-11-11 15:11:42 +01:00
Yaya
13b121bee9
sharedown: mark broken 2023-11-04 08:14:08 -07:00
Robert Schütz
3ca137844b sharedown: use fetchYarnDeps 2023-09-06 17:54:04 -07:00
R. Ryantm
6847c28a86 sharedown: 5.2.2 -> 5.3.1 2023-07-23 03:08:19 +00:00
R. Ryantm
40ced660aa sharedown: 5.1.0 -> 5.2.2 2023-02-05 23:04:56 +00:00
Weijia Wang
42dc684a98
Merge pull request #197153 from r-ryantm/auto-update/sharedown
sharedown: 5.0.2 -> 5.1.0
2023-01-23 05:28:55 +01:00
Jan Tojnar
f3eaad0cb2 sharedown: remove myself from maintainers 2022-10-26 20:43:23 +02:00
R. Ryantm
b7b567d302 sharedown: 5.0.2 -> 5.1.0 2022-10-22 02:11:31 +00:00
R. Ryantm
375b453c7d sharedown: 4.0.2 -> 5.0.2 2022-09-12 02:53:44 +00:00
Sandro Jäckel
9bbc053f1a
yarn2nix: change yarnFlags to append by default
The main usecase for this variable is to append --production to yarn
which now got a whole lot easier because you no longer need to repeat
the defaults.
2022-07-24 16:18:09 +02:00
R. Ryantm
dc1ac22201 sharedown: 3.1.0 -> 4.0.2 2022-04-27 01:12:04 +02:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Jan Tojnar
ac9010920b sharedown: make updateScript terminate when version has not changed
Otherwise r-ryantm will try to bump lockfile.
2022-01-28 18:27:43 +01:00
Jan Tojnar
d7d237e00e sharedown: 3.0.1 → 3.1.0
Adds support for storing secrets in keychain.

https://github.com/kylon/Sharedown/releases/tag/3.1.0
2022-01-28 17:42:00 +01:00
Jan Tojnar
28237545a5 sharedown: 2.0.0 → 3.0.1
https://github.com/kylon/Sharedown/releases/tag/3.0.0
https://github.com/kylon/Sharedown/releases/tag/3.0.1

Also fix the update script (the source needs to be updated before we can re-generate the lockfile.)
2021-11-26 01:00:24 +01:00
Jan Tojnar
83fdaff9f7 sharedown: Improve expression formatting
The old formatting made it far too easy to add patches attribute to the let binding instead of passing it to the derivation.
2021-10-29 02:18:10 +02:00
Jan Tojnar
63c3676fcf sharedown: init at 2.0.0 2021-09-23 00:31:02 +02:00