Commit Graph

28 Commits

Author SHA1 Message Date
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
cb921df189 simplenote: 2.1.0 -> 2.2.0 2020-12-05 00:22:16 +00:00
R. RyanTM
a0da20e22d simplenote: 2.0.0 -> 2.1.0 2020-11-26 20:21:51 +00:00
R. RyanTM
1e8e9f6b7c simplenote: 1.21.1 -> 2.0.0 2020-11-12 03:23:42 +00:00
Frederik Rietdijk
081bd762e5 Merge staging-next into staging 2020-08-26 08:43:29 +02:00
R. RyanTM
10a372ee9e simplenote: 1.21.0 -> 1.21.1 2020-08-24 07:49:46 +00:00
Florian Klink
40cc04a8b8 simplenote: use lib.getLib udev instead of udev.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
2020-08-13 20:51:41 +02:00
R. RyanTM
1340179083 simplenote: 1.20.0 -> 1.21.0 2020-08-11 14:07:45 +00:00
R. RyanTM
7676d04fc5 simplenote: 1.19.0 -> 1.20.0 2020-07-31 09:37:42 +00:00
R. RyanTM
6b4c6b8817 simplenote: 1.17.0 -> 1.19.0 2020-06-30 15:31:23 +00:00
R. RyanTM
5351819578 simplenote: 1.16.0 -> 1.17.0 2020-06-09 02:00:59 +00:00
R. RyanTM
59cb735072 simplenote: 1.15.1 -> 1.16.0 2020-05-06 23:10:20 -07:00
R. RyanTM
8f0226ffa2 simplenote: 1.15.0 -> 1.15.1 2020-04-01 16:46:39 -07:00
R. RyanTM
68fbe8206e simplenote: 1.14.0 -> 1.15.0 2020-03-12 21:04:25 +00:00
R. RyanTM
c7bca08960 simplenote: 1.12.0 -> 1.14.0 2020-01-31 12:34:09 +00:00
Robert Djubek
cc2037307b
simplenote: fix libstdc++ error
Fixes a bug that was noticed during an automated version bump.

What was needed was to add an LD_LIBRARY_PATH entry for stdenv.cc.cc in
makeWrapper

```
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ] }" \
```

The error as seen in developer tools console was:

```
/nix/store/d4b2xcpdf4y4hspbwrmjdz540m493894-simplenote-1.12.0/opt/Simplenote/resources/electron.asar/renderer/init.js:158 Unable to load preload script: /nix/store/d4b2xcpdf4y4hspbwrmjdz540m493894-simplenote-1.12.0/opt/Simplenote/resources/app.asar/desktop/preload.js
(anonymous) @ /nix/store/d4b2xcpdf4y4hspbwrmjdz540m493894-simplenote-1.12.0/opt/Simplenote/resources/electron.asar/renderer/init.js:158
/nix/store/d4b2xcpdf4y4hspbwrmjdz540m493894-simplenote-1.12.0/opt/Simplenote/resources/electron.asar/renderer/init.js:159 Error: libstdc++.so.6: cannot open shared object file: No such file or directory
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at Object.<anonymous> (/nix/store/d4b2xcpdf4y4hspbwrmjdz540m493894-simplenote-1.12.0/opt/Simplenote/resources/app.asar/node_modules/@paulcbetts/spellchecker/lib/spellchecker.js:3)
    at Object.<anonymous> (/nix/store/d4b2xcpdf4y4hspbwrmjdz540m493894-simplenote-1.12.0/opt/Simplenote/resources/app.asar/node_modules/@paulcbetts/spellchecker/lib/spellchecker.js:116)
```
To (help) anyone that may find have errors like this in the future:

makeWrapper requiring the makeLibraryPath with stdenv.cc.cc is fairly common for electron apps.
At least ones that use dpkg on prebuilt debian .deb files (my `bitwarden` derivation requires it, too) that use gappsWrapperArgs

Thanks @ryantm / r-ryantm and @worldofpeace :)

Reference: https://github.com/NixOS/nixpkgs/pull/76421#pullrequestreview-336359695
2019-12-26 22:01:36 +00:00
R. RyanTM
cb9a102060 simplenote: 1.11.0 -> 1.12.0 2019-12-24 09:13:32 -08:00
Robert Djubek
bf78367499
simplenote: 1.9.1 -> 1.11.0 2019-11-28 17:28:12 +00:00
R. RyanTM
89814c917f simplenote: 1.8.0 -> 1.9.1 2019-11-05 01:59:38 -08:00
Robert Djubek
3f4a464efb
simplenote: 1.1.3 -> 1.8.0 2019-09-23 12:09:32 +00:00
worldofpeace
b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Frederik Rietdijk
ad47d658d1 Merge master into staging-next 2018-07-21 19:43:53 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jan Tojnar
28b6f74c3f
gnome3.gconf: remove 2018-07-10 12:14:40 +02:00
Gol D. Roger
287ffb6950
simplenote: 1.0.6 -> 1.1.3
Upstream release, resulting in 4 changes:
1. url
2. version
3. sha
4. xorg.libxcb (same problem and same solution as spotify. see https://github.com/NixOS/nixpkgs/issues/24448)
2018-04-17 07:39:43 -05:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
dyrnade
9d69aed183 simplenote: init at 1.0.6
simplenote package

fixed issues after review

added installation from source

enhanced spaces
2016-11-20 11:34:58 +02:00