Update dependencies

This commit is contained in:
Charlotte Van Petegem 2022-09-28 15:28:09 +02:00
parent 5ff35c24c2
commit c0ee886178
No known key found for this signature in database
GPG key ID: 019E764B7184435A
9 changed files with 28 additions and 9410 deletions

View file

@ -1,16 +0,0 @@
{
"name": "tetris",
"version": "1.0.0",
"browserslist": "> 0.5%, last 2 versions, not dead",
"scripts": {
"dev": "parcel src/index.html",
"build": "parcel build src/index.html"
},
"devDependencies": {
"@parcel/core": "^2.0.1",
"@parcel/config-default": "^2.0.1",
"@parcel/transformer-typescript-tsc": "^2.0.1",
"parcel": "^2.0.1",
"typescript": "^4.5.0"
}
}

View file

@ -1,5 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -p curl yarn2nix -i bash
curl -L -O https://github.com/chvp/tetris/raw/main/package.json
curl -L -O https://github.com/chvp/tetris/raw/main/yarn.lock
yarn2nix --lockfile yarn.lock --no-patch > yarn.nix

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@ let
xdgUserDirs = pkgs.xdg-user-dirs;
};
in
pkgs.runCommandNoCC "launcher" { } ''
pkgs.runCommand "launcher" { } ''
mkdir -p $out/bin
cp ${script} $out/bin/launcher
chmod +x $out/bin/launcher

View file

@ -22,7 +22,7 @@ pkgs.writeShellScriptBin "screenshot" ''
if [[ -n "$remote" ]]
then
name=$(${pkgs.utillinux}/bin/uuidgen).png
name=$(${pkgs.util-linux}/bin/uuidgen).png
${pkgs.grim}/bin/grim -t png -g "$dims" - | ${pkgs.openssh}/bin/ssh data "cat > data/public/$name"
path="https://data.vanpetegem.me/public/$name"
else

View file

@ -19,7 +19,7 @@
];
home-manager.users.charlotte = { pkgs, ... }: {
home.packages = with pkgs; [ xdg-user-dirs xdg_utils ];
home.packages = with pkgs; [ xdg-user-dirs xdg-utils ];
xdg = {
enable = true;
# Some applications overwrite mimeapps.list with an identical file