15 lines
306 B
Nix
15 lines
306 B
Nix
|
{
|
||
|
description = "A basic flake with a shell";
|
||
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||
|
|
||
|
outputs = { nixpkgs, ... }:
|
||
|
let
|
||
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||
|
in
|
||
|
{
|
||
|
devShells."x86_64-linux".default = pkgs.mkShell {
|
||
|
packages = [ pkgs.go ];
|
||
|
};
|
||
|
};
|
||
|
}
|