mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
flake.nix: Update to latest flake schema
This commit is contained in:
parent
d83a46b61f
commit
f7074712e8
1 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
outputs = { self, nixpkgs, utils }:
|
||||
{
|
||||
overlay = import ./overlay.nix;
|
||||
overlays.default = import ./overlay.nix;
|
||||
} //
|
||||
(utils.lib.eachDefaultSystem
|
||||
(system:
|
||||
|
@ -15,13 +15,13 @@
|
|||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
self.overlay
|
||||
self.overlays.default
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
defaultPackage = pkgs.callPackage ./default.nix { };
|
||||
devShell = import ./shell.nix { inherit pkgs; };
|
||||
packages.default = pkgs.callPackage ./default.nix { };
|
||||
devShells.default = import ./shell.nix { inherit pkgs; };
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue