chore(nix)_: add shell welcome note
This commit is contained in:
parent
0a7e7083d4
commit
cb5e201bb1
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
description = "Status Desktop"
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/release-20.09";
|
||||
# for nix-shell support
|
||||
inputs.flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
|
||||
|
@ -11,11 +13,12 @@
|
|||
|
||||
outputs = { self, nixpkgs, nixgl, flake-compat }:
|
||||
let
|
||||
flake = import "${self}/flake.nix";
|
||||
pkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
overlays = [ (import ./nix/overlay.nix) nixgl.overlay ];
|
||||
};
|
||||
in {
|
||||
devShells.x86_64-linux.default = pkgs.callPackage ./nix/shell.nix { };
|
||||
devShells.x86_64-linux.default = pkgs.callPackage ./nix/shell.nix { inherit flake; };
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
pkgs
|
||||
pkgs,
|
||||
flake
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -36,7 +37,7 @@ in pkgs.mkShell {
|
|||
# dev machine only
|
||||
nixUnstable # for flake support TODO: remove with nixpkgs upgrade
|
||||
nixgl.auto.nixGLDefault
|
||||
gdb
|
||||
gdb figlet
|
||||
] ++ (with gst_all_1; [
|
||||
gst-libav gstreamer
|
||||
gst-plugins-bad gst-plugins-base
|
||||
|
@ -56,6 +57,7 @@ in pkgs.mkShell {
|
|||
shellHook = ''
|
||||
export MAKEFLAGS="-j$NIX_BUILD_CORES"
|
||||
export PATH="${pkgs.lddWrapped}/bin:$PATH"
|
||||
figlet -t "${flake.description}"
|
||||
'';
|
||||
|
||||
LIBKRB5_PATH = pkgs.libkrb5;
|
||||
|
|
Loading…
Reference in New Issue