cmd for qt

This commit is contained in:
ari committed 2026-09-11 15:40:31 -04:00
1 parent 24078d471d
commit ca9047901a
4 files changed
+113 -2

No files matched your search

Generated Vendored
+90
View File
@@ -7,6 +7,9 @@
"pkg-path": "flox/flox-mcp-server",
"pkg-group": "flox-mcp-server"
},
"nushell": {
"pkg-path": "nushell"
},
"qtdeclarative": {
"pkg-path": "qt6.qtdeclarative",
"outputs": [
@@ -142,6 +145,93 @@
"group": "flox-mcp-server",
"priority": 5
},
{
"attr_path": "nushell",
"broken": false,
"derivation": "/nix/store/2pzb6jhvlkkiijdayq2wx9n2mw0xpaz1-nushell-0.115.1.drv",
"description": "Modern shell written in Rust",
"install_id": "nushell",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "nushell-0.115.1",
"pname": "nushell",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T04:58:31.873641Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "0.115.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/4wgp25hm6h6j3axk068ab5zjabcqjmrh-nushell-0.115.1"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nushell",
"broken": false,
"derivation": "/nix/store/9x7zbxf92yh0vmnz4aavx2bnk8s8ymm0-nushell-0.115.1.drv",
"description": "Modern shell written in Rust",
"install_id": "nushell",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "nushell-0.115.1",
"pname": "nushell",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T05:31:01.279819Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "0.115.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/zwzgkzkzjny50rkvnwyq5lf19d34mkr5-nushell-0.115.1"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "nushell",
"broken": false,
"derivation": "/nix/store/fk1adk9fwg1007pws5lmv9k6r0qav8fc-nushell-0.115.1.drv",
"description": "Modern shell written in Rust",
"install_id": "nushell",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"name": "nushell-0.115.1",
"pname": "nushell",
"rev": "8ce4ef6cb6f871616146b9fe26d2a5ae594e94fe",
"rev_count": 1070770,
"rev_date": "2026-09-10T02:20:05Z",
"scrape_date": "2026-09-11T06:07:22.808797Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "0.115.1",
"outputs_to_install": [
"out"
],
"outputs": {
"out": "/nix/store/3nggi9yb3pgi89h6z1hw11v6if0vmqia-nushell-0.115.1"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qt6.qtdeclarative",
"broken": false,
+1
View File
@@ -17,6 +17,7 @@ flox-mcp-server.pkg-path = "flox/flox-mcp-server"
flox-mcp-server.pkg-group = "flox-mcp-server"
qtwebengine.pkg-path = "qt6Packages.qtwebengine"
qtwebengine.outputs = ["dev", "out"]
nushell.pkg-path = "nushell"
## Environment Variables ---------------------------------------------
## ... available for use in the activated environment
+6 -2
View File
@@ -3,6 +3,7 @@
stdenvNoCC,
makeWrapper,
quickshell,
nushell,
}:
stdenvNoCC.mkDerivation {
@@ -13,6 +14,7 @@ stdenvNoCC.mkDerivation {
root = ./.;
fileset = lib.fileset.unions [
./app-carousel
./skygqts.nu
];
};
@@ -24,9 +26,11 @@ stdenvNoCC.mkDerivation {
runHook preInstall
mkdir -p $out/share/skygqts
cp -r app-carousel $out/share/skygqts/
cp skygqts.nu $out/share/skygqts/
mkdir -p $out/bin
makeWrapper ${lib.getExe quickshell} $out/bin/skygqts \
--add-flags "-p $out/share/skygqts/app-carousel"
makeWrapper ${lib.getExe nushell} $out/bin/skygqts \
--add-flags "$out/share/skygqts/skygqts.nu" \
--prefix PATH : ${lib.makeBinPath [ quickshell ]}
runHook postInstall
'';
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env nu
const REPO_ROOT = path self | path dirname
# Quickshell SKYG apps
def "main" [] {
help main
}
# Run the app carousel
def "main carousel" [
path_to_config: string # path to JSON config
] {
$env.SKYG_APP_CAROUSEL = $path_to_config
qs -p ($REPO_ROOT | path join "app-carousel")
}