chore: update flake.lock

This commit is contained in:
matt1432 2023-10-16 11:46:56 -04:00
parent 1163a21e61
commit fefa3b3ef6
2 changed files with 38 additions and 15 deletions

View file

@ -0,0 +1,23 @@
final: prev: {
spotifywm = prev.spotifywm.overrideAttrs (oldAttrs: rec {
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,lib,share}
install -Dm644 spotifywm.so $out/lib/
ln -sf ${prev.spotify}/bin/spotify $out/bin/spotify
ln -sf ${prev.spotify}/share/applications/ $out/share/applications
ln -sf ${prev.spotify}/share/icons $out/share/icons
# wrap spotify to use spotifywm.so
wrapProgram $out/bin/spotify --set LD_PRELOAD "$out/lib/spotifywm.so"
# backwards compatibility for people who are using the "spotifywm" binary
ln -sf $out/bin/spotify $out/bin/spotifywm
runHook postInstall
'';
});
}

View file

@ -391,11 +391,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1696813662,
"narHash": "sha256-dQTBtvjdzKa7+ViWiDdnBpdtDS4FD+gWuJJrfIrxSkc=",
"lastModified": 1697418520,
"narHash": "sha256-UIwdw9Lw36GFgm7TFjOBdPHFKhbTSfLLT+4XxB39rh8=",
"owner": "nix-community",
"repo": "nix-eval-jobs",
"rev": "7cdbfd5ffe59fe54fd5c44be96f58c45e25d5b62",
"rev": "bdf17c44b19325b5476703400cbafe64f7553fa6",
"type": "github"
},
"original": {
@ -483,11 +483,11 @@
]
},
"locked": {
"lastModified": 1697400922,
"narHash": "sha256-7/1OoJ/LgfRDPvAAZdcwFI3Q2/+E4qWusbsufYQVKas=",
"lastModified": 1697462415,
"narHash": "sha256-HMHJgLMbjfkcQQIpRKbHo/kjzHeUfwPznvsEPr5fgBo=",
"owner": "nix-community",
"repo": "nixpkgs-wayland",
"rev": "0eaba2ea36991eeb0b6c7c5b97c6270c7aecfb9c",
"rev": "86615cbbddb6797ca143a24cfd36941cb9255f14",
"type": "github"
},
"original": {
@ -514,11 +514,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1696810678,
"narHash": "sha256-XAw8D1ZEbdqwhSvn8RsgeeNrDktx4YSikTb5V4ArsrA=",
"lastModified": 1697417052,
"narHash": "sha256-QyFpNZ28H0IoWhbGxD4j2h3aYwap2l2rSWyoFue95sM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "35c640b19a189ce3a86698ce2fdcd87d085a339b",
"rev": "21f56f3209c0272852be7a704d9b21f2601c72e3",
"type": "github"
},
"original": {
@ -530,11 +530,11 @@
},
"nur": {
"locked": {
"lastModified": 1697414633,
"narHash": "sha256-dNjgAqFqkQbTAhhS/ssZ2JAsztyBkmZaFbqMpb3IHgM=",
"lastModified": 1697462056,
"narHash": "sha256-HtAu7kujsGUqj+e4eZXs9L4wVOnxLWfHdqarakWd1AM=",
"owner": "nix-community",
"repo": "NUR",
"rev": "bbb9cb0dbc899cf8e087859e7110833d0027f5d5",
"rev": "caf8d3ca77c68eeaeb0f2107de5b4c209191e9e1",
"type": "github"
},
"original": {
@ -631,11 +631,11 @@
]
},
"locked": {
"lastModified": 1695822946,
"narHash": "sha256-IQU3fYo0H+oGlqX5YrgZU3VRhbt2Oqe6KmslQKUO4II=",
"lastModified": 1697388351,
"narHash": "sha256-63N2eBpKaziIy4R44vjpUu8Nz5fCJY7okKrkixvDQmY=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "720bd006d855b08e60664e4683ccddb7a9ff614a",
"rev": "aae39f64f5ecbe89792d05eacea5cb241891292a",
"type": "github"
},
"original": {