diff options
Diffstat (limited to 'examples/nixpkgs-simple/flake.nix')
| -rw-r--r-- | examples/nixpkgs-simple/flake.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/nixpkgs-simple/flake.nix b/examples/nixpkgs-simple/flake.nix new file mode 100644 index 0000000..2903230 --- /dev/null +++ b/examples/nixpkgs-simple/flake.nix @@ -0,0 +1,18 @@ +{ + outputs = + { self }: + let + nixpkgs = (builtins.fromJSON (builtins.readFile "${self}/yae.json")).nixpkgs; + + pkgs = + import + (builtins.fetchTarball { + inherit (nixpkgs) url sha256; + }) + { + }; + in + { + packages.${pkgs.system}.hello = pkgs.hello; + }; +} |