diff --git a/builds/st.nix b/builds/st.nix index 0121835..fa428cf 100644 --- a/builds/st.nix +++ b/builds/st.nix @@ -14,10 +14,7 @@ stdenv.mkDerivation rec { pname = "st"; version = "1.02"; - src = fetchgit { - url = "https://git.beepboop.systems/rndusr/st"; - sha256 = "sha256-zdID1SUnTO/zl90EG8TguBNYYCnrnqFnSLz32kQZbng="; - }; + src = ./st; nativeBuildInputs = [ pkg-config fontconfig freetype ncurses ]; buildInputs = [ libX11 libXft ] ++ extraLibs; diff --git a/builds/st/config.h b/builds/st/config.h index b14cde7..b1f9552 100644 --- a/builds/st/config.h +++ b/builds/st/config.h @@ -91,7 +91,7 @@ char *termname = "st-256color"; */ unsigned int tabspaces = 8; -#include +#include "colors.h" /* * Default colors (colorname index) diff --git a/flake.lock b/flake.lock index 02f83f7..dbcef2d 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,21 @@ { "nodes": { + "base16-schemes": { + "flake": false, + "locked": { + "lastModified": 1696158499, + "narHash": "sha256-5yIHgDTPjoX/3oDEfLSQ0eJZdFL1SaCfb9d6M0RmOTM=", + "owner": "tinted-theming", + "repo": "base16-schemes", + "rev": "a9112eaae86d9dd8ee6bb9445b664fba2f94037a", + "type": "github" + }, + "original": { + "owner": "tinted-theming", + "repo": "base16-schemes", + "type": "github" + } + }, "blobs": { "flake": false, "locked": { @@ -112,6 +128,25 @@ "type": "github" } }, + "nix-colors": { + "inputs": { + "base16-schemes": "base16-schemes", + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1707825078, + "narHash": "sha256-hTfge2J2W+42SZ7VHXkf4kjU+qzFqPeC9k66jAUBMHk=", + "owner": "misterio77", + "repo": "nix-colors", + "rev": "b01f024090d2c4fc3152cd0cf12027a7b8453ba1", + "type": "github" + }, + "original": { + "owner": "misterio77", + "repo": "nix-colors", + "type": "github" + } + }, "nix-formatter-pack": { "inputs": { "nixpkgs": [ @@ -224,6 +259,21 @@ "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1697935651, + "narHash": "sha256-qOfWjQ2JQSQL15KLh6D7xQhx0qgZlYZTYlcEiRuAMMw=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "e1e11fdbb01113d85c7f41cada9d2847660e3902", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1705856552, @@ -308,6 +358,7 @@ "firefox-addons": "firefox-addons", "home-manager": "home-manager", "home-manager-phone": "home-manager-phone", + "nix-colors": "nix-colors", "nix-on-droid": "nix-on-droid", "nixpkgs": "nixpkgs", "phone-nixpkgs": "phone-nixpkgs",