mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
Merge master into haskell-updates
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{ lib, stdenv, fetchgit, fetchpatch, gcc, unstableGitUpdater }:
|
||||
{ lib, stdenv, fetchgit, gcc, unstableGitUpdater }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
pname = "cakelisp";
|
||||
# using unstable as it's the only version that builds against gcc-13
|
||||
version = "0.3.0-unstable-2023-12-18";
|
||||
version = "0.3.0-unstable-2024-02-21";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://macoy.me/code/macoy/cakelisp";
|
||||
rev = "866fa2806d3206cc9dd398f0e86640db5be42bd6";
|
||||
hash = "sha256-vwMZUNy+updwk69ahA/D9LhO68eV6wH0Prq+o/i1Q/A=";
|
||||
rev = "75ce620b265bf83c6952c0093df2b9d4f7f32a54";
|
||||
hash = "sha256-X+tWq2QQogy4d042pcVuldc80jcClYtV09Jr91rHJl4=";
|
||||
};
|
||||
|
||||
buildInputs = [ gcc ];
|
||||
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=format";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 bin/cakelisp -t $out/bin
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, fetchurl
|
||||
, coreutils, cctools
|
||||
, darwin
|
||||
, ncurses, libiconv, libX11, libuuid, testers
|
||||
}:
|
||||
|
||||
@@ -12,7 +13,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-03GZASte0ZhcQGnWqH/xjl4fWi3yfkApkfr0XcTyIyw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin cctools;
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [
|
||||
cctools
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
darwin.autoSignDarwinBinariesHook
|
||||
];
|
||||
buildInputs = [ ncurses libiconv libX11 libuuid ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@@ -20,10 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
|
||||
|
||||
/*
|
||||
** We patch out a very annoying 'feature' in ./configure, which
|
||||
** tries to use 'git' to update submodules.
|
||||
**
|
||||
** We have to also fix a few occurrences to tools with absolute
|
||||
** We have to fix a few occurrences to tools with absolute
|
||||
** paths in some helper scripts, otherwise the build will fail on
|
||||
** NixOS or in any chroot build.
|
||||
*/
|
||||
|
||||
@@ -12,13 +12,13 @@ let
|
||||
inherit (llvmPackages) stdenv;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "odin";
|
||||
version = "dev-2024-02";
|
||||
version = "dev-2024-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "odin-lang";
|
||||
repo = "Odin";
|
||||
rev = version;
|
||||
hash = "sha256-v9A0+kgREXALhnvFYWtE0+H4L7CYnyje+d2W5+/ZvHA=";
|
||||
hash = "sha256-oK5OcWAZy9NVH19oep6QU4d5qaiO0p+d9FvxDIrzFLU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user