silly goober bot

build(nix): simplify with new apis

+2 -19
+2 -19
default.nix
··· 1 1 { 2 2 lib, 3 3 rustPlatform, 4 - stdenv, 5 4 openssl, 6 - darwin, 7 5 pkg-config, 8 6 rev ? "dirty", 9 7 }: ··· 25 23 ); 26 24 }; 27 25 28 - cargoLock = { 29 - lockFile = ./Cargo.lock; 30 - outputHashes = { 31 - "git-tracker-0.2.0" = "sha256-ZOD/8Wjn7lNZjpiOLBwmYCcEe8tYmxxDMhhiWJViGws="; 32 - }; 33 - }; 26 + cargoLock.lockFile = ./Cargo.lock; 34 27 35 - buildInputs = 36 - [ openssl ] 37 - ++ lib.optionals stdenv.isDarwin ( 38 - with darwin.apple_sdk.frameworks; 39 - [ 40 - Security 41 - CoreFoundation 42 - SystemConfiguration 43 - ] 44 - ); 45 - 28 + buildInputs = [ openssl ]; 46 29 nativeBuildInputs = [ pkg-config ]; 47 30 48 31 env = {