nixpkgs-fmt

This commit is contained in:
zimbatm 2021-03-08 12:17:56 +01:00
parent 70854a5310
commit e850799428
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7
8 changed files with 16 additions and 15 deletions

View file

@ -1,17 +1,18 @@
_: pkgs: let
_: pkgs:
let
importDir = import ./lib/importDir.nix {
inherit (pkgs) lib;
};
in
{
# builder stuff can be in the top-level
buildCLIImage = pkgs.callPackage ./lib/buildCLIImage.nix {};
buildCLIImage = pkgs.callPackage ./lib/buildCLIImage.nix { };
# docker images must be lower-cased
docker-nixpkgs = importDir (path: pkgs.callPackage path {}) ./images;
docker-nixpkgs = importDir (path: pkgs.callPackage path { }) ./images;
# used to build nix-env compatible user environments
mkUserEnvironment = pkgs.callPackage ./lib/mkUserEnvironment.nix {};
mkUserEnvironment = pkgs.callPackage ./lib/mkUserEnvironment.nix { };
# gitMinimal still ships with perl and python
gitReallyMinimal = (