Commit Graph

17 Commits

Author SHA1 Message Date
piegames
68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
Rahul Butani
1e1d654bd9 uucp: add a version test 2024-05-10 16:18:00 +02:00
Rahul Butani
7c28930254
uucp: unbreak on Darwin/in pkgsLLVM
`configure` contains snippets like `main(){return(0);}` which modern
clang versions complain about (with the default warnings and errors):
```console
configure:1283:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(){return(0);}
^
int
```

As a workaround, this commit has the package:
  - regenerate `configure` as part of the build
  - patches a test for `void` to not rely on `exit` being implicitly
    defined
2024-05-10 01:27:19 -07:00
Nick Cao
2d67cb5fe3
uucp: fix cross compilation by setting AR in makeFlags 2022-11-18 16:51:49 +08:00
Felix Buehler
1450bc80fb tools/misc: replace name with pname&version 2021-08-03 16:47:38 +02:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Jörg Thalheim
ca6bb9098c uucp: add remark to patch 2017-06-17 10:44:33 +01:00
Will Dietz
5d0a8792a7 uucp: Don't chown to 'uucp' user, don't set special perms 2017-06-16 07:11:02 -05:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
ef0d652f2b uucp: turn off format hardening 2016-02-08 00:20:53 +00:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Ludovic Courtès
2e937c437a unmaintain several packages 2013-08-16 23:45:01 +02:00
Ludovic Courtès
d460ffc554 uucp: Fetch from mirror://gnu; add `meta'.
svn path=/nixpkgs/trunk/; revision=23661
2010-09-07 08:02:36 +00:00
Eelco Dolstra
7f5b839524 * Removed selectVersion. There's no good reason to write
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'.
* Replaced `with args' with formal function arguments in several
  packages.
* Renamed several files to `default.nix'.  As a general rule, version
  numbers should only be included in the filename when there is a
  reason to keep multiple versions of a package in Nixpkgs.
  Otherwise, it just makes it harder to update the package.

svn path=/nixpkgs/trunk/; revision=18403
2009-11-18 09:39:59 +00:00
Michael Raskin
de117209bc Added uucp; this package also contains cu utility
svn path=/nixpkgs/trunk/; revision=11561
2008-04-11 09:27:18 +00:00