build: add nix to pkgs
All checks were successful
Build and push Docker image / build-and-publish (push) Successful in 6m11s

This commit is contained in:
Hamcha 2024-03-30 20:48:55 +01:00
parent aa1823a43a
commit 75260da0a8
3 changed files with 96 additions and 10 deletions

View file

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -36,20 +52,58 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "libgit2": {
"flake": false,
"locked": { "locked": {
"lastModified": 1701040486, "lastModified": 1697646580,
"narHash": "sha256-vawYwoHA5CwvjfqaT3A5CT9V36Eq43gxdwpux32Qkjw=", "narHash": "sha256-oX4Z3S9WtJlwvj0uH9HlYcWv+x1hqp8mhXl7HsLu2f0=",
"owner": "NixOS", "owner": "libgit2",
"repo": "nixpkgs", "repo": "libgit2",
"rev": "45827faa2132b8eade424f6bdd48d8828754341a", "rev": "45fd9ed7ae1a9b74b957ef4f337bc3c8b3df01b5",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "owner": "libgit2",
"repo": "libgit2",
"type": "github"
}
},
"nix": {
"inputs": {
"flake-compat": "flake-compat",
"libgit2": "libgit2",
"nixpkgs": "nixpkgs",
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
"lastModified": 1711812209,
"narHash": "sha256-3uijtGKH6tvQtXIhWzGojSVnoYvc0daAGA4LD0lV+Pc=",
"owner": "NixOS",
"repo": "nix",
"rev": "9b88e5284608116b7db0dbd3d5dd7a33b90d52d7",
"type": "github"
},
"original": {
"id": "nix",
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs": {
"locked": {
"lastModified": 1709083642,
"narHash": "sha256-7kkJQd4rZ+vFrzWu8sTRtta5D1kBG0LSRYAfhtmMlSo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b550fe4b4776908ac2a861124307045f8e717c8e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"dir": "lib", "dir": "lib",
@ -68,7 +122,37 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-regression": {
"locked": {
"lastModified": 1643052045,
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1701040486,
"narHash": "sha256-vawYwoHA5CwvjfqaT3A5CT9V36Eq43gxdwpux32Qkjw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "45827faa2132b8eade424f6bdd48d8828754341a",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1681358109, "lastModified": 1681358109,
"narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=", "narHash": "sha256-eKyxW4OohHQx9Urxi7TQlFBTDWII+F+x2hklDOQPB50=",
@ -87,7 +171,8 @@
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nixpkgs": "nixpkgs", "nix": "nix",
"nixpkgs": "nixpkgs_2",
"rust-crate2nix": "rust-crate2nix", "rust-crate2nix": "rust-crate2nix",
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
} }
@ -111,7 +196,7 @@
"rust-overlay": { "rust-overlay": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1701137803, "lastModified": 1701137803,

View file

@ -13,6 +13,7 @@
outputs = outputs =
inputs @ { self inputs @ { self
, nixpkgs , nixpkgs
, nix
, flake-parts , flake-parts
, rust-overlay , rust-overlay
, rust-crate2nix , rust-crate2nix

View file

@ -35,7 +35,7 @@ in
description = "Scatting system management"; description = "Scatting system management";
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
environment.STAX_ARION_BIN = "${getBin pkgs.arion}/bin/arion"; environment.STAX_ARION_BIN = "${pkgs.arion}/bin/arion";
environment.STAX_DIR = cfg.stackDir; environment.STAX_DIR = cfg.stackDir;
environment.STAX_BIND = cfg.bindAddress; environment.STAX_BIND = cfg.bindAddress;