Commit Graph

12 Commits

Author SHA1 Message Date
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Fabian Affolter
6c33bd35e2
termscp: add changelog to meta 2023-02-21 23:42:42 +01:00
Fabian Affolter
13c5fbef8b termscp: 0.10.0 -> 0.11.0
Diff: https://github.com/veeso/termscp/compare/v0.10.0...v0.11.0
2023-02-21 23:36:28 +01:00
zendo
1713bda2bf termscp: 0.9.0 -> 0.10.0 2022-10-27 09:40:09 +08:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Francesco Gazzetta
1a322c85b7 termscp: 0.8.2 -> 0.9.0
Co-authored-by: Stanisław Pitucha <git@viraptor.info>
2022-07-26 16:50:44 +02:00
Fabian Affolter
619890782f termscp: 0.8.1 -> 0.8.2 2022-04-27 23:12:15 +02:00
R. Ryantm
4455bb3438 termscp: 0.8.0 -> 0.8.1 2022-04-06 20:13:02 +00:00
Fabian Affolter
9b830a41f5 termscp: 0.7.0 -> 0.8.0 2022-01-06 22:52:29 +01:00
Mark Mulder
78f07d0f89
termscp: fix darwin build
I was running into Foundation.h errors during compilation on mac/darwin,
adding Foundation fixes that for me.

Error:

```
The following warnings were emitted during compilation:

warning: In file included from objc/notify.m:1:
warning: objc/notify.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
warning: #import <Foundation/Foundation.h>
warning:         ^~~~~~~~~~~~~~~~~~~~~~~~~
warning: 1 error generated.

error: failed to run custom build command for `mac-notification-sys v0.3.0`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installEt3UWW/release/build/mac-notification-sys-f414f8995c05e541/build-script-build` (exit status: 1)
  --- stdout
  TARGET = Some("x86_64-apple-darwin")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-apple-darwin")
  CC_x86_64-apple-darwin = None
  CC_x86_64_apple_darwin = None
  HOST_CC = None
  CC = Some("clang")
  CFLAGS_x86_64-apple-darwin = None
  CFLAGS_x86_64_apple_darwin = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  running: "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-apple-darwin" "-fmodules" "-o" "/tmp/cargo-installEt3UWW/release/build/mac-notification-sys-ce5dd87fdfef4721/out/objc/notify.o" "-c" "objc/notify.m"
  cargo:warning=In file included from objc/notify.m:1:
  cargo:warning=objc/notify.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
  cargo:warning=#import <Foundation/Foundation.h>
  cargo:warning=        ^~~~~~~~~~~~~~~~~~~~~~~~~
  cargo:warning=1 error generated.
  exit status: 1

  --- stderr

  error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-apple-darwin" "-fmodules" "-o" "/tmp/cargo-installEt3UWW/release/build/mac-notification-sys-ce5dd87fdfef4721/out/objc/notify.o" "-c" "objc/notify.m" with args "clang" did not execute successfully (status code exit status: 1).

warning: build failed, waiting for other jobs to finish...
error: failed to compile `termscp v0.7.0`, intermediate artifacts can be found at `/tmp/cargo-installEt3UWW`

Caused by:
  build failed
```
2021-11-08 17:21:33 +01:00
Fabian Affolter
145736a0d7 termscp: init at 0.7.0 2021-10-17 19:56:47 +02:00