Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | default-crate-overrides: add libseat-sys | Adam Joseph | 2023-08-26 |
| | | | | | | This is needed for building `cosmic-comp` using `crate2nix` instead of `buildRustPackage` (like https://github.com/NixOS/nixpkgs/pull/251365/ does). | ||
* | Merge #239191: treewide: gobject-introspection from buildInputs to ↵ | Vladimír Čunát | 2023-07-26 |
|\ | | | | | | | | | | | nativeBuildInputs ...into staging | ||
| * | treewide: gobject-introspection from buildInputs to nativeBuildInputs | Artturin | 2023-06-28 |
| | | | | | | | | | | gobject-introspection should be in nativeBuildInputs for cross to work properly (so propagations and hook work properly) | ||
* | | Merge staging-next into staging | github-actions[bot] | 2023-07-22 |
|\ \ | |||
| * \ | Merge pull request #239624 from Stunkymonkey/use-optionalString-then | Felix Bühler | 2023-07-22 |
| |\ \ | | | | | | | | | treewide: use optionalString instead of 'then ""' | ||
| | * | | treewide: use optionalString instead of 'then ""' | Felix Buehler | 2023-06-24 |
| | |/ | |||
* | / | rustPlatform.maturinBuildHook: fix postBuild hook to use ./dist contract | David Arnold | 2023-07-16 |
|/ / | |||
* | | importCargoLock: fix git dep config file | linsui | 2023-06-29 |
| | | |||
* | | Merge master into staging-next | github-actions[bot] | 2023-06-25 |
|\ \ | |||
| * | | treewide: use optionalAttrs instead of 'else {}' | Felix Buehler | 2023-06-25 |
| | | | |||
* | | | Merge staging-next into staging | github-actions[bot] | 2023-06-22 |
|\| | | |||
| * | | tests.importCargoLock.maturin: reexport maturin.tests.pyo3 | figsoda | 2023-06-19 |
| |/ | | | | | | | This allows the Cargo.lock to be removed, since the 2 packages are mostly identical | ||
* | | Merge pull request #236490 from alyssais/cargo-strip | figsoda | 2023-06-20 |
|\ \ | |/ |/| | |||
| * | rustPlatform.cargoBuildHook: don't let cargo strip | Alyssa Ross | 2023-06-20 |
| | | | | | | | | | | This fixes debug info of cloud-hypervisor, which recently added strip = true to its release profile in Cargo.toml. | ||
* | | Revert "build-rust-{crate,package}: cleanups" | Guillaume Girol | 2023-06-18 |
| | | |||
* | | Merge master into staging-next | github-actions[bot] | 2023-06-16 |
|\ \ | |||
| * \ | Merge pull request #237984 from lopsided98/rustc-armv6l | figsoda | 2023-06-15 |
| |\ \ | |||
| | * | | rustc: add armv6l-linux to platforms | Ben Wolsieffer | 2023-06-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | armv6l-linux was incorrectly added to the list of platforms without host tools in #227987. arm-unknown-linux-gnueabihf is present in the list of Tier 2 targets with host tools, and this target corresponds to our armv6l-linux platform. | ||
| * | | | build-rust-package: remove unused input | Sandro Jäckel | 2023-06-15 |
| | | | | |||
| * | | | build-rust-crate: cleanup with statix | Sandro Jäckel | 2023-06-15 |
| |/ / | |||
* | | | Merge staging-next into staging | github-actions[bot] | 2023-06-10 |
|\| | | |||
| * | | treewide: "libary" -> "library" | Daniel Nagy | 2023-06-10 |
| |/ | |||
* / | rustPlatform.fetchCargoTarball: remove explicit sparse protocol | figsoda | 2023-06-02 |
|/ | | | | sparse protocol is now the default since rust 1.70 | ||
* | fetchCrate: fix registryDl | figsoda | 2023-05-28 |
| | | | | follow up to #234066, since I made a mistake | ||
* | fetchCrate: allow overriding `registryDl` | figsoda | 2023-05-25 |
| | | | | | This will allow `rustPlatform.importCargoLock` to use `fetchCrate` directly instead of including its own implementation. | ||
* | Merge pull request #228928 from DeeUnderscore/fix/replace-workspace-values-bool | figsoda | 2023-05-18 |
|\ | |||
| * | rustPlatform.importCargoLock: fix [package] section handling | D Anzorge | 2023-04-29 |
| | | | | | | | | | | | | | | Members of the [package] table in Cargo.toml can be either subtables, or values like strings and bools. Python is happy to check for membership of "workspace" in a string, since Python strings are iterables, but if the value is a bool, Python will throw an exception. | ||
* | | buildRustPackage: disable auditing if it's broken | Alyssa Ross | 2023-05-09 |
|/ | | | | | | See also: ad3a5326580 ("rust/cargo.nix: disable audit if audit.meta.broken") Fixes cross eval of clippy. | ||
* | rustc,rustPlatform.buildRustPackage: broaden platforms | Alyssa Ross | 2023-04-25 |
| | | | | | | | | | | rustc supports way more platforms than Linux and Darwin. We might not be able to build it for every platform at the moment, but that's what meta.broken is for. There are other platforms that rustc can produce binaries for, but can't run on itself, so those are listed in the defaults for buildRustPackage. | ||
* | rustPlatform.buildRustPackage: fix cross | Alyssa Ross | 2023-04-24 |
| | | | | | .override breaks splicing, so this was using the shell for the host platform. | ||
* | Merge pull request #190610 from amjoseph-nixpkgs/pr/build-rust-crate/gdk3 | Artturi | 2023-04-22 |
|\ | |||
| * | default-crate-overrides.nix: add gtk-sys (gtk3) | Adam Joseph | 2023-01-15 |
| | | |||
* | | build-rust-crate: dontStrip=!release | Adam Joseph | 2023-04-12 |
| | | | | | | | | | | | | | | | | | | | | | | Without this PR, unlike `RUST_LIB_BACKTRACE=1 cargo run` you won't get line numbers in backtraces from binaries built with: ``` nix build -f Cargo.nix --arg release false ``` This PR fixes that. | ||
* | | Merge master into staging-next | github-actions[bot] | 2023-04-09 |
|\ \ | |||
| * | | https://github.com/NixOS/nixpkgs/pull/224893#pullrequestreview-1375521876 | Adam Joseph | 2023-04-06 |
| | | | |||
| * | | default-crate-overrides.nix: prevent `git fetch` | Adam Joseph | 2023-04-06 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build.rs script shipped with evdev-sys attempts to detect cross compilation and uses a completely different codepath which does a `git fetch` inside the build script. This doesn't work in nixpkgs. This PR adds a `touch libevdev/.git` to trick the `build.rs` into thinking that it is not necessary to do a `git fetch`. Thanks to @figsoda for finding this more-elegant solution to the problem (my original solution needed to patch `build.rs`): https://github.com/NixOS/nixpkgs/pull/224893#pullrequestreview-1373809617 Tested on: - [x] `aarch64-linux` (cross from `x86_64-linux`) | ||
* | | | Merge master into staging-next | github-actions[bot] | 2023-04-06 |
|\| | | |||
| * | | default-crate-overrides.nix: prost-build needs protobuf | Adam Joseph | 2023-04-05 |
| | | | |||
* | | | rustPlatform.buildRustPackage: make auditable the default | figsoda | 2023-03-26 |
| | | | |||
* | | | rustPlatform.fetchCargoTarball: use sparse protocol for crates.io | zowoq | 2023-03-27 |
| | | | |||
* | | | Merge staging-next into staging | github-actions[bot] | 2023-03-26 |
|\| | | |||
| * | | rustPlatform.fetchCargoTarball: fail on git dependencies | Yureka | 2023-03-26 |
| | | | | | | | | | | | | | | | | | | | | | The reason is that we can not expect the extended logic run on git dependencies starting from Cargo 1.68 to be reproducible in future versions, and thus the output hash would not be sufficiently stable. https://github.com/rust-lang/cargo/pull/11414 | ||
| * | | rustPlatform.importCargoLock: follow symlinks when copying tree | Yureka | 2023-03-26 |
| | | | | | | | | | | | | | | | | | | fixes build when git dependencies contain symlinks into parent directory needed for libdeltachat | ||
| * | | rustPlatform.importCargoLock: always fetch submodules when builtins.fetchGit ↵ | Yureka | 2023-03-26 |
| | | | | | | | | | | | | is used | ||
* | | | Merge staging-next into staging | github-actions[bot] | 2023-03-24 |
|\| | | |||
| * | | rustPlatform.importCargoLock: handle workspace Cargo.toml false positives | D Anzorge | 2023-03-24 |
| | | | | | | | | | | | | | | | | | | Since we grep for 'workspace', it's possible the script ends up running on a Cargo.toml that has the word 'workspace' in a comment, but does not actually use workspaces | ||
| * | | Merge pull request #215408 from astro/rust-sysroot | zowoq | 2023-03-24 |
| |\ \ | |||
| | * | | build-support/rust: allow cross-compiling the sysroot | Astro | 2023-03-12 |
| | | | | |||
| | * | | build-support/rust/sysroot: let cargo-src crate become no_std | Astro | 2023-03-12 |
| | | | | |||
| | * | | build-support/rust/sysroot: update Cargo.lock | Astro | 2023-03-12 |
| | | | |