Files
dshackle/nix/release.nix
Aldo b6a05d67df solution: use gradle 7.2
Co-authored-by: Brian McGee <brian@41north.dev>
2021-11-11 21:36:32 -05:00

17 lines
565 B
Nix

# Use this file with nix-build-uncached on CI
{ system ? builtins.currentSystem }:
let
nixpkgs = import ./nixpkgs.nix { inherit system; };
# This is used to wrap all of our outputs, so they all end-up in the cache.
#
# There are two attributes ` allowSubstitutes = false;` and
# `preferLocalBuild = true;` that influence how derivations gets pulled and
# pushed.
forceCached = import ./lib/force_cached.nix nixpkgs.coreutils;
# All the packages that we care about
ourPackages = import ./. { inherit nixpkgs system; };
in
forceCached ourPackages