Commit Graph

23 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Artturin
5c6ae8863d treewide: Amend hacks of removing $(pwd)
The strip phase is using $TMPDIR now, so it would fail with:
`mktemp: failed to create file via template 'striperr.XXXXXX': No such file or directory`
2023-08-13 05:40:01 +03:00
Thomas Watson
6e13168f47 simavr: fix build on Darwin
Remove unnecessary compiler flag not recognized by Clang.

Borrow setup hook from Wine which filters out Darwin-specific flags not
recognized by avr-gcc, which is used to build the test firmware.
2023-01-08 23:01:27 -06:00
Rick van Schijndel
13e0d33703
treewide: pkgs/development/tools: mark broken for darwin 2022-05-30 13:41:14 +02:00
Mikael Voss
11f644c0a2
simavr: 1.5 -> 1.7 2021-09-27 15:17:03 +02:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Franz Pletz
77b6c3cd06
Merge remote-tracking branch 'origin/master' into gcc-9 2019-12-26 14:17:36 +01:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Franz Pletz
77cdd72c65
simavr: fix build with gcc9 2019-11-03 14:43:41 +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
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Matthew Bauer
79e886a61b simavr: work on macOS 2018-12-11 14:40:48 -06:00
Matthew Bauer
aa4707fc34 treewide: use gnu toolchain for avr/arm-embedded
These packages should in theory work with our GCC toolchains, but
there are some definite breakages that need to be tracked down.
Comparing output of these to old gcc-arm-embedded is important.

Affected packages include:

- axolooti
- avrdudess
- opentx
- microscheme
- betaflight
- inav
- blackmagic
- simavr
- gnuk
2018-10-30 13:31:45 -05:00
Alexander V. Nikolaev
0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Maximilian Güntner
b22718d51c
simavr: fix build for separate avr toolchain 2017-09-05 13:54:14 +02:00
Vladimír Čunát
cbdcc20e77
sile, simavr: fixup packages with RPATH problems 2017-05-18 11:39:00 +02:00
Tuomas Tynkkynen
5bb99ca0f6 simavr: Disable parallel build
http://hydra.nixos.org/build/49945319/nixlog/1/raw
2017-03-10 01:57:59 +02:00
Bjørn Forsman
96d774747b simavr: 1.3 -> 1.5 (fixes build) 2017-03-01 18:11:40 +01:00
Andrey Trachenko
67e732d8f8
simavr: init at 1.3
Closes https://github.com/NixOS/nixpkgs/pull/15961
2016-10-07 14:11:22 +02:00