From e062151cd5c9ec547469d3c232a0badf81688d02 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:05:45 +0200 Subject: [PATCH 1/3] nix flake.lock update --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index d39bc639e0..eb92a746c7 100644 --- a/flake.lock +++ b/flake.lock @@ -21,11 +21,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1694529238, - "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -44,11 +44,11 @@ ] }, "locked": { - "lastModified": 1685908677, - "narHash": "sha256-E4zUPEUFyVWjVm45zICaHRpfGepfkE9Z2OECV9HXfA4=", + "lastModified": 1710868679, + "narHash": "sha256-V1o2bCZdeYKP/0zgVp4EN0KUjMItAMk6J7SvCXUI5IU=", "owner": "guibou", "repo": "nixGL", - "rev": "489d6b095ab9d289fe11af0219a9ff00fe87c7c5", + "rev": "d709a8abcde5b01db76ca794280745a43c8662be", "type": "github" }, "original": { @@ -92,11 +92,11 @@ ] }, "locked": { - "lastModified": 1695694299, - "narHash": "sha256-0CucEiOZzOVHwmGDJKNXLj7aDYOqbRtqChp9nbGrh18=", + "lastModified": 1712369449, + "narHash": "sha256-tbWug3uXPlSm1j0xD80Y3xbP+otT6gLnQo1e/vQat48=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "c89a55d2d91cf55234466934b25deeffa365188a", + "rev": "41b3b080cc3e4b3a48e933b87fc15a05f1870779", "type": "github" }, "original": { From 686e1b91464fde632f47f8d1ff02bf32d0aebac6 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Sat, 6 Apr 2024 14:16:40 +0200 Subject: [PATCH 2/3] updated flake.nix as well --- flake.lock | 8 ++++---- flake.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index eb92a746c7..9557dd4607 100644 --- a/flake.lock +++ b/flake.lock @@ -59,17 +59,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1702900294, - "narHash": "sha256-pt7sSoJYNw3n8YtXw0Z/Nnr6/PfY2YrjDvqboErXnRM=", + "lastModified": 1712163089, + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "886c9aee6ca9324e127f9c2c4e6f68c2641c8256", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" }, "original": { "owner": "nixos", "repo": "nixpkgs", - "rev": "886c9aee6ca9324e127f9c2c4e6f68c2641c8256", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" } }, diff --git a/flake.nix b/flake.nix index fa419b0a02..5d15354acd 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Roc flake"; inputs = { - nixpkgs.url = "github:nixos/nixpkgs?rev=886c9aee6ca9324e127f9c2c4e6f68c2641c8256"; + nixpkgs.url = "github:nixos/nixpkgs?rev=fd281bd6b7d3e32ddfa399853946f782553163b5"; # rust from nixpkgs has some libc problems, this is patched in the rust-overlay rust-overlay = { From 5801bc5df5497a85e27133e7e312bfae359da5ce Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Sat, 6 Apr 2024 15:34:59 +0200 Subject: [PATCH 3/3] workaround should no longer be needed --- crates/cli/build.rs | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 crates/cli/build.rs diff --git a/crates/cli/build.rs b/crates/cli/build.rs deleted file mode 100644 index 5d171b71cf..0000000000 --- a/crates/cli/build.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn main() { - // workaround for issue https://github.com/NixOS/nixpkgs/issues/166205 . This println can be removed when this issue is fixed. Upgrading to LLVM 14 could also fix this issue. - // also see https://github.com/NixOS/nixpkgs/pull/181485 - #[cfg(all(target_os = "macos", target_arch = "aarch64"))] - println!("cargo:rustc-link-lib=c++abi") -}