all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cargo-build-system: cargo-build-flags: --cfg=unix in package recipe
@ 2017-01-03  1:10 Danny Milosavljevic
  2017-01-03  1:46 ` Danny Milosavljevic
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Danny Milosavljevic @ 2017-01-03  1:10 UTC (permalink / raw)
  To: guix-devel, David Craven

Hi,

so it seems I got the cargo-build-system to work for large-ish Rust dependency trees now. It still can't pick up transitive dependencies but hey :P

However, some of the Rust crates have a "windows" target which fails.

For these I'd like to pass "--cfg=unix" and I'd like to put it into the package recipe and not hardcode it into the build system.

I saw that there's a "cargo-build-flags" parameter. However, specifying it like

  (arguments
   `(#:cargo-build-flags '("--cfg=unix" "--release")))

gives me "invalid keyword argument"... 

Why?

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-01-04 13:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-03  1:10 cargo-build-system: cargo-build-flags: --cfg=unix in package recipe Danny Milosavljevic
2017-01-03  1:46 ` Danny Milosavljevic
2017-01-03  2:32 ` Danny Milosavljevic
2017-01-03 10:57   ` David Craven
2017-01-03 11:55     ` Danny Milosavljevic
2017-01-04 11:38       ` ng0
2017-01-04 11:45         ` David Craven
2017-01-04 13:26           ` Danny Milosavljevic
2017-01-04 13:44             ` ng0
2017-01-03 20:10     ` Danny Milosavljevic
2017-01-03 11:19 ` ng0
2017-01-03 12:02   ` Danny Milosavljevic
2017-01-03 14:09     ` ng0
2017-01-03 14:38       ` David Craven

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.