1
0
Fork 0

Compare commits

..

No commits in common. "d075e6ff8017383a936d5641e9377f288aa4fd88" and "5a8341087066782db4d0374d3ffe899afcb055df" have entirely different histories.

5 changed files with 25 additions and 24 deletions

View file

@ -404,22 +404,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-master": {
"locked": {
"lastModified": 1707937360,
"narHash": "sha256-ddAUDSv9DKbme8bYkkm6yGV8HNr+f3Aj+6jO3J2ydp8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c2507ad16ba743d62e6b67691e7b69e06229116e",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1702780907, "lastModified": 1702780907,
@ -490,7 +474,6 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixos-unstable": "nixos-unstable", "nixos-unstable": "nixos-unstable",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-master": "nixpkgs-master",
"pre-commit-hooks-nix": "pre-commit-hooks-nix", "pre-commit-hooks-nix": "pre-commit-hooks-nix",
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
} }

View file

@ -2,7 +2,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small"; nixos-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small";
nixpkgs-master.url = "github:nixos/nixpkgs/master"; # nixpkgs-master.url = "github:nixos/nixpkgs/master";
# Tools # Tools

View file

@ -72,7 +72,7 @@ in
p.html p.html
p.http p.http
p.java p.java
#p.javascript p.javascript
p.jsdoc p.jsdoc
p.json p.json
p.kotlin p.kotlin
@ -89,8 +89,8 @@ in
p.sql p.sql
p.svelte p.svelte
p.toml p.toml
#p.tsx p.tsx
#p.typescript p.typescript
p.vim p.vim
p.yaml p.yaml
])).dependencies; ])).dependencies;

View file

@ -3,13 +3,13 @@
let let
default-system = "x86_64-linux"; default-system = "x86_64-linux";
overlay-master = _: _: { pkgs-master = import inputs.nixpkgs-master { system = default-system; }; }; # overlay-master = _: _: { pkgs-master = import inputs.nixpkgs-master { system = default-system; }; };
# overlay-unstable = _: _: { pkgs-unstable = import inputs.nixpkgs { system = default-system; }; }; # overlay-unstable = _: _: { pkgs-unstable = import inputs.nixpkgs { system = default-system; }; };
overlay-nifoc = inputs.nifoc-overlay.overlay; overlay-nifoc = inputs.nifoc-overlay.overlay;
nixpkgsConfig = { nixpkgsConfig = {
overlays = [ overlays = [
overlay-master # overlay-master
# overlay-unstable # overlay-unstable
overlay-nifoc overlay-nifoc
]; ];

View file

@ -3,7 +3,25 @@
let let
web-domain = "mastodon.kempkens.io"; web-domain = "mastodon.kempkens.io";
pkg-base = pkgs.pkgs-master.mastodon; pkg-base = pkgs.mastodon.override {
srcOverride =
let
version = "4.2.5";
in
(
pkgs.applyPatches {
src = pkgs.fetchFromGitHub {
owner = "mastodon";
repo = "mastodon";
rev = "v${version}";
hash = "sha256-dgC5V/CVE9F1ORTjPWUWc/JVcWCEj/pb4eWpDV0WliY=";
};
patches = [ ];
}) // {
inherit version;
yarnHash = "sha256-qoLesubmSvRsXhKwMEWHHXcpcqRszqcdZgHQqnTpNPE=";
};
};
pkg-mastodon = pkg-base.overrideAttrs (_: { pkg-mastodon = pkg-base.overrideAttrs (_: {
mastodonModules = pkgs.mastodon.mastodonModules.overrideAttrs (oldMods: mastodonModules = pkgs.mastodon.mastodonModules.overrideAttrs (oldMods: