nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

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

at fix-function-merge 26 lines 512 B view raw
1{ lib 2, stdenv 3, callPackage 4, autoPatchelfHook 5, src 6}: 7 8(stdenv.mkDerivation { 9 inherit (src) name; 10 inherit src; 11 12 nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook; 13 14 installPhase = '' 15 runHook preInstall 16 17 mkdir -p "$out/bin" 18 cp -r . "$out/bin/cache" 19 20 runHook postInstall 21 ''; 22}).overrideAttrs ( 23 if builtins.pathExists (./overrides + "/${src.flutterPlatform}.nix") 24 then callPackage (./overrides + "/${src.flutterPlatform}.nix") { } 25 else ({ ... }: { }) 26)