1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 02:01:48 +02:00

Fix 'nix flake init'

This commit is contained in:
Eelco Dolstra 2019-10-15 19:53:29 +02:00
parent 7d38060a0d
commit 14a89aa8cd
2 changed files with 9 additions and 8 deletions

View file

@ -1,15 +1,11 @@
{
name = "hello";
description = "A flake for building Hello World";
epoch = 201906;
edition = 201909;
requires = [ "nixpkgs" ];
outputs = { self, nixpkgs }: {
provides = deps: rec {
packages.hello = deps.nixpkgs.provides.packages.hello;
packages.x86_64-linux.hello = nixpkgs.packages.x86_64-linux.hello;
};
}