From df0eb6c347265a8a64d2199960413e8937c5848d Mon Sep 17 00:00:00 2001 From: Rachel Lambda Samuelsson Date: Wed, 3 Jul 2024 19:13:15 +0200 Subject: [PATCH] nixprof --- flake.lock | 37 +++++++++++++++++++++++++++++++++++ flake.nix | 7 ++++++- home-manager/applications.nix | 1 + 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index a67f8bb..392efd4 100644 --- a/flake.lock +++ b/flake.lock @@ -111,6 +111,21 @@ "type": "github" } }, + "flake-utils_4": { + "locked": { + "lastModified": 1678901627, + "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -164,6 +179,27 @@ "type": "github" } }, + "nixprof": { + "inputs": { + "flake-utils": "flake-utils_4", + "nixpkgs": [ + "nixpkgs-unstable" + ] + }, + "locked": { + "lastModified": 1680079910, + "narHash": "sha256-8KH3mZZVNB9rf42jSsllsJcs06JVxzgYkvmGgbSkMlI=", + "owner": "Kha", + "repo": "nixprof", + "rev": "8a36221436d1a0f336ba8432dd8ffebbb82c3b29", + "type": "github" + }, + "original": { + "owner": "Kha", + "repo": "nixprof", + "type": "github" + } + }, "plasma-manager": { "inputs": { "home-manager": [ @@ -196,6 +232,7 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", + "nixprof": "nixprof", "plasma-manager": "plasma-manager", "ssbm-nix": "ssbm-nix" } diff --git a/flake.nix b/flake.nix index f4d8c96..479cd22 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,10 @@ url = "github:lytedev/ssbm-nix"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; + nixprof = { + url = "github:Kha/nixprof"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; plasma-manager = { url = "github:nix-community/plasma-manager/trunk"; inputs.nixpkgs.follows = "nixpkgs"; @@ -29,7 +33,7 @@ }; }; - outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, agda, cornelis, ssbm-nix, plasma-manager, flake-utils }: + outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, agda, cornelis, ssbm-nix, plasma-manager, flake-utils, nixprof }: let nix-config-module = { nix.registry.nixpkgs.flake = nixpkgs; @@ -57,6 +61,7 @@ cornelis-vim = cornelis.packages.${system}.cornelis-vim; slippi-netplay = ssbm-nix.packages.${system}.slippi-netplay; rc2nix = plasma-manager.packages.${system}.rc2nix; + nixprof = nixprof.packages.${system}.nixprof; sax2nf = self.packages.${system}.sax2nf; bqn-vim = self.packages.${system}.bqn-vim; bqn-nvim = self.packages.${system}.bqn-nvim; diff --git a/home-manager/applications.nix b/home-manager/applications.nix index 437d38d..28033e9 100644 --- a/home-manager/applications.nix +++ b/home-manager/applications.nix @@ -70,5 +70,6 @@ extra.slippi-netplay unstable.kicad extra.renoise + extra.nixprof ]; }