1
0

feat: rewrite to more nixy flakes

This commit is contained in:
2026-03-10 17:41:28 +01:00
parent 2c8cf957ee
commit d41abb956a
36 changed files with 1610 additions and 779 deletions
+10 -13
View File
@@ -1,21 +1,18 @@
{
pkgs ? import <nixpkgs> { },
...
}:
{ stdenv, fetchurl, ... }:
let
src = pkgs.fetchurl {
src = fetchurl {
url = "https://you.have.fail/tetrioplus/data/tpsefiles/skin/SpooKoArts/simple_connected.zip.tpse";
hash = "sha256-dIrEpEV9Gy2iU6K6rMrNX4XFQEchkJqSmOuQwVF4EQQ=";
};
in
pkgs.stdenv.mkDerivation {
stdenv.mkDerivation {
name = "simple-connected";
version = "2022-06-26";
inherit src;
dontUnpack = true;
dontBuild = true;
dontUnpack = true;
dontBuild = true;
installPhase = ''
runHook preInstall
@@ -23,9 +20,9 @@ pkgs.stdenv.mkDerivation {
runHook postInstall
'';
fixupPhase = ''
runHook preFixup
sed -i 's/\bskin\b/value/' $out
runHook postFixup
'';
fixupPhase = ''
runHook preFixup
sed -i 's/\bskin\b/value/' $out
runHook postFixup
'';
}