-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
50 changed files
with
163 additions
and
62 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,3 +128,6 @@ dist | |
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
|
||
# nohup | ||
nohup.out |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ pkgs ? let | ||
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked; | ||
nixpkgs = fetchTarball { | ||
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz"; | ||
sha256 = lock.narHash; | ||
}; | ||
in | ||
import nixpkgs { overlays = [ ]; } | ||
, ... | ||
}: pkgs.stdenv.mkDerivation rec { | ||
pname = "gate"; | ||
version = "0.1.0"; | ||
|
||
src = ./src; | ||
|
||
installPhase = '' | ||
mkdir -p $out/www | ||
ls -la ./ | ||
''; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
description = "Kolyma's Homepage"; | ||
|
||
# inputs are other flakes you use within your own flake, dependencies | ||
# for your flake, etc. | ||
inputs = { | ||
# Nixpkgs | ||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; | ||
|
||
# You can access packages and modules from different nixpkgs revs | ||
# at the same time. Here's an working example: | ||
# nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; | ||
# Also see the 'unstable-packages' overlay at 'overlays/home.nix'. | ||
|
||
# Flake utils for eachSystem | ||
flake-utils.url = "github:numtide/flake-utils"; | ||
}; | ||
|
||
outputs = | ||
{ nixpkgs | ||
, flake-utils | ||
, ... | ||
}: flake-utils.lib.eachDefaultSystem (system: | ||
let | ||
pkgs = nixpkgs.legacyPackages.${system}; | ||
in | ||
# Nixpkgs packages for the current system | ||
{ | ||
# Formatter for your nix files, available through 'nix fmt' | ||
# Other options beside 'alejandra' include 'nixpkgs-fmt' | ||
formatter = pkgs.nixpkgs-fmt; | ||
|
||
# Development shells | ||
devShells.default = import ./shell.nix { inherit pkgs; }; | ||
|
||
# Output packages | ||
packages.default = pkgs.callPackage ./. { }; | ||
}); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ pkgs ? let | ||
lock = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.nixpkgs.locked; | ||
nixpkgs = fetchTarball { | ||
url = "https://github.com/nixos/nixpkgs/archive/${lock.rev}.tar.gz"; | ||
sha256 = lock.narHash; | ||
}; | ||
in | ||
import nixpkgs { overlays = [ ]; } | ||
, ... | ||
}: pkgs.stdenv.mkDerivation { | ||
name = "gate"; | ||
|
||
nativeBuildInputs = with pkgs; [ | ||
nix | ||
nil | ||
nixd | ||
nixpkgs-fmt | ||
git | ||
]; | ||
|
||
NIX_CONFIG = "extra-experimental-features = nix-command flakes"; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.