this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fish beta overlay

+66 -1
+66 -1
overlays/fish.nix
··· 1 1 final: prev: { 2 2 fish = prev.fish.overrideAttrs (oldAttrs: { 3 - version = "4.0b1"; 3 + version = "4.0.0-beta.1"; 4 4 5 5 src = prev.fetchFromGitHub { 6 6 owner = "fish-shell"; ··· 8 8 rev = "8557c3c48c132a31dffbab6a90326a80f9cae8ec"; 9 9 hash = "sha256-O5xZHXNrJMpjTA2mrTqzMtU/55UArwoc2adc0R6pVl0="; 10 10 }; 11 + nativeBuildInputs = 12 + (oldAttrs.nativeBuildInputs or []) 13 + ++ [ 14 + prev.rustc 15 + prev.cargo 16 + prev.cmake 17 + prev.pkg-config 18 + prev.cacert 19 + prev.git 20 + ]; 21 + 22 + buildInputs = 23 + (oldAttrs.buildInputs or []) 24 + ++ [ 25 + prev.rustc 26 + prev.pcre2 27 + prev.openssl 28 + ]; 29 + 30 + CARGO_HOME = "$NIX_BUILD_TOP/.cargo"; 31 + SSL_CERT_FILE = "${prev.cacert}/etc/ssl/certs/ca-bundle.crt"; 32 + FISH_BUILD_VERSION = "4.0.0-beta.1"; 33 + GIT_CONFIG_NOSYSTEM = "1"; 34 + HOME = "$NIX_BUILD_TOP"; 35 + 36 + # Disable building tests 37 + cmakeFlags = [ 38 + "-DBUILD_DOCS=OFF" 39 + "-DFISH_BUILD_TESTS=OFF" 40 + ]; 41 + 42 + # Skip running tests 43 + doCheck = false; 44 + 45 + preConfigure = '' 46 + # Set up cargo home directory 47 + mkdir -p $CARGO_HOME 48 + 49 + # Initialize git repo with local config 50 + git init 51 + git config --local user.email "fish@example.com" 52 + git config --local user.name "Fish Builder" 53 + git config --local init.defaultBranch main 54 + git add . 55 + git commit -m "Initial commit" 56 + 57 + # Vendor dependencies to avoid network access 58 + cargo vendor 59 + 60 + # Configure cargo to use vendored dependencies 61 + mkdir -p .cargo 62 + cat >.cargo/config.toml <<EOF 63 + [source.crates-io] 64 + replace-with = "vendored-sources" 65 + 66 + [source.vendored-sources] 67 + directory = "vendor" 68 + EOF 69 + ''; 70 + 71 + patchPhase = '' 72 + patchShebangs ./build_tools/ 73 + substituteInPlace share/config.fish \ 74 + --replace-warn "/usr/local" "$out" 75 + ''; 11 76 }); 12 77 }