nix: add default.nix and gemset.nix
Thank you, kind person who wrote this package with forks in mind.
This commit is contained in:
parent
38887f24a8
commit
35ba1f089e
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -65,3 +65,6 @@ yarn-debug.log
|
|||
|
||||
# Ignore Docker option files
|
||||
docker-compose.override.yml
|
||||
|
||||
# Ignore nix build output
|
||||
/result
|
||||
|
|
11
default.nix
Normal file
11
default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
let
|
||||
f = (path: type: ! builtins.elem (baseNameOf path) [ ".git" "node_modules" "result" ]);
|
||||
src = builtins.filterSource f ./.;
|
||||
in
|
||||
pkgs.mastodon.override {
|
||||
pname = "mastodon-queer-af";
|
||||
version = "2021-08-27";
|
||||
srcOverride = src;
|
||||
dependenciesDir = src;
|
||||
}
|
2923
gemset.nix
Normal file
2923
gemset.nix
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue