Rename firefox-tabs to f-around-firefox (faf) and add to PATH
This commit is contained in:
parent
91d35d1324
commit
9aedc697d9
6 changed files with 41 additions and 35 deletions
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
description = "Firefox tabs script environment";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "aarch64-darwin";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pythonEnv = pkgs.python3.withPackages (ps: with ps; [
|
||||
lz4
|
||||
]);
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pythonEnv
|
||||
pkgs.lz4
|
||||
];
|
||||
shellHook = ''
|
||||
echo "Firefox tabs script environment ready"
|
||||
echo "Python: $(which python3)"
|
||||
echo "Run: python3 firefox-tabs.py"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue