Commit graph

34 commits

Author SHA1 Message Date
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Ben Siraphob badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Maximilian Bosch 3f41f8b24e
unison: 2.51.2 -> 2.51.3 2020-11-11 12:03:03 +01:00
Symphorien Gibol e726e341c6 unison: fix unison-fsmonitor wrapper in an empty PATH
Fixes:
/nix/store/hyk3aky49zm2chq5cwclrsm56iqwfzwj-unison-2.51.2/bin/unison-fsmonitor: line 2: grep: command not found

Happens when running unison in a systemd service.
2020-04-26 23:29:02 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matteo Scarlata 3355e8d1ca
unison: fix build with ocamlPackages_4_09 (#82619)
Fixes #61867 and #61505, bumps the ocaml version unison is built
against to 4.08. The patches included here appear in the trunk version
of unison, but were not backported to 2.51.2.
2020-03-16 13:16:43 +01:00
Vincent Laporte 4adfbe6c7b unison: move out of ocamlPackages 2020-03-13 22:31:01 +01:00
Patrick Hilhorst 593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Lily Ballard 193018687c unison: fix building on macOS with enableX11 = false
If `UISTYLE` is not specified, Unison tries to auto-detect the UI style
based on the available environment. On macOS this apparently means using
`UISTYLE=mac`, it can't actually build this way in Nix.
2019-05-14 18:38:56 -07:00
Sébastien Maret 7bc350cc28 unison: 2.48.4 -> 2.51.2 2019-02-14 19:51:09 +01:00
Vincent Laporte 4f6422b76c unison: more general platform 2017-05-30 06:55:46 +00:00
Orivej Desh 5b83857bee unison: install unison-fsmonitor
It is necessary for `unison -ui text -repeat watch` to work.
2017-02-03 23:37:31 +00:00
Maximilian Güntner 1fa6fe72fd unison: 2.48.3 -> 2.48.4 (#17209)
Signed-off-by: Maximilian Güntner <code@maschinenpsychologe.de>
2016-07-25 20:50:09 +01:00
Edward Tjörnhammar 47203a86bf unison: sha correction 2015-02-17 12:35:29 +01:00
Pascal Wittmann 641cdbb8cf unison: update from 2.40.102 to 2.48.3 2015-02-06 19:59:14 +01:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Mathijs Kwik d8d8606da4 unison: upgrade to 2.40.102 2014-03-24 10:35:51 +01:00
Eelco Dolstra 88b11196c1 Clean up redundant "if condition then true else false" 2012-12-28 19:57:47 +01:00
Lluís Batlle i Rossell c0832627c4 ocaml, unison: make them build on mips (native compilers)
I switch off the build of ocaml compilers to native code, and add
a 'passthru' that unison can use to see if it needs to call the native
or the bytecode compiler.
2012-07-27 22:43:40 +02:00
Nicolas Pierron 82b308bf11 Add armv7l support.
svn path=/nixpkgs/trunk/; revision=33798
2012-04-15 23:41:25 +00:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Lluís Batlle i Rossell 1d3c534625 Updating unison.
svn path=/nixpkgs/trunk/; revision=27893
2011-07-21 21:46:06 +00:00
Lluís Batlle i Rossell 3aa2bdbab5 Making unison build to byte code in armv5tel. I also fix the build with enableX11 I think.
svn path=/nixpkgs/trunk/; revision=25373
2011-01-03 20:52:49 +00:00
Lluís Batlle i Rossell ed9a70e40e Allowing unison without X.
svn path=/nixpkgs/trunk/; revision=25369
2011-01-03 18:43:16 +00:00
Michael Raskin 820a66152b Fix lablgtk reference
svn path=/nixpkgs/trunk/; revision=25343
2011-01-02 17:34:19 +00:00
Peter Simons c29e6c97f1 Only set font in wrapper if we have X.
Unison's wrapper was generating errors by calling xset even if DISPLAY
was not set.  This was especially noticeable when connecting to a
remote server to sync with.

Fix this by only setting the font path if DISPLAY is set to something.

svn path=/nixpkgs/trunk/; revision=21821
2010-05-17 16:16:48 +00:00
Lluís Batlle i Rossell 89944b6cf0 Updating unison.
svn path=/nixpkgs/trunk/; revision=19468
2010-01-15 15:09:46 +00:00
Marco Maggesi ec6f4788bb Fixed download url for Unison File Syncronizer.
svn path=/nixpkgs/trunk/; revision=18793
2009-12-03 16:40:18 +00:00
Lluís Batlle i Rossell ac404e713f Unison version update to 2.27.57
svn path=/nixpkgs/trunk/; revision=14689
2009-03-24 17:52:13 +00:00
Andres Löh 2991f9adef * layout changes
svn path=/nixpkgs/trunk/; revision=11981
2008-06-04 14:24:28 +00:00
Eelco Dolstra a5e0e39cdb * makeWrapper: option --run <CMD> to run a command from the wrapper.
This is so that the Unison wrapper can be generated with
  makeWrapper.
* Use makeWrapper as a buildInput everywhere.
* Updated BitTorrent, cvs2svn.

svn path=/nixpkgs/trunk/; revision=10213
2008-01-18 11:28:41 +00:00
Andres Löh 86874956a5 * be more fault tolerant in the unison wrapper
svn path=/nixpkgs/trunk/; revision=9114
2007-08-13 17:08:14 +00:00
Andres Löh 3d519c2bed * add unison
- unison uses a wrapper script to add font-schumacher-misc to the local X font path
    if the font isn't already present; this is necessary for it to work, but not terribly
    nice ...
* lablgtk is a dependency of unison
  - handling of library dirs with ocaml is a hack so far; in principle, ocaml needs
    a general setup for library dirs like ghc

svn path=/nixpkgs/trunk/; revision=9094
2007-08-10 08:21:31 +00:00