adding flake to lightlyshaders

This commit is contained in:
Chris Cochrun 2022-11-07 11:31:33 -06:00
parent a7783ed72b
commit d4bded0cb6
4 changed files with 24 additions and 3 deletions

View file

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
owner = "a-parhom";
repo = "LightlyShaders";
rev = "v2.0";
sha256 = "sha256-5BpAXv5n9mxUMWjtIRJYCf4pQ76pCyKwGhk9uaHC69M=";
sha256 = "sha256-p94VwzGHB/4qxthvG507JEXx9j2MZDo6yyElq3XQxYc=";
};
# dontWrapQtApps = true;

21
LightlyShaders/flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
description = "A Church Presentation Application";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
src = ./.;
in
{
devShell = import ./shell.nix { inherit pkgs; };
defaultPackage = pkgs.libsForQt5.callPackage ./default.nix {};
}
);
}

View file

@ -705,7 +705,7 @@ Notice how I am including all of my software here. It may be a big file, but hav
macchina
# Dev tools
<<dev-tools>>
# <<lightlyshaders>>
<<lightlyshaders>>
# <<librepresenter>>
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})

View file

@ -389,7 +389,7 @@
# plasma5Packages.kirigami2
sqlite
fennel
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../LightlyShaders {})
(with import <nixpkgs> {}; libsForQt5.callPackage ../../LightlyShaders {})
# (with import <nixpkgs> {}; libsForQt5.callPackage /home/chris/dev/church-presenter {})
# (with import <nixpkgs> {}; libsForQt5.callPackage ../../bismuth {})