fresh
parent
e76eba2e7a
commit
ba18afbaf2
|
@ -0,0 +1,12 @@
|
|||
# We use top-level nix-flake, so default.nix is basically just a wrapper around ./flake.nix
|
||||
(import
|
||||
(
|
||||
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
|
||||
fetchTarball {
|
||||
url = "https://git.pegasust.com/pegasust/boost/archive/${lock.nodes.boost.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.boost.locked.narHash;
|
||||
}.flake-compat
|
||||
)
|
||||
{ src = ./.; }
|
||||
).defaultNix
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
description = "Start your Nix cluster here";
|
||||
nixConfig = {
|
||||
accept-flake-config = true;
|
||||
experimental-features = "nix-command flakes";
|
||||
# for darwin's browser
|
||||
allowUnsupportedSystem = true;
|
||||
};
|
||||
inputs = {
|
||||
boost.url = "git+https://git.pegasust.com/pegasust/boost-nix.git";
|
||||
flake-compat.url = "github:edolstra/flake-compat";
|
||||
};
|
||||
|
||||
outputs = {boost, ...}@flakes: let
|
||||
inherit (boost) lib overlays pkgs;
|
||||
inherit (lib) forEachSystem stdx sys utils;
|
||||
in utils.repos.mkConfigurations {
|
||||
users = utils.user.mkConfigurations [];
|
||||
hosts = utils.host.mkConfigurations [];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
# We use top-level nix-flake, so default.nix is basically just a wrapper around ./flake.nix
|
||||
(import
|
||||
(
|
||||
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
|
||||
fetchTarball {
|
||||
url = "https://git.pegasust.com/pegasust/boost/archive/${lock.nodes.boost.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.boost.locked.narHash;
|
||||
}.flake-compat
|
||||
)
|
||||
{ src = ./.; }
|
||||
).result.secrets
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
(import
|
||||
(
|
||||
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
|
||||
fetchTarball {
|
||||
url = "https://git.pegasust.com/pegasust/boost/archive/${lock.nodes.boost.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.boost.locked.narHash;
|
||||
}.flake-compat
|
||||
)
|
||||
{ src = ./.; }
|
||||
).shellNix
|
||||
|
Loading…
Reference in New Issue