Update nixpkgs and such

This commit is contained in:
Natsu Kagami 2024-01-18 20:28:26 +01:00
parent df3b2e7b00
commit f6ff84558d
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 47 additions and 47 deletions

View file

@ -702,11 +702,11 @@
]
},
"locked": {
"lastModified": 1700814205,
"narHash": "sha256-lWqDPKHRbQfi+zNIivf031BUeyciVOtwCwTjyrhDB5g=",
"lastModified": 1705476964,
"narHash": "sha256-W5OK1fnj4qdn1HWOlxV2S3YiUvfaVjQM5ldWVpGV1fs=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "aeb2232d7a32530d3448318790534d196bf9427a",
"rev": "85c3b600f660abd86e94cbcd1c46733943197a07",
"type": "github"
},
"original": {
@ -719,11 +719,11 @@
"kak-lsp": {
"flake": false,
"locked": {
"lastModified": 1703606616,
"narHash": "sha256-/xXwrZGffUHeUxhliADCd3MVTsvZMwMQ6KIse5VzTAk=",
"lastModified": 1705627767,
"narHash": "sha256-PjVhLwvyx4u/vd7yrdRNeSnrJkGZ+Q43HJv7e1HG69M=",
"owner": "natsukagami",
"repo": "kak-lsp",
"rev": "15e7c7df4dde60afe872a8ed1396d9c512fc66ef",
"rev": "4f1e2dc2158fe643b778b6471f05ca9c2c35001b",
"type": "github"
},
"original": {
@ -736,11 +736,11 @@
"kakoune": {
"flake": false,
"locked": {
"lastModified": 1700099995,
"narHash": "sha256-JW8Qmh0c3M5VmpYvLCb3svIx6IB/x7aLejGoITvt8Lg=",
"lastModified": 1705486702,
"narHash": "sha256-+qZC6X5Bu5NRd/lYytiTnv7rirgbB3PIgg4N4qd5aaI=",
"owner": "mawww",
"repo": "kakoune",
"rev": "b10a935b8ceb18f256bd04843a5442d7c746abdb",
"rev": "06743119458e425b7525c6aa424a54077bc64244",
"type": "github"
},
"original": {
@ -947,11 +947,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1703499205,
"narHash": "sha256-lF9rK5mSUfIZJgZxC3ge40tp1gmyyOXZ+lRY3P8bfbg=",
"lastModified": 1705566941,
"narHash": "sha256-CLNtVRDA8eUPk+bxsCCZtRO0Cp+SpHdn1nNOLoFypLs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870",
"rev": "b06ff4bf8f4ad900fe0c2a61fc2946edc3a84be7",
"type": "github"
},
"original": {
@ -963,11 +963,11 @@
},
"nixpkgs_10": {
"locked": {
"lastModified": 1703200384,
"narHash": "sha256-q5j06XOsy0qHOarsYPfZYJPWbTbc8sryRxianlEPJN0=",
"lastModified": 1705458851,
"narHash": "sha256-uQvEhiv33Zj/Pv364dTvnpPwFSptRZgVedDzoM+HqVg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0b3d618173114c64ab666f557504d6982665d328",
"rev": "8bf65f17d8070a0a490daf5f1c784b87ee73982c",
"type": "github"
},
"original": {
@ -1368,11 +1368,11 @@
]
},
"locked": {
"lastModified": 1695260149,
"narHash": "sha256-QlrsFdIFHtDZxprC8oNZBlJtItl3Tae/agqA27Am3g0=",
"lastModified": 1704454987,
"narHash": "sha256-vGc23vf8C1WIdaUgEs3XqvCU1ag5soQKZnytUsCRpEw=",
"owner": "WillPower3309",
"repo": "swayfx",
"rev": "d89c365106b8d58e4a37ad58e9987a7da28c8951",
"rev": "f0ecffe593574593ec99c104fa12e4bfd593b0f2",
"type": "github"
},
"original": {

View file

@ -1,7 +1,7 @@
{ pkgs, config, lib, ... }:
let
osu-pkg =
osu-pkg = pkgs.unstable.osu-lazer-bin;
# pkgs.unstable.osu-lazer-bin.overrideAttrs (attrs: rec {
# version = "2023.1130.0";
# src = pkgs.fetchurl {
@ -9,29 +9,29 @@ let
# hash = "sha256-dQuyKjCZaIl3uaI81qRMt5NzBxfmyROVbJrVAqzuZxg=";
# };
# });
with pkgs; with lib;
appimageTools.wrapType2 rec {
pname = "osu-lazer-bin";
version = "2023.1229.1";
src = pkgs.fetchurl {
url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage";
hash = "sha256-x2LqBbQCswwJ5iENjad17dzWV95lY03P7FXGQwMRNE8=";
# hash = fakeHash;
};
# with pkgs; with lib;
# appimageTools.wrapType2 rec {
# pname = "osu-lazer-bin";
# version = "2023.1229.1";
# src = pkgs.fetchurl {
# url = "https://github.com/ppy/osu/releases/download/${version}/osu.AppImage";
# hash = "sha256-x2LqBbQCswwJ5iENjad17dzWV95lY03P7FXGQwMRNE8=";
# # hash = fakeHash;
# };
extraPkgs = pkgs: with pkgs; [ icu ];
# extraPkgs = pkgs: with pkgs; [ icu ];
extraInstallCommands =
let contents = appimageTools.extract { inherit pname version src; };
in
''
mv -v $out/bin/${pname}-${version} $out/bin/osu\!
install -m 444 -D ${contents}/osu\!.desktop -t $out/share/applications
for i in 16 32 48 64 96 128 256 512 1024; do
install -D ${contents}/osu\!.png $out/share/icons/hicolor/''${i}x$i/apps/osu\!.png
done
'';
};
# extraInstallCommands =
# let contents = appimageTools.extract { inherit pname version src; };
# in
# ''
# mv -v $out/bin/${pname}-${version} $out/bin/osu\!
# install -m 444 -D ${contents}/osu\!.desktop -t $out/share/applications
# for i in 16 32 48 64 96 128 256 512 1024; do
# install -D ${contents}/osu\!.png $out/share/icons/hicolor/''${i}x$i/apps/osu\!.png
# done
# '';
# };
in
{
home.packages = [ osu-pkg ];