mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 22:27:03 +05:30
feat(nix): migrate to Nix Flakes
Fixes SDP-28
This commit is contained in:
parent
ffbc5af2d9
commit
341a85ad5c
6 changed files with 241 additions and 53 deletions
14
shell.nix
14
shell.nix
|
@ -1,8 +1,6 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
xorg.libxcb
|
||||
python39
|
||||
] ++ pkgs.lib.optionals stdenv.isDarwin
|
||||
[ pkgs.darwin.apple_sdk.frameworks.AppKit ];
|
||||
}
|
||||
(import (let lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||||
in fetchTarball {
|
||||
url =
|
||||
"https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
||||
sha256 = lock.nodes.flake-compat.locked.narHash;
|
||||
}) { src = ./.; }).shellNix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue