trying several things in order to figure out why plasma-manager is not co-operating...
This commit is contained in:
parent
ce1d40f6a2
commit
ec7429d384
5 changed files with 48 additions and 52 deletions
22
shell.nix
22
shell.nix
|
@ -1,22 +0,0 @@
|
|||
{ lib, pkgs ? import <nixpkgs> {} }:
|
||||
let
|
||||
inherit (lib.attrsets) attrValues;
|
||||
inherit (lib.meta) getExe;
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs = attrValues {
|
||||
inherit (pkgs) git nix-bash-completions;
|
||||
};
|
||||
|
||||
shellHook = let
|
||||
inherit (pkgs) nixStable writeShelScriptBin;
|
||||
|
||||
nixBin = writeShellScriptBin "nix" ''
|
||||
${ getExe nixStable} --option experimental-features "nix-command flakes" "$@"
|
||||
'';
|
||||
in ''
|
||||
export FLAKE="$(pwd)"
|
||||
export PATH="$FLAKE/bin:${nixBin}/bin:$PATH"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue