move nix files to folder (#520)
* move nix files to folder * move nix to scripts
This commit is contained in:
committed by
GitHub
parent
1b930e717a
commit
7f8afb0c12
@@ -18,10 +18,10 @@
|
||||
name = "simplex-chat";
|
||||
src = ./.;
|
||||
};
|
||||
sha256map = import ./sha256map.nix;
|
||||
sha256map = import ./scripts/nix/sha256map.nix;
|
||||
modules = [{
|
||||
packages.direct-sqlite.patches = [ ./direct-sqlite-2.3.26.patch ];
|
||||
packages.entropy.patches = [ ./entropy.patch ];
|
||||
packages.direct-sqlite.patches = [ ./scripts/nix/direct-sqlite-2.3.26.patch ];
|
||||
packages.entropy.patches = [ ./scripts/nix/entropy.patch ];
|
||||
}
|
||||
({ pkgs,lib, ... }: lib.mkIf (pkgs.stdenv.hostPlatform.isAndroid) {
|
||||
packages.simplex-chat.components.library.ghcOptions = [ "-pie" ];
|
||||
@@ -329,7 +329,7 @@
|
||||
name = "update-sha256map";
|
||||
runtimeInputs = [ pkgs.nix-prefetch-git pkgs.jq pkgs.gawk ];
|
||||
text = ''
|
||||
gawk -f update-sha256.awk cabal.project > sha256map.nix
|
||||
gawk -f ./scripts/nix/update-sha256.awk cabal.project > ./scripts/nix/sha256map.nix
|
||||
'';
|
||||
}; in
|
||||
pkgs.mkShell {
|
||||
|
||||
Reference in New Issue
Block a user