This commit is contained in:
GHOSCHT 2024-05-14 19:26:15 +02:00
parent b4401dacda
commit 39d7179b1d
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 31 additions and 8 deletions

View file

@ -1,5 +1,25 @@
{ {
"nodes": { "nodes": {
"nh": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1714905986,
"narHash": "sha256-Vj7iFkLrd7MDeeMVVol5uHTcaLwDq4a3vNx+6Sy1FLU=",
"owner": "viperml",
"repo": "nh",
"rev": "127a23c82aa41091e97466092d2547c08c2a9a9d",
"type": "github"
},
"original": {
"owner": "viperml",
"repo": "nh",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1714409183, "lastModified": 1714409183,
@ -15,6 +35,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"nh": "nh",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }

View file

@ -1,17 +1,19 @@
{ {
description = "A very basic flake"; description = "A very basic flake";
inputs = {
nh = {
url = "github:viperml/nh";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
}: let nh,
...
} @ inputs: let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
in { in {
packages.x86_64-linux.tree = nixpkgs.legacyPackages.x86_64-linux.tree; hydraJobs."tester" = nh.packages.x86_64-linux;
defaultPackage.x86_64-linux = self.packages.x86_64-linux.tree;
hydraJobs."tester2" = self.defaultPackage;
hydraJobs."tester" = pkgs.neo-cowsay;
}; };
} }