first attempt at adding lightlyshaders permanentlly
This commit is contained in:
parent
61a89f8dca
commit
d9ab256bb3
|
@ -1 +0,0 @@
|
||||||
/nix/store/536f45xscv3kn737xxkwby50nwcsi035-LightlyShaders-0.0.1
|
|
|
@ -1,13 +1,28 @@
|
||||||
{
|
{
|
||||||
pkgs ? import <nixpkgs> {},
|
stdenv,
|
||||||
stdenv ? pkgs.stdenv,
|
lib,
|
||||||
lib ? pkgs.lib,
|
fetchFromGitHub,
|
||||||
fetchFromGitHub ? pkgs.fetchFromGitHub,
|
qt5.qtbase,
|
||||||
|
qt5.qtx11extras,
|
||||||
|
qt5.qttools,
|
||||||
|
libsForQt5.kglobalaccel,
|
||||||
|
libsForQt5.kinit,
|
||||||
|
libsForQt5.kwin,
|
||||||
|
libsForQt5.kio,
|
||||||
|
libsForQt5.kguiaddons,
|
||||||
|
libsForQt5.kcoreaddons,
|
||||||
|
libsForQt5.systemsettings,
|
||||||
|
libsForQt5.plasma-framework,
|
||||||
|
cmake,
|
||||||
|
extra-cmake-modules,
|
||||||
|
clang,
|
||||||
|
libepoxy,
|
||||||
|
xorg.libXdmcp
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "LightlyShaders";
|
pname = "LightlyShaders";
|
||||||
version = "0.0.1";
|
version = "0.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "a-parhom";
|
owner = "a-parhom";
|
||||||
|
@ -48,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
|
--replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
|
||||||
--replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}" \
|
--replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}" \
|
||||||
--replace "\''${DATAPATH}" "$out/''${servicepath#/nix/store/*/}"
|
--replace "\''${SERVICEPATH}" "$out/''${servicepath#/nix/store/*/}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
1
LightlyShaders/result
Symbolic link
1
LightlyShaders/result
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/nix/store/l5xy1js7xmgvdcn1z13mbd595p6zprqd-LightlyShaders-0.0.2
|
|
@ -44,6 +44,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
|
||||||
};
|
};
|
||||||
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
syl = lib.nixosSystem {
|
syl = lib.nixosSystem {
|
||||||
|
@ -255,6 +256,13 @@ libsForQt5.kcoreaddons
|
||||||
fennel
|
fennel
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
Let's create our own custom LightlyShaders package. This is in it's own file for now.
|
||||||
|
#+NAME: lightlyshaders
|
||||||
|
#+begin_src nix
|
||||||
|
(libsForQt5.callPackage ../../pkgs/LightlyShaders {})
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
Here are the two main overlays I like to use. One for Emacs and another for the AwesomeWM.
|
Here are the two main overlays I like to use. One for Emacs and another for the AwesomeWM.
|
||||||
#+NAME: overlays
|
#+NAME: overlays
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
|
@ -417,6 +425,7 @@ Notice how I am including all of my software here. It may be a big file, but hav
|
||||||
macchina
|
macchina
|
||||||
# Dev tools
|
# Dev tools
|
||||||
<<dev-tools>>
|
<<dev-tools>>
|
||||||
|
<<lightlyshaders>>
|
||||||
];
|
];
|
||||||
|
|
||||||
<<overlays>>
|
<<overlays>>
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
|
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
syl = lib.nixosSystem {
|
syl = lib.nixosSystem {
|
||||||
|
|
|
@ -1,13 +1,28 @@
|
||||||
{
|
{
|
||||||
pkgs ? import <nixpkgs> {},
|
stdenv,
|
||||||
stdenv ? pkgs.stdenv,
|
lib,
|
||||||
lib ? pkgs.lib,
|
fetchFromGitHub,
|
||||||
fetchFromGitHub ? pkgs.fetchFromGitHub,
|
qt5.qtbase,
|
||||||
|
qt5.qtx11extras,
|
||||||
|
qt5.qttools,
|
||||||
|
kglobalaccel,
|
||||||
|
kinit,
|
||||||
|
kwin,
|
||||||
|
kio,
|
||||||
|
kguiaddons,
|
||||||
|
kcoreaddons,
|
||||||
|
systemsettings,
|
||||||
|
plasma-framework,
|
||||||
|
cmake,
|
||||||
|
extra-cmake-modules,
|
||||||
|
clang,
|
||||||
|
libepoxy,
|
||||||
|
xorg.libXdmcp
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "LightlyShaders";
|
pname = "LightlyShaders";
|
||||||
version = "0.0.1";
|
version = "0.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "a-parhom";
|
owner = "a-parhom";
|
||||||
|
@ -48,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
|
--replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
|
||||||
--replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}" \
|
--replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}" \
|
||||||
--replace "\''${DATAPATH}" "$out/''${servicepath#/nix/store/*/}"
|
--replace "\''${SERVICEPATH}" "$out/''${servicepath#/nix/store/*/}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -253,6 +253,7 @@
|
||||||
libsForQt5.kdbusaddons
|
libsForQt5.kdbusaddons
|
||||||
libsForQt5.libdbusmenu
|
libsForQt5.libdbusmenu
|
||||||
fennel
|
fennel
|
||||||
|
(libsForQt5.callPackage ../../pkgs/LightlyShaders {})
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|
Loading…
Reference in a new issue